/* ============================================
   Dead On — Marketing Site Styles
   Editorial cream + warm amber accent
   Display: Fraunces  ·  Body: Inter
   ============================================ */

/* --- Tokens --- */
:root {
  color-scheme: light;

  /* Core palette — matches app + screenshots */
  --cream: #F5EDD8;
  --cream-soft: #F9F2E1;
  --cream-deep: #EADFC3;
  --ink: #3C2A1A;
  --ink-soft: rgba(60, 42, 26, 0.72);
  --ink-muted: rgba(60, 42, 26, 0.54);
  --ink-faint: rgba(60, 42, 26, 0.14);

  --dark: #1C1A17;
  --dark-soft: #26231F;
  --dark-border: rgba(245, 237, 216, 0.10);
  --cream-on-dark: #F5EDD8;
  --cream-on-dark-soft: rgba(245, 237, 216, 0.78);
  --cream-on-dark-muted: rgba(245, 237, 216, 0.56);

  /* Accent — coppery amber */
  --amber: #C67C3B;
  --amber-hover: #B36A29;
  --amber-dark: #8B5426;
  --amber-tint: rgba(198, 124, 59, 0.12);
  --amber-glow: rgba(198, 124, 59, 0.20);

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1360px;
  --max-width-wide: 1480px;
  --narrow-width: 720px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-panel:
    rgba(60, 42, 26, 0.06) 0 2px 6px,
    rgba(60, 42, 26, 0.08) 0 12px 32px,
    rgba(60, 42, 26, 0.05) 0 32px 80px;
  --shadow-panel-dark:
    rgba(0, 0, 0, 0.35) 0 20px 60px,
    rgba(0, 0, 0, 0.25) 0 6px 18px;
  --shadow-mascot: drop-shadow(0 30px 40px rgba(60, 42, 26, 0.18));

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--amber); }

p { max-width: 62ch; }

em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--amber-dark);
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}

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

@media (min-width: 1100px) {
  .container { padding: 0 40px; }
}

.container--narrow { max-width: var(--narrow-width); }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* --- Shared typographic building blocks --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 16px;
}

.eyebrow--dark { color: var(--amber); }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  margin-bottom: 20px;
  max-width: 22ch;
  text-wrap: balance;
}

.display-title--dark { color: var(--cream-on-dark); }

.lede {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

.lede--dark { color: var(--cream-on-dark-soft); }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 216, 0.84);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--ink-faint);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 28px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__logo:hover { color: var(--ink); }

.nav__logo-mark {
  width: 26px;
  height: 26px;
  background-image: url('/assets/app-icon.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(60, 42, 26, 0.18);
}

/* Legacy pages: nav logo text without a mark element */
.nav__logo > span {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color var(--transition-fast);
}

.nav__links a:hover { color: var(--ink); }

.nav__cta {
  background: var(--amber);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav__cta:hover {
  background: var(--amber-hover);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__inner { padding: 0 20px; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform 0.1s;
}

.btn--lg { font-size: 17px; padding: 16px 28px; }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  transform: translateY(-1px);
}

.btn--primary:active { transform: scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint);
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(60, 42, 26, 0.04);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(198, 124, 59, 0.12), transparent 70%),
    var(--cream);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero { padding: 120px 0 80px; }
  .hero__inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  margin-bottom: 28px;
  max-width: 20ch;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-dark);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero__title-accent {
  display: block;
  color: var(--ink-soft);
  font-weight: 300;
  margin-top: 4px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 36px;
}

