/* Veldar website. Plain CSS, no build step, no external requests.
   Palette and type follow the app: warm paper, ink, one ember accent, a serif for display. */

:root {
  color-scheme: light dark;

  /* Surfaces and ink (light) */
  --paper: #F4F0E8;
  --surface: #FCFAF5;
  --raised: #FFFFFF;
  --sunken: #EAE4D7;
  --ink: #1C1916;
  --ink-soft: #5F584F;
  --hairline: rgba(28, 25, 22, 0.12);

  /* Accent: the app's ember, deepened a little so text and buttons reach 4.5:1 */
  --accent: #B23418;
  --accent-hover: #902A12;
  --on-accent: #FFFFFF;
  --accent-wash: rgba(178, 52, 24, 0.10);

  /* A card that is dark in both modes (like "Next up" in the app) */
  --inverse: #1C1916;
  --on-inverse: #F4EFE6;
  --on-inverse-soft: #BDB4A5;
  --accent-on-inverse: #FF7A57;
  --hairline-inverse: rgba(244, 239, 230, 0.16);

  /* Section tints (decoration only, never behind text that needs contrast) */
  --wash-ember: rgba(217, 72, 43, 0.16);
  --wash-moss: rgba(63, 122, 85, 0.18);
  --wash-sky: rgba(63, 106, 147, 0.17);
  --wash-amber: rgba(185, 122, 14, 0.18);

  --shadow-sm: 0 1px 2px rgba(28, 25, 22, 0.06), 0 4px 12px rgba(28, 25, 22, 0.05);
  --shadow-md: 0 2px 4px rgba(28, 25, 22, 0.05), 0 12px 32px rgba(28, 25, 22, 0.09);
  --shadow-phone: 0 2px 0 rgba(255, 255, 255, 0.35) inset, 0 48px 80px -24px rgba(40, 24, 12, 0.38), 0 20px 36px -16px rgba(40, 24, 12, 0.30);
  --header-bg: rgba(244, 240, 232, 0.82);

  /* Type */
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 8-point spacing scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s16: 128px;

  --gutter: clamp(16px, 5vw, 32px);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110;
    --surface: #1C1A17;
    --raised: #262320;
    --sunken: #0C0B0A;
    --ink: #F4EFE6;
    --ink-soft: #ABA395;
    --hairline: rgba(244, 239, 230, 0.13);

    --accent: #FF6A45;
    --accent-hover: #FF8566;
    --on-accent: #1A0D08;
    --accent-wash: rgba(255, 106, 69, 0.14);

    --inverse: #26221E;
    --on-inverse: #F4EFE6;
    --on-inverse-soft: #BDB4A5;
    --accent-on-inverse: #FF7A57;

    --wash-ember: rgba(255, 106, 69, 0.20);
    --wash-moss: rgba(111, 191, 138, 0.18);
    --wash-sky: rgba(134, 178, 224, 0.18);
    --wash-amber: rgba(240, 181, 74, 0.18);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-phone: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 2px 0 rgba(255, 255, 255, 0.12) inset, 0 48px 80px -24px rgba(0, 0, 0, 0.8), 0 20px 36px -16px rgba(0, 0, 0, 0.7);
    --header-bg: rgba(18, 17, 16, 0.82);
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Keeps anchor jumps and keyboard focus from ending up under the sticky header. */
html { scroll-padding-top: calc(var(--header-h) + var(--s3)); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 var(--s2); }
p, li { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent-wash); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -80px;
  z-index: 100;
  padding: var(--s1) var(--s2);
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s1); color: var(--paper); }

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

.container {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s2);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 48px;
  padding: 0 var(--s3);
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -8px var(--accent), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  color: var(--ink);
  border-color: var(--hairline);
  background: transparent;
}
.btn--ghost:hover { background: var(--accent-wash); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 var(--s2); font-size: 0.9375rem; }
.btn--large { min-height: 56px; padding: 0 var(--s4); font-size: 1.0625rem; }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 48px;
  padding: 0 var(--s2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}
.link-quiet:hover { color: var(--accent); }
.link-quiet svg { width: 18px; height: 18px; }

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); box-shadow: var(--shadow-sm); }

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 32px; height: 32px;
  border-radius: 22.37%;
  box-shadow: 0 0 0 1px var(--hairline);
}

.site-nav { display: flex; align-items: center; gap: var(--s3); }
.site-nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s3); }
.site-nav__links a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: var(--s1) 0;
}
.site-nav__links a:hover { color: var(--ink); text-decoration: underline; }

