/* ==========================================================================
   Aidvisor design system
   Theme: "High Country" — deep forest greens, warm paper, bright pasture
   accent. Premium agritech feel: big type, generous space, calm surfaces.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand */
  --ink: #0b1f17;
  --ink-2: #123024;
  --ink-3: #1b4634;
  --green: #1f7a4d;
  --green-600: #19653f;
  --green-bright: #5bd98a;
  --green-glow: #8df0b4;
  --tussock: #d9a441;
  --clay: #c2643f;

  /* Neutrals */
  --paper: #fbfaf7;
  --paper-2: #f3f0e9;
  --paper-3: #e8e3d8;
  --line: #e2ded3;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Text */
  --text: #16241d;
  --text-muted: #5b6b62;
  --text-soft: #6d7d73;
  --text-on-dark: #eef6f0;
  --text-on-dark-soft: #a9c4b5;

  /* Type */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Space + shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --maxw: 1200px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 31, 23, 0.06), 0 2px 8px rgba(11, 31, 23, 0.04);
  --shadow: 0 4px 12px rgba(11, 31, 23, 0.07), 0 16px 40px rgba(11, 31, 23, 0.07);
  --shadow-lg: 0 8px 24px rgba(11, 31, 23, 0.1), 0 32px 72px rgba(11, 31, 23, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 640;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 650; }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------------ layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1340px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper-2); }
.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow { color: var(--green-bright); }
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title {
  font-size: clamp(2rem, 1.2rem + 2.7vw, 3.25rem);
  margin-bottom: 1.1rem;
}
.section-head__lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
}
.section--dark .section-head__lede { color: var(--text-on-dark-soft); }

.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin-top: 2.75rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.72; }
.prose ul { list-style: disc; padding-left: 1.35rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 1.05em; height: 1.05em; transition: transform 0.18s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9062rem; }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 23, 0.18), 0 8px 20px rgba(31, 122, 77, 0.24);
}
.btn--primary:hover { background: var(--green-600); box-shadow: 0 2px 4px rgba(11,31,23,.2), 0 14px 30px rgba(31,122,77,.3); }

.btn--accent {
  background: var(--green-bright);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(91, 217, 138, 0.28);
}
.btn--accent:hover { background: var(--green-glow); }

.btn--ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(11, 31, 23, 0.04); }

.btn--ghost-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ----------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo__mark { width: 30px; height: 30px; }
.logo__word {
  font-size: 1.2188rem;
  font-weight: 680;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 520;
  color: var(--text-muted);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); background: rgba(11, 31, 23, 0.05); }
.nav__caret { width: 0.9em; height: 0.9em; transition: transform 0.2s var(--ease); }
.nav__item--has-menu:hover .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 320px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__menu-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  transition: background-color 0.15s var(--ease);
}
.nav__menu-link:hover { background: var(--paper-2); }
.nav__menu-label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.nav__menu-desc { display: block; font-size: 0.8438rem; color: var(--text-muted); line-height: 1.45; margin-top: 0.15rem; }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  margin-left: auto;
}
.header__toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 1.25rem 2rem;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; gap: 0.15rem; }
.mobile-menu__list a {
  display: block;
  padding: 0.7rem 0;
  font-size: 1.0625rem;
  font-weight: 560;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__title {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 1rem;
}
.mobile-menu__group a { padding-left: 0.75rem; }
.mobile-menu__actions { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.mobile-menu__actions .btn { width: 100%; }

@media (max-width: 1000px) {
  .nav, .header__actions { display: none; }
  .header__toggle { display: flex; }
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% 40% -20%;
  background: radial-gradient(closest-side, rgba(91, 217, 138, 0.16), transparent);
  z-index: -1;
}
.hero__hills {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  opacity: 0.55;
  z-index: -1;
  mask-image: linear-gradient(to top, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
}
.hills { width: 100%; height: 100%; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8438rem;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
}
.hero__badge b {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--green-bright);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.4rem);
  color: #fff;
  margin-bottom: 1.35rem;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green-bright), var(--green-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(1.0938rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--text-on-dark-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* hero product panel */
.panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.panel__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem 0.9rem;
}
.panel__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.panel__crumb {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-on-dark-soft);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.panel__grid { display: grid; gap: 0.75rem; }
@media (min-width: 620px) { .panel__grid { grid-template-columns: 1.35fr 1fr; } }

.panel__main, .panel__side {
  background: rgba(8, 24, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.panel__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.panel__label { font-size: 0.8125rem; color: var(--text-on-dark-soft); }
.panel__figure {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  font-weight: 660;
  color: #fff;
  letter-spacing: -0.03em;
  margin-top: 0.15rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 620;
  white-space: nowrap;
}
.pill--up { background: rgba(91, 217, 138, 0.16); color: var(--green-glow); }
.pill__icon { width: 0.95em; height: 0.95em; }

.spark { width: 100%; height: auto; margin-top: 1rem; }
.panel__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 44px;
  margin-top: 0.9rem;
}
.panel__bar-col {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(to top, rgba(91, 217, 138, 0.25), rgba(91, 217, 138, 0.6));
}

.panel__side-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 640;
  color: var(--green-glow);
  margin-bottom: 0.6rem;
}
.panel__side-icon { width: 1em; height: 1em; }
.panel__side-text { font-size: 0.875rem; color: var(--text-on-dark); line-height: 1.55; }
.panel__side-text strong { color: var(--green-glow); }
.panel__cites { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.9rem; }
.cite {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-on-dark-soft);
}
.cite__icon { width: 0.9em; height: 0.9em; }

/* ------------------------------------------------------------- trust strip */
.trust {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 1.75rem;
}
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; justify-content: center; }
.trust__label {
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 560;
  color: var(--text);
}
.trust__item .icon { color: var(--green); }

/* ------------------------------------------------------------------ cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--paper-3); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(31, 122, 77, 0.12), rgba(91, 217, 138, 0.16));
  color: var(--green);
  margin-bottom: 1.15rem;
}
.feature-card__icon .icon { width: 1.4rem; height: 1.4rem; }
.feature-card__title { font-size: 1.1875rem; margin-bottom: 0.55rem; }
.feature-card__body { color: var(--text-muted); font-size: 0.9688rem; line-height: 1.62; }

.section--dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}
.section--dark .card:hover { border-color: rgba(91, 217, 138, 0.35); }
.section--dark .feature-card__icon {
  background: rgba(91, 217, 138, 0.13);
  color: var(--green-bright);
}
.section--dark .feature-card__body { color: var(--text-on-dark-soft); }

/* --------------------------------------------------------------- listicles */
.check-list { display: grid; gap: 0.8rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.55; }
.check-list__icon {
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.22rem;
  padding: 0.15rem;
  border-radius: 50%;
  background: rgba(31, 122, 77, 0.12);
  color: var(--green);
  stroke-width: 2.6;
}
.section--dark .check-list__icon { background: rgba(91, 217, 138, 0.18); color: var(--green-bright); }

/* ------------------------------------------------------------------ stats */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat__value {
  display: block;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  font-weight: 660;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.9375rem; color: var(--text-muted); }
.section--dark .stat-band { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .stat { background: var(--ink-2); }
.section--dark .stat__value { color: var(--green-bright); }
.section--dark .stat__label { color: var(--text-on-dark-soft); }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--paper); padding: clamp(1.75rem, 3vw, 2.5rem); }
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.1rem;
  letter-spacing: 0.05em;
}
.step__title { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step__text { color: var(--text-muted); font-size: 0.9688rem; }
.section--dark .steps { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .step { background: var(--ink-2); }
.section--dark .step__num { color: var(--green-bright); }
.section--dark .step__text { color: var(--text-on-dark-soft); }

/* ---------------------------------------------------------------- split */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse .split__media { order: -1; }
}
.split__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
.split__text { color: var(--text-muted); margin-bottom: 1.75rem; font-size: 1.0625rem; }
.section--dark .split__text { color: var(--text-on-dark-soft); }

.media-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-on-dark);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08);
}
.media-card--paper {
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--line);
}

/* chat mock */
.chat { display: grid; gap: 0.75rem; }
.bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 92%;
}
.bubble--user {
  justify-self: end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.bubble--ai {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 5px;
  color: var(--text-on-dark);
}
.bubble--ai strong { color: var(--green-glow); }
.bubble__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__caret { color: var(--green); transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__caret { transform: rotate(180deg); }
.faq__a { padding-bottom: 1.4rem; max-width: 72ch; }
.faq__a p { color: var(--text-muted); }

/* --------------------------------------------------------------- pricing */
.price-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow);
}
.plan__flag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 640;
  white-space: nowrap;
}
.plan__name { font-size: 1.1875rem; margin-bottom: 0.35rem; }
/* 3.3em == two wrapped lines, so one-line descriptions keep prices aligned */
.plan__for { font-size: 0.875rem; color: var(--text-muted); min-height: 3.3em; }
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 1.35rem 0 0.35rem;
}
/* clamp keeps "From $1,490" on one line without shrinking "$249" unnecessarily */
.plan__amount {
  font-size: clamp(1.875rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__period { font-size: 0.9375rem; color: var(--text-muted); }
.plan__gst { font-size: 0.8125rem; color: var(--text-muted); }
.plan .btn { width: 100%; margin: 1.5rem 0; }
.plan__features { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.plan__features .check-list { gap: 0.65rem; font-size: 0.9375rem; }

/* --------------------------------------------------------------- cta band */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__inner { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); text-align: center; }
.cta-band__art { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }
.cta-band__art .hills { height: 100%; }
.cta-band__content { max-width: 620px; margin-inline: auto; }
.cta-band__title { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 1rem; }
.cta-band__lede { color: var(--text-on-dark-soft); margin-bottom: 2rem; font-size: 1.0938rem; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9062rem; font-weight: 580; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 0.8125rem; color: var(--text-muted); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }

.info-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.info-card + .info-card { margin-top: 1rem; }
.info-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.info-card p { color: var(--text-muted); font-size: 0.9375rem; }
.info-card a { color: var(--green); font-weight: 560; }

/* ----------------------------------------------------------------- badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.8438rem;
  font-weight: 550;
  color: var(--text-muted);
}
.badge .icon { width: 1em; height: 1em; color: var(--green); }
.section--dark .badge { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: var(--text-on-dark-soft); }
.section--dark .badge .icon { color: var(--green-bright); }

/* --------------------------------------------------------------- page hero */
.page-hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 55%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(91, 217, 138, 0.14), transparent);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero__title {
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.15rem;
}
.page-hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  color: var(--text-on-dark-soft);
  max-width: 62ch;
}
.page-hero .btn-row { margin-top: 2rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8438rem; color: var(--text-on-dark-soft); margin-bottom: 1.25rem; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--green-bright); }

/* ----------------------------------------------------------------- footer */
.footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.9375rem;
}
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr 1.4fr; } }
.footer__logo .logo__word { color: #fff; }
.footer__blurb { margin-top: 1rem; max-width: 42ch; line-height: 1.6; }
.footer__contact { margin-top: 1rem; }
.footer__contact a { color: var(--green-bright); }
.footer__contact a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255,255,255,.25); }

.footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.footer__heading {
  font-size: 0.75rem;
  font-weight: 640;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__col li + li { margin-top: 0.65rem; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}
.footer__seclink { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer__seclink-icon { color: var(--green-bright); width: 1.05em; height: 1.05em; }
.footer__seclink a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------- misc */
.center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.muted { color: var(--text-muted); }
.note {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--green);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.error-page { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.error-page__code {
  font-size: clamp(5rem, 4rem + 8vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, var(--green), var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media print {
  .header, .footer, .cta-band, .mobile-menu { display: none; }
  body { background: #fff; color: #000; }
}
