/* =========================================================
   ReelWin — Global Stylesheet
   Design tokens, layout primitives, components, utilities
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --color-primary: #11FF00;
  --color-primary-600: #0DD900;
  --color-primary-700: #0BB800;
  --color-on-primary: #0A0F0A;

  /* Surfaces */
  --color-bg: #FFFFFF;
  --color-surface: #F6FAF5;
  --color-surface-2: #EEF5ED;
  --color-ink: #0A0F0A;
  --color-text: #1A211B;
  --color-muted: #5A665E;
  --color-border: #E3EAE3;
  --color-border-strong: #C8D3C8;

  /* Semantic */
  --color-accent-soft: #E9FFE5;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-36: 2.25rem;
  --fs-48: 3rem;
  --fs-60: 3.75rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-loose: 1.7;

  /* Spacing scale (8px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* Radius & shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 10, 0.06);
  --shadow-md: 0 6px 16px rgba(10, 15, 10, 0.08);
  --shadow-lg: 0 18px 40px rgba(10, 15, 10, 0.12);

  /* Layout */
  --container: 1160px;
  --container-narrow: 820px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 120ms;
  --t-med: 200ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--color-primary-700);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  color: var(--color-ink);
  line-height: var(--lh-tight);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-24);
}

h4 {
  font-size: var(--fs-18);
}

p {
  margin: 0 0 var(--s-4);
}

small {
  font-size: var(--fs-14);
}

ul,
ol {
  padding-left: 1.2rem;
  margin: 0 0 var(--s-4);
}

li {
  margin-bottom: var(--s-2);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--color-surface-2);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--s-10) 0;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip-link:focus {
  position: static;
  display: inline-block;
  margin: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-sm);
}

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

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

.section {
  padding: clamp(3rem, 3rem + 3vw, 6rem) 0;
}

.section--tight {
  padding: clamp(2rem, 2rem + 2vw, 4rem) 0;
}

.section--surface {
  background: var(--color-surface);
}

.section--ink {
  background: var(--color-ink);
  color: #E7EEE7;
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: #fff;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--color-primary-700);
  margin-bottom: var(--s-3);
}

.section__header {
  max-width: 720px;
  margin: 0 auto var(--s-10);
  text-align: center;
}

.section__header p {
  color: var(--color-muted);
  font-size: var(--fs-18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: 1;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
    background-color var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease), color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(17, 255, 0, 0.25);
}

.btn--primary:hover {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
  color: var(--color-on-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

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

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--sm {
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-14);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-4) 0;
  position: relative;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--s-8);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--color-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav__brand img {
  height: 36px;
  width: auto;
}

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

.nav__list {
  list-style: none;
  display: flex;
  gap: var(--s-6);
  padding: 0;
  margin: 0;
}

