/* =========================================================
   Days In Color - Shared stylesheet
   Premium dark theme with vivid spectrum accents
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #08080d;
  --bg-2:          #0e0e16;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:    #f1f1f6;
  --muted:   #a6a6b6;
  --muted-2: #74748a;

  /* Spectrum (matches the app icon) */
  --c-red:    #ff404c;
  --c-orange: #ff8e2e;
  --c-yellow: #ffd138;
  --c-green:  #4ed870;
  --c-cyan:   #34c6e0;
  --c-blue:   #4c7ef6;
  --c-violet: #aa5cf2;

  --rainbow: linear-gradient(90deg,
      var(--c-red), var(--c-orange), var(--c-yellow),
      var(--c-green), var(--c-cyan), var(--c-blue), var(--c-violet));
  --rainbow-soft: linear-gradient(120deg,
      rgba(255,64,76,.16), rgba(255,209,56,.14),
      rgba(78,216,112,.14), rgba(76,126,246,.16), rgba(170,92,242,.16));

  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --shadow:    0 18px 50px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);

  --maxw: 1160px;
  --nav-h: 74px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", var(--font-sans);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient spectrum glow fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%,   rgba(76,126,246,.14), transparent 60%),
    radial-gradient(55% 45% at 90% 5%,   rgba(170,92,242,.13), transparent 60%),
    radial-gradient(50% 40% at 50% 100%, rgba(255,142,46,.08), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { margin: 0 0 1rem; color: var(--muted); }

::selection { background: rgba(170,92,242,.4); color: #fff; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section   { padding: clamp(64px, 9vw, 120px) 0; }
.center    { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 18px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.gradient-text {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--c-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: var(--pad-y) 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  position: relative;
  color: #0b0b12;
  background: linear-gradient(100deg, var(--c-yellow), var(--c-orange) 40%, var(--c-red) 70%, var(--c-violet));
  background-size: 180% 180%;
  box-shadow: 0 10px 30px rgba(255,142,46,.25), 0 4px 12px rgba(170,92,242,.2);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,142,46,.32), 0 6px 16px rgba(170,92,242,.28);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--border-strong); }

.btn-lg { font-size: 1.05rem; --pad-y: 16px; padding-inline: 30px; }
.btn svg { width: 20px; height: 20px; }

/* App Store badge button */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  background: #fff;
  color: #0b0b12;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow);
}
.appstore-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.appstore-btn svg { width: 30px; height: 30px; flex: none; }
.appstore-btn .as-label { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore-btn .as-small { font-size: .68rem; letter-spacing: .02em; opacity: .7; }
.appstore-btn .as-big   { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-nav.scrolled {
  background: rgba(8,8,13,.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img.brand-mark { height: 34px; width: auto; }
.brand .brand-logo { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 8px; }
/* CTA button keeps its own dark label (override the grey nav link colour) */
.nav-links .nav-cta a.btn-primary { color: #0b0b12; background: linear-gradient(100deg, var(--c-yellow), var(--c-orange) 40%, var(--c-red) 70%, var(--c-violet)); }
.nav-links .nav-cta a.btn-primary:hover { color: #0b0b12; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 90px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy .wordmark { width: min(420px, 80%); margin-bottom: 26px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 30px; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 12px var(--c-green); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .glow {
  position: absolute;
  inset: -8% -4% -12%;
  background: var(--rainbow);
  filter: blur(70px);
  opacity: .35;
  border-radius: 50%;
  z-index: 0;
}
.hero-rings-wrap {
  position: relative;
  z-index: 1;
  width: min(460px, 84%);
  animation: float 7s var(--ease) infinite;
}
.hero-rings-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  animation: spin 110s linear infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* floating colored rings and dots around the hero mosaic */
.hero-ring,
.hero-dot {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  animation: float 5s var(--ease) infinite;
}
.hero-ring { background: transparent; }
.hero-ring.r1 {
  top: 4%; left: 3%;
  width: 58px; height: 58px;
  border: 6px solid var(--c-cyan);
  box-shadow: 0 0 22px rgba(52,198,224,.5);
  animation-delay: .3s;
}
.hero-ring.r2 {
  bottom: 6%; right: 2%;
  width: 78px; height: 78px;
  border: 7px solid var(--c-violet);
  box-shadow: 0 0 26px rgba(170,92,242,.5);
  animation-delay: 1.4s;
}
.hero-dot {
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.hero-dot.d1 { top: 12%; right: 6%; width: 30px; height: 30px; background: var(--c-red);    box-shadow: 0 0 20px rgba(255,64,76,.5);  animation-delay: .9s; }
.hero-dot.d2 { bottom: 14%; left: 5%; width: 24px; height: 24px; background: var(--c-yellow); box-shadow: 0 0 20px rgba(255,209,56,.5); animation-delay: .6s; }
.hero-dot.d3 { top: 46%; right: 0%;  width: 16px; height: 16px; background: var(--c-green);  box-shadow: 0 0 16px rgba(78,216,112,.5); animation-delay: 1.8s; }

/* ---------- Trust / stats strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat .label { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- On your Mac (tabbed screenshots) ---------- */
.mac-gallery { max-width: 960px; margin-inline: auto; }
.mac-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}
.mac-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.mac-tab:hover { color: #fff; border-color: var(--border-strong); }
.mac-tab[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.08); border-color: var(--border-strong); }
.mac-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mac-panel { margin: 0; }
.mac-panel[hidden] { display: none; }
.mac-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  /* The window's own rounded corners (the JPEGs fill them with --bg). */
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: mac-fade .35s var(--ease);
}
.mac-panel figcaption {
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  margin: 18px auto 0;
  font-size: .98rem;
}
@keyframes mac-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mac-panel img { animation: none; } }

/* ---------- Showcase ---------- */
.showcase-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shot {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
    var(--bg-2);
  padding: 26px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.shot:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.shot .shot-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin-bottom: 18px;
}
.shot .shot-media img { max-height: 300px; width: auto; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,.45)); }
.shot.dark-media { background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.04), transparent), #050507; }
.shot h3 { margin-bottom: 6px; font-size: 1.15rem; }
.shot p  { margin: 0; font-size: .94rem; }
.platform-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.platform-tag {
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

/* ---------- "What is it" split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; display: flex; justify-content: center; }
.split-media img { border-radius: var(--radius-lg); }
.split-media.panel {
  border-radius: var(--radius-lg);
  padding: 30px;
  background: radial-gradient(130% 110% at 50% 0%, rgba(255,255,255,.05), transparent 65%), #050507;
  border: 1px solid var(--border);
}
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.check-list .ic {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--rainbow-soft);
  border: 1px solid var(--border);
}
.check-list .ic svg { width: 15px; height: 15px; }
.check-list strong { color: var(--text); font-weight: 600; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rainbow);
  opacity: .0;
  transition: opacity .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--rainbow-soft);
  border: 1px solid var(--border);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p  { margin: 0; font-size: .96rem; }

/* small accent colours for icons */
.fi-red    { color: var(--c-red); }
.fi-orange { color: var(--c-orange); }
.fi-yellow { color: var(--c-yellow); }
.fi-green  { color: var(--c-green); }
.fi-cyan   { color: var(--c-cyan); }
.fi-blue   { color: var(--c-blue); }
.fi-violet { color: var(--c-violet); }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.benefit .b-num {
  flex: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.benefit h3 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit p  { margin: 0; font-size: .94rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; padding: 24px; }
.step .step-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: #0b0b12;
  background: var(--rainbow);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}
.step h3 { font-size: 1.15rem; }
.step p  { font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) 28px;
  background: radial-gradient(120% 130% at 50% 0%, rgba(170,92,242,.22), transparent 60%), var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--rainbow);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* The promises between the CTA card and the footer */
