/* =============================================================================
   1clickwebsiteindia - marketing landing
   Design system: Indian-warm palette, Inter typography, mobile-first.
   Performance budget: <60KB gzipped. No external CSS frameworks.
   Accessibility: WCAG AA contrast, focus-visible, skip-link, reduced-motion.
   ============================================================================= */

/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {
  /* Color - light theme */
  --c-bg: #FAF6F0;
  --c-bg-alt: #F1ECE1;
  --c-bg-elevated: #FFFFFF;
  --c-bg-dark: #0A0A0A;
  --c-bg-dark-soft: #1A1A1A;

  --c-ink: #1A1A1A;
  --c-ink-soft: #555555;
  --c-ink-faint: #888888;
  --c-ink-inverse: #FFFFFF;

  --c-accent: #C8551E;          /* Indian saffron-red */
  --c-accent-soft: #FDE4D3;
  --c-accent-hover: #A64218;
  --c-accent-pressed: #8A3614;

  --c-error: #C43A3A;
  --c-whatsapp: #25D366;

  --c-border: #E6E0D2;
  --c-border-strong: #CDC4AE;
  --c-shadow-rgb: 20, 20, 20;

  /* Spacing scale */
  --s-1: .25rem;   /*  4px */
  --s-2: .5rem;    /*  8px */
  --s-3: .75rem;   /* 12px */
  --s-4: 1rem;     /* 16px */
  --s-5: 1.5rem;   /* 24px */
  --s-6: 2rem;     /* 32px */
  --s-7: 3rem;     /* 48px */
  --s-8: 4rem;     /* 64px */
  --s-9: 6rem;     /* 96px */

  /* Border radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(var(--c-shadow-rgb), .05), 0 1px 2px rgba(var(--c-shadow-rgb), .03);
  --shadow-xl: 0 24px 60px rgba(var(--c-shadow-rgb), .14), 0 8px 16px rgba(var(--c-shadow-rgb), .08);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1180px;
  --topnav-h: 64px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Dark mode (auto) */
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0A0A0A;
    --c-bg-alt: #161616;
    --c-bg-elevated: #1F1F1F;
    --c-ink: #F5F5F5;
    --c-ink-soft: #B5B5B5;
    --c-ink-faint: #888888;
    --c-border: #2A2A2A;
    --c-border-strong: #3A3A3A;
    --c-shadow-rgb: 0, 0, 0;
    --c-accent: #E66A33;
    --c-accent-soft: rgba(230, 106, 51, .15);
  }
}

/* =============================================================================
   2. RESET / BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topnav-h) + var(--s-3));
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--c-accent); text-decoration: none; transition: color .15s var(--ease-out); }
a:hover { color: var(--c-accent-hover); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--c-border); }
::selection { background: var(--c-accent); color: #fff; }

/* Focus management */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-5);
  background: var(--c-ink);
  color: var(--c-ink-inverse);
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus {
  top: var(--s-3);
  color: var(--c-ink-inverse);
}

/* Visually hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   3. LAYOUT PRIMITIVES
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-eyebrow {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}

/* Section padding rhythm */
section { padding: clamp(3rem, 8vw, 6rem) 0; }

/* =============================================================================
   5. TOP NAV
   ============================================================================= */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topnav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0 var(--gutter);
  background: rgba(250, 246, 240, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
@media (prefers-color-scheme: dark) {
  .topnav { background: rgba(10,10,10,.8); }
}

.topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.015em;
}
.topnav-brand:hover { color: var(--c-ink); }

