/* ==========================================================================
   AkuafoPlus — Design system
   Palette, type, layout primitives and components shared by every page.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand green */
  --forest-950: #07261a;
  --forest-900: #0a3a26;
  --forest-800: #0e4a31;
  --forest-700: #14613f;
  --forest-600: #1a7a4f;
  --forest-500: #249262;
  --leaf-400: #54c283;
  --leaf-300: #8ddaac;
  --leaf-100: #dff4e6;
  --leaf-50: #f0faf3;

  /* Harvest gold */
  --gold-700: #b97b12;
  --gold-600: #d9971f;
  --gold-500: #f0b23e;
  --gold-300: #f7d488;
  --gold-100: #fdf1d6;
  --gold-50: #fdf8ea;

  /* Soil + cream */
  --clay-700: #6f4428;
  --clay-500: #98603a;
  --clay-300: #d7b49a;
  --clay-100: #f3e6da;
  --cream-100: #f7f1e3;
  --cream-50: #fbf7ec;
  --paper: #fffdf7;

  /* Ink */
  --ink: #12251b;
  --ink-soft: #2c4034;
  --muted: #5b6b60;
  --muted-light: #7d8b81;
  --line: rgba(10, 58, 38, 0.13);
  --line-strong: rgba(10, 58, 38, 0.22);
  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape + motion */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(9, 40, 27, 0.06);
  --shadow-sm: 0 6px 18px -10px rgba(9, 40, 27, 0.22);
  --shadow-md: 0 22px 48px -28px rgba(9, 40, 27, 0.38);
  --shadow-lg: 0 40px 90px -45px rgba(9, 40, 27, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--gold-300);
  color: var(--forest-950);
}

