/* Twinhint placeholder. Colors from shared/src/theme.css; type as on Main (owner/src/pages/main.css).
   Fonts are own copies of the Latin files from @fontsource/figtree (400, 600) and
   @fontsource-variable/bricolage-grotesque (opsz), SIL Open Font License 1.1.
   No inline styles anywhere: the CSP in _headers allows only style-src 'self'. */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/figtree-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/figtree-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --th-page: #F8F3EA;
  --th-ink: #2B2420;
  --th-ink-muted: #5A4E45;
  --th-accent: #A84A2C;
  --th-stage: #DCE6D6;

  --th-font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --th-font-display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}

html,
body {
  margin: 0;
  background: var(--th-page);
  color: var(--th-ink);
  font-family: var(--th-font-body);
  font-size: 16px;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Text up to 640 px wide; 20 px side fields on a phone. */
.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* The mark and word as in shared/src/ui/Logo.tsx, not a link. */
.logo {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--th-font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo svg {
  display: block;
  flex: none;
}

.logo-in {
  color: var(--th-accent);
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  font-weight: 600;
  color: var(--th-accent);
}

h1 {
  margin: 0;
  font-family: var(--th-font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lead {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--th-ink-muted);
}

/* A small label, like Next up on the TZ 2 canvas: sage with ink text. */
.soon {
  align-self: flex-start;
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--th-stage);
  color: var(--th-ink);
  font-size: 14px;
  font-weight: 600;
}