.section-cta { padding-bottom: clamp(40px, 6vw, 72px); }
.cta-promises {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cta-promises li { display: flex; gap: 14px; align-items: flex-start; }
.cta-promises strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 3px; }
.cta-promises li > span:last-child { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.promise-ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: #fff;
}
.promise-ic svg { width: 19px; height: 19px; }
@media (max-width: 760px) {
  .cta-promises { grid-template-columns: 1fr; gap: 18px; max-width: 420px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.015));
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar p { margin: 0; font-size: .88rem; color: var(--muted-2); }
.footer-bar a { color: var(--muted); transition: color .2s var(--ease); }
.footer-bar a:hover { color: var(--text); }
.footer-rainbow { height: 4px; width: 100%; border-radius: 999px; background: var(--rainbow); opacity: .8; margin-bottom: 26px; }

/* ---------- Legal / article pages ---------- */
.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-head .updated { color: var(--muted-2); font-size: .9rem; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2.4em; font-size: 1.5rem; }
.prose h2:first-of-type { margin-top: .4em; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.toc h4 { font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; columns: 2; }
.toc a { color: var(--muted); font-size: .92rem; }
.toc a:hover { color: var(--c-cyan); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-aside .lead { margin-bottom: 26px; }
.contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--rainbow-soft); border: 1px solid var(--border);
}
.contact-points .ic svg { width: 20px; height: 20px; }
.contact-points strong { display: block; color: var(--text); margin-bottom: 2px; }
.contact-points span.sub { font-size: .92rem; color: var(--muted); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field .req { color: var(--c-red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6a6b6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(52,198,224,.18);
  background: #0b0b13;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-fine { font-size: .82rem; color: var(--muted-2); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Thank you ---------- */
.thanks-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.thanks-card { max-width: 620px; }
.thanks-badge {
  width: 96px; height: 96px;
  margin: 0 auto 30px;
  border-radius: 28px;
  display: grid; place-items: center;
  background: var(--rainbow);
  box-shadow: var(--shadow-lg);
  animation: pop .6s var(--ease) both;
}
.thanks-badge svg { width: 48px; height: 48px; color: #0b0b12; }
@keyframes pop {
  0% { transform: scale(.5) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .wordmark, .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 18px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 20px 26px;
    background: rgba(8,8,13,.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }

  .showcase-track { grid-template-columns: 1fr; }
  .feature-grid  { grid-template-columns: 1fr; }
  .benefit-grid  { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr; }
  .stat-strip    { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .field-row     { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .toc ul        { columns: 1; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
}

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