/* leximille.com — editorial direction (documents/redesign/app_redesign/README.md)
   Paper, ink, one amber accent. No shadows; depth from paper/ink/hairline. */

@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/Newsreader-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/Newsreader-var-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5F1E8;
  --paper-raised: #EDE7D8;
  --ink: #2A2620;
  --ink-secondary: #57534A;
  --ink-muted: #8A8478;
  --hairline: #DED7C6;
  --amber: #C68A24;
  --amber-deep: #A9741A;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  width: min(40rem, 100% - 3rem);
  flex: 1;
}

h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow a { color: inherit; }

/* ---- landing ---- */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: 14vh 0 3rem;
}

.landing .mark {
  background: #16130c; /* warm black — the mark's canonical ground */
  border-radius: 28px;
  padding: 26px;
  line-height: 0;
}
.landing .mark svg { width: 104px; height: 104px; display: block; }

.landing h1 { font-size: 3.25rem; }

.landing .lede {
  color: var(--ink-secondary);
  max-width: 34rem;
  font-size: 1.0625rem;
}

.cta { margin-top: 0.9rem; }

.store {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border-radius: 13px;
  padding: 17px 28px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.store:hover { text-decoration: none; opacity: 0.92; }

.demo { margin-top: 2.2rem; width: 100%; }
.demo video {
  width: min(20rem, 100%);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--paper-raised);
}

/* ---- legal ---- */

.legal { padding: 4rem 0 3rem; }
.legal h1 { font-size: 2.25rem; margin-top: 0.6rem; }
.legal .updated { color: var(--ink-muted); font-size: 0.875rem; margin-top: 0.4rem; }
.legal .locales { margin-top: 0.7rem; font-size: 0.8125rem; color: var(--ink-muted); }
.legal article { margin-top: 2rem; border-top: 1px solid var(--ink); }
.legal section { padding: 1.4rem 0; border-bottom: 1px solid var(--hairline); }
.legal h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal p { color: var(--ink-secondary); font-size: 0.9375rem; }
.legal p + p { margin-top: 0.7rem; }

footer {
  width: min(40rem, 100% - 3rem);
  border-top: 1px solid var(--hairline);
  padding: 1.1rem 0 2rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  text-align: center;
}
footer a { color: var(--ink-muted); }
