/* shaterian.com — one stylesheet for every page. Palette and type are the Lovable site's. */

/* Fonts, self-hosted (Google Fonts, SIL Open Font License). Hanken Grotesk and Geist Mono are variable. */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/spectral-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/spectral-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/spectral-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/spectral-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/spectral-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/spectral-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/spectral-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/spectral-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/spectral-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/spectral-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/spectral-500-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/spectral-500-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------------------
   Tokens — the palette of the Lovable site, unchanged.
   Paper sections are the default; .dark (a section, or a whole page's <body>)
   switches the same names to the ink palette.
--------------------------------------------------------------------------- */
:root {
  --paper: #f8f3f1;
  --paper-soft: #efe7e4;
  --ink: #241a1e;
  --ink-2: #2c2024;
  --surface: #36272d;
  --fg: #2a211f;
  --steel: #5c4f4a;
  --accent: #9b2d3a;
  --accent-2: #b23744;
  --accent-soft: #9b2d3a1a;
  --on-accent: #f8f3f1;
  --teal: #1f5e5b;
  --gold: #c9a24b;
  --line: #2a211f1a;
  --line-strong: #2a211f33;
  --bg: var(--paper);
  --bg-soft: var(--paper-soft);
  --gradient-accent: linear-gradient(180deg, #b23744 0%, #7c202b 100%);
  --halo-accent: radial-gradient(60% 50% at 50% 50%, #9b2d3a1a, transparent 70%);
  --shadow-cta: 0 1px 0 #ffd2d24d inset, 0 8px 24px -10px #500a1459;
  --shadow-cta-hover: 0 1px 0 #ffd2d266 inset, 0 12px 32px -10px #500a1466;
  --shadow-cta-sm: 0 1px 0 #ffd2d240 inset, 0 6px 18px -8px #500a144d;
  --shadow-panel: 0 1px 0 #ffe6e10d inset, 0 30px 80px -40px #000000b3;

  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: .625rem;
  --gutter: 24px;
}

.dark {
  --bg: var(--ink);
  --bg-soft: var(--ink-2);
  --fg: #f4ece8;
  --steel: #b8a8a2;
  --accent: #c24759;
  --accent-2: #d45a6c;
  --accent-soft: #c2475924;
  --on-accent: #f4ece8;
  --teal: #4fb7ae;
  --line: #f4ece81a;
  --line-strong: #f4ece82e;
  --gradient-accent: linear-gradient(180deg, #d45a6c 0%, #9b2d3a 100%);
  --halo-accent: radial-gradient(60% 50% at 50% 50%, #c247592e, transparent 70%);
  background-color: var(--ink);
  color: var(--fg);
}

/* ---------------------------------------------------------------------------
   Base
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent-soft); }
[id] { scroll-margin-top: 80px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.skip:focus { left: 8px; }
.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; }

/* ---------------------------------------------------------------------------
   Layout
--------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.w-5xl { max-width: 64rem; }
.wrap.w-4xl { max-width: 56rem; }
.wrap.w-3xl { max-width: 48rem; }
.measure { max-width: 48rem; }
.measure-xl { max-width: 36rem; }
.measure-2xl { max-width: 42rem; }

.section { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.section.soft { background: var(--bg-soft); }
.section > .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.section.tall > .wrap { padding-top: 80px; padding-bottom: 80px; }
.section.short > .wrap { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 768px) {
  .section > .wrap { padding-top: 80px; padding-bottom: 80px; }
  .section.tall > .wrap { padding-top: 112px; padding-bottom: 112px; }
  .section.short > .wrap { padding-top: 56px; padding-bottom: 56px; }
}
.center { text-align: center; }

/* Background textures */
.grid-bg::before, .grid-bg-fine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
}
.grid-bg-fine::before { background-size: 32px 32px; opacity: .3; }
.halo { position: absolute; pointer-events: none; background: var(--halo-accent); filter: blur(48px); opacity: .5; }

/* ---------------------------------------------------------------------------
   Type
--------------------------------------------------------------------------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; color: var(--fg); }
.display em, .display .it { font-style: italic; font-weight: 400; }
.h-hero { font-size: 52px; line-height: .98; }
.h-1 { font-size: 40px; line-height: 1.02; }
.h-2 { font-size: 32px; line-height: 1.05; }
.h-3 { font-size: 28px; line-height: 1.05; }
.h-4 { font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.h-5 { font-size: 22px; line-height: 1.1; letter-spacing: -.015em; }
@media (min-width: 768px) {
  .h-hero { font-size: 88px; }
  .h-1 { font-size: 64px; }
  .h-2 { font-size: 46px; }
  .h-2.lg { font-size: 48px; }
  .h-3 { font-size: 38px; }
  .h-4 { font-size: 34px; }
  .h-5 { font-size: 26px; }
}

.lede { font-size: 16px; line-height: 1.65; color: var(--steel); }
@media (min-width: 768px) { .lede { font-size: 17px; } }
.lede.big { font-size: 17px; }
@media (min-width: 768px) { .lede.big { font-size: 18px; } }
.text { font-size: 15.5px; line-height: 1.7; color: var(--steel); }
.small { font-size: 14px; line-height: 1.6; color: var(--steel); }
.tiny { font-size: 13px; line-height: 1.6; color: var(--steel); }
.fg { color: var(--fg); }
.steel { color: var(--steel); }
.accent { color: var(--accent); }
.teal { color: var(--teal); }

/* Mono labels */
.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.6; text-transform: uppercase; letter-spacing: .22em; color: var(--steel); }
.label.accent { color: var(--accent); }
.label.teal { color: var(--teal); }
.marginalia { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); flex: none; }
.dot.sm { width: 4px; height: 4px; opacity: .8; }
.dot.teal { background: var(--teal); }
.dot.line { background: var(--line-strong); }
.hairline { height: 1px; background: var(--line); flex: 1; }

.link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--accent); text-underline-offset: 4px; transition: color .15s; }
.link:hover { color: var(--accent-2); text-decoration: underline; }
.link.quiet { color: var(--steel); font-size: 13px; }
.link.quiet:hover { color: var(--fg); }
.link.lg { font-size: 15px; }