.topnav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.topnav-link {
  padding: var(--s-2) var(--s-3);
  color: var(--c-ink-soft);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.topnav-link:hover { color: var(--c-ink); background: rgba(0,0,0,.04); }
@media (prefers-color-scheme: dark) {
  .topnav-link:hover { background: rgba(255,255,255,.05); }
}
@media (max-width: 600px) {
  :root { --topnav-h: 104px; }
  .topnav { flex-wrap: wrap; padding-block: var(--s-2); row-gap: var(--s-1); }
  .topnav-brand { flex-shrink: 0; white-space: nowrap; }
  .topnav-actions { width: 100%; justify-content: space-between; gap: var(--s-1); }
  .topnav-link { display: none; }
}

/* =============================================================================
   6c. STUDIO
   ============================================================================= */
.studio-filter-row {
  display: grid;
  gap: var(--s-4);
  margin: 0 0 var(--s-5);
}
@media (min-width: 800px) {
  .studio-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.studio-filter-label {
  margin: 0 0 var(--s-2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-ink-faint);
}
.studio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.studio-chip {
  appearance: none;
  border: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
  color: var(--c-ink-soft);
  border-radius: var(--r-pill);
  padding: .35rem .8rem;
  font-size: .8rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 44px;
}
.studio-chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.studio-chip.is-active {
  background: var(--c-accent);
  color: var(--c-ink-inverse);
  border-color: var(--c-accent);
}
.studio-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .studio-grid-wide { grid-template-columns: repeat(3, 1fr); }
  .studio-grid-cards { grid-template-columns: repeat(3, 1fr); }
  .studio-grid-photos { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .studio-grid-cards { grid-template-columns: repeat(4, 1fr); }
}
.studio-frame {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
}
.studio-frame-hit {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  text-align: left;
  overflow: hidden;
}
.studio-frame picture,
.studio-frame img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.studio-frame-website img,
.studio-frame-deck img { aspect-ratio: 16 / 9; }
.studio-frame-card img { aspect-ratio: 3 / 4; }
.studio-frame-photo[data-orientation="portrait"] img { aspect-ratio: 3 / 4; }
.studio-frame-photo[data-orientation="square"] img { aspect-ratio: 1 / 1; }
.studio-frame-photo[data-orientation="landscape"] img { aspect-ratio: 16 / 9; }
.studio-frame-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: var(--s-6) var(--s-4) var(--s-4);
  background: linear-gradient(transparent, rgba(8, 8, 8, .82));
  color: #fff;
}
.studio-frame-website .studio-frame-copy {
  padding-top: var(--s-8);
  background: linear-gradient(transparent 0%, rgba(8, 8, 8, .45) 38%, rgba(8, 8, 8, .94) 100%);
}
.studio-frame-website .studio-frame-copy strong {
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
}
.studio-frame-website .studio-frame-kicker {
  opacity: .92;
}
.studio-frame-kicker {
  display: block;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  opacity: .8;
  margin-bottom: .25rem;
}
.studio-frame-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.studio-empty-filter {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-ink-soft);
  padding: var(--s-6) 0;
}
.studio-lightbox {
  border: 0;
  padding: 0;
  width: min(920px, 94vw);
  background: #0A0A0A;
  color: #fff;
  border-radius: 16px;
}
.studio-lightbox::backdrop { background: rgba(0, 0, 0, .72); }
.studio-lightbox-inner { padding: var(--s-4); }
.studio-lightbox-close {
  float: right;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: .35rem .8rem;
  cursor: pointer;
}
.studio-lightbox-meta {
  margin: 0 0 var(--s-3);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.studio-lightbox-stage { margin: 0; background: #111; position: relative; }
.studio-lightbox-stage picture { display: block; width: 100%; }
[data-lightbox-media] {
  min-height: 42vh;
  display: grid;
  place-items: center;
  background: #111;
}
.studio-lightbox-stage.is-loading [data-lightbox-media]::after {
  content: "Loading";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}
.studio-lightbox-stage img {
  display: block;
  width: 100%;
  min-height: 240px;
  max-height: 68vh;
  object-fit: contain;
  background: #111;
}
.studio-lightbox-stage figcaption {
  margin-top: var(--s-3);
  font-weight: 650;
}
.studio-lightbox[data-kind="deck"] [data-lightbox-media],
.studio-lightbox[data-kind="deck"] .studio-lightbox-stage img { min-height: 0; }
.studio-lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.studio-lightbox-nav button {
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: .4rem .9rem;
  cursor: pointer;
}
.studio-lightbox-nav button:disabled { opacity: .35; cursor: default; }
[data-lightbox-media] { position: relative; }
.studio-card-plate {
  position: absolute;
  inset: 12% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
  pointer-events: none;
  color: #F4EDE1;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.studio-card-plate-line {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 650;
}
.studio-card-plate-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.studio-card-plate-gold { color: #E8C778; }
.studio-card-plate-gold .studio-card-plate-title { font-size: 1.25rem; }
.studio-card-plate-ink { color: #1A1410; text-shadow: none; }
.studio-card-plate-ink .studio-card-plate-title { color: inherit; }
.studio-card-plate:not([lang="en"]) .studio-card-plate-line {
  text-transform: none;
  letter-spacing: .03em;
}

/* =============================================================================
   15. ADMIN DB ACCESS
   ============================================================================= */
.admin-db {
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}

.admin-db-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.admin-db-copy .section-eyebrow {
  margin-bottom: var(--s-3);
}

.admin-db-copy .section-title {
  margin-bottom: var(--s-3);
}

.admin-db-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.admin-db-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  color: var(--c-ink-soft);
  font-weight: 600;
  font-size: .95rem;
}

.admin-db-link:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.admin-db-note {
  margin-top: var(--s-4);
  color: var(--c-ink-faint);
  font-size: .9rem;
}

.admin-db-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.admin-db-card {
  min-height: 154px;
  padding: var(--s-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}

.admin-db-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.admin-db-card strong {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--c-ink);
  font-size: 1.05rem;
}

.admin-db-card p {
  color: var(--c-ink-soft);
  font-size: .92rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .admin-db-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-db-grid {
    grid-template-columns: 1fr;
  }

  .admin-db-actions .cta,
  .admin-db-link {
    width: 100%;
  }
}

/* =============================================================================
   17. FOOTER
   ============================================================================= */
.footer {
  background: var(--c-bg-dark-soft);
  color: rgba(255,255,255,.7);
  padding: var(--s-8) 0 var(--s-6);
  font-size: .9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  color: var(--c-ink-inverse);
}
.footer-brand strong { font-size: 1rem; letter-spacing: -.015em; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}
.footer-nav a { color: rgba(255,255,255,.65); }
.footer-nav a:hover { color: var(--c-ink-inverse); }

.footer-meta {
  text-align: center;
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}
.footer-meta p { margin-bottom: var(--s-2); }
.footer-legal a { color: rgba(255,255,255,.55); margin: 0 var(--s-2); }
.footer-legal a:hover { color: var(--c-ink-inverse); }

/* =============================================================================
   17b. BRAND MARK
   ============================================================================= */
.brand-mark {
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
}
.brand-mark-footer { background: rgba(255,255,255,.04); padding: 4px; }

/* =============================================================================
   17. FLOATING WHATSAPP
   ============================================================================= */
.floater {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 60;
  width: 56px;
  height: 56px;
  background: var(--c-whatsapp);
  color: var(--c-ink-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease-out), box-shadow .2s;
  text-decoration: none;
}
.floater:hover {
  color: var(--c-ink-inverse);
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
}
.floater::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  z-index: -1;
  animation: ripple 2.5s var(--ease-out) infinite;
}
@keyframes ripple {
  0%   { opacity: .5; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (min-width: 900px) {
  .floater { display: none; }
}

/* =============================================================================
   19a. ONBOARDING WIZARD
   ============================================================================= */
@keyframes wizard-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wizard {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 24px);
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: wizard-fade-in .18s ease-out;
}
.wizard[hidden] { display: none; }
.wizard-shell {
  width: 100%;
  max-width: 640px;
  height: 100%;
  max-height: 760px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg, 14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wizard-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
}
.wizard-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.01em;
}
.wizard-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .15s;
}
.wizard-close:hover { background: var(--c-bg-alt); }
.wizard-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wizard-langselect {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg-alt);
  color: var(--c-ink);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 26px 6px 10px;
  cursor: pointer;
  max-width: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.wizard-langselect:hover { border-color: var(--c-accent); }
.wizard-langselect:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.wizard-progress {
  flex: 0 0 auto;
  height: 3px;
  background: var(--c-border);
  position: relative;
  overflow: hidden;
}
.wizard-progress-bar {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--c-accent);
  transition: right .25s ease-out;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wizard-columns {
  flex: 1 1 auto;
  display: flex;
  min-height: 0; /* let inner scroll areas shrink */
}
.wizard-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 22px;
  min-width: 0;
}
/* Live preview panel: hidden by default (mobile keeps the inline step-7 preview),
   shown as a docked right column from 980px up — see media query below. */
