/* ============================================================================
   lumollo.ai — Atelier
   Tokens taken verbatim from Sources/Lumollo/Design/Theme.swift and matched to
   docs/pitch/lumollo-investor-deck.html, which already renders Atelier on the web.

   No external requests. No fonts, no scripts, no analytics, no third-party
   anything — the site must not do what the privacy policy says the product
   does not.
   ========================================================================== */

:root {
  --ink:            #16181d;
  --ink-label:      rgba(22, 24, 29, 0.70);   /* 6.25:1 on canvas */
  --ink-muted:      rgba(22, 24, 29, 0.62);   /* 4.79:1 on canvas — the dimmest text used */
  --hairline:       rgba(22, 24, 29, 0.08);
  --canvas:         #f4f3f0;
  --card:           #ffffff;
  --accent:         #23252b;                  /* graphite */
  --champagne:      #6f5426;                  /* 6.37:1 on canvas */
  --champagne-wash: #fbf0de;
  --neon-start:     #e2b45c;                  /* 10.92:1 on black */
  --neon-end:       #a87e3b;                  /*  5.71:1 on black */
  --void:           #000000;
  --radius:         22px;

  /* Atelier is a deliberately light-only world; the app commits to it and so
     does the deck. The black beat is a designed moment, not a dark theme. */
  color-scheme: light;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ————— Focus: visible, and never removed ————— */
:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 4px;
}
.beat :focus-visible { outline-color: var(--neon-start); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 99;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: top 120ms ease;
}
.skip-link:focus { top: 12px; }

/* ————— Layout ————— */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--wide { max-width: 940px; }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--hairline); }

/* ————— The black launch beat ————— */
.beat {
  background: var(--void);
  background: linear-gradient(180deg, #000 0%, #000 62%, #0b0b0d 78%, #191a1e 90%, #23252b 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(84px, 18vw, 168px) 0 clamp(76px, 14vw, 132px);
  text-align: center;
}

/* The tracked wordmark is ~5.8x its font-size wide at 0.34em, so size and
   tracking have to be chosen together or it runs off a phone. Narrow screens
   get tighter tracking, which buys back enough width to keep the type large.
   Verified against 280 / 320 / 375 / 768 / 1280 with zero horizontal overflow. */
.wordmark {
  font-size: clamp(38px, 14vw, 72px);
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1.05;
  margin-left: 0.22em;      /* optically recentre the tracked lowercase */
  max-width: 100%;
  color: var(--neon-start); /* fallback wherever background-clip:text is unavailable */
  background: linear-gradient(90deg, var(--neon-start) 0%, var(--neon-start) 62%, var(--neon-end) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 700px) {
  .wordmark {
    font-size: clamp(56px, 8vw, 92px);
    letter-spacing: 0.34em;
    margin-left: 0.34em;
  }
}

/* Forced-colours / high-contrast: drop the gradient, keep readable text. */
@media (forced-colors: active) {
  .wordmark {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: CanvasText;
  }
}

.beat .positioning {
  margin: 30px auto 0;
  /* 34ch + the nbsp gluing "management OS," is what lands the balance break
     after "OS," rather than orphaning it onto line two. */
  max-width: 34ch;
  font-size: clamp(19px, 3.6vw, 25px);
  font-weight: 500;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.90);   /* 16.8:1 */
  text-wrap: balance;
}

.beat .slogan {
  margin: 12px auto 0;
  max-width: 30ch;
  font-size: clamp(14.5px, 2.4vw, 16px);
  color: rgba(255, 255, 255, 0.62);   /* 7.5:1 */
  text-wrap: balance;
}

.beat .status {
  margin-top: 44px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);   /* 6.27:1 */
}

/* ————— Type ————— */
.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(25px, 4.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 16px;
}

h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.005em;
  margin-bottom: 7px;
  color: var(--ink);
}

p { font-size: 16.5px; color: var(--ink-muted); }
p + p { margin-top: 15px; }

.lede {
  font-size: clamp(17px, 2.8vw, 19px);
  color: var(--ink-label);
  max-width: 58ch;
  text-wrap: pretty;
}

strong { color: var(--ink); font-weight: 640; }

a { color: var(--champagne); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ————— Cards ————— */
/* Three cards, so the row is either 1-up or 3-up and never a lonely orphan.
   `auto-fit` would give 2+1 through a wide band of tablet widths. */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
@media (min-width: 820px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: 0 1px 1px rgba(15, 18, 23, 0.05), 0 8px 12px rgba(15, 18, 23, 0.04);
}
.card p { font-size: 15px; line-height: 1.55; }

.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--champagne);
  background: var(--champagne-wash);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 14px;
}

/* ————— The privacy list ————— */
.facts {
  list-style: none;
  margin-top: 30px;
  border-top: 1px solid var(--hairline);
}
.facts li {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}
.facts .k {
  font-size: 15.5px;
  font-weight: 640;
  color: var(--ink);
}
.facts .v {
  font-size: 15px;
  color: var(--ink-muted);
  text-wrap: pretty;
}
@media (min-width: 680px) {
  .facts li { grid-template-columns: 236px 1fr; gap: 24px; align-items: baseline; }
}
/* the closing line after the list — the list's own border-bottom is the divider */
.facts + p { margin-top: 26px; }

.aside {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--champagne);
  border-radius: 14px;
  padding: 22px 24px;
}
.aside h3 { margin-bottom: 8px; }
.aside p { font-size: 15px; }

/* ————— Call to action ————— */
.cta { text-align: center; padding: 84px 0; }
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 46ch; margin-inline: auto; }

.mailto {
  display: inline-block;
  margin-top: 30px;
  background: var(--accent);
  color: #fff;                 /* 15.3:1 */
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  border-radius: 15px;
  padding: 15px 30px;
  transition: background-color 140ms ease;
}
.mailto:hover, .mailto:focus-visible { background: #101114; color: #fff; }

.cta .note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ————— Footer ————— */
footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--ink-muted);
}
footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
  justify-content: space-between;
}
footer .mark {
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-label);
  font-size: 13px;
}
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================================
   Long-form document (privacy.html)
   ========================================================================== */

.doc { padding: 56px 0 88px; }

.doc-head {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 28px;
  margin-bottom: 40px;
}
.doc-head h1 {
  font-size: clamp(30px, 5.4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.doc-head .meta { font-size: 14px; color: var(--ink-muted); }

.doc h2 {
  font-size: clamp(21px, 3.4vw, 25px);
  margin-top: 52px;
  margin-bottom: 14px;
  scroll-margin-top: 24px;
}
.doc h3 {
  font-size: 17px;
  font-weight: 650;
  margin-top: 30px;
  margin-bottom: 8px;
}
.doc p, .doc li { font-size: 16px; }
.doc ul, .doc ol { margin: 14px 0 0 22px; }
.doc li { color: var(--ink-muted); margin-bottom: 9px; }
.doc li::marker { color: var(--ink-muted); }

.summary {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.summary h2 { margin-top: 0; }
.summary ul { margin-left: 20px; }

.notice {
  background: var(--champagne-wash);
  border: 1px solid rgba(111, 84, 38, 0.22);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.notice p { font-size: 15px; color: rgba(22, 24, 29, 0.78); }
.notice .label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 8px;
}

.table-scroll { overflow-x: auto; margin-top: 18px; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-muted);
}
th {
  color: var(--ink);
  font-weight: 640;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom-color: rgba(22, 24, 29, 0.18);
}
td:first-child { color: var(--ink); font-weight: 560; padding-right: 24px; }

.back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