.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; } .mt-7 { margin-top: 28px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 6px; padding: 12px 24px; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font-size: 14.5px; font-weight: 500; line-height: 1.2;
  box-shadow: var(--shadow-cta); transition: background .15s, box-shadow .2s, transform .2s;
}
.btn:hover { background: var(--accent-2); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(2px); }
.btn.grad { background: var(--gradient-accent); font-weight: 600; padding: 12px 28px; }
.btn.grad:hover { box-shadow: var(--shadow-cta-hover); transform: translateY(-2px); }
.btn.pill { border-radius: 999px; padding: 8px 20px; font-size: 13px; box-shadow: none; }
.btn.ghost {
  background: color-mix(in oklab, var(--bg-soft) 70%, transparent); color: var(--fg);
  border: 1px solid var(--line-strong); box-shadow: none; padding: 12px 28px;
}
.btn.ghost:hover { background: var(--bg-soft); border-color: color-mix(in oklab, var(--accent) 60%, transparent); }
.btn.ghost .arrow { opacity: .6; }

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand .name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--fg); }
.site-nav { display: none; gap: 36px; font-size: 13.5px; color: var(--steel); }
.site-nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn.pill { display: none; }
@media (min-width: 640px) { .header-actions .btn.pill { display: inline-flex; } }
@media (min-width: 768px) { .site-nav { display: flex; } .menu { display: none; } }

/* Small-screen menu, no script: a <details> that opens a panel */
.menu summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 6px; color: var(--fg);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--bg-soft); }
.menu .bars, .menu .bars::before, .menu .bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu .bars::before { position: absolute; top: -5px; }
.menu .bars::after { position: absolute; top: 5px; }
.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .bars::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px; display: grid; gap: 2px;
}
.menu-panel a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg); }
.menu-panel .btn { margin-top: 14px; }

