/* =====================================================================
   InfraBrown Cloud Solutions — stylesheet
   Single file, no build step, no external requests.
   Order: tokens → reset → layout → components → sections → utilities
   ===================================================================== */

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

  /* light theme (default) */
  --bg:        #faf7f2;
  --bg-soft:   #f3ece2;
  --surface:   #ffffff;
  --surface-2: #fbf8f4;
  --line:      rgb(38 26 14 / 12%);
  --line-soft: rgb(38 26 14 / 7%);
  --text:      #1b1611;
  --text-mid:  #4a4137;
  --muted:     #6d6255;
  --brand:     #9a5f22;
  --brand-hi:  #b8783a;
  --brand-ink: #ffffff;
  --brand-wash: rgb(154 95 34 / 8%);
  --shadow-sm: 0 1px 2px rgb(38 26 14 / 6%), 0 2px 8px rgb(38 26 14 / 5%);
  --shadow-md: 0 2px 4px rgb(38 26 14 / 5%), 0 12px 32px rgb(38 26 14 / 9%);
  --shadow-lg: 0 4px 8px rgb(38 26 14 / 5%), 0 24px 64px rgb(38 26 14 / 13%);
  --header-bg: rgb(250 247 242 / 82%);

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

  --fs-hero:  clamp(2.4rem, 5.6vw, 4.15rem);
  --fs-h2:    clamp(1.85rem, 3.4vw, 2.7rem);
  --fs-h3:    clamp(1.15rem, 1.5vw, 1.35rem);
  --fs-lede:  clamp(1.03rem, 1.35vw, 1.2rem);
  --fs-sm:    0.9rem;
  --fs-xs:    0.8rem;

  /* space & shape */
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(4rem, 8.5vw, 7rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ring: 0 0 0 3px rgb(154 95 34 / 35%);
}