@media (min-width: 960px) {
  .hero__subtitle { font-size: 21px; }
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__trust {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

.hero__mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mascot img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: var(--shadow-mascot);
}

@media (max-width: 959px) {
  .hero__mascot img { max-width: 340px; margin: 0 auto; }
}

/* ============================================
   Ticker / proof row
   ============================================ */
.ticker {
  background: var(--cream-deep);
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  padding: 22px 0;
}

.ticker__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

.ticker__item { white-space: nowrap; }
.ticker__item strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.ticker__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* ============================================
   Showcase
   ============================================ */
.showcase {
  padding: 120px 0;
  background: var(--cream);
}

.showcase__header {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}

.showcase__header .display-title { margin-left: auto; margin-right: auto; max-width: 16ch; }
.showcase__header .lede { margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .showcase { padding: 72px 0; }
  .showcase__header { margin-bottom: 56px; }
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 72px;
}

.feature--hero {
  gap: 56px;
}

@media (min-width: 960px) {
  .feature--hero {
    grid-template-columns: 1fr 1fr;
  }
  .feature--hero.feature--reverse .feature__text { order: 2; }
  .feature--hero.feature--reverse .feature__panel { order: 1; }
}

.feature__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 16px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  margin-bottom: 16px;
  max-width: 18ch;
}

.feature__desc {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 48ch;
}

.feature__list {
  list-style: none;
  margin-top: 8px;
}

.feature__list li {
  position: relative;
  font-size: 16px;
  color: var(--ink-soft);
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--ink-faint);
}

.feature__list li:first-child { border-top: none; }

.feature__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* Panels hold the App Store screenshot PNGs — already framed with full marketing context
   (headline + phone + beaver composition). Show them at native aspect ratio. */
.feature__panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream-soft);
  box-shadow: var(--shadow-panel);
  aspect-ratio: 1320 / 2868;
  max-height: 720px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.feature__panel--cream { background: var(--cream-soft); }

.feature__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Two-up row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}

@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.feature--half {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
  padding: 40px;
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-faint);
  min-height: 100%;
}

.feature--half .feature__text { order: 1; }
.feature--half .feature__panel {
  order: 2;
  margin-top: auto;
  aspect-ratio: 1320 / 2868;
  max-height: 540px;
  max-width: 300px;
  border-radius: var(--radius-md);
  background: var(--cream);
  box-shadow:
    rgba(60, 42, 26, 0.06) 0 1px 3px,
    rgba(60, 42, 26, 0.08) 0 8px 20px;
}

.feature--half .feature__title {
  font-size: clamp(24px, 2.8vw, 30px);
}

/* ============================================
   Ecosystem (dark)
   ============================================ */
.ecosystem {
  padding: 120px 0;
  background: var(--dark);
  color: var(--cream-on-dark);
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(198, 124, 59, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(198, 124, 59, 0.08), transparent 70%);
  pointer-events: none;
}

.ecosystem__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 960px) {
  .ecosystem__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
  }
}

@media (max-width: 720px) {
  .ecosystem { padding: 72px 0; }
}

.ecosystem__text .display-title em {
  color: var(--amber);
}

.ecosystem__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  background: rgba(245, 237, 216, 0.04);
  color: var(--cream-on-dark-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ecosystem__panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 1320 / 2868;
  max-height: 740px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow-panel-dark);
}

.ecosystem__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(198, 124, 59, 0.10), transparent 70%);
  pointer-events: none;
}

.pricing__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 960px) {
  .pricing__inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
  }
}

@media (max-width: 720px) {
  .pricing { padding: 72px 0; }
}

.pricing__text .display-title em { color: var(--amber); }

.pricing__list {
  list-style: none;
  margin: 28px 0;
  max-width: 52ch;
}

.pricing__list li {
  position: relative;
  font-size: 16px;
  color: var(--ink-soft);
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--ink-faint);
}

.pricing__list li:last-child { border-bottom: none; }

.pricing__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-tint);
}

.pricing__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pricing__mascot {
  display: flex;
  justify-content: center;
}

.pricing__mascot img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: var(--shadow-mascot);
}

@media (max-width: 959px) {
  .pricing__mascot img { max-width: 300px; margin: 0 auto; }
  .pricing__mascot { order: -1; }
}

/* ============================================
   Closing band
   ============================================ */
