/*
 * LeadLot — Coming Soon, in the Frame identity (approved 2026-11-11).
 * Graphite and linen, one amber accent. Amber (#e3a13a) is used for fills only; amber text
 * uses --accent-text, which passes WCAG AA (4.5:1). Instrument Sans (SIL OFL 1.1) is served
 * from this site; nothing is loaded from anywhere else, and the page runs no script.
 */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --paper: #faf7f2;
  --card: #ffffff;
  --ink: #17181c;
  --ink-soft: #2e2f35;
  --muted: #6b6862;
  --line: #e6e1d8;
  --grid: rgba(23, 24, 28, 0.05);
  --accent: #e3a13a;
  --accent-text: #8f6525;
  --accent-soft: rgba(227, 161, 58, 0.18);
  --mark-first: #17181c;
  --mark-second: #e3a13a;
  --sheet-mid: rgba(23, 24, 28, 0.17);
  --sheet-faint: rgba(23, 24, 28, 0.07);
  --shadow: rgba(23, 24, 28, 0.08);
  --radius: 14px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121316;
    --card: #1a1b20;
    --ink: #f3efe7;
    --ink-soft: #ddd8cf;
    --muted: #aaa59b;
    --line: #2b2c32;
    --grid: rgba(243, 239, 231, 0.045);
    --accent: #e3a13a;
    --accent-text: #edb85e;
    --accent-soft: rgba(227, 161, 58, 0.16);
    --mark-first: #f3efe7;
    --mark-second: #e3a13a;
    --sheet-mid: rgba(243, 239, 231, 0.2);
    --sheet-faint: rgba(243, 239, 231, 0.08);
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  /* Instrument Sans has a narrow space by design; open it slightly for reading. */
  word-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A faint measuring grid, fading out down the page: Frame's "measured plan". */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 85%);
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

@media (min-width: 48rem) {
  .page {
    padding: 2.25rem 2.5rem 2.5rem;
  }
}

/* Masthead: the Frame lockup (outlined wordmark; colours follow the theme). */

.masthead {
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  width: auto;
  height: 1.75rem;
}

.logo-first,
.logo-word {
  fill: var(--mark-first);
}

.logo-second {
  fill: var(--mark-second);
}

/* Hero */

main {
  flex: 1;
}

.hero {
  padding: 4.25rem 0 3.5rem;
}

.hero-copy {
  max-width: 46rem;
}

@media (min-width: 48rem) {
  .hero {
    padding: 7.5rem 0 5rem;
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

h1 {
  margin: 0;
  font-size: clamp(2.375rem, 1.45rem + 4.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  word-spacing: 0.08em;
  text-wrap: balance;
}

.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* The scope sheet inside two L's: the Frame device. Wide screens only. */
.sheet {
  display: none;
}

@media (min-width: 64rem) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: center;
    gap: 4rem;
    padding-top: 6.5rem;
  }
  .sheet {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 48px var(--shadow));
  }
}

.frame-first {
  fill: var(--mark-first);
}
.frame-second {
  fill: var(--mark-second);
}
.sheet-card {
  fill: var(--card);
  stroke: var(--line);
}
.sheet-strong {
  fill: var(--ink);
}
.sheet-mid {
  fill: var(--sheet-mid);
}
.sheet-faint {
  fill: var(--sheet-faint);
}
.sheet-accent {
  fill: var(--accent);
}
.sheet-accent-soft {
  fill: var(--accent-soft);
}
.sheet-rule {
  stroke: var(--line);
  stroke-width: 1;
}

/* What we're building */

.section-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.step-number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

/* Audiences */

.audiences {
  display: grid;
  gap: 1.75rem;
  margin: 3.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .audiences {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4.5rem;
  }
}

.audience h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.audience p {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  display: grid;
  gap: 0.75rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 48rem) {
  .footer {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }
}

.footer p {
  max-width: 40rem;
  margin: 0;
}

.copyright {
  white-space: nowrap;
}

/* Not found */

.notfound {
  max-width: 34rem;
  padding: 6rem 0 4rem;
}

.notfound h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
}

.notfound p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.notfound a {
  display: inline-block;
  margin-top: 2rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .building,
  .audiences {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .building {
    animation-delay: 0.08s;
  }
  .audiences {
    animation-delay: 0.16s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
