/* ==========================================================================
   ZYNERO — main stylesheet
   Structure: 1. Fonts  2. Tokens  3. Base  4. Layout  5. Header & nav
              6. Buttons & chips  7. Home sections  8. Offers  9. Steps & status
              10. Prose / legal  11. Contact & forms  12. Footer  13. Motion & utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License — see assets/fonts) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* 2. Design tokens */
:root {
  --ink: #0d0a1c;
  --ink-2: #2a2540;
  --muted: #5e5873;
  --line: #e7e3f2;
  --line-strong: #d3cce8;
  --paper: #ffffff;
  --mist: #f6f3ff;
  --violet: #6a2bff;
  --violet-deep: #5418f0;
  --violet-soft: #b79bff;
  --violet-wash: #ece5ff;
  --volt: #d4ff3f;
  --on-dark: #ffffff;
  --on-dark-muted: #a9a3be;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Lora", Georgia, "Times New Roman", serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-card: 0 1px 0 rgba(13, 10, 28, 0.04), 0 18px 40px -24px rgba(56, 22, 160, 0.35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 3. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--violet-deep);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.9rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
}
em.accent,
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--violet);
}
::selection {
  background: var(--volt);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: var(--on-dark);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.section--mist {
  background: var(--mist);
}
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 760px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
  margin: 0;
}
.section--ink .section-head p {
  color: var(--on-dark-muted);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.section--ink .kicker {
  color: var(--volt);
}
.grid-bg {
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* 5. Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 12px;
}
.brand img {
  height: 34px;
  width: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav a:hover {
  background: var(--mist);
  color: var(--violet);
}
.primary-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--on-dark);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
.mobile-panel {
  display: none;
}

@media (max-width: 900px) {
  .primary-nav,
  .header-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-panel {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    background: var(--paper);
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    flex-direction: column;
    gap: 6px;
  }
  .mobile-panel.is-open {
    display: flex;
  }
  .mobile-panel a.m-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 2rem;
    color: var(--ink);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-panel a.m-link[aria-current="page"] {
    color: var(--violet);
  }
  .mobile-panel .m-legal {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.92rem;
  }
  .mobile-panel .m-legal a {
    color: var(--muted);
  }
  .mobile-panel .btn {
    margin-top: 24px;
  }
}

/* 6. Buttons & chips */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(106, 43, 255, 0.8);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--violet {
  --btn-bg: var(--violet);
}
.btn--violet:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  box-shadow: none;
}
.btn--volt {
  --btn-bg: var(--volt);
  --btn-fg: var(--ink);
}
.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--on-dark:hover {
  border-color: var(--on-dark);
  box-shadow: none;
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--violet-wash);
  color: var(--violet-deep);
  white-space: nowrap;
}
.chip--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.chip--volt {
  background: var(--volt);
  color: var(--ink);
}
.chip--line {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}

/* 7. Home */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 85% 30%, rgba(106, 43, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .accent {
  font-weight: 500;
}
.hero-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 32px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

/* Status rail (hero illustration of the cashback lifecycle) */
.rail {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-l);
  padding: 28px;
  box-shadow: 0 40px 80px -40px rgba(56, 22, 160, 0.7);
  transform: rotate(1.5deg);
}
.rail::before {
  content: "";
  position: absolute;
  inset: 12px -14px -14px 12px;
  border: 1.5px solid var(--violet);
  border-radius: var(--radius-l);
  z-index: -1;
}
.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 600;
}
.rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.rail li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 12px 0;
}
.rail li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 56px;
  bottom: -8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--violet-soft) 0 4px, transparent 4px 9px);
  opacity: 0.6;
}
.rail .dot {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--violet-soft);
}
.rail li:last-child .dot {
  background: var(--volt);
  color: var(--ink);
}
.rail .dot svg {
  width: 22px;
  height: 22px;
}
.rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.rail span {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
}