.wizard-livepanel {
  display: none;
  flex: 0 0 clamp(380px, 38vw, 460px);
  border-left: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
  flex-direction: column;
  min-height: 0;
}
.wizard-livepanel-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
}
.wizard-livepanel-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.wizard-livepanel-status {
  font-size: .75rem;
  color: var(--c-ink-soft);
  text-align: right;
  min-width: 0;
}
.wizard-livepanel-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--c-bg-alt);
}
.wizard-livepanel-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}
.wizard-livepanel-iframe[hidden] { display: none; }
.wizard-livepanel-empty[hidden] { display: none; }
.wizard-livepanel-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--c-ink);
  opacity: .55;
}
.wizard-livepanel.is-rendering .wizard-livepanel-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@media (min-width: 980px) {
  .wizard-shell { max-width: 1080px; }
  .wizard-livepanel { display: flex; }
}
.wizard-step[hidden] { display: none; }
.wizard-auth-pane[hidden] { display: none; }
.wizard-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  margin-bottom: 16px;
}
.wizard-tab {
  background: transparent;
  border: 0;
  padding: 9px 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-ink-soft, var(--c-ink));
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.wizard-tab:hover { color: var(--c-ink); }
.wizard-tab.is-active {
  background: var(--c-bg-elevated, var(--c-bg));
  color: var(--c-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.wizard-password-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  background: var(--c-bg-alt);
  overflow: hidden;
}
.wizard-password-input:focus-within {
  border-color: var(--c-accent);
}
.wizard-password-input input {
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  color: var(--c-ink);
  outline: none;
}
.wizard-password-toggle {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--c-border);
  padding: 0 14px;
  color: var(--c-ink-soft, var(--c-ink));
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}
.wizard-password-toggle:hover { color: var(--c-accent); }
.wizard-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: .88rem;
  color: var(--c-ink-soft, var(--c-ink));
  cursor: pointer;
}
.wizard-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--c-accent);
  cursor: pointer;
}
.wizard-preview-block {
  margin: 0 0 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 10px);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.wizard-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
}
.wizard-preview-eyebrow {
  margin: 0 0 2px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-accent);
}
.wizard-preview-sub {
  margin: 0;
  font-size: .85rem;
  color: var(--c-ink-soft, var(--c-ink));
  line-height: 1.4;
}
.wizard-preview-external {
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;
}
.wizard-preview-external:hover { text-decoration: underline; }
.wizard-preview-frame {
  position: relative;
  background: #fff;
  height: 360px;
}
.wizard-preview-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.wizard-design-block {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  margin-bottom: 16px;
  overflow: hidden;
}
.wizard-design-header {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px;
}
.wizard-design-theme {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.wizard-design-theme label {
  display: grid;
  gap: 5px;
}
.wizard-design-theme span {
  color: var(--c-ink-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wizard-design-theme select,
.wizard-block-row select {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  color: var(--c-ink);
  font: inherit;
  min-width: 0;
  padding: 10px 12px;
}
.wizard-block-controls {
  border-top: 1px solid var(--c-border);
}
.wizard-block-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1fr);
  padding: 12px 14px;
}
.wizard-block-row + .wizard-block-row {
  border-top: 1px solid var(--c-border);
}
.wizard-block-toggle {
  align-items: center;
  color: var(--c-ink);
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  gap: 8px;
}
.wizard-block-toggle input {
  accent-color: var(--c-accent);
  block-size: 16px;
  inline-size: 16px;
}
.wizard-block-row select:disabled {
  color: var(--c-ink-soft);
  opacity: .62;
}
@media (max-width: 600px) {
  .wizard-preview-frame { height: 300px; }
  .wizard-block-row {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 720px) {
  .wizard-design-header {
    grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  }
  .wizard-design-theme {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Logo upload */
.wizard-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wizard-logo-preview {
  width: 72px;
  height: 72px;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  background: var(--c-bg-alt);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.wizard-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wizard-logo-placeholder {
  font-size: .72rem;
  color: var(--c-ink-soft);
}
.wizard-logo-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.wizard-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--c-accent);
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: none;
}
.wizard-link-btn:hover { text-decoration: underline; }

/* License block (Step 3) */
.wizard-license-block {
  margin-top: 22px;
  padding: 14px 14px 4px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg-alt);
}
.wizard-license-eyebrow {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-accent);
}
.wizard-license-sub {
  margin: 0 0 14px;
  font-size: .82rem;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.wizard-license-block .wizard-field[hidden] { display: none; }

/* AI ideate (Step 5) */
.wizard-ideate-status {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-accent);
  vertical-align: middle;
}
.wizard-ideate-status[hidden] { display: none; }
.wizard-ideate-dots::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: ideate-dots 1.2s steps(4) infinite;
}
@keyframes ideate-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}
.wizard-ideate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}
.wizard-ideate-pill {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.wizard-ideate-counter {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}
.wizard-ideate-tagline.is-typing,
.wizard-ideate-about.is-typing {
  caret-color: var(--c-accent);
  border-color: var(--c-accent);
  background: color-mix(in srgb, var(--c-accent) 6%, var(--c-bg-alt));
}
.wizard-ideate-tagline.is-typing::after,
.wizard-ideate-about.is-typing::after {
  content: '';
}
.wizard-ideate-edit-flag {
  display: inline-block;
  font-size: .72rem;
  color: var(--c-ink-soft);
  margin-top: 4px;
}
.wizard-ideate-edit-flag[hidden] { display: none; }
.wizard-ideate-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.wizard-action.wizard-action-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.wizard-action.wizard-action-loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: ideate-spin .7s linear infinite;
}
@keyframes ideate-spin { to { transform: rotate(360deg); } }
.wizard-step-title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--c-ink);
}
.wizard-step-sub {
  margin: 0 0 22px;
  font-size: .92rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.wizard-step-hint {
  margin: 6px 0 0;
  font-size: .78rem;
  color: var(--c-ink-soft);
  opacity: .8;
}
.wizard-field { margin-bottom: 18px; }
.wizard-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.wizard-field input[type="text"],
.wizard-field input[type="tel"],
.wizard-field input[type="email"],
.wizard-field textarea,
.wizard-field select {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--c-ink);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  outline: none;
  transition: border-color .15s, background-color .15s;
}
.wizard-field input:focus,
.wizard-field textarea:focus,
.wizard-field select:focus {
  border-color: var(--c-accent);
  background: var(--c-bg);
}
.wizard-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.wizard-help {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.wizard-field input[type="file"] {
  padding: 8px 0;
  font-size: .85rem;
  color: var(--c-ink-soft);
}
.wizard-phone-input,
.wizard-domain-input {
  display: flex;
  align-items: stretch;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  overflow: hidden;
  transition: border-color .15s, background-color .15s;
}
.wizard-phone-input:focus-within,
.wizard-domain-input:focus-within {
  border-color: var(--c-accent);
  background: var(--c-bg);
}
.wizard-phone-cc,
.wizard-domain-prefix,
.wizard-domain-suffix {
  padding: 11px 12px;
  background: var(--c-bg-elevated);
  color: var(--c-ink-soft);
  font-size: .9rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.wizard-phone-cc,
.wizard-domain-prefix { border-right: 1px solid var(--c-border); }
.wizard-domain-suffix { border-left: 1px solid var(--c-border); }
.wizard-phone-input input,
.wizard-domain-input input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.wizard-radio-group {
  display: flex;
  gap: 8px;
}
.wizard-radio {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.wizard-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-radio span {
  display: block;
  text-align: center;
  padding: 11px 14px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  color: var(--c-ink-soft);
  font-weight: 600;
  font-size: .92rem;
  transition: all .15s;
}
.wizard-radio input:checked + span {
  background: var(--c-accent-soft);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
/* Design presets. Selecting a look is a design decision, not a form toggle, so
   each option is a card that shows its own name and what it is for. The input
   stays a real radio so keyboard, screen-reader, and existing state wiring all
   keep working unchanged. */
.wizard-preset-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.wizard-preset {
  position: relative;
  cursor: pointer;
  display: block;
}
.wizard-preset input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-preset-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 12px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  color: var(--c-ink-soft);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .15s, background .15s, color .15s;
}
.wizard-preset-swatch {
  display: block;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--c-border);
}
.wizard-preset-swatch[data-preset="modern"] {
  background: linear-gradient(120deg, #faf6f0 0 55%, #c9a227 55% 100%);
}
.wizard-preset-swatch[data-preset="classic"] {
  background: linear-gradient(120deg, #f5f1e8 0 55%, #2f4858 55% 100%);
}
.wizard-preset-swatch[data-preset="gen-z-fied"] {
  background: linear-gradient(120deg, #1a1a1a 0 45%, #ff5c39 45% 78%, #f2ff49 78% 100%);
}
.wizard-preset-desc {
  font-weight: 400;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--c-ink-soft);
}
.wizard-preset input:checked + .wizard-preset-card {
  background: var(--c-accent-soft);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.wizard-preset input:focus-visible + .wizard-preset-card {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .wizard-preset-group { grid-template-columns: 1fr; }
  .wizard-preset-card { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .wizard-preset-swatch { width: 44px; height: 44px; flex: 0 0 auto; }
  .wizard-preset-desc { flex: 1 0 100%; }
}
.wizard-error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  font-size: .78rem;
  color: #e54a4a;
}
.wizard-error:empty { display: none; }
.wizard-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--c-bg-alt);
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.wizard-action:hover {
  background: var(--c-bg-elevated);
  border-color: var(--c-accent);
}
.wizard-action:disabled { opacity: .5; cursor: not-allowed; }
.wizard-action-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.wizard-action-primary:hover { filter: brightness(1.1); }
.wizard-ideate-pending {
  padding: 14px;
  margin-bottom: 18px;
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md, 8px);
  font-size: .85rem;
  color: var(--c-ink-soft);
}
.wizard-ideate-pending p { margin: 0 0 6px; }
.wizard-ideate-pending p:last-child { margin: 0; }
.wizard-pay-summary {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.wizard-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: .92rem;
  color: var(--c-ink-soft);
}
.wizard-pay-row strong { color: var(--c-ink); font-weight: 700; }
.wizard-pay-total {
  border-top: 1px solid var(--c-border);
  margin-top: 4px;
  padding-top: 14px;
  font-size: 1.05rem;
}
.wizard-pay-total strong {
  font-size: 1.2rem;
  color: var(--c-accent);
}
.wizard-review {
  margin: 0;
  padding: 0;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  overflow: hidden;
}
.wizard-review-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  gap: 10px;
}
.wizard-review-row:last-child { border-bottom: 0; }
.wizard-review-row dt {
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
}
.wizard-review-row dd {
  margin: 0;
  font-size: .9rem;
  color: var(--c-ink);
  word-break: break-word;
}
.wizard-review-edit {
  background: none;
  border: 0;
  color: var(--c-accent);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.wizard-success-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.wizard-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
}
.wizard-back, .wizard-next {
  padding: 10px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md, 8px);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  background: var(--c-bg-alt);
  color: var(--c-ink);
  transition: background-color .15s, border-color .15s;
}
.wizard-back[hidden], .wizard-next[hidden] { display: none; }
.wizard-back:hover { background: var(--c-bg); border-color: var(--c-accent); }
.wizard-next {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.wizard-next:hover { filter: brightness(1.1); }
.wizard-step-label {
  font-size: .8rem;
  color: var(--c-ink-soft);
  font-weight: 600;
}
body.wizard-open { overflow: hidden; }
@media (max-width: 600px) {
  .wizard { padding: 0; }
  .wizard-shell {
    max-height: 100%;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
    border: 0;
  }
  .wizard-footer {
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
    flex-wrap: wrap;
    z-index: 3;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .wizard-step-label {
    order: 1;
    flex: 1 1 100%;
    text-align: center;
  }
  .wizard-back { order: 2; }
  .wizard-next {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    text-align: center;
    padding: 14px 18px;
  }
  .wizard-review-row { grid-template-columns: 1fr auto; }
  .wizard-review-row dt { grid-column: 1 / -1; }
  .wizard-review-row dd { grid-column: 1; }
  .wizard-review-edit { grid-column: 2; }
}

/* =============================================================================
   20. PRINT
   ============================================================================= */
@media print {
  .topnav, .floater, .wizard, .trustpop { display: none; }
  body { background: white; color: black; }
}

/* =============================================================================
   20. PREVIEW FIRST POP-OUT
   Shown once, after the visitor scrolls or moves to leave. A sheet on a phone
   and a card on a computer, on the guided front end's tokens.
   ============================================================================= */
.trustpop {
  align-items: flex-end;
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  z-index: 10000;
}
.trustpop[hidden] { display: none; }
.trustpop.is-open { pointer-events: auto; }
.trustpop-backdrop {
  background: rgba(14, 14, 14, .55);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity var(--fe-motion-sheet) var(--fe-ease);
}
.trustpop.is-open .trustpop-backdrop { opacity: 1; }
.trustpop-card {
  background: var(--fe-bg);
  border: 1px solid var(--fe-line);
  border-radius: 18px 18px 0 0;
  color: var(--fe-ink);
  max-width: 480px;
  opacity: 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  position: relative;
  transform: translateY(24px);
  transition: opacity var(--fe-motion-sheet) var(--fe-ease), transform var(--fe-motion-sheet) var(--fe-ease);
  width: 100%;
}
.trustpop.is-open .trustpop-card {
  opacity: 1;
  transform: none;
}
.trustpop-close {
  align-items: center;
  background: none;
  border: 0;
  color: var(--fe-ink);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  inset-block-start: 6px;
  inset-inline-end: 6px;
  justify-content: center;
  position: absolute;
  width: 44px;
}
.trustpop-eyebrow {
  color: var(--fe-ink-soft);
  font-size: .88rem;
  font-weight: 700;
  margin: 0 44px 8px 0;
}
.trustpop-quote {
  font-family: var(--fe-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.trustpop-ctas {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
}
.trustpop-later {
  background: none;
  border: 0;
  color: var(--fe-link);
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 641px) {
  .trustpop { align-items: center; }
  .trustpop-card { border-radius: 18px; }
}

/* Policy pages */
.policy-main {
  margin: 0 auto;
  max-width: 860px;
  padding: 120px 24px 80px;
}
.policy-hero {
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 48px;
  padding-bottom: 40px;
}
.policy-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 12px 0 20px;
}
.policy-hero > p:last-child,
.policy-section p,
.policy-contact p {
  color: var(--c-ink-soft);
  line-height: 1.75;
}
.policy-section {
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0 48px;
  scroll-margin-top: 96px;
}
.policy-section + .policy-section { padding-top: 48px; }
.policy-section h2,
.policy-contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -.04em;
  margin: 0 0 24px;
}
.policy-section h3 {
  font-size: 1.05rem;
  margin: 28px 0 6px;
}
.policy-section a,
.policy-contact a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-contact { padding-top: 48px; }

/* Display list (E-Commerce Rule 4(2)) and the dark pattern self-audit page */
.legal-display {
  font-size: .8125rem;
  font-style: normal;
  line-height: 1.6;
  margin: 12px 0 0;
}
.legal-display p { margin: 0 0 4px; }
.legal-display-label { font-weight: 600; }
.footer .legal-display,
.footer .legal-display a { color: rgba(255,255,255,.65); }
.self-audit-signature {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 12px 16px;
}
.audit-list { margin: 0; padding-left: 1.25rem; }
.audit-list li { margin-bottom: 8px; }

@media (max-width: 640px) {
  .policy-main { padding-top: 96px; }
  .policy-hero { margin-bottom: 32px; }
  .policy-section + .policy-section { padding-top: 36px; }
}

/* =============================================================================
   21. GRANOLA x LINEAR CHROME
   Quieter nav, type, and cards. Background motion stays untouched.
   ============================================================================= */
.topnav {
  border-bottom-color: var(--c-border);
  box-shadow: none;
}
.section-eyebrow {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-ink-soft);
  font-weight: 500;
  letter-spacing: .08em;
}
.floater { display: none !important; }

/* =============================================================================
   Four-field wizard (wizard3.js, spec 5.3). Own classes, so the old wizard's
   rules never reach it. Body 16 px, targets 44 px or more (U10). The system
   font stack serves Indic scripts with no download.
   ============================================================================= */
.wizard3 {
  --w3-link: #A64218;
  --w3-error: #B3261E;
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(0, 0, 0, .82);
}
@media (prefers-color-scheme: dark) {
  .wizard3 { --w3-link: #F08A5D; --w3-error: #FF8A80; }
}
.wizard3[hidden] { display: none; }
.w3-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.w3-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 4px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
}
.w3-brand { font-weight: 700; }
.w3-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.w3-close:hover { background: var(--c-bg-alt); }
.wizard3 button:focus-visible,
.wizard3 a:focus-visible,
.wizard3 input:focus-visible,
.wizard3 iframe:focus-visible {
  outline: 3px solid var(--w3-link);
  outline-offset: 2px;
}
.w3-screen {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 16px 0;
  -webkit-overflow-scrolling: touch;
}
.w3-screen[hidden] { display: none; }
.w3-title {
  margin-bottom: 12px;
  font-size: 1.375rem;
  line-height: 1.25;
}
.w3-title:focus { outline: none; }
.w3-label {
  margin-bottom: 6px;
  font-weight: 600;
}
.w3-langs { margin-bottom: 16px; }
.w3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.w3-chips-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.w3-chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  background: var(--c-bg-elevated);
  color: var(--c-ink);
  font: inherit;
  cursor: pointer;
}
.w3-chip[aria-pressed="true"] {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: var(--c-bg);
  font-weight: 700;
}
.w3-held {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
}
.w3-held[hidden] { display: none; }
.w3-field { margin-bottom: 14px; }
.w3-field label,
.w3-slug-edit label,
.w3-time label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.w3-field input,
.w3-slug-edit input,
.w3-time input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-bg-elevated);
  color: var(--c-ink);
  font: inherit;
}
.w3-field input[aria-invalid="true"] { border-color: var(--w3-error); }
.w3-phone { display: flex; }
.w3-cc {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--c-border-strong);
  border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  background: var(--c-bg-alt);
  font-weight: 600;
}
.w3-phone input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.w3-hint,
.w3-status {
  margin-top: 6px;
  color: var(--c-ink-soft);
}
.w3-status:empty { display: none; }
.w3-error {
  margin-top: 6px;
  color: var(--w3-error);
  font-weight: 600;
}
.w3-error:empty { display: none; }
.w3-ladder {
  margin: 12px 0;
  color: var(--c-ink-soft);
  font-size: .875rem;
}
.w3-note {
  margin-bottom: 12px;
  font-weight: 600;
}
.w3-actions {
  position: sticky;
  bottom: 0;
  margin: 0 -16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}