@media (min-width: 820px) {
  .site-nav__links { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(var(--s4), 6vw, var(--s10)) clamp(var(--s6), 6vw, var(--s10));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: var(--s8);
  align-items: center;
}
.hero__copy { max-width: 600px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: var(--s3);
}
.hero h1 .mark {
  color: var(--accent);
  font-style: italic;
}
.hero .lead { max-width: 34em; margin-bottom: var(--s4); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s2);
}
.cta-note {
  margin: var(--s3) 0 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.trust {
  list-style: none;
  margin: var(--s5) 0 0;
  padding: var(--s3) 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.trust li { display: inline-flex; align-items: center; gap: var(--s1); }
.trust .icon { width: 20px; height: 20px; color: var(--accent); }

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 4% -6% 0;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--wash-ember), transparent 72%),
    radial-gradient(closest-side at 70% 30%, var(--wash-amber), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.hero__motif {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 160%;
  max-width: none;
  height: 96%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}
.hero__motif .motif-body { fill: var(--ink); fill-opacity: 0.055; }
.hero__motif .motif-tail { fill: var(--accent); fill-opacity: 0.16; }
.hero__motif .motif-line { stroke: var(--ink); stroke-opacity: 0.22; }
.hero__stage .phone { position: relative; z-index: 1; --w: clamp(248px, 72vw, 340px); }
.hero__caption {
  position: relative;
  z-index: 1;
  margin: var(--s3) 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--s6); }
  .hero__stage .phone { --w: clamp(300px, 29vw, 356px); }
}

/* ---------- Phone mockup (drawn in CSS, generic) ---------- */

.phone {
  --w: 300px;
  --edge: calc(var(--w) * 0.012);
  --glass: calc(var(--w) * 0.03);
  --sw: calc(var(--w) - 2 * (var(--edge) + var(--glass)));
  --r: calc(var(--sw) * 0.125);
  position: relative;
  width: var(--w);
  margin: 0;
}
.phone__metal {
  position: relative;
  padding: var(--edge);
  border-radius: calc(var(--r) + var(--glass) + var(--edge));
  background: linear-gradient(145deg, #6c6862 0%, #2a2826 22%, #181716 50%, #3a3733 78%, #7a766f 100%);
  box-shadow: var(--shadow-phone);
}
.phone__glass {
  padding: var(--glass);
  border-radius: calc(var(--r) + var(--glass));
  background: #050505;
}
.phone__glass picture, .phone__glass img { display: block; }
.phone__screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 1694;
  border-radius: var(--r);
  background: var(--sunken);
}
.phone__metal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}
.phone__btn {
  position: absolute;
  width: calc(var(--w) * 0.012);
  background: linear-gradient(90deg, #4a4742, #1c1b19);
  border-radius: 2px;
}
.phone__btn--silent { left: calc(var(--w) * -0.007); top: 13%; height: 3.2%; }
.phone__btn--up     { left: calc(var(--w) * -0.007); top: 19.5%; height: 6.2%; }
.phone__btn--down   { left: calc(var(--w) * -0.007); top: 27.5%; height: 6.2%; }
.phone__btn--power  { right: calc(var(--w) * -0.007); top: 24%; height: 9.8%; background: linear-gradient(270deg, #4a4742, #1c1b19); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(var(--s8), 9vw, var(--s16)); }
.section--tight { padding-block: clamp(var(--s6), 6vw, var(--s10)); }
.section__head { max-width: 680px; margin-bottom: clamp(var(--s6), 6vw, var(--s10)); }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); margin-bottom: var(--s2); letter-spacing: -0.025em; }
.section__head .lead { margin-bottom: 0; }

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--s3);
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: var(--s1); }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--s4) + 24px);
    left: calc(100% + 2px);
    width: calc(var(--s4) - 4px);
    border-top: 3px dotted var(--ink-soft);
    opacity: 0.45;
  }
}

/* Feature rows */
.features { display: grid; gap: clamp(var(--s10), 11vw, var(--s16)); }
.feature {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
.feature__media {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: var(--s2);
}
.feature__media::before {
  content: "";
  position: absolute;
  inset: 2% 0;
  border-radius: 48px;
  background: radial-gradient(closest-side, var(--tint, var(--wash-ember)), transparent 78%);
  z-index: 0;
}
.feature__media .phone { position: relative; z-index: 1; --w: clamp(248px, 72vw, 320px); }
.feature__copy { max-width: 520px; }
.feature__copy h3 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); margin-bottom: var(--s2); letter-spacing: -0.025em; }
.feature__copy > p { color: var(--ink-soft); }

.ticks { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-wash);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 24px; height: 24px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}

.fine {
  margin-top: var(--s3);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s10); }
  .feature .feature__media .phone { --w: clamp(280px, 30vw, 340px); }
  .feature--flip .feature__media { order: 2; }
  .feature--flip .feature__copy { justify-self: end; }
}

