/* ==========================================================================
   I2P HOUSE — landing styles
   Premium editorial feel. Light / dark / system theming, WCAG-AA-ish tokens,
   prefers-reduced-motion respected, focus-visible rings everywhere.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #faf6f0;
  --bg-2: #f2ebe0;
  --surface: #ffffff;
  --surface-2: #f6f1e9;
  --ink: #1b1511;
  --ink-2: #5c5249;
  --ink-3: #85796d;
  --line: rgba(27, 21, 17, 0.13);
  --line-strong: rgba(27, 21, 17, 0.28);

  --accent: #c23a1d;          /* ember */
  --accent-ink: #ffffff;      /* text on accent in light */
  --accent-soft: rgba(194, 58, 29, 0.09);
  --accent-glow: rgba(194, 58, 29, 0.22);

  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  --btn-ghost-bg: transparent;
  --btn-ghost-fg: var(--ink);
  --shadow: 0 1px 2px rgba(27,21,17,.06), 0 14px 40px -18px rgba(27,21,17,.28);
  --hairline: rgba(27, 21, 17, 0.4);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14110f;
  --bg-2: #1b1715;
  --surface: #201b18;
  --surface-2: #262019;
  --ink: #f6efe7;
  --ink-2: #bfb2a6;
  --ink-3: #95887b;
  --line: rgba(246, 239, 231, 0.13);
  --line-strong: rgba(246, 239, 231, 0.3);

  --accent: #ff7043;          /* brighter ember for dark */
  --accent-ink: #1f1008;      /* dark text on accent for contrast in dark */
  --accent-soft: rgba(255, 112, 67, 0.16);
  --accent-glow: rgba(255, 112, 67, 0.3);

  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -18px rgba(0,0,0,.65);
  --hairline: rgba(246, 239, 231, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2.5rem); }

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

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.45rem;
  border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease,
              background-color .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px var(--accent-glow); }

.btn-ghost { background: var(--btn-ghost-bg); color: var(--btn-ghost-fg); border-color: var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

.btn-light { background: #fff; color: #1b1511; }
html[data-theme="dark"] .btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { transform: translateY(-2px); }

.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: .85rem;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand-mark { color: var(--accent); font-size: 1.3rem; line-height: 1; }
.brand-name { font-size: 1.12rem; }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  padding-block: .35rem; transition: color .18s ease;
}
.site-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.theme-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
}
.theme-btn {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 999px;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.theme-btn:hover { color: var(--ink); }
.theme-btn.is-active { background: var(--accent); color: var(--accent-ink); }
.theme-btn.is-active:hover { color: var(--accent-ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }

.mobile-menu { display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: .5rem 1rem 1.25rem; border-top: 1px solid var(--line); }
.mobile-menu li { padding-block: .35rem; }
.mobile-menu a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.mobile-menu .btn { width: 100%; margin-top: .75rem; }

@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-block; margin-inline-start: auto; }
  .header-actions { gap: .5rem; }
  .mobile-menu.is-open { display: block; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* ---------- Eyebrow / section titles ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--accent); margin: 0 0 .9rem;
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section:nth-of-type(even) .section { background: none; }
.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .4em; }
.section-sub { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; }
.section-sub a { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: clamp(1.06rem, 1.6vw, 1.24rem); color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.4rem 0 1rem; }
.hero-note { color: var(--ink-3); font-size: .95rem; }

/* Before / after */
.ba { position: relative; user-select: none; }
.ba-track { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ba-art { position: absolute; inset: 0; overflow: hidden; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); z-index: 2; }
.ba-after { position: absolute; inset: 0; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 3;
  width: 2px; background: rgba(255,255,255,.9); transform: translateX(-1px);
  pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35);
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: #1b1511; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.3);
  font-size: 1.1rem; letter-spacing: -1px;
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: none;
}
.ba:focus-within .ba-handle { outline: 2px solid var(--accent); outline-offset: 2px; }
.ba-caption { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-top: .6rem; letter-spacing: .02em; }
.hero-visual-note { margin-top: .35rem; font-size: .78rem; color: var(--ink-3); text-align: center; }