/* Marquee band */
.band {
  background: var(--violet);
  color: var(--on-dark);
  overflow: hidden;
  border-block: 1px solid var(--violet-deep);
}
.band-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.band-track ul {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 18px 24px;
}
.band-track li {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band-track li::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--volt);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Numbered editorial steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.step {
  padding: 28px 24px 8px 0;
  border-right: 1px solid var(--line);
  padding-left: 24px;
}
.step:first-child {
  padding-left: 0;
}
.step:last-child {
  border-right: 0;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--violet);
  margin-bottom: 20px;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet-wash);
  color: var(--violet);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step-icon svg {
  width: 24px;
  height: 24px;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Split feature with anatomy illustration */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.anatomy {
  position: relative;
  padding: 24px 0;
}
.anatomy-card {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-l);
  padding: 26px;
  box-shadow: 10px 10px 0 var(--violet);
}
.sk {
  height: 12px;
  border-radius: 6px;
  background: var(--line);
}
.sk--title {
  width: 46%;
  height: 16px;
  background: var(--ink-2);
  opacity: 0.85;
}
.sk--rate {
  width: 62%;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--violet), var(--violet-soft));
  margin: 18px 0 20px;
}
.sk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.sk-row i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--volt);
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}
.sk-btn {
  margin-top: 22px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
}
.anatomy-labels {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.anatomy-labels li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.anatomy-labels b {
  font-family: var(--font-display);
  color: var(--violet);
  font-size: 0.85rem;
}

/* Commitment cards */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.commit {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.commit:hover {
  border-color: var(--violet-soft);
  transform: translateY(-3px);
}
.commit svg {
  width: 28px;
  height: 28px;
  color: var(--volt);
  margin-bottom: 18px;
}
.commit h3 {
  color: var(--on-dark);
}
.commit p {
  color: var(--on-dark-muted);
  margin: 0;
  font-size: 0.98rem;
}
.commit--feature {
  grid-column: span 2;
  background: var(--violet);
  border-color: var(--violet);
}
.commit--feature p {
  color: rgba(255, 255, 255, 0.82);
}
.commit--feature .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--on-dark);
}

/* FAQ */
.faq {
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mist)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a2bff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--volt);
}
.faq .faq-body {
  padding: 0 56px 22px 0;
  color: var(--muted);
}
.faq .faq-body p:last-child {
  margin: 0;
}

/* CTA block */
.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: end;
}
.cta-block::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid var(--violet);
  opacity: 0.55;
}
.cta-block > * {
  position: relative;
}
.cta-block h2 {
  margin-bottom: 12px;
}
.cta-block p {
  color: var(--on-dark-muted);
  margin: 0;
  max-width: 34em;
}
.cta-block .accent {
  color: var(--volt);
}

/* Page hero (inner pages) */
.page-hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 14ch;
}
.page-hero .lede {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--muted);
}

/* 8. Offers */
.offers-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
}
.search input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px 0 46px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font: inherit;
  background: var(--paper);
}
.search input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-wash);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  font: 600 0.9rem/1 var(--font-body);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--ink);
}
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.offer {
  --notch: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.offer:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--violet);
}
.offer-top {
  padding: 22px 22px 18px;
  background: var(--mist);
  border-bottom: 2px dashed var(--line-strong);
  position: relative;
}
.offer-top::before,
.offer-top::after {
  content: "";
  position: absolute;
  bottom: calc(var(--notch) * -1);
  width: calc(var(--notch) * 2);
  height: calc(var(--notch) * 2);
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.offer-top::before {
  left: calc(var(--notch) * -1 - 1.5px);
}
.offer-top::after {
  right: calc(var(--notch) * -1 - 1.5px);
}
.offer-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.offer-store h3 {
  margin: 0;
  font-size: 1.15rem;
}
.offer-rate {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--violet);
}
.offer-rate small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
}
.offer-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.offer-terms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.offer-terms li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}
.offer-terms svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--violet);
}
.offer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  font-size: 0.82rem;
}
.offer-meta div {
  background: var(--mist);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}
.offer-meta dt {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.offer-meta dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.offer .btn {
  margin-top: auto;
}
.offers-empty-results {
  padding: 40px;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-m);
  color: var(--muted);
}

/* Launch state (shown when no partner offers are published yet) */
.launch {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.launch-panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
}
.launch-panel h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
.launch-panel p {
  color: var(--on-dark-muted);
}
.launch-panel .accent {
  color: var(--volt);
}
.field-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.field-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.field-list .n {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--violet);
  font-size: 1.1rem;
}
.field-list strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.field-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.checklist svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--ink);
}
.checklist p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* 9. How it works — detailed timeline and status table */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.timeline > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-l);
  background: var(--paper);
  border: 1px solid var(--line);
}
.timeline .t-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--violet);
}
.timeline h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.timeline p {
  color: var(--muted);
}
.timeline ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-2);
}
.timeline ul li {
  margin-bottom: 6px;
}
.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.status-table th,
.status-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
}
.status-table th {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 600;
}
.status-table td {
  color: var(--on-dark-muted);
}
.status-table td:first-child {
  white-space: nowrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--on-dark);
}
.status-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--s, var(--violet-soft));
}
.s-tracked {
  --s: #8fb8ff;
}
.s-pending {
  --s: #ffc857;
}
.s-confirmed {
  --s: var(--volt);
}
.s-declined {
  --s: #ff6b7d;
}
.s-paid {
  --s: #ffffff;
}
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Fact tiles */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fact {
  padding: 26px;
  border-radius: var(--radius-m);
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.fact .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.fact .value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 8px 0;
}
.fact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* About */
.manifesto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 24em;
  margin: 0;
}
.manifesto .accent {
  font-weight: 500;
}
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.principle {
  padding: 30px 30px 30px 0;
  border-bottom: 1px solid var(--line);
}
.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.principle:nth-child(even) {
  padding-left: 30px;
  padding-right: 0;
}
.principle p {
  color: var(--muted);
  margin: 0;
}