.nav__list a {
  font-weight: 500;
  color: var(--color-text);
  font-size: var(--fs-16);
  padding: var(--s-2) var(--s-1);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.nav__list a[aria-current="page"] {
  color: var(--color-ink);
  border-bottom-color: var(--color-primary);
}

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

.nav__cta {
  display: inline-flex;
  gap: var(--s-3);
  align-items: center;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  position: relative;
  content: "";
}
.nav__toggle-bar::before {
  position: absolute;
  top: -7px;
}
.nav__toggle-bar::after {
  position: absolute;
  top: 7px;
}

/* Mobile nav using :target-free approach via checkbox (progressive enhancement) */
.nav__checkbox {
  display: none;
}

@media (max-width: 860px) {
  .nav {
    padding: var(--s-4);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: var(--s-4) var(--s-6) var(--s-6);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    box-shadow: var(--shadow-md);
    margin: 0 calc(var(--s-4) * -1);
  }

  .nav__checkbox:checked ~ .nav__menu {
    display: flex;
  }

  .nav__menu .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__menu .nav__list a {
    display: block;
    padding: var(--s-3) var(--s-4);
    border-bottom: 1px solid var(--color-border);
  }

  .nav__menu .nav__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav__menu .nav__cta .btn {
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
  background: linear-gradient(180deg, #F6FAF5 0%, #FFFFFF 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(17, 255, 0, 0.18), transparent);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-10);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--color-accent-soft);
  color: var(--color-primary-700);
  border: 1px solid rgba(17, 255, 0, 0.25);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: var(--fs-14);
  font-weight: 600;
  margin-bottom: var(--s-5);
}

.hero__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(17, 255, 0, 0.18);
}

.hero h1 {
  margin-bottom: var(--s-5);
}

.hero__lede {
  font-size: var(--fs-20);
  color: var(--color-muted);
  margin-bottom: var(--s-6);
  max-width: 40ch;
}

.hero__meta {
  margin-top: var(--s-5);
  font-size: var(--fs-14);
  color: var(--color-muted);
}

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

.play-orbit {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .hero__lede {
    font-size: var(--fs-18);
  }
}

/* ---------- Screenshot frame ---------- */
.screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}

.screen img {
  width: 100%;
  display: block;
}

.screen--soft {
  box-shadow: var(--shadow-md);
}

figure.screen-fig {
  margin: 0;
}

figure.screen-fig figcaption {
  font-size: var(--fs-14);
  color: var(--color-muted);
  margin-top: var(--s-3);
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: var(--s-6);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 900px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  font-size: var(--fs-20);
  font-weight: 800;
}

.card h3 {
  margin-bottom: var(--s-2);
}

.card p {
  color: var(--color-muted);
  margin: 0;
}

.card--feature {
  display: flex;
  flex-direction: column;
}

.card--feature .screen {
  margin-top: var(--s-5);
}

/* ---------- Steps (How it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--color-border);
}

.step:first-child {
  border-top: 0;
  padding-top: 0;
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
}

.step h3 {
  margin: 0 0 var(--s-2);
}

.step p {
  color: var(--color-muted);
  margin: 0;
}

.step__media {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  max-width: 520px;
}

/* ---------- Feature rows (features page) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  padding: var(--s-12) 0;
  border-top: 1px solid var(--color-border);
}

.feature-row:first-of-type {
  border-top: 0;
}

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

.feature-row h2 {
  margin-bottom: var(--s-4);
}

.feature-row ul {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
}

.feature-row ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--s-3);
  color: var(--color-text);
}

.feature-row ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(17, 255, 0, 0.18);
}

.feature-row__double {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (max-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    padding: var(--s-10) 0;
  }
  .feature-row--reverse .feature-row__art {
    order: 0;
  }
}

/* ---------- Pricing ---------- */
.pricing-wrap {
  text-align: center;
}

.pricing-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin: var(--s-2) auto var(--s-8);
}

.pricing-toggle label {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-14);
  color: var(--color-muted);
  user-select: none;
  transition: background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

#billing-monthly:checked ~ .pricing-toggle label[for="billing-monthly"],
#billing-annual:checked ~ .pricing-toggle label[for="billing-annual"] {
  background: #fff;
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-primary-700);
  font-size: var(--fs-12);
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: var(--s-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  max-width: 920px;
  margin: 0 auto;
}

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

.plan {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.plan--featured {
  border-color: var(--color-ink);
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan--featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: #fff;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.plan h3 {
  font-size: var(--fs-24);
  margin-bottom: var(--s-1);
}

.plan__tag {
  color: var(--color-muted);
  font-size: var(--fs-14);
  margin-bottom: var(--s-5);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-bottom: var(--s-1);
}

.plan__amount {
  font-size: var(--fs-48);
  font-weight: 800;
  line-height: 1;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.plan__period {
  color: var(--color-muted);
  font-size: var(--fs-16);
  font-weight: 500;
}

.plan__note {
  color: var(--color-muted);
  font-size: var(--fs-14);
  margin-bottom: var(--s-6);
  min-height: 1.25em;
}

/* Toggle behavior: show/hide monthly vs annual amounts */
.plan .price-annual,
.plan .note-annual {
  display: none;
}

#billing-annual:checked ~ .pricing-grid .price-monthly,
#billing-annual:checked ~ .pricing-grid .note-monthly {
  display: none;
}
#billing-annual:checked ~ .pricing-grid .price-annual,
#billing-annual:checked ~ .pricing-grid .note-annual {
  display: flex;
}
#billing-annual:checked ~ .pricing-grid .note-annual {
  display: block;
}

.plan ul.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-8);
  flex: 1;
}

.plan ul.plan__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--s-3);
  color: var(--color-text);
  font-size: var(--fs-16);
}

.plan ul.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.plan-note {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--fs-14);
  margin-top: var(--s-6);
}