/* Bottom bar on phones (the Lovable site showed it once the hero scrolled away; here it is always there) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px; border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper) 95%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.mobile-cta .btn { width: 100%; height: 46px; box-shadow: var(--shadow-cta-sm); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { body.has-mobile-cta { padding-bottom: 72px; } }

/* ---------------------------------------------------------------------------
   App Store call to action: the button, and the line under it
--------------------------------------------------------------------------- */
.store-cta .btn { height: 48px; padding: 0 24px; white-space: nowrap; }
.store-cta .note { margin-top: 10px; font-size: 12.5px; color: color-mix(in oklab, var(--steel) 80%, transparent); }

/* ---------------------------------------------------------------------------
   Shared blocks
--------------------------------------------------------------------------- */
.grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid.c4 { grid-template-columns: repeat(4, 1fr); } }

.card { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in oklab, var(--bg-soft) 60%, transparent); padding: 24px; }
.card.on-paper { background: color-mix(in oklab, var(--paper) 70%, transparent); border-radius: 8px; padding: 20px; }
.dark .card.on-paper { background: color-mix(in oklab, var(--ink-2) 80%, transparent); }
.card .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.card .num.steel { font-size: 10.5px; letter-spacing: .22em; color: var(--steel); }
.card .title { margin-top: 12px; font-size: 17px; font-weight: 500; color: var(--fg); }
.card.on-paper .title { font-size: 15.5px; }
.card .body { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--steel); }
.card.on-paper .body { font-size: 13px; }

.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: color-mix(in oklab, var(--bg-soft) 70%, transparent); padding: 6px 14px; font-size: 13px; color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.quote { border-left: 2px solid color-mix(in oklab, var(--accent) 70%, transparent); padding-left: 20px; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--fg); }
@media (min-width: 768px) { .quote p { font-size: 22px; } }

/* Frequently asked: <details> list */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-size: 17px; line-height: 1.35; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--font-mono); color: var(--steel); transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--steel); max-width: 42rem; }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 24px; }
@media (min-width: 768px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } .site-footer .contact { align-items: flex-end; } }
.site-footer .contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer .contact a { font-size: 14px; color: var(--fg); transition: color .15s; }
.site-footer .contact a:hover { color: var(--accent); }

/* ---------------------------------------------------------------------------
   Home page
--------------------------------------------------------------------------- */
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.hero-shot { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; }

.founder-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.credentials { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em; line-height: 1.9; color: var(--steel); }
.portrait { border-radius: 2px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-soft); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.demo-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
@media (min-width: 768px) { .demo-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.demo-cue { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.demo-list { display: grid; gap: 10px; }
.demo-list details { border: 1px solid var(--line); border-radius: 8px; background: color-mix(in oklab, var(--paper) 70%, transparent); overflow: hidden; transition: border-color .15s; }
.demo-list details:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.demo-list summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; padding: 16px; font-family: var(--font-mono); }
.demo-list summary::-webkit-details-marker { display: none; }
.demo-list .n { font-size: 11px; color: var(--accent); margin-top: 3px; flex: none; }
.demo-list .q { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg); }
.demo-list .q .prompt { color: var(--accent); margin-right: 6px; }
.demo-list .chev { font-size: 11px; color: var(--steel); flex: none; transition: transform .2s; }
.demo-list details[open] .chev { transform: rotate(180deg); }
.demo-list .a { padding: 4px 16px 20px 44px; border-top: 1px solid color-mix(in oklab, var(--line) 60%, transparent); background: color-mix(in oklab, var(--paper) 40%, transparent); }
.demo-list .a p { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: color-mix(in oklab, var(--fg) 90%, transparent); }
.demo-list .sources { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.demo-list .src { font-family: var(--font-mono); font-size: 10px; color: var(--steel); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; background: var(--paper); }
.demo-list .tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; }
@media (min-width: 768px) {
  .demo-list summary { padding: 20px; }
  .demo-list .q { font-size: 14px; }
  .demo-list .a { padding: 4px 20px 20px 52px; }
  .demo-list .a p { font-size: 13.5px; }
}