/* 10. Prose / legal pages */
.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 0.92rem;
}
.legal-nav p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.legal-nav ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 2px;
}
.legal-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}
.legal-nav a:hover {
  background: var(--mist);
  color: var(--violet);
}
.legal-nav a[aria-current="page"] {
  background: var(--violet-wash);
  color: var(--violet-deep);
}
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose li::marker {
  color: var(--violet);
}
.prose .meta {
  font-size: 0.92rem;
  color: var(--muted);
}
.summary-box {
  background: var(--mist);
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: 22px 24px;
  margin-bottom: 2.2em;
}
.summary-box p:last-child,
.summary-box ul:last-child {
  margin-bottom: 0;
}
.summary-box strong:first-child {
  font-family: var(--font-display);
}

/* 11. Contact & forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--paper);
}
.contact-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet);
  color: var(--on-dark);
  display: grid;
  place-items: center;
}
.contact-card .ic svg {
  width: 22px;
  height: 22px;
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-card p {
  margin: 0;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.contact-card address {
  font-style: normal;
}
.form-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 10px 10px 0 var(--violet);
}
.form-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 600;
  font-size: 0.92rem;
}
.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0a1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-wash);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d92d48;
}
.field .error {
  display: none;
  color: #b4182f;
  font-size: 0.85rem;
  font-weight: 600;
}
.field.has-error .error {
  display: block;
}
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--violet);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: var(--violet-wash);
  color: var(--violet-deep);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-visible {
  display: block;
}
.form-status a {
  color: inherit;
}

/* 12. Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 8vw, 96px);
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 20px;
}
.footer-brand p {
  max-width: 30em;
}
.footer-brand address {
  font-style: normal;
  line-height: 1.7;
}
.footer-brand a,
.footer-col a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-brand a:hover,
.footer-col a:hover {
  color: var(--volt);
}
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--on-dark-muted);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 19vw, 15rem);
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(183, 155, 255, 0.35);
  text-align: center;
  user-select: none;
  padding-top: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p {
  margin: 0;
}

/* 404 */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound .code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 14rem);
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--violet);
}

/* 13. Motion & utilities */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-l {
  margin-top: clamp(40px, 6vw, 72px);
}
.center {
  text-align: center;
}
[hidden] {
  display: none !important;
}

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

/* Responsive */
@media (max-width: 1040px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(3) {
    padding-left: 0;
  }
  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .launch,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .rail {
    transform: none;
    max-width: 520px;
  }
  .commit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .cta-block {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .legal-nav {
    position: static;
  }
  .legal-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .legal-nav a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 7px 14px;
  }
  .legal-nav .legal-nav-sections {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step:first-child,
  .step:nth-child(3) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .step + .step {
    border-top: 1px solid var(--line);
  }
  .commit-grid,
  .checklist,
  .principles,
  .form-grid,
  .anatomy-labels {
    grid-template-columns: 1fr;
  }
  .commit--feature {
    grid-column: auto;
  }
  .principle,
  .principle:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }
  .timeline > li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .faq .faq-body {
    padding-right: 0;
  }
  .btn-row .btn {
    flex: 1 1 100%;
  }
  .rail {
    padding: 22px;
  }
  .rail::before {
    inset: 10px -8px -10px 8px;
  }
  .status-table td:first-child {
    white-space: normal;
  }
}
@media (max-width: 400px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .offer-meta {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .band {
    display: none;
  }
  .legal-layout {
    display: block;
  }
}

/* Small helpers used by page templates */
.sk-w1 {
  width: 78%;
}
.sk-w2 {
  width: 64%;
}
.sk-w3 {
  width: 70%;
}
.lede-muted {
  color: var(--muted);
  font-size: 1.125rem;
}
.section--ink a.link-on-dark,
a.link-on-dark {
  color: var(--volt);
}
.btn-row--center {
  justify-content: center;
  margin-top: 28px;
}

/* Contrast and small-screen refinements */
.section--ink .accent {
  color: var(--violet-soft);
}
.launch-panel .kicker {
  color: var(--volt);
}
.rail-top span:last-child {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .rail-top span:last-child {
    display: none;
  }
  .cta-block::before {
    width: 220px;
    height: 220px;
    right: -120px;
    top: -120px;
    border-width: 40px;
    opacity: 0.45;
  }
  .form-card,
  .anatomy-card {
    box-shadow: 6px 6px 0 var(--violet);
    margin-right: 6px;
  }
}