/* dark theme — applied by preference, or forced via [data-theme] */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:        #12100e;
    --bg-soft:   #171410;
    --surface:   #1a1611;
    --surface-2: #201b15;
    --line:      rgb(255 246 235 / 10%);
    --line-soft: rgb(255 246 235 / 6%);
    --text:      #f4efe8;
    --text-mid:  #cdc3b6;
    --muted:     #a4998b;
    --brand:     #cd8b43;
    --brand-hi:  #e3a862;
    --brand-ink: #17110a;
    --brand-wash: rgb(205 139 67 / 12%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-md: 0 12px 32px rgb(0 0 0 / 45%);
    --shadow-lg: 0 24px 64px rgb(0 0 0 / 55%);
    --header-bg: rgb(18 16 14 / 80%);
    --ring: 0 0 0 3px rgb(205 139 67 / 38%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:        #12100e;
  --bg-soft:   #171410;
  --surface:   #1a1611;
  --surface-2: #201b15;
  --line:      rgb(255 246 235 / 10%);
  --line-soft: rgb(255 246 235 / 6%);
  --text:      #f4efe8;
  --text-mid:  #cdc3b6;
  --muted:     #a4998b;
  --brand:     #cd8b43;
  --brand-hi:  #e3a862;
  --brand-ink: #17110a;
  --brand-wash: rgb(205 139 67 / 12%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow-md: 0 12px 32px rgb(0 0 0 / 45%);
  --shadow-lg: 0 24px 64px rgb(0 0 0 / 55%);
  --header-bg: rgb(18 16 14 / 80%);
  --ring: 0 0 0 3px rgb(205 139 67 / 38%);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: var(--fs-hero); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-hi); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

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

/* ------------------------------ layout ------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.skip-link {
  position: absolute; left: 50%; top: 0; translate: -50% -150%;
  z-index: 100; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none;
  transition: translate .18s ease;
}
.skip-link:focus { translate: -50% 0; color: var(--brand-ink); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lede); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem; padding: .35rem .75rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--brand-wash);
  color: var(--brand);
  font-size: var(--fs-xs); font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex: none;
}

/* ------------------------------ icons ------------------------------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.icon-lg { width: 28px; height: 28px; }

/* ------------------------------ buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .68rem 1.15rem;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-hi); color: var(--brand-ink); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); color: var(--text); }

.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-wash); color: var(--brand-hi); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--brand); }
.icon-btn .icon { grid-area: 1 / 1; }

/* theme toggle: show one glyph at a time */
.icon-sun  { display: none; }
:root[data-theme="dark"] .icon-sun  { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun  { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

/* ------------------------------ header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--text); text-decoration: none; font-weight: 600;
  letter-spacing: .02em; margin-right: auto;
}
.brand-mark { width: 36px; height: 36px; }
.brand-text { font-size: 1.02rem; letter-spacing: .13em; }
.brand-text strong { font-weight: 800; color: var(--brand); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.1rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .5rem .6rem; border-radius: var(--r-sm);
  color: var(--text-mid); text-decoration: none; font-size: .94rem; font-weight: 550;
  transition: color .16s ease, background-color .16s ease;
}
.nav-list a:hover { color: var(--text); background: var(--surface-2); }
.nav-list a[aria-current="page"] { color: var(--brand); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone { font-variant-numeric: tabular-nums; }

.header-tools { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; }
.icon-close { display: none; }

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

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: 72px 0 auto; z-index: 45;
    display: grid; gap: 1rem; margin: 0; padding: 1.25rem var(--gutter) 2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 72px); overflow-y: auto;
    visibility: hidden; opacity: 0; translate: 0 -8px;
    transition: opacity .18s ease, translate .18s ease, visibility .18s;
  }
  .nav.is-open { visibility: visible; opacity: 1; translate: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-list a { padding: .8rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .6rem; }
  .nav-actions .btn { width: 100%; }
  .nav-phone { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------- hero ------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem) var(--section); }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 90%;
  background:
    radial-gradient(60% 55% at 22% 30%, var(--brand-wash), transparent 70%),
    radial-gradient(45% 50% at 82% 12%, var(--brand-wash), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 10%, transparent 75%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }

.hero h1 { margin-bottom: .5em; text-wrap: balance; }
.hero h1 .accent { color: var(--brand); }
.hero-lede { font-size: var(--fs-lede); color: var(--text-mid); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.15rem; font-size: var(--fs-sm); color: var(--muted); }

/* headline price card */
.price-highlight {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-lg);
}
.price-highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, var(--brand), transparent 45%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  pointer-events: none;
}
.price-highlight h2 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.big-figure {
  display: block; margin: .1em 0 .15em;
  font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 750; letter-spacing: -.045em; line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.big-figure-sub { color: var(--muted); font-size: var(--fs-sm); }
.mini-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; font-size: var(--fs-sm); }
.mini-table th { text-align: left; font-weight: 600; color: var(--muted); padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.mini-table td { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); color: var(--text-mid); }
.mini-table td:last-child, .mini-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table .total td { padding-top: .8rem; font-weight: 700; color: var(--text); border-top: 1px solid var(--line); }

/* ------------------------------ trust bar --------------------------- */
.trust-bar { border-block: 1px solid var(--line-soft); background: var(--bg-soft); }
.trust-list {
  display: grid; gap: 1px; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--line-soft);
}
.trust-list li { background: var(--bg-soft); padding: 1.5rem clamp(.5rem, 2vw, 1.5rem); text-align: center; }
.trust-list b { display: block; font-size: 1.45rem; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.trust-list span { font-size: var(--fs-sm); color: var(--muted); }

/* ------------------------------ cards ------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3, .card h2 { margin-bottom: .45em; }
.card h2 { font-size: var(--fs-h3); }
.card p { color: var(--muted); font-size: .96rem; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover h2, a.card:hover h3 { color: var(--brand); }

.card-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem;
  border-radius: var(--r-md); background: var(--brand-wash); color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}

.tick-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.tick-list li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .93rem; color: var(--text-mid); }
.tick-list .icon { color: var(--brand); margin-top: .28em; }

/* ------------------------------ pricing ----------------------------- */
.segment-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.segment-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.segment-head p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

.pricing-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan.is-featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.plan-badge {
  position: absolute; top: 0; right: clamp(1.5rem, 2.6vw, 2rem); translate: 0 -50%;
  padding: .28rem .7rem; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.plan-for { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .55rem; }
.plan h3 { font-size: 1.4rem; margin-bottom: .35em; }
.plan-lede { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: .45rem; margin: 1.2rem 0 .35rem; }
.plan-price .amount { font-size: clamp(2.1rem, 3.6vw, 2.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .qual { font-size: var(--fs-sm); color: var(--muted); }
.plan-meta { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.35rem; }
.plan .tick-list { margin-top: 0; flex: 1; }
.plan .btn { margin-top: 1.6rem; }

.pricing-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 820px) { .pricing-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.plan-wide { grid-column: 1 / -1; }
.plan-wide .plan-inner { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 820px) { .plan-wide .plan-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; } }

/* price table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 34rem; }
table.data caption { text-align: left; padding: 1.1rem 1.25rem; color: var(--muted); font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
table.data th, table.data td { text-align: left; padding: .95rem 1.25rem; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
table.data thead th { font-size: var(--fs-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tfoot td { font-weight: 700; background: var(--surface-2); border-top: 1px solid var(--line); }
table.data tbody tr:hover td { background: var(--brand-wash); }

/* ------------------------------ process ----------------------------- */
.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); padding: clamp(1.35rem, 2.4vw, 1.85rem); }
.step-num { font-family: var(--font-mono); font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.step h3 { margin: .7rem 0 .3rem; font-size: 1.1rem; }
.step-time { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .7rem; }
.step p { font-size: .93rem; color: var(--muted); }

/* ------------------------------ FAQ --------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 600; cursor: pointer; list-style: none;
  transition: background-color .16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-2); }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  rotate: 45deg; translate: 0 -25%;
  transition: rotate .2s ease, translate .2s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 15%; }
.faq .faq-body { padding: 0 clamp(1rem, 2.2vw, 1.5rem) 1.35rem; color: var(--muted); font-size: .96rem; max-width: 78ch; }

/* ------------------------------ CTA band ---------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  background: var(--bg-soft); border-top: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% ; height: 130%;
  background: radial-gradient(50% 60% at 50% 100%, var(--brand-wash), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1.4fr) auto; } }
.cta-inner h2 { margin-bottom: .35em; }
.cta-inner p { color: var(--muted); max-width: 58ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------ forms ------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }

.field { display: grid; gap: .4rem; }
.field > label { font-size: var(--fs-sm); font-weight: 600; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.req { color: var(--brand); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: .75rem .9rem;
  font: inherit; font-size: .96rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { min-height: 9rem; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #d0453b; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: var(--fs-sm); color: var(--muted); }
.consent input { margin-top: .28em; width: 1.05rem; height: 1.05rem; accent-color: var(--brand); }

/* honeypot — hidden from humans, present for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.15rem; border-radius: var(--r-md); border: 1px solid; font-size: .95rem; margin-bottom: 1.5rem; }
.alert-error { border-color: #d0453b; background: rgb(208 69 59 / 9%); color: var(--text); }
.alert-success { border-color: #2f8f5b; background: rgb(47 143 91 / 10%); color: var(--text); }
.alert ul { margin: .5rem 0 0; }

.field-error { font-size: var(--fs-xs); color: #d0453b; font-weight: 600; }

/* ------------------------------ contact ----------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }

.contact-card { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; }
.contact-list .icon { color: var(--brand); margin-top: .2em; }
.contact-list b { display: block; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .15rem; }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 550; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }

/* ------------------------------ prose ------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; font-size: 1.12rem; }
.prose li { margin-bottom: .5em; color: var(--text-mid); }
.prose p { color: var(--text-mid); }
.prose .meta { font-size: var(--fs-sm); color: var(--muted); }

/* ------------------------------ page head --------------------------- */
.page-head { position: relative; padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -60% -20% auto; height: 160%;
  background: radial-gradient(45% 55% at 30% 40%, var(--brand-wash), transparent 70%);
  pointer-events: none;
}
.page-head > .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 20ch; text-wrap: balance; }
.page-head p { max-width: 62ch; font-size: var(--fs-lede); color: var(--muted); }

.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }

/* ------------------------------ footer ------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: clamp(2.75rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }

.footer-brand .brand { margin-bottom: 1rem; }
.footer-lede { color: var(--muted); font-size: .94rem; max-width: 34ch; }
.footer-legal-name { font-size: var(--fs-xs); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-top: 1rem; }

.footer-col h2 { font-size: var(--fs-xs); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: var(--text-mid); text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-contact { font-style: normal; }
.footer-contact li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; color: var(--text-mid); font-size: .94rem; }
.footer-contact .icon { color: var(--brand); margin-top: .2em; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }

/* ------------------------------ utilities --------------------------- */
.arrow-link { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.center { text-align: center; }
.items-start { align-items: start; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.note {
  padding: 1.1rem 1.25rem; border-left: 3px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--brand-wash); font-size: .94rem; color: var(--text-mid);
}

/* Scroll reveal. Scoped to .js (set by the head script) so that content is
   NEVER hidden when JavaScript is disabled, blocked or fails — a card that
   the observer never reaches must still be readable. */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.is-visible { opacity: 1; translate: 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: 0; } }

@media print {
  .reveal { opacity: 1 !important; translate: none !important; }
  .site-header, .cta-band, .site-footer, .skip-link, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