:focus-visible {
  outline: 3px solid var(--forest-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--forest-900);
  color: var(--cream-50);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

[hidden] {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

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

/* ---------- Layout ---------- */
.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-tight {
  padding: clamp(52px, 6vw, 80px) 0;
}

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

.section-cream {
  background: var(--cream-100);
}

.section-dark {
  background: var(--forest-950);
  color: var(--cream-50);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream-50);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* ---------- Typography helpers ---------- */
.display {
  font-size: clamp(2.75rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.05;
}

.h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.19rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}

.section-dark .lede {
  color: rgba(251, 247, 236, 0.72);
}

.accent {
  color: var(--forest-600);
}

.accent-gold {
  color: var(--gold-600);
}

.mark {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.3em;
  background: var(--gold-300);
  border-radius: 999px 999px 999px 4px;
  transform: rotate(-0.6deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--forest-600);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(240, 178, 62, 0.18);
}

.section-dark .eyebrow {
  color: var(--gold-300);
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lede {
  margin-inline: auto;
}

.section-head .h2 {
  margin-bottom: 18px;
}

.measure {
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: var(--forest-900);
  color: var(--cream-50);
  box-shadow: 0 14px 30px -18px rgba(7, 38, 26, 0.75);
}

.btn-primary:hover {
  background: var(--forest-800);
  box-shadow: 0 18px 36px -18px rgba(7, 38, 26, 0.8);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--forest-950);
  box-shadow: 0 14px 30px -18px rgba(185, 123, 18, 0.8);
}

.btn-gold:hover {
  background: var(--gold-300);
}

.btn-outline {
  border-color: rgba(10, 58, 38, 0.32);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--forest-600);
  color: var(--forest-800);
}

.btn-ghost-light {
  border-color: rgba(251, 247, 236, 0.35);
  color: var(--cream-50);
  background: transparent;
}

.btn-ghost-light:hover {
  background: rgba(251, 247, 236, 0.1);
  border-color: rgba(251, 247, 236, 0.6);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--forest-700);
  border-bottom: 1.5px solid rgba(20, 97, 63, 0.28);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-link:hover {
  gap: 13px;
  color: var(--forest-900);
}

.btn-link svg {
  width: 16px;
  height: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-note {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-note svg {
  width: 15px;
  height: 15px;
  color: var(--forest-600);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(251, 247, 236, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -30px rgba(7, 38, 26, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 58, 38, 0.12), 0 5px 14px -8px rgba(7, 38, 26, 0.5);
}

.brand-name {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.brand-name span {
  color: var(--gold-700);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--forest-800);
  background: rgba(10, 58, 38, 0.05);
}

.site-nav a[aria-current="page"] {
  color: var(--forest-900);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.7);
  align-items: center;
  justify-content: center;
  color: var(--forest-900);
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 16px 20px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 700;
}

.mobile-nav .btn {
  margin-top: 14px;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header-actions .btn {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(46px, 7vw, 86px)) 0 clamp(70px, 8vw, 108px);
  overflow: clip;
  background:
    radial-gradient(52% 55% at 88% 18%, rgba(240, 178, 62, 0.24) 0%, rgba(240, 178, 62, 0) 62%),
    radial-gradient(46% 50% at 4% 62%, rgba(84, 194, 131, 0.2) 0%, rgba(84, 194, 131, 0) 64%),
    var(--cream-50);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='720' viewBox='0 0 1200 720' fill='none'%3E%3Cg stroke='%230a3a26' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M-80 620C120 540 250 640 430 560S760 420 960 500s260 20 380-60'/%3E%3Cpath d='M-80 660C120 580 250 680 430 600S760 460 960 540s260 20 380-60'/%3E%3Cpath d='M-80 700C120 620 250 720 430 640S760 500 960 580s260 20 380-60'/%3E%3Cpath d='M-80 740C120 660 250 760 430 680S760 540 960 620s260 20 380-60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.hero .display {
  margin-bottom: 22px;
}

.hero .lede {
  margin-bottom: 28px;
  max-width: 53ch;
}

.hero .btn-row {
  margin-bottom: 18px;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-footnote svg {
  width: 15px;
  height: 15px;
  color: var(--forest-600);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
  align-items: center;
}

.hero-halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, rgba(240, 178, 62, 0.28), rgba(84, 194, 131, 0.18), rgba(240, 178, 62, 0.05), rgba(240, 178, 62, 0.28));
  filter: blur(2px);
  animation: halo-spin 34s linear infinite;
}

.hero-halo::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--cream-50);
}

@keyframes halo-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Phone */
.phone {
  position: relative;
  z-index: 2;
  width: 305px;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1b2a22, #0a1510);
  box-shadow: 0 45px 80px -40px rgba(7, 38, 26, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: rotate(-2.5deg);
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover .phone {
  transform: rotate(-1deg) translateY(-6px);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: var(--cream-50);
  padding: 10px 14px 12px;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #0a1510;
}

.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 2px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--ink);
}

.app-status-icons {
  display: flex;
  gap: 3px;
  align-items: center;
}

.app-status-icons i {
  display: block;
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.8;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 2px;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 800;
}

.app-user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-user-text small {
  font-size: 0.58rem;
  color: var(--muted);
  font-weight: 700;
}

.app-user-text strong {
  font-size: 0.78rem;
  color: var(--ink);
}

.app-bell {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--forest-700);
}

.app-bell svg {
  width: 14px;
  height: 14px;
}

.app-weather {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}

.app-weather::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(240, 178, 62, 0.26);
}

.app-weather-place {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--leaf-300);
  margin-bottom: 2px;
}

.app-weather strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.app-weather-sub {
  display: block;
  font-size: 0.56rem;
  color: rgba(251, 247, 236, 0.72);
  margin-top: 3px;
}

.app-weather svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  color: var(--gold-300);
}

.app-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.app-label span {
  font-size: 0.54rem;
  font-weight: 700;
  color: var(--forest-600);
}

.app-market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.app-market article {
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-market small {
  font-size: 0.52rem;
  color: var(--muted);
  font-weight: 700;
}

.app-market strong {
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.app-market em {
  font-style: normal;
  font-size: 0.54rem;
  font-weight: 800;
  color: var(--forest-600);
}

.app-market em.down {
  color: #b4552f;
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.app-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-align: center;
}

.app-action svg {
  width: 16px;
  height: 16px;
  color: var(--forest-600);
}

.app-task {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--gold-50);
  border: 1px solid rgba(217, 151, 31, 0.28);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--forest-950);
}

