/* The placeholder marketing page: one painting, one frosted-glass card (the wall's look). */

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('fonts/AtkinsonHyperlegibleNext_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('fonts/AtkinsonHyperlegibleNext_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Dawn lake's ink (Figma photo/dawn) and the wall's accent (theme/tokens.ts). */
  --ink: #1e0f27;
  --ink-soft: #3d3046;
  --accent: #c44a33;
  --accent-hover: #a93d29;
  --glass: rgb(255 255 255 / 0.58);
  --glass-edge: rgb(255 255 255 / 0.7);
  --matte: #8fa9b8;
  --gutter: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  padding: max(var(--gutter), env(safe-area-inset-top)) var(--gutter)
    max(var(--gutter), env(safe-area-inset-bottom));
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  color: var(--ink);
  background: var(--matte) url('dawn.jpg') center 70% / cover no-repeat fixed;
}

@media (max-width: 900px) {
  body {
    background-image: url('dawn-1280.jpg');
    /* iOS ignores fixed backgrounds and repaints them badly; scroll with the page instead. */
    background-attachment: scroll;
  }
}

.top {
  justify-self: stretch;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 24px 60px rgb(30 15 39 / 0.18);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 20px 0 32px;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  min-width: 200px;
  padding: 0 36px;
  border-radius: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease;
}

.button:hover {
  background: var(--accent-hover);
}

.button:focus-visible,
.fine a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(30 15 39 / 0.12);
  font-size: 15px;
  color: var(--ink-soft);
}

.fine a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-weight: 700;
}

.credit {
  justify-self: end;
  margin: 0;
  font-size: 13px;
  color: rgb(255 255 255 / 0.85);
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
}

@media (max-width: 600px) {
  .button {
    width: 100%;
  }
  .credit {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}

@media (min-width: 1400px) {
  .wordmark {
    font-size: 28px;
  }
  .card {
    width: 680px;
  }
  h1 {
    font-size: 64px;
  }
  .lede {
    font-size: 22px;
  }
}

/* Long pages (privacy): the card reads like paper, top-aligned and scrolling with the page. */
body.page {
  align-items: start;
  row-gap: 24px;
}

a.wordmark {
  color: var(--ink);
  text-decoration: none;
}

.doc {
  width: min(760px, 100%);
  background: rgb(255 255 255 / 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.doc h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.doc h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc ul {
  padding-left: 1.2em;
}

.doc li + li {
  margin-top: 8px;
}

.doc a {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.doc .updated {
  margin-top: 8px;
  font-size: 15px;
}