.closer {
  padding: 120px 0;
  background: var(--dark);
  color: var(--cream-on-dark);
  text-align: center;
}

.closer__inner {
  max-width: 820px;
  margin: 0 auto;
}

.closer__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--cream-on-dark);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  margin-bottom: 16px;
}

.closer__sub {
  font-size: 19px;
  color: var(--cream-on-dark-soft);
  margin: 0 auto 36px;
  max-width: 52ch;
}

.closer .btn--primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.closer .btn--primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: #fff;
}

@media (max-width: 720px) {
  .closer { padding: 80px 0; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 32px 0;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  color: var(--cream-on-dark-muted);
  font-size: 13px;
}

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

.footer__calcs {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
}

.footer__calcs-label {
  margin: 0 0 12px;
  color: var(--cream-on-dark-soft);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__calcs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__calcs-list a {
  color: var(--cream-on-dark-muted);
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer__calcs-list a:hover { color: var(--cream-on-dark); }

/* Breadcrumb (visible) */
.breadcrumb {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted, #6b6b66);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.55;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.breadcrumb a:hover { border-bottom-color: currentColor; }

.breadcrumb [aria-current="page"] {
  color: var(--ink, #211f1c);
  font-weight: 500;
}

.breadcrumb--dark {
  color: var(--cream-on-dark-muted);
}

.breadcrumb--dark [aria-current="page"] {
  color: var(--cream-on-dark);
}

.related-stat {
  margin-left: 8px;
  font-size: 12px;
  color: var(--ink-muted, #6b6b66);
  font-variant-numeric: tabular-nums;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-on-dark-soft);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  color: var(--cream-on-dark);
  letter-spacing: -0.005em;
}

.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--cream-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--cream-on-dark); }

.footer__copy {
  color: var(--cream-on-dark-muted);
  margin: 0;
  max-width: none;
}

@media (max-width: 640px) {
  .footer__inner { justify-content: center; text-align: center; }
}

/* ============================================
   Legacy pages (privacy, terms, support)
   Keep the structure these pages depend on.
   ============================================ */
.page-header {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: 96px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream-on-dark);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  margin-bottom: 12px;
}

.last-updated {
  font-size: 15px;
  color: var(--cream-on-dark-muted);
  margin: 0;
}

.page-content {
  background: var(--cream);
  color: var(--ink);
  padding: 72px 0 96px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  margin: 40px 0 16px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  margin: 32px 0 12px;
}

.page-content p,
.page-content ul,
.page-content ol {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.page-content ul,
.page-content ol { padding-left: 24px; }

.page-content li { margin-bottom: 8px; }

.page-content strong { color: var(--ink); font-weight: 600; }

.page-content a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover { color: var(--amber); }

/* FAQ (support page) */
.faq-list {
  margin: 32px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--cream-soft);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.faq-item__question {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  color: var(--ink);
  margin: 0 0 10px;
}

.faq-item__answer {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

.contact-card {
  background: var(--dark);
  color: var(--cream-on-dark);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 56px;
  box-shadow: var(--shadow-panel);
}

.contact-card h2 {
  color: var(--cream-on-dark);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  margin: 0 0 12px;
}

.contact-card p {
  color: var(--cream-on-dark-soft);
  font-size: 17px;
  margin: 0 auto 24px;
  max-width: 520px;
}

/* Legacy CTA classes preserved for privacy/terms/support pages */
.pill-primary,
.pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.pill-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.pill-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: #fff;
}

.pill-outline {
  background: transparent;
  color: var(--cream-on-dark);
  border-color: var(--cream-on-dark);
}

.pill-outline:hover {
  background: var(--cream-on-dark);
  color: var(--dark);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 720px) {
  .feature { margin-bottom: 56px; gap: 28px; }
  .feature-row { margin-bottom: 56px; }
  .feature--half { padding: 28px; }
  .feature__panel { border-radius: var(--radius-lg); }
  .page-header { padding: 72px 0 40px; }
  .page-content { padding: 48px 0 72px; }
  .faq-item { padding: 22px 24px; }
  .contact-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 32px; }
  .hero__title { margin-bottom: 20px; }
  .hero__actions .btn { flex: 1; }
  .nav__inner { height: 56px; }
  .footer__links { gap: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   SEO landing pages — species + calculator
   ============================================ */

/* Stat grid (species hero) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 48px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.stat-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 8px;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-card__note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Movement table */
.movement-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-md);
}
.movement-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.movement-table caption {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-faint);
  caption-side: top;
}
.movement-table th,
.movement-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ink-faint);
}
.movement-table thead th {
  background: var(--cream-soft, #EFE6D0);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.movement-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.movement-table tbody tr:last-child td,
.movement-table tbody tr:last-child th {
  border-bottom: none;
}

/* Species properties list */
.species-properties {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 20px 0 40px;
  font-size: 16px;
  color: var(--ink-soft);
}
.species-properties dt {
  font-weight: 600;
  color: var(--amber-dark);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.species-properties dd {
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink-faint);
}
@media (max-width: 560px) {
  .species-properties { grid-template-columns: 1fr; gap: 4px 0; }
  .species-properties dd { padding-bottom: 16px; margin-bottom: 4px; }
}

/* Formula block */
.formula {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 18px 0 28px;
  text-align: center;
}
.formula code {
  font-family: var(--font-body);
  font-size: 16px;
  background: rgba(198, 124, 59, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Species grid on /wood-movement/ index */
.narrow-intro {
  max-width: var(--narrow-width);
  margin: 0 auto 48px;
}
.page-content--wide { padding: 56px 0 72px; }

.species-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 24px 0 48px;
}
.species-card {
  padding: 0;
}
.species-card a {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}
.species-card a:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(60, 42, 26, 0.06);
}
.species-card__img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream-soft);
}
.species-card__body {
  flex: 1;
  min-width: 0;
}
.species-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2px;
}
.species-card__sci {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.species-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--amber-dark);
}
.species-card__stats span {
  background: rgba(198, 124, 59, 0.10);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Species detail page hero image */
.page-header--with-image { padding-bottom: 32px; }
.page-header__inner {
  display: flex;
  gap: 28px;
  align-items: center;
}
.page-header__img {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-panel);
}
@media (max-width: 640px) {
  .page-header__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-header__img { width: 120px; height: 120px; flex: 0 0 120px; }
}

