:root {
  color-scheme: light;
  --canvas: #f2ede3;
  --surface: #fcfbf8;
  --surface-soft: #efe7da;
  --ink: #1b120b;
  --body: #5c5044;
  --muted: #8c7f72;
  --hairline: #e4dcd1;
  --border: #c7beb2;
  --accent: #7c2d25;
  --accent-pressed: #5a1f1a;
  --on-accent: #f5f2ed;
  --liked: #2f7a4d;
  --fine: #c98a2e;
  --error: #c1392b;
  --woods: #8a5a34;
  --amber: #c8912e;
  --gourmand: #b4562e;
  --green: #6a8a4a;
  --aquatic: #5e93a6;
  --musk: #b9a17f;
  --rail-width: min(1280px, calc(100% - 32px));
  font-family: "General Sans", "Hanken Grotesk", system-ui, sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-appearance="paper"]) {
    color-scheme: dark;
    --canvas: #171009;
    --surface: #211810;
    --surface-soft: #2a2016;
    --ink: #f2eadf;
    --body: #c9bca9;
    --muted: #8f8272;
    --hairline: #33281b;
    --border: #4a3e2e;
    --accent: #c9a57e;
    --accent-pressed: #b8926a;
    --on-accent: #171009;
    --liked: #4caf6f;
    --fine: #e0a23c;
    --error: #e0554a;
    --woods: #c49a6a;
    --amber: #e0b45a;
    --gourmand: #d98a5a;
    --green: #9bb87a;
    --aquatic: #82b6c8;
    --musk: #cdb79a;
  }
}

:root[data-appearance="ink"] {
  color-scheme: dark;
  --canvas: #171009;
  --surface: #211810;
  --surface-soft: #2a2016;
  --ink: #f2eadf;
  --body: #c9bca9;
  --muted: #8f8272;
  --hairline: #33281b;
  --border: #4a3e2e;
  --accent: #c9a57e;
  --accent-pressed: #b8926a;
  --on-accent: #171009;
  --liked: #4caf6f;
  --fine: #e0a23c;
  --error: #e0554a;
  --woods: #c49a6a;
  --amber: #e0b45a;
  --gourmand: #d98a5a;
  --green: #9bb87a;
  --aquatic: #82b6c8;
  --musk: #cdb79a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 0.22em; }
a:hover { color: var(--accent-pressed); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--on-accent); background: var(--accent); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(14px);
}
.site-header-inner,
.site-footer-inner,
.page-width {
  width: var(--rail-width);
  margin: 0 auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}
.site-header-inner,
.site-footer-inner {
  border-inline: 1px solid var(--hairline);
}
.site-header-inner {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  color: var(--ink);
  font: 600 23px/1 "Hanken Grotesk", sans-serif;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}
