:root {
  --ink: #16211f;
  --muted: #62716d;
  --line: #dce7e2;
  --paper: #fbfdfb;
  --band: #eef7f1;
  --accent: #1a7f64;
  --accent-strong: #0d5946;
  --blue: #245d96;
  --lime: #d7ef72;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 48, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 27, 25, 0.78), rgba(12, 27, 25, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-size: 13px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta,
.btn-primary,
.btn-secondary,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.btn-primary,
.contact-form button {
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 88px) 72px;
  color: var(--white);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 29, 25, 0.92) 0%, rgba(9, 29, 25, 0.72) 44%, rgba(9, 29, 25, 0.18) 100%),
    url("./assets/hero-ai-monthly-review.png") center right / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.plan-name {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0;
}

.hero-proof div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-proof dt {
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.hero-proof dd {
  margin: 0;
  font-weight: 700;
}

.section,
.section-band,
.section-muted {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 88px);
}

.section-band {
  background: var(--band);
}

.section-muted {
  background: #f5f7f2;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p,
.intro-grid p,
.sample-copy p,
.calculator-layout p,
.note-layout p,
.contact-layout p,
.value-card p,
.price-card p,
.flow-list p {
  color: var(--muted);
}

.intro-grid,
.sample-layout,
.calculator-layout,
.note-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.practice-card,
.price-card,
.calculator,
.review-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 48, 41, 0.08);
}

.value-card {
  padding: 24px;
}

.practice-layout .section-heading {
  margin-bottom: 32px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.practice-card {
  padding: 28px;
}

.practice-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-strong);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.practice-card p {
  color: var(--muted);
}

.card-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--blue);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.review-panel {
  padding: 12px;
}

.review-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row span {
  color: var(--accent-strong);
  font-weight: 800;
}

.review-row strong {
  font-size: 15px;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfded7;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
}

textarea {
  resize: vertical;
}

.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.estimate span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.estimate strong {
  font-family: "Outfit", sans-serif;
  font-size: clamp(24px, 4vw, 36px);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border-top: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(26, 127, 100, 0.44);
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 34px;
}

.tax-label {
  display: inline-block;
  margin-left: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.42em;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: baseline;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.price-card li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-section .section-kicker {
  color: var(--lime);
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.contact-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .header-nav a:not(.header-cta) {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(9, 29, 25, 0.94) 0%, rgba(9, 29, 25, 0.78) 62%, rgba(9, 29, 25, 0.38) 100%),
      url("./assets/hero-ai-monthly-review.png") center / cover no-repeat;
  }

  .intro-grid,
  .sample-layout,
  .calculator-layout,
  .note-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .practice-grid,
  .flow-list,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 94vh;
    padding: 98px 18px 52px;
  }

  .hero-proof,
  .value-grid,
  .practice-grid,
  .flow-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .review-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .estimate {
    display: grid;
  }

  .price-card h3 {
    font-size: 28px;
  }

  .tax-label {
    margin-left: 4px;
    font-size: 0.44em;
  }

  .site-footer {
    display: grid;
  }
}