.image-credit {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

/* Step list (calculator how-to) */
.step-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  align-items: flex-start;
}
.step-item__num {
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-item__body { flex: 1; }
.step-item__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
}
.step-item__text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* Related list */
.related-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.related-list a {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.related-list a:hover {
  border-color: var(--amber);
  background: rgba(198, 124, 59, 0.08);
  color: var(--amber-dark);
}

/* Homepage calculator directory section */
.calc-directory {
  padding: 80px 0 40px;
  background: var(--cream);
}
.calc-directory .related-list {
  max-width: none;
}

@media (min-width: 960px) {
  .calc-directory { padding: 120px 0 60px; }
}

/* Wood movement landing page glossary */
.glossary {
  display: grid;
  grid-template-columns: minmax(160px, max-content) 1fr;
  gap: 14px 24px;
  margin: 20px 0 32px;
  font-size: 16px;
  color: var(--ink-soft);
}
.glossary dt {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  padding-top: 2px;
}
.glossary dd {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-faint);
}
.glossary dt:last-of-type + dd { border-bottom: none; }

@media (max-width: 640px) {
  .glossary { grid-template-columns: 1fr; gap: 4px 0; }
  .glossary dd { padding-bottom: 20px; margin-bottom: 4px; }
}

/* Plain-English summary box on species detail pages */
.plain-english {
  background: var(--amber-tint);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 32px;
}
.plain-english p {
  font-size: 16px;
  color: var(--ink);
  max-width: none;
}