.app-task .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  flex: none;
}

.app-task time {
  margin-left: auto;
  font-size: 0.52rem;
  color: var(--clay-700);
}

.app-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: auto;
  padding: 8px 4px 2px;
  border-top: 1px solid var(--line);
}

.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.44rem;
  font-weight: 700;
  color: var(--muted-light);
}

.app-nav span.active {
  color: var(--forest-700);
}

.app-nav svg {
  width: 14px;
  height: 14px;
}

.app-nav span.active svg {
  color: var(--forest-700);
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(10, 58, 38, 0.12);
  box-shadow: 0 24px 44px -26px rgba(7, 38, 26, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: float 7s ease-in-out infinite;
}

.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--leaf-100);
  color: var(--forest-700);
  flex: none;
}

.float-card .fc-icon.gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.float-card svg {
  width: 16px;
  height: 16px;
}

.float-card small {
  display: block;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.float-card strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.float-scan {
  top: -1%;
  left: 0;
  max-width: 205px;
  animation-delay: -1.5s;
}

.float-price {
  top: 38%;
  right: -6%;
  max-width: 170px;
  animation-delay: -3s;
}

.float-ndvi {
  bottom: 9%;
  left: -2%;
  max-width: 190px;
  animation-delay: -4.5s;
}

.float-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
}

.float-spark i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--gold-500);
}

.float-spark i:nth-child(1) { height: 8px; }
.float-spark i:nth-child(2) { height: 12px; }
.float-spark i:nth-child(3) { height: 9px; }
.float-spark i:nth-child(4) { height: 16px; }
.float-spark i:nth-child(5) { height: 19px; }
.float-spark i:nth-child(6) { height: 24px; }

.ndvi-bar {
  width: 74px;
  height: 5px;
  border-radius: 99px;
  background: rgba(10, 58, 38, 0.12);
  overflow: hidden;
  margin-top: 5px;
}

.ndvi-bar i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-500), var(--forest-500));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1120px) {
  .float-scan { left: 0; }
  .float-price { right: 0; }
  .float-ndvi { left: 0; }
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 620px;
    margin-top: 10px;
  }

  .float-scan { left: 4%; }
  .float-price { right: 4%; }
  .float-ndvi { left: 6%; }
}

@media (max-width: 560px) {
  .phone {
    width: 272px;
    transform: rotate(-1.5deg);
  }

  .phone-screen {
    min-height: 525px;
    padding: 10px 12px;
  }

  .float-card {
    display: none;
  }

  .hero-visual {
    min-height: 570px;
  }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.trust-inner:hover {
  animation-play-state: paused;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--forest-600);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-inner {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 16px 28px;
  }

  .trust-inner [aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--forest-950);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 80% at 85% 0%, rgba(240, 178, 62, 0.16), transparent 70%),
    radial-gradient(35% 70% at 10% 100%, rgba(84, 194, 131, 0.14), transparent 70%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 34px 28px;
  border-left: 1px solid rgba(251, 247, 236, 0.14);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-300);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(251, 247, 236, 0.68);
  max-width: 22ch;
}

@media (max-width: 820px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 26px 22px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(251, 247, 236, 0.14);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-top: 1px solid rgba(251, 247, 236, 0.14);
    padding: 22px 0;
  }

  .stat:first-child {
    border-top: 0;
  }
}

/* ---------- Intro / split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.split.balanced {
  align-items: center;
}

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

.intro-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.intro-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.intro-point .num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest-700);
  background: var(--paper);
}

.intro-point h3 {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.intro-point p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.quote-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--cream-50);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -34px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 11rem;
  line-height: 1;
  color: rgba(240, 178, 62, 0.22);
}

.quote-card blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}

.quote-card blockquote em {
  font-style: italic;
  color: var(--gold-300);
}

.quote-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(251, 247, 236, 0.72);
}

.quote-card footer span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 247, 236, 0.12);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bento feature grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 300px;
  padding: 26px 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 58, 38, 0.24);
}

.bento-card.wide {
  grid-column: span 7;
}

.bento-card.half {
  grid-column: span 5;
}

.bento-card.third {
  grid-column: span 4;
}

.bento-card.narrow {
  grid-column: span 3;
}

.bento-card.dark {
  background: linear-gradient(150deg, var(--forest-900), var(--forest-950));
  border-color: transparent;
  color: rgba(251, 247, 236, 0.78);
}

.bento-card.dark h3 {
  color: var(--cream-50);
}

.bento-card.dark p {
  color: rgba(251, 247, 236, 0.66);
}

.bento-card.gold {
  background: linear-gradient(150deg, #fdf3db, var(--gold-100));
  border-color: rgba(217, 151, 31, 0.22);
}

.bento-card h3 {
  font-size: clamp(1.28rem, 1.8vw, 1.5rem);
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--leaf-100);
  color: var(--forest-700);
  flex: none;
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.bento-card.dark .card-icon {
  background: rgba(251, 247, 236, 0.1);
  color: var(--gold-300);
}

.bento-card.gold .card-icon {
  background: rgba(217, 151, 31, 0.16);
  color: var(--gold-700);
}

.bento-card.clay .card-icon {
  background: var(--clay-100);
  color: var(--clay-700);
}

.card-visual {
  margin-top: auto;
  padding-top: 22px;
}

.card-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-700);
  background: var(--leaf-50);
}

.bento-card.dark .card-tag {
  border-color: rgba(251, 247, 236, 0.18);
  background: rgba(251, 247, 236, 0.06);
  color: var(--gold-300);
}

/* Mini chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 118px;
  padding-top: 8px;
  border-bottom: 1px solid rgba(251, 247, 236, 0.16);
}

.mini-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  height: 100%;
}

.mini-bar i {
  display: block;
  width: 100%;
  max-width: 34px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  opacity: 0.92;
  transition: height 0.8s var(--ease);
}

.mini-bar:nth-child(2) i { background: linear-gradient(180deg, var(--leaf-300), var(--forest-500)); }
.mini-bar:nth-child(4) i { background: linear-gradient(180deg, var(--leaf-300), var(--forest-500)); }
.mini-bar span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 236, 0.55);
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(251, 247, 236, 0.62);
}

.market-row strong {
  color: var(--leaf-300);
}

/* Scan visual */
.scan-visual {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px dashed rgba(10, 58, 38, 0.26);
}

.scan-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 13px;
  background: var(--forest-900);
  color: var(--leaf-300);
  flex: none;
  overflow: hidden;
}

.scan-thumb svg {
  width: 30px;
  height: 30px;
}

.scan-thumb::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold-300);
  box-shadow: 0 0 10px rgba(240, 178, 62, 0.8);
  animation: scan-line 2.8s ease-in-out infinite;
}

@keyframes scan-line {
  0%, 100% { top: 14%; }
  50% { top: 82%; }
}

.scan-meta small {
  display: block;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.scan-meta strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2px 0 3px;
}

.scan-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--forest-700);
}

.scan-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-500);
}

/* Calendar visual */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: auto;
}

.week-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 0;
  border-radius: 9px;
  background: var(--cream-50);
  border: 1px solid transparent;
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--muted);
}

.week-grid div strong {
  font-size: 0.62rem;
  color: var(--ink);
}

.week-grid div.has-task {
  background: var(--leaf-50);
  border-color: rgba(36, 146, 98, 0.24);
}

.week-grid div.is-today {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: var(--leaf-300);
}

.week-grid div.is-today strong {
  color: var(--cream-50);
}

/* Stat pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.pill svg {
  width: 13px;
  height: 13px;
  color: var(--forest-600);
}

.pill.warn {
  background: var(--gold-50);
  border-color: rgba(217, 151, 31, 0.25);
  color: var(--gold-700);
}

.pill.warn svg {
  color: var(--gold-600);
}

/* Donut */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}

.donut {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--forest-600) 0 58%, var(--gold-500) 58% 78%, var(--clay-300) 78% 100%);
  flex: none;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--paper);
}

.donut span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--forest-900);
}

.legend {
  display: grid;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--forest-600);
}