/* Small things grid */
.mini-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
.mini {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.mini__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--s1);
  border-radius: 14px;
  background: var(--accent-wash);
  color: var(--accent);
}
.mini h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.mini p { margin: 0; font-size: 0.9688rem; color: var(--ink-soft); line-height: 1.55; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Circle */
.band {
  background: var(--sunken);
  border-block: 1px solid var(--hairline);
}
.circle-grid { display: grid; gap: var(--s6); align-items: center; }
.circle__copy { max-width: 560px; }
.circle__copy h2 { margin-bottom: var(--s2); }
.circle__copy > p { color: var(--ink-soft); }

.perms-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: var(--s3) 0 var(--s1);
}
.perms { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.perms li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.9063rem;
  font-weight: 500;
}
.perms li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.perms li.is-off { border-style: dashed; }
.perms li.is-off::before { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-soft); }
.perms li small { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 400; }

@media (min-width: 900px) {
  .circle-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s10); }
  .circle-grid .phone { --w: clamp(280px, 30vw, 340px); }
}
.circle__media { position: relative; display: grid; place-items: center; }
.circle__media::before {
  content: "";
  position: absolute;
  inset: 2% 0;
  border-radius: 48px;
  background: radial-gradient(closest-side, var(--wash-sky), transparent 78%);
}
.circle__media .phone { position: relative; z-index: 1; --w: clamp(248px, 72vw, 320px); }

/* Privacy */
.privacy {
  position: relative;
  overflow: hidden;
  background: var(--inverse);
  color: var(--on-inverse);
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(var(--s4), 6vw, var(--s10));
  box-shadow: var(--shadow-md);
}
.privacy::before {
  content: "";
  position: absolute;
  right: -10%; bottom: -30%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 69, 0.22), transparent 72%);
  pointer-events: none;
}
.privacy__grid { position: relative; display: grid; gap: var(--s6); align-items: center; }
.privacy .eyebrow { color: var(--accent-on-inverse); }
.privacy h2 { color: var(--on-inverse); }
.privacy .lead { color: var(--on-inverse-soft); }
.pillars { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: var(--s3); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: var(--s2); align-items: start; }
.pillar__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(244, 239, 230, 0.08);
  border: 1px solid var(--hairline-inverse);
  color: var(--accent-on-inverse);
}
.pillar h3 { font-size: 1.1875rem; letter-spacing: -0.01em; color: var(--on-inverse); margin-bottom: 2px; }
.pillar p { margin: 0; color: var(--on-inverse-soft); font-size: 0.9688rem; line-height: 1.55; }
.privacy__more { color: var(--on-inverse-soft); font-size: 0.9688rem; }
.privacy a:not(.btn) { color: var(--accent-on-inverse); }
.privacy a:not(.btn):hover { color: #FFA48C; }
.privacy :focus-visible { outline-color: var(--on-inverse); }
.btn--on-inverse {
  background: var(--on-inverse);
  color: #1C1916;
}
.btn--on-inverse:hover { background: #FFFFFF; color: #1C1916; }
.privacy__media { position: relative; display: grid; place-items: center; }
.privacy__media .phone { --w: clamp(248px, 72vw, 300px); }

@media (min-width: 960px) {
  .privacy__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s8); }
  .privacy__media .phone { --w: clamp(260px, 25vw, 310px); }
}

/* FAQ */
.faq-grid { display: grid; gap: var(--s6); align-items: start; }
.faq-intro { max-width: 460px; }
.faq-intro p { color: var(--ink-soft); }
.faq {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details { border-top: 1px solid var(--hairline); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 64px;
  padding: var(--s2) var(--s3);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--accent-wash); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.faq summary::after {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { padding-bottom: var(--s1); }
.faq__body { padding: 0 var(--s3) var(--s3); color: var(--ink-soft); }
.faq__body > :last-child { margin-bottom: 0; }
.faq__body ol, .faq__body ul { margin: 0 0 var(--s2); padding-left: var(--s3); }
.faq__body li { margin-bottom: 4px; }
.faq__body strong { color: var(--ink); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s10); }
  .faq-intro { position: sticky; top: calc(var(--header-h) + var(--s4)); }
}

/* Closing call to action */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(var(--s6), 8vw, var(--s12)) var(--s3);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(60% 80% at 50% 0%, var(--wash-ember), transparent 70%),
    var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md);
}
.cta-card img.cta-card__icon {
  width: 88px; height: 88px;
  border-radius: 22.37%;
  margin: 0 auto var(--s3);
  box-shadow: 0 0 0 1px var(--hairline), 0 16px 32px -8px rgba(40, 24, 12, 0.35);
}
.cta-card h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); margin-bottom: var(--s2); }
.cta-card p { max-width: 34em; margin: 0 auto var(--s4); color: var(--ink-soft); }
.cta-card .cta-row { justify-content: center; }
.cta-card .cta-note { margin-top: var(--s3); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 0;
  padding-block: var(--s8) var(--s5);
  border-top: 1px solid var(--hairline);
  background: var(--sunken);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: var(--s5); }