.w3-primary {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--r-md);
  background: #A64218;
  color: #FFFFFF;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.w3-primary:disabled {
  background: var(--c-border-strong);
  color: var(--c-ink-soft);
  cursor: not-allowed;
}
.w3-secondary {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-bg-elevated);
  color: var(--c-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.w3-secondary[hidden] { display: none; }
.w3-link {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--w3-link);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.w3-address { margin-bottom: 8px; }
.w3-host-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
}
.w3-host {
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.w3-alts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.w3-alts[hidden] { display: none; }
.w3-slug-edit { margin-top: 8px; }
.w3-slug-edit[hidden] { display: none; }
.w3-sector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  margin-bottom: 8px;
}
.w3-sector[hidden] { display: none; }
.w3-frames {
  display: flex;
  gap: 16px;
  margin: 8px 0 12px;
}
.w3-frame {
  display: block;
  width: 100%;
  max-width: 420px;
  height: min(70vh, 640px);
  margin: 0 auto;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: #FFFFFF;
}
.w3-frame-wide { display: none; }
.w3-rows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.w3-row {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  background: var(--c-bg-elevated);
  color: var(--c-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.w3-row[hidden] { display: none; }
.w3-sheet {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, .45);
}
.w3-sheet[hidden] { display: none; }
.w3-sheet-panel {
  width: 100%;
  max-height: 92%;
  overflow-y: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--c-bg);
}
.w3-sheet-title {
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.w3-sheet-title:focus { outline: none; }
.w3-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.w3-option {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-bg-elevated);
  color: var(--c-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.w3-option[aria-pressed="true"] {
  border-color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-ink);
  font-weight: 700;
}
.w3-times {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}
.w3-times[hidden] { display: none; }
.w3-sitting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 0;
}
.w3-sitting legend,
.w3-days legend {
  margin-bottom: 6px;
  font-weight: 700;
}
.w3-days {
  margin: 12px 0;
  border: 0;
}
.w3-sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.w3-sheet-actions .w3-primary { width: auto; }
.w3-rate-rows { margin: 8px 0; }
.w3-rate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
}
.w3-rate .w3-field { margin-bottom: 0; }
.w3-rate .w3-link {
  grid-column: 1 / -1;
  justify-self: start;
}
@media (max-width: 359px) {
  .w3-rate { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .wizard3 {
    align-items: center;
    padding: 24px;
  }
  .w3-shell {
    height: auto;
    max-height: 100%;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  }
}
@media (min-width: 960px) {
  .w3-shell { max-width: 1040px; }
  .w3-frames { align-items: flex-start; }
  .w3-frame {
    flex: 0 0 360px;
    width: 360px;
    margin: 0;
  }
  .w3-frame-wide {
    display: block;
    flex: 1 1 auto;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wizard3 * { scroll-behavior: auto; }
}

/* =============================================================================
   Guided front end, docs/specs/frontend/10.1-guided-front-end.md
   The token block below is a copy of the one in
   apps/dashboard/app/design-tokens.css. api/guided-front-end.test.ts fails when
   the two differ. A rebuilt page carries the scope class fe-wib on <body>.
   ============================================================================= */
/* fe-tokens:start
   Guided front end, docs/specs/frontend/10.1-guided-front-end.md section 5.
   Tokens apply inside a scope class on <main>, so a screen that has not been
   rebuilt keeps today's look. fe-wib is Watch it build, fe-sign is Signboard. */
.fe-wib {
  --fe-bg: #faf6f0;
  --fe-ink: #1a1a1a;
  --fe-ink-soft: #555555;
  --fe-mark: #c8551e;
  --fe-action: #a64218;
  --fe-action-ink: #faf6f0;
  --fe-link: #a64218;
  --fe-card: #ffffff;
  --fe-tint: #f0ebe4;
  --fe-line: rgba(26, 26, 26, 0.16);
  --fe-bezel: #0e0e0e;
  --fe-bezel-ink: #faf6f0;
  --fe-bezel-edge: transparent;
  --fe-live: #2d7a3a;
  --fe-live-ink: #faf6f0;
  --fe-error: #b3261e;
}
.fe-sign {
  --fe-bg: #faf6f0;
  --fe-ink: #1a1a1a;
  --fe-ink-soft: #555555;
  --fe-mark: #d63e1f;
  --fe-action: #d63e1f;
  --fe-action-ink: #ffffff;
  --fe-link: #a64218;
  --fe-card: #ffffff;
  --fe-tint: #f1ece1;
  --fe-line: rgba(26, 26, 26, 0.16);
  --fe-bezel: #1a1a1a;
  --fe-bezel-ink: #faf6f0;
  --fe-bezel-edge: #ff7a45;
  --fe-error: #b3261e;
}
@media (prefers-color-scheme: dark) {
  .fe-wib {
    --fe-bg: #0e0e0e;
    --fe-ink: #f2eee8;
    --fe-ink-soft: #b5b5b5;
    --fe-mark: #f08a5d;
    --fe-action: #f08a5d;
    --fe-action-ink: #0e0e0e;
    --fe-link: #f08a5d;
    --fe-card: #1a1a1a;
    --fe-tint: #1f1d1b;
    --fe-line: rgba(242, 238, 232, 0.18);
    --fe-bezel: #262422;
    --fe-bezel-ink: #f2eee8;
    --fe-bezel-edge: rgba(242, 238, 232, 0.24);
    --fe-live: #57c27a;
    --fe-live-ink: #0e0e0e;
    --fe-error: #ff8a80;
  }
  .fe-sign {
    --fe-bg: #0e0e0e;
    --fe-ink: #f2eee8;
    --fe-ink-soft: #b5b5b5;
    --fe-mark: #ff7a45;
    --fe-action: #ff7a45;
    --fe-action-ink: #1a1a1a;
    --fe-link: #f08a5d;
    --fe-card: #1a1a1a;
    --fe-tint: #1a1a1a;
    --fe-line: rgba(242, 238, 232, 0.18);
    --fe-bezel: #1a1a1a;
    --fe-bezel-ink: #f2eee8;
    --fe-bezel-edge: #ff7a45;
    --fe-error: #ff8a80;
  }
}
.fe-wib,
.fe-sign {
  --fe-motion-swap: 280ms;
  --fe-motion-sheet: 200ms;
  --fe-motion-grow: 300ms;
  --fe-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fe-font-display: 'Anek Latin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fe-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --fe-font-mono: ui-monospace, 'SF Mono', 'Roboto Mono', monospace;
  /* Pieces written before this spec read the old names. */
  --bg: var(--fe-bg);
  --card: var(--fe-card);
  --ink: var(--fe-ink);
  --ink-soft: var(--fe-ink-soft);
  /* Links read --accent. Buttons take --fe-action from the piece styles. */
  --accent: var(--fe-link);
  --border: var(--fe-line);
}
@media (prefers-reduced-motion: reduce) {
  .fe-wib,
  .fe-sign {
    --fe-motion-swap: 0ms;
    --fe-motion-sheet: 0ms;
    --fe-motion-grow: 0ms;
  }
}
/* fe-tokens:end */

/* A rebuilt page reads the tokens through the colour names this file already uses. */
body.fe-wib {
  --c-bg: var(--fe-bg);
  --c-bg-alt: var(--fe-tint);
  --c-bg-elevated: var(--fe-card);
  --c-ink: var(--fe-ink);
  --c-ink-soft: var(--fe-ink-soft);
  --c-ink-faint: var(--fe-ink-soft);
  --c-accent: var(--fe-link);
  --c-accent-hover: var(--fe-link);
  --c-border: var(--fe-line);
  --c-border-strong: var(--fe-line);
  background: var(--fe-bg);
  color: var(--fe-ink);
  /* Form fields and scroll bars follow the phone's light or dark setting too. */
  color-scheme: light dark;
  font-family: var(--fe-font-body);
  /* Clip, not hidden: hidden turns the body into a scroll box, and then
     nothing inside it can stay at the top of the window. */
  overflow-x: clip;
}
.fe-wib :focus-visible {
  outline: 3px solid var(--fe-mark);
  outline-offset: 2px;
}
.fe-wib .nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 860px;
  padding: 8px 24px;
}
.fe-wib .nav a {
  align-items: center;
  color: var(--fe-link);
  display: inline-flex;
  min-height: 44px;
}
.fe-wib .nav .nav-brand {
  color: var(--fe-ink);
  font-family: var(--fe-font-display);
  font-weight: 700;
}
.fe-wib .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
/* One column at 18 px (spec 10.1 section 7.6). */
.fe-wib .policy-main {
  font-size: 1.125rem;
  padding-top: 24px;
}
.fe-wib .policy-hero h1,
.fe-wib .policy-section h2,
.fe-wib .policy-contact h2 { font-family: var(--fe-font-display); }
.fe-wib .section-eyebrow {
  background: none;
  border-color: var(--fe-line);
  color: var(--fe-ink-soft);
}

/* Chips that jump to a page's parts and stay at the top. The row scrolls sideways on a phone. */
.fe-chips {
  background: var(--fe-bg);
  border-bottom: 1px solid var(--fe-line);
  display: flex;
  gap: 8px;
  margin: 0 -24px 32px;
  overflow-x: auto;
  padding: 10px 24px;
  position: sticky;
  scrollbar-width: none;
  top: 0;
  z-index: 5;
}
.fe-chips a {
  align-items: center;
  border: 1px solid var(--fe-line);
  border-radius: 999px;
  color: var(--fe-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}
.fe-chips a:hover {
  border-color: var(--fe-link);
  color: var(--fe-link);
}

/* A thin bar that shows how far down the reader is. The only motion on a
   reading page, led by the scroll itself. Browsers that cannot do that, and
   readers who ask for less motion, see no bar. */
.fe-progress {
  background: var(--fe-mark);
  display: none;
  height: 3px;
  inset: 0 0 auto;
  pointer-events: none;
  position: fixed;
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 10;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .fe-progress {
      animation: fe-progress linear both;
      animation-timeline: scroll(root block);
      display: block;
    }
  }
}
@keyframes fe-progress {
  to { transform: scaleX(1); }
}

/* One promise or warning, set off by a thick rule. */
.fe-wib .policy-section .fe-notice,
.fe-wib .policy-hero .self-audit-signature {
  border: 0;
  border-inline-start: 4px solid var(--fe-ink);
  border-radius: 0;
  color: var(--fe-ink);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
  padding: 2px 0 2px 12px;
}
.fe-wib .policy-section .fe-notice:last-of-type { margin-bottom: 20px; }
/* A draft reads as a warning until the page is signed. */
.fe-wib .policy-hero .self-audit-signature[data-signed='false'] {
  border-color: var(--fe-mark);
  font-weight: 400;
}

/* The self-audit as a ruled table: the pattern on the left, the result on the
   right, and what was checked inside the row. */
.fe-wib .audit-head,
.fe-wib .audit-list > li {
  column-gap: 16px;
  display: grid;
  grid-template-columns: minmax(6.5rem, 32%) minmax(0, 1fr);
}
.fe-wib .policy-section .audit-head {
  border-bottom: 2px solid var(--fe-ink);
  color: var(--fe-ink-soft);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding-bottom: 8px;
}
.fe-wib .audit-list {
  counter-reset: audit;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fe-wib .audit-list > li {
  border-bottom: 1px solid var(--fe-line);
  margin: 0;
  padding: 14px 0 6px;
}
.fe-wib .audit-list h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0;
}
.fe-wib .audit-list h3::before {
  color: var(--fe-ink-soft);
  content: counter(audit) '. ';
  counter-increment: audit;
  font-weight: 400;
}
.fe-wib .audit-list p {
  line-height: 1.5;
  margin: 0;
}
.fe-wib .audit-list summary {
  color: var(--fe-link);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 0;
}
.fe-wib .audit-list details p { padding-bottom: 10px; }

/* The build strip in the builder (spec 10.1 section 7.2): the phone folded
   flat, with the shop's name as it is typed. */
.wizard-strip {
  align-items: center;
  background: var(--fe-bezel);
  border: 1px solid var(--fe-bezel-edge);
  border-radius: 12px;
  color: var(--fe-bezel-ink);
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: space-between;
  margin: 8px 16px 0;
  min-height: 44px;
  padding: 0 14px;
}
.wizard-strip[hidden] { display: none; }
.wizard-strip-name {
  font-family: var(--fe-font-display);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wizard-strip-state {
  flex: 0 0 auto;
  font-size: .82rem;
}

/* The builder's filled buttons take the action tokens, so their labels keep
   4.5:1 in dark as well as in light. */
.fe-wib ::selection {
  background: var(--fe-action);
  color: var(--fe-action-ink);
}
.fe-wib .wizard-next,
.fe-wib .wizard-action-primary {
  background: var(--fe-action);
  border-color: var(--fe-action);
  color: var(--fe-action-ink);
}

/* -----------------------------------------------------------------------------
   The home page (spec 10.1 sections 7.1 and 8), before a look is open and live
   payments are on: a first screen with the price, plain answers and a last
   frame. Colours come from the tokens alone, in light and in dark, and the
   only motion is the pop-out's, which reads the motion tokens.
   ----------------------------------------------------------------------------- */

/* The page's filled button: solid, no gradient. One label wherever it sits. */
.fe-wib .fe-button {
  align-items: center;
  background: var(--fe-action);
  border-radius: 12px;
  color: var(--fe-action-ink);
  display: inline-flex;
  font-size: 1.0625rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 52px;
  padding: 0 28px;
  text-align: center;
  text-decoration: none;
}
.fe-wib .fe-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The top bar stays in view, so the button is always one tap away. */
.fe-top {
  background: var(--fe-bg);
  border-bottom: 1px solid var(--fe-line);
  inset-block-start: 0;
  position: sticky;
  z-index: 20;
}
.fe-top .nav { flex-wrap: nowrap; }
.fe-top .nav-brand { gap: 8px; }
.fe-top .nav-links {
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 16px;
  white-space: nowrap;
}
.fe-wib .nav .fe-button {
  color: var(--fe-action-ink);
  font-size: 1rem;
  min-height: 44px;
  padding: 0 16px;
}
@media (max-width: 480px) {
  /* The mark alone stands for the brand on a small phone. The link keeps its spoken name. */
  .fe-top-name { display: none; }
  .fe-top .nav { padding-inline: 16px; }
}

.fe-home {
  font-size: 1.0625rem;
  line-height: 1.5;
}
.fe-home > section {
  margin: 0 auto;
  max-width: 860px;
  padding: 40px 24px;
}
.fe-home h1,
.fe-home h2 {
  font-family: var(--fe-font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-wrap: balance;
}
/* 32 px on a 360 px phone, 60 px on a computer (spec 10.1 section 5.2). */
.fe-home h1 { font-size: clamp(2rem, 1.1rem + 4vw, 3.75rem); }
.fe-home h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  margin-bottom: 16px;
}
.fe-home p a,
.fe-home dd a,
.fe-foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The first screen: the headline, one button, and the full price under it. */
.fe-home > .fe-first { padding-top: 32px; }
.fe-lede {
  color: var(--fe-ink-soft);
  font-size: 1.125rem;
  margin-top: 12px;
  max-width: 34rem;
}
.fe-action { margin-top: 20px; }
.fe-first .fe-price {
  margin-top: 32px;
  max-width: 34rem;
}
/* A real table with a caption and ruled rows, as on the pay screens. */
.fe-price {
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.fe-price caption {
  color: var(--fe-ink-soft);
  font-size: .88rem;
  font-weight: 700;
  padding-bottom: 6px;
  text-align: start;
}
.fe-price th,
.fe-price td {
  border-top: 1px solid var(--fe-line);
  padding: 11px 0;
  vertical-align: baseline;
}
.fe-price tr:last-child th,
.fe-price tr:last-child td { border-bottom: 2px solid var(--fe-ink); }
.fe-price th {
  color: var(--fe-ink-soft);
  font-weight: 400;
  text-align: start;
}
.fe-price td {
  font-weight: 700;
  padding-inline-start: 16px;
  text-align: end;
  white-space: nowrap;
}
/* What is not open yet, set off by a thick rule in the mark colour. */
.fe-home .fe-notice {
  border-inline-start: 4px solid var(--fe-mark);
  font-weight: 700;
  margin-bottom: 8px;
  max-width: 34rem;
  padding: 2px 0 2px 12px;
}
.fe-fine {
  color: var(--fe-ink-soft);
  font-size: 1rem;
  max-width: 34rem;
}

/* Plain answers: every question and its answer in view, as ruled rows. */
.fe-answer-list { border-top: 2px solid var(--fe-ink); }
.fe-answer-list > div {
  border-bottom: 1px solid var(--fe-line);
  padding: 16px 0;
}
.fe-answer-list dt {
  font-weight: 700;
  margin-bottom: 4px;
}
@media (min-width: 760px) {
  .fe-answer-list > div {
    column-gap: 24px;
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  }
  .fe-answer-list dt { margin-bottom: 0; }
}

/* The last frame: an empty phone and the same button, on a band of tint that
   runs the full width of the window. */
.fe-home > .fe-last {
  background: var(--fe-tint);
  box-shadow: 0 0 0 100vmax var(--fe-tint);
  clip-path: inset(0 -100vmax);
  padding-block: 48px;
  text-align: center;
}
.fe-phone {
  margin: 0 auto 20px;
  width: fit-content;
}
.fe-phone-body {
  background: var(--fe-bezel);
  border: 1px solid var(--fe-bezel-edge);
  border-radius: 28px;
  padding: 10px 8px 12px;
}
.fe-phone-screen {
  background: var(--fe-bg);
  border-radius: 14px 14px 18px 18px;
  height: 240px;
  width: 180px;
}
.fe-last .fe-fine { margin: 12px auto 0; }
@media (max-width: 480px) {
  .fe-home > section { padding-inline: 16px; }
  .fe-action .fe-button { width: 100%; }
}

.fe-foot {
  color: var(--fe-ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 860px;
  padding: 28px 24px 40px;
}
.fe-foot p { margin-bottom: 4px; }
.fe-foot-brand {
  align-items: center;
  color: var(--fe-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.fe-foot-brand span { color: var(--fe-ink-soft); }
.fe-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 8px 0;
}
.fe-foot-links a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}
@media (max-width: 480px) {
  .fe-foot { padding-inline: 16px; }
}