.statement { font-family: var(--font-display); font-size: 26px; line-height: 1.18; letter-spacing: -.018em; color: color-mix(in oklab, var(--fg) 90%, transparent); }
.statement .lead { color: var(--fg); }
.statement em { font-style: italic; }
.statement-2 { display: flex; align-items: flex-start; gap: 20px; max-width: 48rem; }
.statement-2 .rule { margin-top: 18px; height: 1px; width: 48px; flex: none; background: var(--accent); }
.statement-2 p { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--fg); }
.statement-2 p .teal { font-style: normal; }
@media (min-width: 768px) { .statement { font-size: 40px; } .statement-2 p { font-size: 34px; } }

/* "How Shaterian works" panel on ink */
.system { position: relative; margin-top: 40px; }
@media (min-width: 768px) { .system { margin-top: 48px; } }
.system .glow { position: absolute; inset: -32px; border-radius: 2rem; background: var(--halo-accent); filter: blur(64px); opacity: .6; pointer-events: none; }
.system-panel { position: relative; border: 1px solid #f4ece81a; border-radius: 16px; background: color-mix(in oklab, var(--ink-2) 60%, transparent); box-shadow: var(--shadow-panel); }
.system-panel .corner { position: absolute; top: 12px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in oklab, var(--steel) 70%, transparent); display: flex; align-items: center; gap: 8px; }
.system-panel .corner.l { left: 12px; } .system-panel .corner.r { right: 12px; }
.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.system-body { margin-top: 32px; padding: 0 12px; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.step { scroll-snap-align: start; background: color-mix(in oklab, var(--ink-2) 80%, transparent); padding: 28px 20px; display: flex; flex-direction: column; }
.step .top { display: flex; justify-content: space-between; align-items: center; }
.step .k { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); }
.step .k.teal { color: var(--teal); }
.step .arrow { font-family: var(--font-mono); font-size: 12px; color: color-mix(in oklab, var(--steel) 60%, transparent); display: none; }
@media (min-width: 768px) { .step .arrow { display: inline; } }
.step h3 { margin-top: 16px; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -.015em; color: var(--fg); }
.step ul { margin-top: 16px; display: grid; gap: 8px; }
.step li { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: color-mix(in oklab, var(--fg) 80%, transparent); }
.step .down { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--steel); display: none; }
.system-foot { margin-top: 12px; padding: 0 4px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .22em; color: color-mix(in oklab, var(--steel) 65%, transparent); }
.system-foot .wide { display: none; }
.system-caption { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.system-caption p { font-size: 13px; font-style: italic; color: var(--steel); }
.system-caption .swipe { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em; color: color-mix(in oklab, var(--accent) 80%, transparent); }
@media (min-width: 768px) {
  .system .glow { inset: -64px; }
  .system-body { margin-top: 40px; padding: 0 16px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .step { padding: 36px 24px; }
  .step h3 { font-size: 26px; }
  .system-foot .wide { display: inline; }
  .system-caption { flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 32px 32px; }
  .system-caption p { font-size: 14px; }
  .system-caption .swipe { display: none; }
}
.shifts { margin-top: 16px; display: grid; gap: 10px; }
@media (min-width: 768px) { .shifts { grid-template-columns: repeat(3, 1fr); } }
.shift { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklab, var(--surface) 40%, transparent); padding: 10px 16px; }
.shift b { font-size: 13.5px; font-weight: 500; color: var(--fg); }
.shift span { font-size: 12.5px; color: var(--steel); }

.arc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 8px; font-size: 14px; color: color-mix(in oklab, var(--fg) 90%, transparent); }
.arc .stage { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.arc .to { color: var(--steel); margin: 0 6px; }
@media (min-width: 768px) { .arc { font-size: 15px; } }

.audience-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: 1fr 2fr; } }

.stores { margin-top: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .stores { flex-direction: row; } }
.store { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in oklab, var(--paper-soft) 70%, transparent); padding: 12px 20px; opacity: .7; text-align: left; }
.store svg { width: 24px; height: 24px; color: var(--steel); flex: none; }
.store .k { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--steel); }
.store .v { margin-top: 2px; font-size: 13px; font-weight: 500; color: color-mix(in oklab, var(--fg) 80%, transparent); }
.store.live { opacity: 1; transition: border-color .15s, background .15s; }
.store.live:hover { border-color: color-mix(in oklab, var(--accent) 50%, transparent); background: var(--paper-soft); }
.cta-row { margin-top: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } }
