:root {
  color-scheme: light;
  --ink: #14251b;
  --ink-soft: #4b5c51;
  --paper: #f4f7f2;
  --surface: #ffffff;
  --surface-soft: #eaf0eb;
  --line: #d3ddd4;
  --green: #14713f;
  --green-dark: #0e5630;
  --green-light: #c7efd6;
  --green-faint: #e6f8ec;
  --lime: #dff06f;
  --amber: #f2bd56;
  --red: #b83a30;
  --shadow: 0 24px 60px rgba(28, 66, 43, 0.12);
  --shadow-soft: 0 10px 30px rgba(28, 66, 43, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eaf4ed;
  --ink-soft: #b5c5ba;
  --paper: #0d1512;
  --surface: #17211b;
  --surface-soft: #202d25;
  --line: #35463a;
  --green: #7ed9a3;
  --green-dark: #98edb8;
  --green-light: #214b32;
  --green-faint: #163422;
  --lime: #dff06f;
  --amber: #f3bf63;
  --red: #ffb4ab;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .button:not(.secondary):not(.ghost):not(.disabled) {
  color: #0a2716;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  color: #062013;
  background: var(--lime);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: #092c1b;
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.nav-wrap {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px),
    var(--green-dark);
  background-size: 11px 11px;
  border: 1px solid color-mix(in srgb, var(--green-dark) 80%, white);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 12px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-button {
  display: none;
  border-radius: 12px;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  color: white;
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 13px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--green-dark) 22%, transparent);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--green-dark) 28%, transparent);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost {
  color: var(--green-dark);
  background: transparent;
  border-color: color-mix(in srgb, var(--green) 44%, var(--line));
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 14px;
}

.button.disabled,
.button:disabled {
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.3vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.lead {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 132px) 0 78px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -180px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, color-mix(in srgb, var(--green-light) 85%, transparent), transparent 68%);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  gap: clamp(44px, 7vw, 94px);
}

.hero-copy h1 {
  max-width: 760px;
}

.marker {
  position: relative;
  white-space: nowrap;
}

.marker::after {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 7%;
  left: -2%;
  height: .3em;
  background: var(--lime);
  border-radius: 4px;
  content: "";
  transform: rotate(-1deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.trust-line span::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
}

.product-stage {
  position: relative;
  min-height: 630px;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 16px;
  color: #14251b;
  background: #102419;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 44px;
  box-shadow: 0 38px 90px rgba(8, 42, 24, .25);
  transform: rotate(2deg);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 92px;
  height: 22px;
  background: #102419;
  border-radius: 0 0 16px 16px;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  min-height: 590px;
  padding: 34px 20px 22px;
  background: #f4f7f5;
  border-radius: 31px;
}

.phone-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-kicker {
  display: block;
  color: #5b6b60;
  font-size: 11px;
  font-weight: 700;
}

.phone-head strong {
  display: block;
  font-size: 25px;
  line-height: 1.15;
}

.streak {
  padding: 7px 10px;
  color: #704500;
  background: #ffe7b0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.progress-track {
  overflow: hidden;
  height: 7px;
  margin-bottom: 22px;
  background: #dbe5dc;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 42%;
  height: 100%;
  background: #14713f;
  border-radius: inherit;
}

.lesson-card {
  padding: 18px;
  background: white;
  border: 1px solid #dfe7df;
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(30, 60, 40, .06);
}

.lesson-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #0e5630;
  background: #d9f3e2;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lesson-card h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.formula-code {
  margin-bottom: 14px;
  padding: 9px 11px;
  color: #0e5630;
  background: #eef6f0;
  border: 1px solid #d8e7db;
  border-radius: 9px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.sheet {
  overflow: hidden;
  margin-top: 14px;
  background: white;
  border: 1px solid #cdd8cf;
  border-radius: 10px;
}

.sheet-bar {
  padding: 8px 10px;
  color: #395043;
  background: #edf3ee;
  border-bottom: 1px solid #cdd8cf;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.sheet th,
.sheet td {
  padding: 8px;
  border-right: 1px solid #dbe3dc;
  border-bottom: 1px solid #dbe3dc;
  text-align: left;
}

.sheet th {
  color: #fff;
  background: #14713f;
}

.sheet td:last-child {
  text-align: right;
}

.sheet tr:last-child td {
  color: #0e5630;
  background: #e5f6eb;
  font-weight: 900;
}

.phone-button {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  color: white;
  background: #14713f;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  color: #17251c;
  background: #fff;
  border: 1px solid #d8e2d9;
  border-radius: 15px;
  box-shadow: 0 16px 38px rgba(11, 55, 30, .16);
  font-size: 13px;
  font-weight: 800;
}

.float-card.one {
  top: 90px;
  right: -10px;
  transform: rotate(-3deg);
}

.float-card.two {
  bottom: 82px;
  left: -20px;
  transform: rotate(2deg);
}

.float-card b {
  display: block;
  color: #14713f;
  font-size: 20px;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child { border-right: 0; }

.proof-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 124px) 0;
}

.section.tight {
  padding-block: 70px;
}

.section-head {
  display: grid;
  margin-bottom: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  gap: 40px;
  align-items: end;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-head p {
  margin-bottom: 4px;
  color: var(--ink-soft);
}

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

.feature-card {
  min-height: 300px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.feature-card.large {
  grid-column: span 2;
}

.feature-card.dark {
  color: #eef9f1;
  background: #123421;
  border-color: #1c5131;
}

.feature-card.accent {
  color: #1d2a1f;
  background: var(--lime);
  border-color: color-mix(in srgb, var(--lime) 70%, #95a245);
}

.feature-card p {
  max-width: 520px;
  color: var(--ink-soft);
}

.feature-card.dark p { color: #bad4c2; }
.feature-card.accent p { color: #3d4c3e; }

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-faint);
  border-radius: 11px;
  font-family: Consolas, monospace;
  font-weight: 900;
}

.feature-card.dark .card-number {
  color: #dff06f;
  background: rgba(255,255,255,.1);
}

.feature-card.accent .card-number {
  color: #19301f;
  background: rgba(255,255,255,.46);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.category-pill {
  padding: 8px 12px;
  color: inherit;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.privacy-band {
  position: relative;
  overflow: hidden;
  color: #ecf8ef;
  background: #102d1d;
}

.privacy-band::after {
  position: absolute;
  right: -120px;
  bottom: -200px;
  width: 470px;
  height: 470px;
  background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.06) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.06) 40px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 40px;
  content: "";
  transform: rotate(12deg);
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.privacy-grid h2 { color: #fff; }
.privacy-grid .lead { color: #bcd2c3; }

.privacy-checks {
  display: grid;
  gap: 12px;
}

.privacy-check {
  display: grid;
  padding: 16px 18px;
  color: #eaf6ed;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.privacy-check span:first-child {
  color: var(--lime);
  font-weight: 900;
}

.testimonial {
  padding: clamp(34px, 6vw, 74px);
  background: var(--green-light);
  border-radius: var(--radius-lg);
}

.testimonial blockquote {
  max-width: 940px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.testimonial footer {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.cta-panel {
  display: grid;
  padding: clamp(34px, 6vw, 72px);
  color: #eff8f1;
  background: #0f4e2d;
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 720px;
  margin: 0;
  color: white;
}

.cta-panel p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #c5dcca;
}

.cta-panel .button {
  color: #17331f;
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: none;
}

.page-hero {
  padding: clamp(72px, 9vw, 116px) 0 62px;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-narrow {
  max-width: 880px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6.7vw, 5.8rem);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a { text-underline-offset: 3px; }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.stack {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

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

.info-card .meta {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  counter-reset: step;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  padding: 10px 0 50px;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  counter-increment: step;
}

.step::before {
  display: grid;
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  place-items: center;
  color: white;
  background: var(--green-dark);
  border-radius: 16px;
  content: counter(step, decimal-leading-zero);
  font-family: Consolas, monospace;
  font-weight: 900;
}

.step::after {
  position: absolute;
  top: 64px;
  bottom: 0;
  left: 26px;
  width: 2px;
  background: var(--line);
  content: "";
}

.step:last-child::after { display: none; }
.step p { color: var(--ink-soft); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tab-button {
  padding: 9px 14px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.formula-sample {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.formula-sample code {
  display: inline-block;
  margin: 6px 0 18px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

.formula-sample p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.quiz-demo {
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.quiz-options {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quiz-option {
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: Consolas, monospace;
  text-align: left;
  cursor: pointer;
}

.quiz-option:hover { border-color: var(--green); }
.quiz-option.correct { color: var(--green-dark); background: var(--green-faint); border-color: var(--green); }
.quiz-option.incorrect { color: var(--red); border-color: var(--red); }

.quiz-feedback {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.company-profile {
  display: grid;
  overflow: hidden;
  color: #eff8f1;
  background: #102d1d;
  border: 1px solid #245039;
  border-radius: var(--radius-lg);
  grid-template-columns: 1.2fr .8fr;
  box-shadow: var(--shadow);
}

.company-profile-copy,
.company-profile-contact {
  padding: clamp(30px, 6vw, 62px);
}

.company-profile-copy h2 {
  margin-bottom: 18px;
  color: white;
}

.company-profile-copy p {
  max-width: 680px;
  color: #bad2c1;
}

.company-profile-contact {
  display: grid;
  align-content: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border-left: 1px solid rgba(255,255,255,.1);
}

.company-detail {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.company-detail:last-child { border-bottom: 0; }

.company-detail small {
  display: block;
  margin-bottom: 4px;
  color: #91ad9a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.company-detail strong,
.company-detail a {
  color: white;
  font-size: 17px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.company-mini {
  display: flex;
  padding: 26px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.company-mini p { margin: 0; color: var(--ink-soft); }

.company-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-card {
  padding: 28px;
  border-top: 3px solid var(--green);
  background: var(--surface);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.timeline > div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline > div:last-child { border-right: 0; }

.timeline .year {
  color: var(--green-dark);
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

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

.faq-item summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  position: absolute;
  top: 22px;
  right: 6px;
  color: var(--green-dark);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .answer {
  max-width: 760px;
  padding: 0 0 26px;
  color: var(--ink-soft);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.support-card a {
  color: var(--green-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.support-tool {
  display: grid;
  padding: clamp(26px, 5vw, 50px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr .8fr;
  gap: 44px;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
}

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

.copy-output {
  min-height: 100%;
  padding: 20px;
  color: #d9eee0;
  background: #102d1d;
  border-radius: 16px;
  font-family: Consolas, monospace;
  font-size: 13px;
  white-space: pre-wrap;
}

.release-card {
  display: grid;
  padding: clamp(30px, 6vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.release-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: #744a00;
  background: #ffe8b7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.release-badge::before {
  width: 8px;
  height: 8px;
  background: #e39c18;
  border-radius: 50%;
  content: "";
}

.requirements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.requirements div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.requirements div:last-child { border-right: 0; }
.requirements strong { display: block; }
.requirements span { color: var(--ink-soft); font-size: 14px; }

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  justify-content: center;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 6px;
}

.legal-nav a {
  padding: 9px 12px;
  color: var(--ink-soft);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-faint);
}

.legal-content .updated {
  margin-bottom: 35px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.legal-content section {
  padding-top: 20px;
  scroll-margin-top: 110px;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -.03em;
}

.legal-content h3 {
  margin-top: 26px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content li + li { margin-top: 8px; }

.legal-note {
  padding: 20px;
  background: var(--green-faint);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
}

.legal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.legal-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.legal-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.legal-card span {
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 28px;
  color: #ccded1;
  background: #0b2015;
}

.footer-grid {
  display: grid;
  padding-bottom: 54px;
  grid-template-columns: 1.4fr repeat(3, .7fr);
  gap: 40px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand { color: white; }
.footer-brand p { margin: 18px 0 0; color: #91aa99; }

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: white;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 8px 0;
  color: #a9c0b0;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover { color: white; }

.footer-bottom {
  display: flex;
  padding-top: 24px;
  justify-content: space-between;
  gap: 24px;
  color: #7f9b87;
  border-top: 1px solid #22382a;
  font-size: 12px;
}

.mobile-panel {
  display: none;
}

.status-message {
  min-height: 24px;
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 60%, var(--lime));
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .js .nav-links { display: none; }
  .js .menu-button { display: inline-grid; }
  .nav-actions .button { display: none; }
  html:not(.js) .nav-wrap { flex-wrap: wrap; }
  html:not(.js) .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
  html:not(.js) .nav-actions { display: none; }
  .mobile-panel {
    position: fixed;
    z-index: 45;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 26px 20px;
    background: var(--paper);
  }
  .nav-open .mobile-panel { display: block; }
  .mobile-panel a {
    display: block;
    padding: 15px 4px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-panel .button {
    margin-top: 24px;
    color: white;
    text-align: center;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .product-stage { width: min(100%, 540px); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.large { grid-column: span 2; }
  .privacy-grid { grid-template-columns: 1fr; gap: 44px; }
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .support-tool { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, .8fr); }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand-text { max-width: 150px; }
  h1 { font-size: clamp(2.85rem, 15vw, 4.5rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .marker { white-space: normal; }
  .hero { padding-top: 62px; }
  .product-stage { min-height: auto; }
  .phone { width: min(92%, 390px); transform: none; }
  .float-card.one { top: 70px; right: 0; }
  .float-card.two { bottom: 54px; left: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-column: auto; }
  .feature-card { min-height: 260px; }
  .split { grid-template-columns: 1fr; }
  .sticky-copy { position: static; }
  .formula-grid { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .company-profile { grid-template-columns: 1fr; }
  .company-profile-contact { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .company-mini { align-items: flex-start; flex-direction: column; }
  .timeline { grid-template-columns: 1fr; }
  .timeline > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline > div:last-child { border-bottom: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .release-card { grid-template-columns: 1fr; gap: 28px; }
  .requirements { grid-template-columns: 1fr; }
  .requirements div { border-right: 0; border-bottom: 1px solid var(--line); }
  .requirements div:last-child { border-bottom: 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .legal-nav a { white-space: nowrap; }
  .legal-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 440px) {
  .brand-text { display: none; }
  .hero-actions .button { width: 100%; }
  .float-card { display: none; }
  .proof-item { padding: 24px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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

@media print {
  .site-header, .site-footer, .legal-nav, .hero-actions { display: none !important; }
  body { color: #111; background: white; }
  .page-hero, .section { padding: 24px 0; }
  .legal-layout { display: block; }
  .shell { width: 100%; }
}
