/* getsilueta.com. Warm and calm rather than technical: cream paper, the app's
   own teal (AppTheme.seed #00696D), a coral accent, serif headlines.
   No web fonts, no scripts: system font stacks only (see deploy/nginx/headers.conf). */

:root {
  --bg: #FBF7F1;
  --bg-soft: #F3ECE1;
  --surface: #FFFFFF;
  --ink: #1D2A2B;
  --ink-2: #55625F;
  --ink-3: #87918D;
  --line: #E9E0D3;
  --teal: #00696D;
  --teal-soft: #DDEEEB;
  --coral: #E8775B;
  --coral-ink: #A9432B;
  --coral-soft: #FCE7DE;
  --btn-bg: #00696D;
  --btn-ink: #FFFFFF;
  --band: #00565A;
  --band-ink: #FFF4E6;
  --band-ink-2: #CBE3E0;
  --art-view: #BFDFDB;
  --shadow: 0 1px 2px rgba(29, 42, 43, .04), 0 16px 36px -16px rgba(29, 42, 43, .18);
  --radius: 20px;
  --radius-lg: 32px;
  --nav-h: 72px;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1B1C;
    --bg-soft: #132324;
    --surface: #182B2C;
    --ink: #EEF3EF;
    --ink-2: #B4C2BE;
    --ink-3: #7E8E8A;
    --line: #27403F;
    --teal: #7DD1CC;
    --teal-soft: #173B3C;
    --coral: #F2977E;
    --coral-ink: #F7B8A5;
    --coral-soft: #3B2720;
    --btn-bg: #7DD1CC;
    --btn-ink: #0F1B1C;
    --band: #0B4144;
    --band-ink: #FFF4E6;
    --band-ink-2: #B9D6D2;
    --art-view: #1F4B4C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -16px rgba(0, 0, 0, .7);
  }
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

h1, h2, .brand-name { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
.kicker { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--teal); }
.btn-light { background: var(--band-ink); color: #00474B; }

/* Stores: the app is not published yet, so these are labels, not links. */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.store svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }
.store small { display: block; font-size: 12px; line-height: 1.2; color: var(--ink-3); }
.store b { display: block; font-size: 16px; line-height: 1.25; font-weight: 650; }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-size: 25px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface);
}
.lang:hover { border-color: var(--teal); color: var(--ink); }

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 88px;
  background:
    radial-gradient(46% 60% at 100% 0%, var(--teal-soft), transparent 72%),
    radial-gradient(34% 44% at 0% 100%, var(--coral-soft), transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral-ink); font-size: 14px; font-weight: 650;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(42px, 5.8vw, 70px); line-height: 1.04; margin-top: 22px; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero-art { width: 100%; max-width: 520px; margin-inline: auto; }

/* Hero illustration (inline SVG): a phone with the ghost camera, two readings. */
.art-blob { fill: var(--teal-soft); }
.art-dot { fill: var(--coral-soft); }
.art-tape { fill: none; stroke: var(--coral-soft); stroke-width: 26; stroke-linecap: round; }
.art-tape-ticks { fill: none; stroke: var(--coral); stroke-width: 9; stroke-dasharray: 1.8 9.6; opacity: .75; }
.art-phone { filter: drop-shadow(0 24px 30px rgba(29, 42, 43, .16)); }
.art-phone-body { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art-view { fill: var(--art-view); }
.art-corner { fill: none; stroke: var(--surface); stroke-width: 4; stroke-linecap: round; }
.art-figure { fill: var(--teal); }
.art-ghost { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 5 7; stroke-linecap: round; }
.art-track { fill: var(--line); }
.art-track-fill { fill: var(--teal); }
.art-knob { fill: var(--surface); stroke: var(--teal); stroke-width: 3; }
.art-chip { filter: drop-shadow(0 12px 18px rgba(29, 42, 43, .14)); }
.art-chip rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art-label { font: 600 14px var(--sans); fill: var(--ink-2); }
.art-value { font: 700 25px var(--sans); fill: var(--ink); letter-spacing: -.02em; }
.art-delta { font: 700 13.5px var(--sans); }
.art-teal { fill: var(--teal); }
.art-coral { fill: var(--coral-ink); }
.art-spark { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-spark.art-teal { stroke: var(--teal); fill: none; }
.art-spark.art-coral { stroke: var(--coral); fill: none; }

/* ---- Sections -------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2, .band h2, .faq-intro h2 { font-size: clamp(31px, 3.8vw, 46px); line-height: 1.1; margin-top: 12px; }
.section-head p:not(.kicker) { color: var(--ink-2); font-size: 18.5px; margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
}
.card:nth-child(3n + 2) .icon { background: var(--coral-soft); color: var(--coral-ink); }
.card .icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18.5px; line-height: 1.3; font-weight: 650; margin-top: 18px; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; }

/* ---- Privacy band ---------------------------------------------------------- */
.band {
  background: var(--band); color: var(--band-ink);
  border-radius: var(--radius-lg); padding: 60px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 244, 230, .06); pointer-events: none;
}
.band .kicker { color: #F4A58F; }
.band p:not(.kicker) { color: var(--band-ink-2); margin-top: 16px; font-size: 18px; }
.band .btn { margin-top: 28px; }
.checks { display: grid; gap: 18px; position: relative; z-index: 1; }
.checks li { position: relative; padding-left: 40px; color: var(--band-ink); font-size: 16.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #F0876B;
}
.checks li::after {
  content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 12px;
  border: solid #00474B; border-width: 0 2.5px 2.5px 0; transform: rotate(42deg);
}

/* ---- FAQ ------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-intro p:not(.kicker) { color: var(--ink-2); margin-top: 16px; }
.faq-intro a { color: var(--teal); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 22px; font-weight: 650; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-soft); color: var(--teal);
  font-size: 19px; font-weight: 500; line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 22px 22px; font-size: 16px; max-width: 62ch; }
.faq details p a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--bg-soft); padding: 64px 0 36px; margin-top: 24px; color: var(--ink-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--ink); }
.footer-tag { margin-top: 16px; max-width: 320px; }
.site-footer h3 { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li + li { margin-top: 9px; }
.site-footer a:hover { color: var(--teal); }
.footer-legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3);
}

/* ---- 404 ------------------------------------------------------------------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound img { width: 84px; height: 84px; margin: 0 auto 28px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.notfound p { color: var(--ink-2); margin: 14px auto 0; max-width: 460px; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }

/* ---- Motion ---------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ---- Smaller screens ------------------------------------------------------- */
@media (max-width: 960px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 440px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; gap: 36px; padding: 44px 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16.5px; }
  .container { width: min(1120px, 100% - 36px); }
  .nav-links { display: none; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 23px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .band { padding: 36px 24px; border-radius: 24px; }
  .store { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
}