.legend span:nth-child(2) i { background: var(--gold-500); }
.legend span:nth-child(3) i { background: var(--clay-300); }

/* Lessons */
.lesson-stack {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.lesson-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 11px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lesson-row .play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--gold-300);
  flex: none;
}

.lesson-row .play svg {
  width: 9px;
  height: 9px;
}

.lesson-row span:last-child {
  margin-left: auto;
  font-size: 0.58rem;
  color: var(--muted-light);
}

/* Chat */
.chat-stack {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.chat-bubble {
  max-width: 92%;
  padding: 8px 11px;
  border-radius: 11px 11px 11px 3px;
  background: var(--leaf-50);
  border: 1px solid var(--line);
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.chat-bubble.alt {
  margin-left: auto;
  border-radius: 11px 11px 3px 11px;
  background: var(--forest-900);
  border-color: transparent;
  color: var(--cream-50);
}

.chat-bubble small {
  display: block;
  margin-top: 2px;
  font-size: 0.52rem;
  opacity: 0.7;
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.chip {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.chip.hot {
  background: var(--gold-100);
  border-color: rgba(217, 151, 31, 0.3);
  color: var(--gold-700);
}

@media (max-width: 1000px) {
  .bento-card.wide,
  .bento-card.half,
  .bento-card.third,
  .bento-card.narrow {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .bento-card,
  .bento-card.wide,
  .bento-card.half,
  .bento-card.third,
  .bento-card.narrow {
    grid-column: span 12;
    min-height: 0;
  }
}

/* ---------- Showcase tabs ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-align: left;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tab:hover {
  background: rgba(255, 253, 247, 0.6);
}

.tab[aria-selected="true"] {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.tab-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tab[aria-selected="true"] .tab-num {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: var(--gold-300);
}

.tab-title {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 3px;
  color: var(--ink);
}

.tab-desc {
  display: none;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.tab[aria-selected="true"] .tab-desc {
  display: block;
}

.showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(240, 178, 62, 0.28), transparent 70%),
    var(--cream-100);
  border: 1px solid var(--line);
  overflow: hidden;
}

.showcase-stage::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(10, 58, 38, 0.2);
}

.screen-frame {
  position: relative;
  width: min(100%, 292px);
  padding: 8px;
  border-radius: 30px;
  background: #101d16;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.screen-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 12px;
  border-radius: 999px;
  background: #101d16;
  z-index: 2;
}

.screen-frame img {
  width: 100%;
  border-radius: 22px;
  background: var(--cream-50);
}

.screen-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  z-index: 3;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--forest-800);
  display: flex;
  align-items: center;
  gap: 7px;
  transform: rotate(-2deg);
}

.screen-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-600);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fade-up 0.4s var(--ease) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    order: -1;
    min-height: 480px;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 12%;
  right: 12%;
  border-top: 1.5px dashed rgba(10, 58, 38, 0.22);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px var(--cream-50);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest-800);
}

.section-white .step-num {
  box-shadow: 0 0 0 8px var(--paper);
}

.step h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32ch;
  margin-inline: auto;
}

@media (max-width: 780px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: left;
  }

  .steps::before {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 20px;
    text-align: left;
    align-items: start;
    padding: 0;
  }

  .step-num {
    margin: 0;
    box-shadow: none;
  }

  .step p {
    margin-inline: 0;
    max-width: 46ch;
  }
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.audience-card svg {
  width: 24px;
  height: 24px;
  color: var(--forest-600);
  margin-bottom: 16px;
}

.audience-card h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--cream-100);
  border: 1px solid var(--line);
}

.billing-toggle button {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--forest-900);
  box-shadow: var(--shadow-xs);
}

.billing-toggle .save {
  margin-left: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.price-card.featured {
  background: linear-gradient(165deg, var(--forest-900), var(--forest-950));
  border-color: transparent;
  color: rgba(251, 247, 236, 0.76);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-name {
  color: var(--cream-50);
}

.price-card.featured .price-desc,
.price-card.featured .price-list li {
  color: rgba(251, 247, 236, 0.68);
}

.price-card.featured .price-currency,
.price-card.featured .price-period {
  color: rgba(251, 247, 236, 0.62);
}

.price-card.featured .price-list svg {
  color: var(--gold-300);
}

.price-card.featured .price-list .muted {
  color: rgba(251, 247, 236, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--forest-950);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-name {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-600);
  margin-bottom: 10px;
}

.price-card h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  min-height: 42px;
  margin-bottom: 22px;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.price-card.featured .price {
  border-bottom-color: rgba(251, 247, 236, 0.15);
}

.price-currency {
  font-size: 1rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.price-period {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-annual-note {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-700);
}

.price-card.featured .price-annual-note {
  color: var(--gold-300);
}

.price-list {
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.price-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  line-height: 1.45;
  color: var(--muted);
}

.price-list li svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--forest-600);
}

.price-list li.muted {
  opacity: 0.5;
}

.price-list li.muted svg {
  color: var(--muted-light);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.price-footnote {
  margin-top: 26px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap: 24px;
  }

  .price-card.featured {
    transform: none;
  }
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.compare thead th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
  width: 20%;
}

.compare tbody th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink);
}

.compare tbody tr:hover {
  background: var(--leaf-50);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare .tick {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leaf-100);
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.compare .dash {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--muted-light);
  font-size: 0.72rem;
}

.compare .featured-col {
  background: rgba(223, 244, 230, 0.4);
}

.compare-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 720px) {
  .compare-hint {
    display: flex;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item.is-open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-q .plus {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: none;
  transition: background-color 0.25s var(--ease), transform 0.3s var(--ease);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--forest-800);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-q .plus {
  background: var(--forest-900);
  border-color: var(--forest-900);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-q .plus::before,
.faq-item.is-open .faq-q .plus::after {
  background: var(--gold-300);
}

.faq-item.is-open .faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 22px 22px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--forest-900), var(--forest-950));
  color: var(--cream-50);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 70% at 92% 8%, rgba(240, 178, 62, 0.32), transparent 65%),
    radial-gradient(40% 60% at 4% 100%, rgba(84, 194, 131, 0.22), transparent 70%);
}

.cta::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(251, 247, 236, 0.2);
  box-shadow: 0 0 0 34px rgba(251, 247, 236, 0.04), 0 0 0 68px rgba(251, 247, 236, 0.03);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 34px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}

.cta p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(251, 247, 236, 0.74);
  max-width: 50ch;
}

.cta .btn-row {
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta .btn-row {
    justify-content: flex-start;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 82px)) 0 clamp(44px, 6vw, 70px);
  background:
    radial-gradient(46% 70% at 92% 0%, rgba(240, 178, 62, 0.2), transparent 68%),
    radial-gradient(42% 60% at 0% 100%, rgba(84, 194, 131, 0.16), transparent 70%),
    var(--cream-50);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero .display {
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  margin-bottom: 18px;
  max-width: 18ch;
}

.page-hero .lede {
  max-width: 58ch;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--forest-700);
}

.breadcrumb span {
  color: var(--muted-light);
}

.page-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.7);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.page-hero-aside strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
}

@media (max-width: 860px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero-aside {
    display: none;
  }
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 68px) 0;
  border-bottom: 1px solid var(--line);
}

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

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy .eyebrow {
  margin-bottom: 14px;
}

.feature-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}

.feature-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 52ch;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--forest-600);
}

.feature-visual {
  position: relative;
}

.visual-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.visual-card.tint {
  background: linear-gradient(160deg, var(--cream-100), var(--paper));
}

.visual-card.dark {
  background: linear-gradient(150deg, var(--forest-900), var(--forest-950));
  border-color: transparent;
  color: var(--cream-50);
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.visual-head strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.visual-head small {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}

.visual-card.dark .visual-head small {
  color: rgba(251, 247, 236, 0.55);
}

.visual-head .dot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--forest-600);
}

.visual-head .dot-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(84, 194, 131, 0.2);
}

.visual-card.dark .visual-head .dot-live {
  color: var(--leaf-300);
}

.price-rows {
  display: grid;
  gap: 8px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.price-row strong {
  font-size: 0.82rem;
  color: var(--ink);
}

.price-row em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--forest-600);
}

.price-row em.down {
  color: #b4552f;
}

.visual-card.dark .price-row {
  background: rgba(251, 247, 236, 0.06);
  border-color: rgba(251, 247, 236, 0.1);
  color: rgba(251, 247, 236, 0.75);
}

.visual-card.dark .price-row strong {
  color: var(--cream-50);
}

.visual-card.dark .price-row em {
  color: var(--leaf-300);
}

.big-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin-top: 18px;
  padding-top: 10px;
  border-bottom: 1px solid var(--line);
}

.visual-card.dark .big-chart {
  border-bottom-color: rgba(251, 247, 236, 0.14);
}

.big-chart .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.big-chart .col i {
  width: 100%;
  max-width: 30px;
  border-radius: 5px 5px 1px 1px;
  background: var(--leaf-300);
  opacity: 0.85;
}

.big-chart .col:nth-child(3n) i {
  background: var(--gold-500);
}

.big-chart .col span {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--muted);
}

.visual-card.dark .big-chart .col span {
  color: rgba(251, 247, 236, 0.5);
}

.visual-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--forest-700);
}

.visual-card.dark .visual-note {
  color: var(--leaf-300);
}

.visual-note svg {
  width: 15px;
  height: 15px;
}

.satellite {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #2f4a35;
  margin-bottom: 16px;
}

.satellite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05) hue-rotate(8deg);
}

.satellite::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(7, 38, 26, 0.12) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(7, 38, 26, 0.12) 0 1px, transparent 1px 26px);
  mix-blend-mode: multiply;
}

.satellite-grid {
  position: absolute;
  inset: 10%;
  border: 1.5px solid rgba(240, 178, 62, 0.9);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 1;
}

.satellite-grid span {
  border: 1px solid rgba(240, 178, 62, 0.45);
}

.satellite-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(7, 38, 26, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ndvi-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
}

.ndvi-legend i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, #b4552f, var(--gold-500), var(--leaf-400), var(--forest-600));
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-grid div {
  aspect-ratio: 1;
  border-radius: 7px;
  background: var(--cream-50);
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted);
}

.cal-grid div.muted {
  opacity: 0.4;
}

.cal-grid div.task {
  background: var(--leaf-100);
  color: var(--forest-800);
}

.cal-grid div.gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.cal-grid div.today {
  background: var(--forest-900);
  color: var(--cream-50);
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cal-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--leaf-300);
}

.cal-legend span:nth-child(2) i { background: var(--gold-500); }
.cal-legend span:nth-child(3) i { background: var(--forest-900); }

.herd-table {
  display: grid;
  gap: 6px;
}

.herd-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.herd-row .avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay-100);
  color: var(--clay-700);
  font-size: 0.58rem;
  font-weight: 800;
}

.herd-row small {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--muted);
}

.herd-row .status {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--leaf-100);
  color: var(--forest-700);
  font-size: 0.55rem;
  font-weight: 800;
}

.herd-row .status.watch {
  background: var(--gold-100);
  color: var(--gold-700);
}

.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lesson-card {
  padding: 12px;
  border-radius: 11px;
  background: var(--cream-50);
  border: 1px solid var(--line);
}

.lesson-card .thumb {
  height: 46px;
  border-radius: 7px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--forest-700), var(--leaf-400));
  display: grid;
  place-items: center;
  color: var(--gold-300);
}

.lesson-card .thumb.gold {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-300));
  color: var(--forest-900);
}

.lesson-card svg {
  width: 18px;
  height: 18px;
}

.lesson-card strong {
  display: block;
  font-size: 0.66rem;
  line-height: 1.35;
  color: var(--ink);
}

.lesson-card small {
  font-size: 0.56rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: initial;
  }
}

/* ---------- About ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}

.value-card .card-icon {
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 860px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 760px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-700);
  line-height: 1.2;
}

.timeline-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 56ch;
}

@media (max-width: 560px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-caption {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Feature page extras ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.anchor-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.6);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.anchor-nav a:hover {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: var(--cream-50);
}

.visual-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.field-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  background:
    radial-gradient(38% 60% at 22% 28%, #5d8547 0%, #5d8547 62%, transparent 63%),
    radial-gradient(42% 48% at 72% 24%, #86a668 0%, #86a668 60%, transparent 61%),
    radial-gradient(48% 62% at 42% 78%, #4a713d 0%, #4a713d 58%, transparent 59%),
    radial-gradient(40% 50% at 88% 82%, #b39a5f 0%, #b39a5f 55%, transparent 56%),
    linear-gradient(115deg, #3a5c35, #6d8a4d 45%, #9b8a58 46%, #7a9455 72%, #456b3d);
  isolation: isolate;
}

.field-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(7, 38, 26, 0.1) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(7, 38, 26, 0.1) 0 1px, transparent 1px 24px);
  mix-blend-mode: multiply;
}

.field-map::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 8%;
  bottom: 8%;
  border: 1.5px solid rgba(240, 178, 62, 0.9);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(7, 38, 26, 0.15);
}

.field-map .zone {
  position: absolute;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(7, 38, 26, 0.78);
  color: var(--gold-300);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field-map .zone-a { left: 14%; top: 14%; }
.field-map .zone-b { right: 14%; bottom: 16%; color: var(--leaf-300); }

.alert-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gold-50);
  border: 1px solid rgba(217, 151, 31, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--forest-950);
}

.alert-card .alert-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gold-100);
  color: var(--gold-700);
  flex: none;
}

.alert-card svg {
  width: 15px;
  height: 15px;
}

.alert-card small {
  display: block;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 28px;
}

.toolkit-grid li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.toolkit-grid svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--forest-600);
}

@media (max-width: 760px) {
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-item .card-icon {
  width: 42px;
  height: 42px;
  margin: 0;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--forest-700);
  text-decoration: underline;
}

.form-card {
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label span {
  color: var(--gold-700);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--cream-50);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(36, 146, 98, 0.14);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b4552f;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.form-status {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest-700);
  min-height: 1.4em;
}

.form-status.error {
  color: #a8492a;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 14px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal ---------- */
.legal-body {
  max-width: 780px;
  margin-inline: auto;
}

.legal-body .updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--leaf-50);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--forest-700);
}

.legal-body h2 {
  font-size: 1.45rem;
  margin: 36px 0 12px;
}

.legal-body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  margin: 22px 0 8px;
}

.legal-body p,
.legal-body li {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  list-style: disc;
}

.legal-body a {
  color: var(--forest-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-950);
  color: rgba(251, 247, 236, 0.62);
  padding: clamp(48px, 6vw, 76px) 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 90% 0%, rgba(240, 178, 62, 0.1), transparent 70%),
    radial-gradient(30% 50% at 0% 100%, rgba(84, 194, 131, 0.08), transparent 70%);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 44px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: var(--cream-50);
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 30ch;
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 236, 0.16);
  color: rgba(251, 247, 236, 0.7);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--forest-950);
}

.socials svg {
  width: 15px;
  height: 15px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  font-size: 0.82rem;
}

.footer-col a {
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-app {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(251, 247, 236, 0.14);
  background: rgba(251, 247, 236, 0.04);
}

.footer-app p {
  font-size: 0.76rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: rgba(251, 247, 236, 0.6);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--cream-50);
  color: var(--forest-950);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: var(--gold-300);
}

.store-btn svg {
  width: 20px;
  height: 20px;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn small {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-btn strong {
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(251, 247, 236, 0.12);
  font-size: 0.74rem;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--gold-300);
}

.made-in {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.made-in i {
  display: inline-block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background: linear-gradient(180deg, #c8102e 33%, #f0b23e 33% 66%, #14713f 66%);
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-app {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--gold-300);
  border: 1px solid rgba(240, 178, 62, 0.3);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--forest-800);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal].will-reveal {
    opacity: 1;
    transform: none;
  }

  .phone,
  .hero-halo {
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .mobile-nav,
  .to-top,
  .cta,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero,
  .page-hero {
    padding-top: 20px;
  }
}