/* ---------- FAQ accordion (details/summary) ---------- */
.faq {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq__item {
  border-top: 1px solid var(--color-border);
  padding: var(--s-2) 0;
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) 0;
  font-weight: 700;
  color: var(--color-ink);
  font-size: var(--fs-18);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}

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

.faq__item summary::after {
  content: "+";
  font-weight: 700;
  font-size: var(--fs-24);
  color: var(--color-primary-700);
  line-height: 1;
  transition: transform var(--t-fast) var(--ease);
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  color: var(--color-muted);
  margin: 0 0 var(--s-5);
  padding-right: var(--s-8);
}

.faq-groups h2 {
  font-size: var(--fs-24);
  margin-top: var(--s-10);
  margin-bottom: var(--s-2);
  padding-left: var(--s-2);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-10);
  align-items: start;
}

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

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: block;
  margin-bottom: var(--s-5);
  font-weight: 600;
  color: var(--color-ink);
  font-size: var(--fs-14);
}

.contact-form .req::after {
  content: " *";
  color: #E11D48;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: var(--s-2);
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  transition: border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9AA59E;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-700);
  box-shadow: 0 0 0 4px rgba(17, 255, 0, 0.18);
}

.contact-form button {
  margin-top: var(--s-2);
}

.contact-note {
  color: var(--color-muted);
  font-size: var(--fs-14);
  margin-top: var(--s-4);
}

.contact-side h3 {
  margin-top: 0;
}

.contact-side ul {
  list-style: none;
  padding: 0;
}

.contact-side li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
}

.contact-side li strong {
  color: var(--color-ink);
  display: block;
  margin-bottom: 2px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 2rem + 2vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(17, 255, 0, 0.45), transparent);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--s-3);
  position: relative;
}

.cta-banner p {
  color: #C7D4C8;
  max-width: 560px;
  margin: 0 auto var(--s-6);
  position: relative;
}

.cta-banner .btn-row {
  justify-content: center;
  position: relative;
}

/* ---------- Legal / long-form content ---------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 {
  font-size: var(--fs-24);
  margin-top: var(--s-10);
  margin-bottom: var(--s-3);
}

.legal h3 {
  font-size: var(--fs-18);
  margin-top: var(--s-6);
}

.legal p,
.legal li {
  color: var(--color-text);
  line-height: var(--lh-loose);
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal__meta {
  color: var(--color-muted);
  font-size: var(--fs-14);
  margin-bottom: var(--s-8);
}

/* ---------- Brand statement (replaces fake testimonial) ---------- */
.brand-statement {
  background: linear-gradient(135deg, #0A0F0A 0%, #122012 100%);
  color: #E7F2E4;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-statement::before,
.brand-statement::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 255, 0, 0.3), transparent);
  pointer-events: none;
}
.brand-statement::before {
  top: -120px;
  left: -60px;
}
.brand-statement::after {
  bottom: -140px;
  right: -60px;
}

.brand-statement blockquote {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  letter-spacing: -0.01em;
}

.brand-statement cite {
  display: block;
  margin-top: var(--s-5);
  font-style: normal;
  color: #A9C4A8;
  font-weight: 500;
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0F0A;
  color: #B7C2B8;
  padding: var(--s-16) 0 var(--s-6);
  margin-top: var(--s-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-8);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

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

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: var(--s-4);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #8E9B8F;
  font-size: var(--fs-14);
  max-width: 32ch;
}

.site-footer h4 {
  color: #fff;
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: var(--s-2);
}

.site-footer a {
  color: #B7C2B8;
  font-size: var(--fs-14);
}

.site-footer a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: var(--s-12);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--fs-14);
  color: #8E9B8F;
}

.footer-social {
  display: flex;
  gap: var(--s-4);
}

.footer-social a {
  color: #B7C2B8;
  font-size: var(--fs-14);
}

/* ---------- Page header (internal pages) ---------- */
.page-hero {
  padding: clamp(3rem, 2rem + 3vw, 5rem) 0 clamp(2rem, 2rem + 1vw, 3rem);
  background: linear-gradient(180deg, #F6FAF5 0%, #FFFFFF 100%);
  text-align: center;
}

.page-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--color-primary-700);
  margin-bottom: var(--s-3);
}

.page-hero p {
  color: var(--color-muted);
  font-size: var(--fs-18);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-2 { margin-top: var(--s-2); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mt-10 { margin-top: var(--s-10); }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