.primary-nav a,
.site-footer nav a {
  color: var(--body);
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 1.3px;
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a.active,
.site-footer nav a:hover { color: var(--accent); }
.theme-toggle {
  min-height: 34px;
  padding: 8px 14px;
  color: var(--body);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: 500 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 1.2px;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow,
.success-label {
  margin: 0;
  color: var(--accent);
  font: 500 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 2px;
}
h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-section,
.community-section,
.activity-ticker,
.diary-section,
.signature-section {
  width: var(--rail-width);
  margin-inline: auto;
  border-inline: 1px solid var(--hairline);
}
.hero-section { overflow: hidden; }
.hero-copy {
  width: 100%;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 86px) clamp(20px, 4.5vw, 56px) 0;
  text-align: center;
}
.hero-copy h1 {
  max-width: 840px;
  margin: 20px auto 0;
  font-size: clamp(46px, 5.3vw, 68px);
  line-height: 1.02;
}
.hero-lede,
.section-intro > p:last-child,
.section-copy > p:last-of-type {
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
.hero-lede { max-width: 48ch; margin: 18px auto 0; font-size: 17px; }
.waitlist-wrap { max-width: 520px; margin: 32px auto 0; text-align: left; scroll-margin-top: 96px; }
.form-row { display: flex; gap: 10px; }
.form-row input,
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.form-row input { min-width: 0; padding: 14px 18px; font-size: 15px; }
.form-row button,
.support-form button {
  flex: none;
  min-height: 48px;
  padding: 14px 30px;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  font-weight: 600;
}
.form-row button:hover,
.support-form button:hover { background: var(--accent-pressed); }
button:disabled { cursor: wait; opacity: 0.65; }
.consent-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.honeypot { position: absolute; left: -10000px; }
.cf-turnstile { min-height: 0; margin-top: 8px; }
.form-status { min-height: 19px; margin: 6px 0 0; color: var(--muted); font: 400 12px/1.5 "IBM Plex Mono", monospace; text-align: center; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--liked); }
.waitlist-success { padding: 10px 0; text-align: center; }
.success-title { margin: 8px 0 0; font: 550 26px/1.2 "Fraunces", Georgia, serif; }
.waitlist-success > p:last-child { margin: 8px 0 0; color: var(--body); font-size: 14px; line-height: 1.6; }

.hero-stage,
.community-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-stage { height: 475px; padding-top: 40px; overflow: hidden; }
.phone-shell {
  position: relative;
  width: 402px;
  height: 874px;
  flex: none;
  padding: 13px;
  overflow: hidden;
  background: #101013;
  border-radius: 61px;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 14%), 0 30px 60px rgb(0 0 0 / 25%);
}
.phone-screen { position: relative; height: 100%; overflow: hidden; color: var(--ink); background: var(--canvas); border-radius: 48px; }
.dynamic-island { position: absolute; top: 24px; left: 50%; z-index: 5; width: 126px; height: 37px; background: #000; border-radius: 24px; transform: translateX(-50%); }
.phone-status { position: absolute; top: 31px; left: 37px; right: 37px; z-index: 6; display: flex; justify-content: space-between; color: #111; font: 600 11px/1 system-ui; }
:root[data-appearance="ink"] .phone-status { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-appearance="paper"]) .phone-status { color: #fff; } }
.home-indicator { position: absolute; bottom: 21px; left: 50%; z-index: 6; width: 139px; height: 5px; background: rgb(0 0 0 / 28%); border-radius: 99px; transform: translateX(-50%); }
.comparison-screen { padding: 82px 20px 40px; }
.compare-context { display: flex; justify-content: center; gap: 8px; color: var(--muted); font: 400 10px/1 "IBM Plex Mono", monospace; letter-spacing: 1px; }
.compare-context strong { color: var(--liked); font-weight: 500; }
.compare-question { margin: 20px 0 0; text-align: center; font: 500 12px/1.4 "IBM Plex Mono", monospace; letter-spacing: 1.4px; }
.comparison-stack { position: relative; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.comparison-card { display: flex; align-items: center; gap: 18px; padding: 24px 22px; background: var(--surface); border: 2px solid var(--hairline); border-radius: 18px; }
.comparison-card.selected { border-color: var(--accent); }
.comparison-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.comparison-card small,
.feed-fragrance small { color: var(--muted); font: 400 9px/1 "IBM Plex Mono", monospace; letter-spacing: 0.8px; }
.comparison-card strong,
.feed-fragrance strong { font: 600 18px/1.2 "Hanken Grotesk", sans-serif; }
.bottle-art,
.bottle-tile { display: flex; align-items: center; justify-content: center; flex: none; background: var(--surface-soft); border-radius: 14px; }
.bottle-art { width: 76px; height: 76px; }
.bottle-art::before { content: ""; width: 8px; height: 5px; margin-right: -21px; margin-top: -52px; background: var(--ink); border-radius: 2px; }
.bottle-art i { width: 35px; height: 50px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%); }
.mini-bottle.amber-bottle,
.bottle-art.amber-bottle i { background: linear-gradient(to bottom, var(--amber), var(--gourmand)); }
.mini-bottle.woods-bottle,
.bottle-art.woods-bottle i { background: linear-gradient(to bottom, var(--woods), var(--musk)); }
.green-bottle { background: linear-gradient(to bottom, var(--green), var(--aquatic)); }
.aventus-bottle { background: linear-gradient(to bottom, var(--amber), var(--green)); }
.bleu-bottle { background: linear-gradient(to bottom, var(--woods), var(--amber)); }
.sauvage-bottle { background: linear-gradient(to bottom, var(--aquatic) 45%, var(--gourmand) 45%); }
.or-badge { position: absolute; top: 50%; left: 50%; display: grid; width: 46px; height: 46px; place-items: center; color: var(--on-accent); background: var(--accent); border: 5px solid var(--canvas); border-radius: 50%; font: 600 11px/1 "IBM Plex Mono", monospace; transform: translate(-50%, -50%); }
.compare-actions { position: absolute; right: 20px; bottom: 68px; left: 20px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 400 10px/1 "IBM Plex Mono", monospace; letter-spacing: 0.6px; }
.compare-actions b { padding: 8px 16px; color: var(--body); border: 1.5px solid var(--border); border-radius: 999px; font-size: 11px; font-weight: 500; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; box-shadow: 0 18px 40px rgb(0 0 0 / 14%); }
.floating-card > span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.floating-card strong { font: 600 14px/1.2 "Hanken Grotesk", sans-serif; }
.floating-card small { margin-top: 3px; color: var(--muted); font: 400 9px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.6px; }
.floating-card b { color: var(--liked); font: 600 15px/1 "IBM Plex Mono", monospace; }
.mini-bottle { display: block; width: 26px; height: 38px; flex: none !important; border-radius: 5px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%); }
.shelf-card { top: 132px; left: calc(50% - 452px); width: 262px; animation: float-left 6s ease-in-out infinite; }
.overlap-card { top: 250px; right: calc(50% - 452px); width: 250px; animation: float-right 5s ease-in-out 0.8s infinite; }
.avatar { display: block; width: 28px; height: 28px; flex: none !important; border-radius: 50%; }
.avatar-green { background: radial-gradient(circle at 38% 30%, hsl(160 32% 78%), hsl(160 50% 34%)); }
.avatar-violet { background: radial-gradient(circle at 38% 30%, hsl(260 32% 78%), hsl(260 50% 34%)); }
.avatar-pink { background: radial-gradient(circle at 38% 30%, hsl(340 32% 78%), hsl(340 45% 36%)); }
.avatar-moss { background: radial-gradient(circle at 38% 30%, hsl(80 32% 78%), hsl(80 40% 34%)); }
.avatar-blue { background: radial-gradient(circle at 38% 30%, hsl(200 32% 78%), hsl(200 50% 34%)); }
.avatar-warm { background: radial-gradient(circle at 38% 30%, hsl(28 32% 78%), hsl(28 50% 34%)); }

.feature-steps {
  width: 100%;
  margin: 0 auto;
  padding: 44px clamp(20px, 4.5vw, 56px) 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  scroll-margin-top: 64px;
}
.feature-steps article { padding: 20px 40px; text-align: center; }
.feature-steps p { margin: 0; color: var(--accent); font: 500 12px/1.3 "IBM Plex Mono", monospace; letter-spacing: 1.6px; }
.feature-steps span { display: block; margin-top: 12px; color: var(--body); font-size: 15px; line-height: 1.55; }

.community-section { overflow: hidden; }
.diary-section,
.signature-section { position: relative; border-top: 1px solid var(--hairline); }
.section-intro { width: min(1280px, 100%); margin: 0 auto; padding: clamp(56px, 7vw, 88px) clamp(20px, 4.5vw, 56px) 0; text-align: center; }
.section-intro h2,
.section-copy h2 { margin: 16px 0 0; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05; }
.section-intro > p:last-child { max-width: 46ch; margin: 16px auto 0; }
.community-grid {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
  padding-bottom: 72px;
}
.community-visual { position: relative; height: 520px; }
.community-phone-crop { height: 520px; overflow: hidden; display: flex; justify-content: center; }
.feed-phone { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 14%); }
.community-copy { padding: 80px 0; }
.community-copy h2 { margin: 16px 0 0; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05; }
.community-copy > p:last-child { max-width: 46ch; margin: 18px 0 0; color: var(--body); font-size: 16px; line-height: 1.6; }
.feed-screen { padding: 92px 20px 40px; }
.feed-header { display: flex; align-items: center; justify-content: space-between; }
.feed-header strong { font: 600 26px/1 "Hanken Grotesk", sans-serif; letter-spacing: -0.3px; }
.feed-header .avatar { width: 30px; height: 30px; }
.feed-scope { margin: 27px 0 10px; color: var(--accent); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: 1.4px; }
.feed-card { margin-top: 14px; padding: 20px; background: var(--surface); border-radius: 8px; }
.feed-person { display: flex; align-items: center; gap: 8px; }
.feed-person small { color: var(--muted); font: 400 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.8px; }
.feed-person small b { color: var(--accent); font-weight: 500; }
.feed-fragrance { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.feed-fragrance > .mini-bottle { width: 30px; height: 45px; }
.feed-fragrance > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.feed-fragrance > b { color: var(--liked); font: 600 15px/1 "IBM Plex Mono", monospace; }
.follow-card { right: -46px; bottom: 62px; width: 310px; padding: 17px 20px; animation: float-right 5s ease-in-out infinite; }
.follow-card .avatar { width: 44px; height: 44px; }
.follow-card strong { font-size: 16px; }
.follow-card > b { padding: 8px 18px; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; font-family: "General Sans", sans-serif; font-size: 13px; }
.status-icons { display: flex; align-items: center; gap: 6px; color: currentColor; }
.status-icons svg { display: block; width: 17px; height: 12px; overflow: visible; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill-rule: evenodd; }
.status-icons svg:first-child { width: 19px; stroke: none; }
.status-icons svg:nth-child(2) { fill: none; }
.status-icons svg:last-child { width: 27px; height: 13px; fill: none; stroke-width: 1; }
.status-icons .battery-fill,
.status-icons .battery-cap { fill: currentColor; stroke: none; }

.activity-ticker { position: relative; padding: 18px 0; border-top: 1px solid var(--hairline); }
.ticker-viewport { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker-set { display: flex; gap: 56px; padding-right: 56px; }
.ticker-set > span { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 400 12px/1 "IBM Plex Mono", monospace; letter-spacing: 1.2px; }
.ticker-set b { color: var(--body); font-weight: 400; }
.ticker-set strong { color: var(--liked); font-weight: 600; }
.ticker-set .avatar { width: 18px; height: 18px; }
.ticker-set .mini-bottle { width: 14px; height: 21px; border-radius: 3px; }

.content-grid,
.signature-grid {
  width: 100%;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4.5vw, 56px);
  display: grid;
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.content-grid { grid-template-columns: 1fr minmax(360px, 460px); }
.signature-grid { grid-template-columns: minmax(300px, 420px) 1fr; }
.section-copy > p:last-of-type { max-width: 44ch; margin: 18px 0 0; }
.diary-cards { display: flex; flex-direction: column; gap: 12px; }
.calendar-card,
.wear-card,
.wear-note { padding: 18px 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; }
.card-heading { display: flex; justify-content: space-between; font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: 1.3px; }
.card-heading span:last-child { color: var(--muted); font-weight: 400; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 16px; }
.calendar-days > span { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--body); font: 400 10px/1 "IBM Plex Mono", monospace; }
.calendar-days i,
.calendar-key i { width: 11px; height: 11px; border-radius: 50%; }
.amber-dot { background: var(--amber); }
.aquatic-dot { background: var(--aquatic); }
.green-dot { background: var(--green); }
.woods-dot { background: var(--woods); }
.empty-dot { border: 1.5px dashed var(--border); }
.calendar-key { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 17px; }
.calendar-key span { display: flex; align-items: center; gap: 6px; color: var(--body); font: 400 9px/1 "IBM Plex Mono", monospace; letter-spacing: 0.8px; }
.calendar-key i { width: 8px; height: 8px; }
.wear-card { display: flex; align-items: center; gap: 14px; }
.wear-date { display: flex; width: 28px; flex: none; flex-direction: column; align-items: center; }
.wear-date strong { font: 600 17px/1 "Hanken Grotesk", sans-serif; }
.wear-date small,
.wear-card > span:nth-child(3) small { color: var(--muted); font: 400 9px/1.3 "IBM Plex Mono", monospace; letter-spacing: 0.8px; }
.wear-card > span:nth-child(3) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.wear-card > span:nth-child(3) strong { font: 600 15px/1.2 "Hanken Grotesk", sans-serif; }
.wear-card > b { color: var(--liked); font: 600 14px/1 "IBM Plex Mono", monospace; }
.wear-note p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.5; }
.wear-note div,
.signature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.wear-note span,
.signature-tags span { padding: 6px 10px; color: var(--body); border: 1px solid var(--border); border-radius: 4px; font: 400 9px/1 "IBM Plex Mono", monospace; letter-spacing: 0.8px; }
.signature-tags { margin-top: 22px; }
.signature-tags span { padding: 8px 14px; color: var(--ink); border-radius: 6px; font-size: 11px; font-weight: 500; }
.signature-tags .avoids { color: var(--muted); border-style: dashed; font-weight: 400; }
.signature-radar { display: block; width: 100%; max-width: 420px; margin: 0 auto; overflow: visible; }
.radar-lines { fill: none; stroke: var(--hairline); stroke-width: 1; }
.radar-shape { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.radar-labels { fill: var(--muted); font: 400 8.5px/1 "IBM Plex Mono", monospace; letter-spacing: 1px; }

.final-cta { position: relative; width: var(--rail-width); margin-inline: auto; background: var(--ink); border-top: 1px solid var(--hairline); border-inline: 1px solid var(--hairline); }
.cta-inner { width: 100%; margin: 0 auto; padding: clamp(56px, 7vw, 72px) clamp(20px, 4.5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { margin: 0; color: var(--canvas); font-size: clamp(34px, 4vw, 42px); }
.cta-inner a { flex: none; padding: 14px 32px; color: var(--ink); background: var(--canvas); border-radius: 999px; font-weight: 600; text-decoration: none; }
.cta-inner a:hover { color: var(--ink); background: var(--surface); }

.site-footer { color: var(--ink); }
.site-footer-inner { position: relative; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--hairline); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer .wordmark,
.site-footer nav a,
.site-footer-inner > span { color: var(--ink); }
.site-footer-inner > span { font: 400 10px/1 "IBM Plex Mono", monospace; letter-spacing: 1px; }
.footer-wordmark { font-size: 18px; }

.activity-ticker::before,
.activity-ticker::after,
.diary-section::before,
.diary-section::after,
.signature-section::before,
.signature-section::after,
.final-cta::before,
.final-cta::after,
.site-footer-inner::before,
.site-footer-inner::after,
.site-header-inner::before,
.site-header-inner::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 13px;
  height: 13px;
  pointer-events: none;
  background:
    linear-gradient(var(--border), var(--border)) center / 1px 13px no-repeat,
    linear-gradient(var(--border), var(--border)) center / 13px 1px no-repeat,
    var(--canvas);
}
.activity-ticker::before,
.diary-section::before,
.signature-section::before,
.final-cta::before,
.site-footer-inner::before { top: -7px; left: -7px; }
.activity-ticker::after,
.diary-section::after,
.signature-section::after,
.final-cta::after,
.site-footer-inner::after { top: -7px; right: -7px; }
.site-header-inner::before { bottom: -7px; left: -7px; }
.site-header-inner::after { right: -7px; bottom: -7px; }
.final-cta::before,
.final-cta::after {
  background:
    linear-gradient(to bottom, var(--border) 0 50%, var(--canvas) 50% 100%) center / 1px 13px no-repeat,
    linear-gradient(var(--border), var(--border)) center / 13px 1px no-repeat;
}
.site-footer-inner::before,
.site-footer-inner::after {
  background:
    linear-gradient(to bottom, var(--canvas) 0 50%, var(--border) 50% 100%) center / 1px 13px no-repeat,
    linear-gradient(var(--border), var(--border)) center / 13px 1px no-repeat;
}

.support-hero .page-width,
.support-contact .page-width,
.faq-section .page-width {
  position: relative;
  border-inline: 1px solid var(--hairline);
}
.support-hero .page-width { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--hairline); }
.support-hero h1,
.legal h1 { margin: 0; font-size: clamp(42px, 5vw, 58px); line-height: 1.04; }
.support-hero p { max-width: 52ch; margin: 18px 0 0; color: var(--body); font-size: 17px; line-height: 1.6; }
.support-contact .page-width { padding-block: clamp(42px, 5vw, 66px); border-bottom: 1px solid var(--hairline); }
.support-form { max-width: 660px; }
.support-sheet-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 460px); gap: clamp(42px, 5vw, 72px); align-items: start; }
.support-trace-panel { min-width: 0; }
.routing-sheet { position: relative; padding: 6px 10px 12px; }
.trace-sheet {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 3px;
}
.trace-sheet { inset: 6px 10px 12px; background: color-mix(in srgb, var(--surface) 86%, transparent); }
.trace-sheet-back { transform: rotate(-3deg) translate(-10px, 7px); opacity: 0.46; }
.trace-sheet-mid { transform: rotate(2deg) translate(9px, -2px); opacity: 0.68; }
.trace-sheet-front {
  position: relative;
  inset: auto;
  min-height: 485px;
  padding: 30px 28px 24px 44px;
  background:
    linear-gradient(to right, transparent 31px, color-mix(in srgb, var(--accent) 28%, transparent) 32px, transparent 33px),
    repeating-linear-gradient(to bottom, transparent 0 27px, color-mix(in srgb, var(--border) 45%, transparent) 28px),
    color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 22px 48px rgb(30 18 10 / 10%);
}
.trace-sheet-front::before,
.trace-sheet-front::after {
  content: "+";
  position: absolute;
  color: var(--muted);
  font: 400 18px/1 "IBM Plex Mono", monospace;
}
.trace-sheet-front::before { top: 10px; left: 12px; }
.trace-sheet-front::after { right: 12px; bottom: 8px; }
.prototype-kicker { margin: 0; color: var(--accent); font: 500 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: 1.7px; }
.trace-sheet h2 { margin: 14px 0 0; font: 520 34px/1.04 "Fraunces", serif; letter-spacing: -0.02em; }
.sheet-intro { max-width: 35ch; margin: 12px 0 0; color: var(--body); font-size: 14px; line-height: 1.55; }
.route-list { margin-top: 28px; }
.route-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 9px 0; }
.route-list > div > span { color: var(--muted); font: 500 10px/1 "IBM Plex Mono", monospace; }
.route-list p { margin: 0; }
.route-list strong { display: block; font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: 1.1px; }
.route-list small { display: block; margin-top: 5px; color: var(--body); font-size: 13px; line-height: 1.4; }
.routing-line { margin-top: 16px; color: var(--accent); font: 500 11px/1 "IBM Plex Mono", monospace; }
.routing-line i { display: none; }
.sheet-footnote { margin: 18px 0 0; color: var(--muted); font: 400 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: 0.5px; }
.worksheet-details { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.worksheet-details span { padding: 5px 8px; color: var(--muted); border: 1px solid var(--border); border-radius: 3px; font: 400 8px/1 "IBM Plex Mono", monospace; letter-spacing: 0.7px; }
.support-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-form > label,
.support-fields label { display: block; color: var(--muted); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: 1.4px; }
.support-form input,
.support-form select,
.support-form textarea { display: block; margin-top: 10px; padding: 14px 18px; font-family: "General Sans", sans-serif; font-size: 15px; }
.support-form > label { margin-top: 18px; }
.support-form textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.support-submit { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.support-submit p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.support-form .form-status { text-align: left; }
.faq-section .page-width { padding-block: 16px clamp(44px, 6vw, 70px); }
.faq-row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.faq-row:last-child { border-bottom: 0; }
.faq-row > span { color: var(--muted); font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: 1.6px; }
.faq-row h2 { margin: 0; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; }
.faq-row p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }

.support-hero .page-width::before,
.support-hero .page-width::after,
.support-contact .page-width::before,
.support-contact .page-width::after {
  content: "";
  position: absolute;
  bottom: -7px;
  z-index: 4;
  width: 13px;
  height: 13px;
  pointer-events: none;
  background:
    linear-gradient(var(--border), var(--border)) center / 1px 13px no-repeat,
    linear-gradient(var(--border), var(--border)) center / 13px 1px no-repeat,
    var(--canvas);
}
.support-hero .page-width::before,
.support-contact .page-width::before { left: -7px; }
.support-hero .page-width::after,
.support-contact .page-width::after { right: -7px; }

.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0 120px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h2 { margin-top: 48px; font-family: "Hanken Grotesk", sans-serif; font-size: 22px; letter-spacing: -0.02em; }
.legal p,
.legal li { color: var(--body); line-height: 1.75; }
.legal li + li { margin-top: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.text-link { font-weight: 600; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float-left { 50% { transform: rotate(-2deg) translateY(-8px); } }
@keyframes float-right { 50% { transform: rotate(2.5deg) translateY(-12px); } }

@media (max-width: 980px) {
  .hero-stage { height: 420px; }
  .phone-shell { transform: scale(0.78); transform-origin: top center; }
  .floating-card { display: none; }
  .feature-steps { grid-template-columns: 1fr; }
  .feature-steps article { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 20px 0; text-align: left; }
  .feature-steps span { margin-top: 0; }
  .community-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .community-copy { order: -1; padding: 0; text-align: center; }
  .community-copy > p:last-child { margin-inline: auto; }
  .community-visual { height: 455px; }
  .community-phone-crop { height: 455px; }
  .content-grid,
  .signature-grid { grid-template-columns: 1fr; }
  .signature-grid .radar-wrap { order: 2; }
  .signature-grid .section-copy { order: 1; }
  .cta-inner { flex-direction: column; text-align: center; }
  .faq-row { grid-template-columns: 48px 1fr; }
  .faq-row p { grid-column: 2; }
  .support-sheet-layout { grid-template-columns: 1fr; }
  .support-trace-panel { margin-top: 18px; }
  .trace-sheet-front { min-height: 0; }
}

@media (max-width: 680px) {
  .primary-nav a:first-child { display: none; }
  .hero-copy { padding-top: 52px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 56px); }
  .form-row { flex-direction: column; }
  .form-row button { width: 100%; }
  .hero-stage { height: 365px; padding-top: 30px; }
  .phone-shell { transform: scale(0.64); }
  .feature-steps article { grid-template-columns: 58px 1fr; }
  .ticker-set { gap: 38px; padding-right: 38px; }
  .content-grid,
  .signature-grid { padding-block: 60px; }
  .support-fields { grid-template-columns: 1fr; }
  .support-submit { align-items: stretch; flex-direction: column; }
  .support-form button { width: 100%; }
  .site-footer-inner { padding-block: 24px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track,
  .floating-card { animation: none; }
}