/* Concept placeholder art (REPLACE with real assets) */
.ph-bed { position: absolute; inset: 0; background: linear-gradient(160deg, #d8cfc2 0%, #c4b7a4 60%, #b3a38e 100%); }
.ba-art.raw::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.18), transparent 60%); }
.ph-cam { position: absolute; top: 12px; left: 12px; font-family: ui-monospace, monospace; font-size: .68rem; color: #e24a2a; background: rgba(0,0,0,.25); padding: .2rem .45rem; border-radius: 5px; }
.ph-garment { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 52%; height: 58%; border-radius: 34% 34% 26% 26% / 46% 46% 54% 54%; }
.ba-art.raw .ph-garment { background: linear-gradient(180deg, #2c2823, #1d1a17); }
.poster { background: linear-gradient(165deg, #171310, #2a1f18); }
.poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 78% 8%, rgba(255,112,67,.28), transparent 55%); }
.ph-swatch { position: absolute; width: 34%; height: 44%; border-radius: 16px; top: 7%; left: 8%; background: linear-gradient(160deg, #c23a1d, #7d2410); transform: rotate(-8deg); box-shadow: 0 18px 30px -14px rgba(0,0,0,.5); }
.ph-swatch--2 { left: auto; right: 6%; top: 16%; width: 20%; height: 26%; background: linear-gradient(160deg, #e9ddd0, #cfbfac); transform: rotate(6deg); }
.poster .ph-garment { background: linear-gradient(180deg, #3a322a, #221c16); top: 56%; height: 40%; border-radius: 30% 30% 22% 22% / 40% 40% 60% 60%; }
.ph-wordmark { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); color: #f6efe7; font-weight: 800; letter-spacing: .3em; font-size: clamp(.7rem, 2vw, 1rem); text-transform: uppercase; }
.ph-kicker { position: absolute; top: 8%; right: 8%; color: rgba(246,239,231,.72); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Problem ---------- */
.problem { background: var(--bg-2); }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.problem-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.8rem 1.6rem; position: relative; box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.problem-card:hover { transform: translateY(-4px); }
.problem-num { font-family: var(--fb, inherit); font-size: .82rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.problem-card h3 { font-size: 1.42rem; margin: .4rem 0 .5rem; }
.problem-card p { color: var(--ink-2); margin: 0; }

/* ---------- How ---------- */
.steps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; border-top: 2px solid var(--line-strong); padding-top: 1.6rem; }
.step-index { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem; color: var(--accent); font-weight: 700; }
.step h3 { font-size: 1.6rem; margin: .4rem 0 .4rem; }
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Outputs ---------- */
.outputs { background: var(--bg-2); }
.grid.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.output-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.4rem; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.output-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.output-icon { font-size: 1.4rem; color: var(--accent); }
.output-card h3 { font-size: 1.15rem; margin: .6rem 0 .35rem; }
.output-card p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* ---------- Proof ---------- */
.proof-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.proof-copy p { color: var(--ink-2); }
.proof-copy p strong { color: var(--ink); }
.proof-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.proof-list li { padding: .5rem 0 .5rem 1.7rem; position: relative; color: var(--ink-2); }
.proof-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.founder-card { margin: 0; }
.founder-frame { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: linear-gradient(165deg, #2a2019, #171310); box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder-frame .ph-swatch { width: 46%; height: 52%; }
.founder-frame .ph-garment { width: 56%; height: 44%; background: linear-gradient(180deg, #3a322a, #221c16); top: 58%; }
.founder-card figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }
.tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; padding: .15rem .5rem; border: 1px solid var(--line-strong); border-radius: 999px; margin-inline-start: .4rem; color: var(--ink-3); }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow); position: relative;
}
.price-card--featured { border: 1.5px solid var(--accent); }
.price-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .8rem; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.price { font-size: 2.9rem; font-weight: 800; margin: .1rem 0 .2rem; font-family: "Iowan Old Style", Georgia, serif; }
.price .currency { font-size: 1.5rem; vertical-align: .4em; }
.price .per { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.price-for { color: var(--ink-2); font-size: .96rem; min-height: 3em; }
.price-card ul { list-style: none; padding: 0; margin: .8rem 0 1.4rem; flex: 1; }
.price-card li { padding: .42rem 0 .42rem 1.6rem; position: relative; font-size: .96rem; color: var(--ink-2); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-card .btn { margin-top: auto; }
.price-note { font-size: .84rem; color: var(--ink-3); margin: .8rem 0 0; text-align: center; }

.api-banner, .dfy-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 1.4rem; padding: 1.7rem 2rem; border-radius: 18px;
}
.api-banner { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] .api-banner { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.api-banner h3, .dfy-banner h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.api-banner p, .dfy-banner p { margin: 0; color: inherit; opacity: .86; }
.dfy-banner { background: var(--accent-soft); border: 1px solid var(--accent); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 1.6rem; }
.faq-list details {
  border-bottom: 1px solid var(--line); padding: 1.1rem 0;
}
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: 1.08rem; font-family: "Iowan Old Style", Palatino, Georgia, serif;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); margin: .7rem 0 0; max-width: 70ch; }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--bg-2); }
.waitlist-form { margin-top: 2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .error-msg { color: #d33426; font-size: .84rem; margin-top: .3rem; display: none; }
html[data-theme="dark"] .field .error-msg { color: #ff8a75; }
.form-status { margin-top: 1rem; font-weight: 600; color: var(--accent); min-height: 1.4em; }
.form-status.is-error { color: #d33426; }
html[data-theme="dark"] .form-status.is-error { color: #ff8a75; }
.waitlist-alt { text-align: center; color: var(--ink-3); font-size: .95rem; }
.waitlist-alt a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 2.6rem; }
.footer-inner { text-align: center; }
.footer-brand { font-weight: 800; letter-spacing: .05em; }
.footer-brand span { color: var(--accent); }
.footer-line { color: var(--ink-2); font-size: .95rem; }
.footer-legal { color: var(--ink-3); font-size: .82rem; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner, .proof-inner { grid-template-columns: 1fr; }
  .split, .steps, .grid.six { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card--featured { order: -1; }
}
@media (max-width: 560px) {
  .split, .steps, .grid.six, .field-row { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   ELEVATION (2026 direction: editorial utility — grain, oversized type,
   kinetic texture, micro-detail) — added as a layered skin, keeps the
   semantic/accessible structure intact.
   ========================================================================== */

/* Film-grain overlay (very subtle; purely decorative) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 2; }

/* Brand lockup: product over parent */
.brand-lock { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: .03em; }
.brand-parent {
  font-size: .58rem; font-weight: 800; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent);
}

/* Editorial ticker */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--surface); padding: .6rem 0; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem;
  animation: marq 30s linear infinite; will-change: transform;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee span {
  font-size: clamp(.9rem, 1.6vw, 1.1rem); font-weight: 700; letter-spacing: .04em;
  color: var(--ink-2); text-transform: uppercase;
}
.marq-dot { color: var(--accent); font-style: normal; font-size: 1.05rem; }

/* Oversized editorial display + tighter tracking in the hero */
.hero-copy h1 { letter-spacing: -.025em; }
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem; letter-spacing: .24em;
}

/* Index numerals + hover lift for output cards (micro-interaction) */
.problem-num, .step-index { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.output-card, .problem-card, .step { transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.output-card:hover, .problem-card:hover { transform: translateY(-4px); }
.btn { letter-spacing: .02em; }

/* Buttons: sharper editorial corner instead of fully round pill */
.btn { border-radius: 14px; }

/* Respect reduced motion for the ticker + grain */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  body::before { opacity: .02; }
}

/* ==========================================================================
   I2P HOUSE MASTER DECK STYLE — matches the CUTLINE Master Pitch Deck exactly
   (near-black ground, off-white ink, monochrome accent — no color pop,
   serif display type, flat cards, thin hairline borders). Dark is the
   primary identity, matching the deck (which has no light mode at all);
   light is offered as an accessible alternative using the same
   monochrome-only philosophy, inverted.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Space+Mono:ital,wght@0,400;0,700&family=Noto+Sans+JP:wght@300;500;700&display=swap');

:root, html[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #141414;
  --surface: #141414;        /* deck's --panel */
  --surface-2: #1B1B1B;      /* deck's --panel2 */
  --ink: #F5F5F5;
  --ink-2: #C2C2C2;          /* deck's --mut */
  --ink-3: #8A8A8A;          /* deck's --dim */
  --line: rgba(245, 245, 245, .13);
  --line-strong: rgba(245, 245, 245, .28);

  --accent: #FFFFFF;         /* monochrome — no color accent, matches the deck */
  --accent-ink: #0A0A0A;
  --accent-soft: rgba(255, 255, 255, .08);
  --accent-glow: rgba(255, 255, 255, .16);
  --accent-2: #C9C9C9;

  --btn-bg: #FFFFFF;
  --btn-fg: #0A0A0A;
  --btn-ghost-bg: transparent;
  --btn-ghost-fg: var(--ink);
  --shadow: none;
  --hairline: rgba(245, 245, 245, .5);
  color-scheme: dark;
}

html[data-theme="light"] {
  /* Same monochrome-only rule, inverted — never a color accent in either mode. */
  --bg: #FFFFFF;
  --bg-2: #F2F2F0;
  --surface: #FFFFFF;
  --surface-2: #F6F6F4;
  --ink: #0A0A0A;
  --ink-2: #444444;
  --ink-3: #777777;
  --line: rgba(10, 10, 10, .13);
  --line-strong: rgba(10, 10, 10, .28);

  --accent: #0A0A0A;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(10, 10, 10, .06);
  --accent-glow: rgba(10, 10, 10, .14);
  --accent-2: #444444;

  --btn-bg: #0A0A0A;
  --btn-fg: #FFFFFF;
  --shadow: none;
  --hairline: rgba(10, 10, 10, .5);
  color-scheme: light;
}

/* Type: matches the CUTLINE Master Deck exactly — system sans body,
   serif display headings, sentence case (the deck never goes all-caps
   in running headlines). */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}
h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -.01em;
}
.section-title, .hero-copy h1 { font-weight: 700; }
.eyebrow {
  font-family: 'Space Mono', ui-monospace, Menlo, monospace;
  font-weight: 500; letter-spacing: .22em;
}
/* Mono technical data labels */
.mono, .brand-parent, .look-form .num, .sd-card .num, .look-out .num, .form-note {
  font-family: 'Space Mono', ui-monospace, Menlo, monospace;
}

/* Flat precision: zero radius + sharp 1.5px borders on brand surfaces/controls */
.btn, .price-card, .card, .output-card, .api-banner, .dfy-banner,
.look-shell, .look-idle, .look-result, .dropzone, .sd-card, .founder-card,
.chip, .intent span, .problem-card, .step, .brand-mark {
  border-radius: 0;
}
.btn {
  border-radius: 0;
  text-transform: uppercase; letter-spacing: .08em;
  border-width: 1.5px;
}
.btn-primary { box-shadow: none; }
.btn-ghost { border-color: var(--line-strong); }
.intent span, .chip { border-radius: 0; }

/* Brand lockup — element tile + wordmark */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.tile {
  display: inline-flex; flex-direction: column; justify-content: space-between;
  width: 46px; height: 46px; padding: 5px 6px;
  background: var(--accent-2); color: #fff; line-height: 1;
}
html[data-theme="dark"] .tile { background: var(--accent-2); color: #0A0A0A; }
.tile .tile-num { font: 700 8px/1 'Space Mono', monospace; letter-spacing: .06em; }
.tile .tile-sym { font: 700 17px/1 'Space Grotesk', sans-serif; letter-spacing: -.01em; }
.tile .tile-date { font: 300 8px/1 'Space Mono', monospace; letter-spacing: .06em; }
.brand-name { font: 700 1.25rem/1 'Space Grotesk', sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.brand-parent { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* Japanese 80s reference layer — vertical kana + seal */
.tategaki {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .3em; line-height: 1.4;
  color: var(--ink-3); text-transform: none;
}
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: #C13322; color: #FFF4EC;
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.55rem; line-height: 1; letter-spacing: .05em;
  border: 1.5px solid #A92A1B;
}
.seal small { display: block; font: 700 7px/1 'Space Mono', monospace; letter-spacing: .18em; margin-top: 5px; color: #FFF0E6; }
.seal-line { font-family: 'Space Mono', monospace; font-size: .62rem; letter-spacing: .2em; color: var(--ink-3); }

/* Hero tategumi rail */
.tate-rail { display: flex; flex-direction: row; gap: .4rem; align-items: stretch; }

/* Proof chips sharp already handled; remove grain shadow feel is fine */


/* ==========================================================================
   YKT·CDW HOUSE STYLE — FINAL FORCE (runs last; keeps the system flat + sharp
   even where later component styles set radii/shadows)
   ========================================================================== */
.dropzone, .look-shell, .look-idle, .look-result, .chip, .intent span,
.sd-card, .problem-card, .output-card, .founder-frame, .ba-track, .api-banner,
.dfy-banner, .price-card, .theme-switch, .theme-btn, .tag, .field input,
.field textarea, .skip-link {
  border-radius: 0 !important;
}
.sd-card, .problem-card, .output-card, .price-card, .founder-card,
.look-shell, .api-banner, .dfy-banner {
  box-shadow: none !important;
}
.look-garment { font: 700 1.2rem/1.3 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.look-garment, .price, .faq-list summary { font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.seal { font-size: 1.15rem; flex-direction: column; text-align: center; }
.hero-meta { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 1.1rem; }
.hero-meta .tategaki { min-height: 3.2rem; }
.tile .tile-sym { font-size: 18px; }