.footer-brand p { color: var(--ink-soft); max-width: 28em; margin: var(--s2) 0 0; }
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
}
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 0.8438rem;
  display: grid;
  gap: var(--s1);
}
.footer-legal p { margin: 0; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s6); }
}

/* ---------- Scroll-in animation (respects reduced motion) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Nothing may stay hidden because a script was slow or never arrived.
   1. The top of the home page animates with plain CSS and never waits for script.js.
   2. If script.js has not started 2.5 s after the page loaded, everything else is shown anyway. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.js:not(.js-ready) .reveal { animation: rise 0.4s ease 2.5s both; }
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.js .hero .reveal[data-delay="1"] { animation-delay: 0.08s; }
.js .hero .reveal[data-delay="2"] { animation-delay: 0.16s; }
.js .hero .reveal[data-delay="3"] { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in, .js .hero .reveal, .js:not(.js-ready) .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .btn, .faq summary::after, .toc summary::after { transition: none; }
  .btn--primary:hover { transform: none; }
}

@media print {
  .js .reveal, .js .reveal.is-in, .js .hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ---------- Legal and support pages ---------- */

.doc-hero { padding-block: clamp(var(--s6), 6vw, var(--s10)) var(--s5); }
.doc-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); letter-spacing: -0.03em; margin-bottom: var(--s2); }
.doc-hero .lead { max-width: 40em; margin-bottom: 0; }
.doc-meta { margin: var(--s2) 0 var(--s2); font-size: 0.9375rem; color: var(--ink-soft); }

.callout {
  margin-top: var(--s4);
  padding: var(--s3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; }
.callout strong { display: block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; }
.callout a.mail { font-weight: 600; overflow-wrap: anywhere; }

.doc-layout { display: grid; gap: var(--s5); padding-bottom: var(--s8); align-items: start; }
.toc {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
}
.toc summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  transition: transform 0.25s ease;
}
.toc details[open] > summary::after { transform: rotate(180deg); }
.toc summary:focus-visible { outline-offset: 2px; }
.toc ol, .toc ul { list-style: none; margin: var(--s1) 0 var(--s1); padding: 0; display: grid; gap: 2px; font-size: 0.9375rem; }
.toc a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 1000px) {
  .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s8); }
  .toc { position: sticky; top: calc(var(--header-h) + var(--s3)); max-height: calc(100vh - var(--header-h) - var(--s6)); overflow: auto; }
}

.prose { max-width: 70ch; min-width: 0; }
.prose h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  letter-spacing: -0.02em;
  margin: var(--s8) 0 var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
}
.prose > h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h2:first-child { padding-top: 0; border-top: 0; }
.prose h3 {
  font-size: clamp(1.1875rem, 1.1rem + 0.5vw, 1.4375rem);
  letter-spacing: -0.015em;
  margin: var(--s5) 0 var(--s1);
}
.prose h4 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; margin: var(--s3) 0 var(--s1); }
.prose p, .prose li { overflow-wrap: break-word; }
.prose ul, .prose ol { margin: 0 0 var(--s2); padding-left: var(--s3); }
.prose li { margin-bottom: 8px; }
.prose li > ul, .prose li > ol { margin-top: 8px; }
.prose strong { font-weight: 650; }
.prose .short-version {
  margin: 0 0 var(--s4);
  padding: var(--s3) var(--s3) var(--s1);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}
.prose address { font-style: normal; margin: 0 0 var(--s2); }
.prose .note {
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  margin: 0 0 var(--s2);
}

.table-wrap { margin: 0 0 var(--s3); border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--hairline); }
.prose th { background: var(--sunken); font-weight: 600; font-size: 0.8438rem; letter-spacing: 0.02em; }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 719px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose tr { padding: var(--s1) 0; border-bottom: 1px solid var(--hairline); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { border: 0; padding: 4px 16px; }
  .prose td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
}

@media print {
  .site-header, .skip-link, .toc, .site-footer .footer-grid { display: none; }
  body { background: #fff; color: #000; }
  .prose { max-width: none; }
}

/* Legal pages: short summary box and nested contents list */
.prose .short-version h2 {
  margin: 0 0 var(--s1);
  padding: 0;
  border: 0;
  font-size: 1.5rem;
}
.toc ul ul {
  margin: 2px 0 var(--s1);
  padding-left: var(--s2);
  border-left: 1px solid var(--hairline);
  font-size: 0.875rem;
}
.toc ul ul a { color: var(--ink-soft); }
.toc ul ul a:hover { color: var(--accent); }
.prose .short-version > :last-child { margin-bottom: var(--s2); }
