/* ============================================
   The 10 Minute Planner — Landing Page Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* --- Design Tokens (from spec) --- */
:root {
  --paper:        #F6F2E9;
  --paper-deep:   #EFE9DB;
  --ink:          #2A3547;
  --ink-soft:     #5B6478;
  --slate:        #4A6FA5;
  --slate-deep:   #3A5786;
  --brass:        #B08A45;
  --line:         rgba(42, 53, 71, 0.14);
  --line-strong:  rgba(42, 53, 71, 0.28);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  --content-max:  1080px;
  --section-v:    88px;
  --section-v-sm: 56px;
  --side-pad:     28px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--line);
}

.section--deep {
  background: var(--paper-deep);
}

/* --- Typography helpers --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 20px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.2rem); font-weight: 500; }

em { font-style: italic; }

p {
  color: var(--ink-soft);
  line-height: 1.75;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 150ms ease;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--slate);
  color: #fff;
}

.btn--primary:hover {
  background: var(--slate-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 111, 165, 0.28);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--inverted {
  background: var(--paper);
  color: var(--slate-deep);
}

.btn--inverted:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* =====================
   NAV
   ===================== */
.planner-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}

.planner-nav--scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 242, 233, 0.97);
}

.planner-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.planner-nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* =====================
   HERO
   ===================== */
.hero {
  padding-top: calc(64px + var(--section-v));
  padding-bottom: var(--section-v);
  background: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: start;
}

/* Hero left */
.hero__left { }

.hero__title {
  margin-bottom: 22px;
}

.hero__subhead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* Hero right — stats panel */
.hero__stats {
  background: var(--ink);
  color: var(--paper);
  padding: 36px;
  border-radius: 2px;
  margin-top: 8px;
}

.hero__stats .eyebrow {
  color: rgba(246, 242, 233, 0.55);
  margin-bottom: 28px;
}

.stat-row {
  padding: 24px 0;
  border-top: 1px solid rgba(246, 242, 233, 0.14);
}

.stat-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.stat-row:last-of-type {
  padding-bottom: 0;
}

.stat-row__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  display: block;
}

.stat-row__label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
  display: block;
  margin-top: 6px;
}

.stat-row__context {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(246, 242, 233, 0.55);
  display: block;
  margin-top: 3px;
}

/* =====================
   STORY / PROBLEM
   ===================== */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.story__heading-col { }

.story__body-col { }

.story__body p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.story__body p:last-child {
  margin-bottom: 0;
}

.pull-quote {
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--slate);
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
}

/* =====================
   WU WEI
   ===================== */
.wuwei {
  text-align: center;
}

.wuwei .container {
  max-width: 760px;
}

.wuwei h2 {
  margin-bottom: 20px;
}

.wuwei__body {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-align: left;
}

.wuwei__close {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  text-align: center;
}

/* =====================
   PRINCIPLES (What's inside)
   ===================== */
.principles__intro {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 60ch;
}

.principles__list {
  border-top: 1px solid var(--line-strong);
}

.principle-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.principle-row__number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.05em;
  font-weight: 400;
  padding-top: 2px;
}

.principle-row__content { }

.principle-row__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
}

.principle-row__hook {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* =====================
   FEATURE GRID (What you get)
   ===================== */
.features__intro {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.feature-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.feature-cell__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 12px;
}

.feature-cell__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-cell__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =====================
   PULL-QUOTE SECTION (centred, full width)
   ===================== */
.quote-section {
  text-align: center;
}

.quote-section .container {
  max-width: 760px;
}

.quote-section__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 20px;
}

.quote-section__attr {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =====================
   FAQ
   ===================== */
.faq__list {
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.faq-item__a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 64ch;
  line-height: 1.7;
}

/* =====================
   FINAL CTA
   ===================== */
.final-cta {
  background: var(--slate);
  color: var(--paper);
  text-align: center;
  padding: var(--section-v) 0;
  border-top: none;
}

.final-cta .eyebrow {
  color: rgba(246, 242, 233, 0.55);
}

.final-cta h2 {
  color: var(--paper);
  margin-bottom: 16px;
}

.final-cta__body {
  font-size: 1.05rem;
  color: rgba(246, 242, 233, 0.8);
  max-width: 52ch;
  margin: 0 auto 28px;
}

.final-cta__price {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.65);
  margin-bottom: 32px;
  display: block;
}

.final-cta__note {
  font-size: 0.85rem;
  color: rgba(246, 242, 233, 0.5);
  margin-top: 14px;
}

/* =====================
   FOOTER
   ===================== */
.planner-footer {
  padding: 28px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-strong);
}

.planner-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.planner-footer__left,
.planner-footer__right {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 860px) {
  :root {
    --section-v: var(--section-v-sm);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__stats {
    order: -1; /* panel above copy on mobile */
    margin-top: 0;
  }

  .hero__subhead {
    max-width: 100%;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-cell {
    padding: 28px 20px;
  }

  .principle-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .planner-footer__right {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(64px + 40px);
    padding-bottom: 40px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .planner-nav__wordmark {
    font-size: 0.9rem;
  }

  .principle-row__name {
    font-size: 1rem;
  }
}

/* Nav CTA mobile */
@media (max-width: 540px) {
  .planner-nav .btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}
