@font-face {
  font-family: "SuezOne";
  src: url("../fonts/SuezOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "SourceSerif4";
  src: url("../fonts/SourceSerif4_18pt-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Tapestry";
  src: url("../fonts/Tapestry-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Taprom";
  src: url("../fonts/Taprom-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-0: #000000;
  --bg-1: #0B0B0D;
  --panel: #0F1114;
  --panel-2: #14171C;
  --stroke: #3A3E46;
  --stroke-soft: #23262C;
  --text: #EDEFF2;
  --text-dim: #D1D1D1;
  --text-mute: #8A8F98;
  --sunset-1: #B63233;
  --sunset-2: #C46031;
  --sunset-3: #A87A1F;
  --aurora-1: #15B860;
  --aurora-2: #1B7FD4;
  --aurora-3: #6B2FA0;
  --pink: #FF4D8D;
  --grad-sunset: linear-gradient(135deg, var(--sunset-1) 0%, var(--sunset-2) 50%, var(--sunset-3) 100%);
  --grad-aurora: linear-gradient(135deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
  --shadow-1: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --maxw: 1080px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: "SourceSerif4", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(237,239,242,0.25);
  transition: border-color 160ms ease, color 160ms ease;
}
a:hover { border-bottom-color: var(--text); }
a:focus-visible {
  outline: 2px solid var(--sunset-2);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: "SuezOne", Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text-dim); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Site nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,11,13,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stroke-soft);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
  font-family: "SuezOne", serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img { width: 32px; height: 32px; }
.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a { border-bottom: none; color: var(--text-dim); font-family: "SuezOne", serif; font-size: 0.95rem; }
.site-nav ul a:hover { color: var(--text); }

@media (max-width: 600px) {
  .site-nav ul { gap: 14px; font-size: 0.9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 10vw, 120px) 0 clamp(40px, 8vw, 100px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(60% 40% at 20% 20%, rgba(182,50,51,0.55), transparent 70%),
    radial-gradient(50% 40% at 80% 30%, rgba(196,96,49,0.45), transparent 70%),
    radial-gradient(60% 50% at 50% 90%, rgba(168,122,31,0.40), transparent 70%);
  filter: blur(20px);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/grain.svg");
  background-size: 240px 240px;
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: -1;
}
.hero h1 { max-width: 18ch; }
.hero .tagline {
  font-family: "Tapestry", "SourceSerif4", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text);
  max-width: 36ch;
  margin: 0 0 28px;
}
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(237,239,242,0.25);
  border-radius: 999px;
  font-family: "SuezOne", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ---------- Waitlist form ---------- */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  max-width: 520px;
}
.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.waitlist input[type="email"]::placeholder { color: var(--text-mute); }
.waitlist input[type="email"]:focus {
  outline: none;
  border-color: var(--sunset-2);
  box-shadow: 0 0 0 3px rgba(196,96,49,0.25);
}
.waitlist button {
  padding: 14px 22px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--grad-sunset);
  color: #1A1A1A;
  font-family: "SuezOne", serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform 120ms ease, filter 160ms ease;
}
.waitlist button:hover { filter: brightness(1.08); }
.waitlist button:active { transform: translateY(1px); }
.waitlist button[disabled] { opacity: 0.6; cursor: not-allowed; }
.waitlist .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.waitlist-message {
  margin-top: 12px;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.waitlist-message[data-state="ok"]  { color: #7ED6A1; }
.waitlist-message[data-state="err"] { color: #FF8A8E; }

/* ---------- Sections ---------- */
section { padding: clamp(40px, 7vw, 88px) 0; }
section.alt { background: var(--bg-0); }
section h2 { max-width: 22ch; margin-bottom: 24px; }
section .lede { max-width: 60ch; font-size: 1.05rem; }

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover { border-color: var(--stroke); transform: translateY(-2px); }
.card h3 {
  font-family: "SuezOne", serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.card p { font-size: 0.96rem; margin: 0; }
.card .pill {
  display: inline-block;
  padding: 3px 10px;
  font-family: "SuezOne", serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-sunset);
  color: #1A1A1A;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Tier explainer ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.tier {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-soft);
  background: var(--panel);
  font-family: "SuezOne", serif;
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tier::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: var(--tier-color, transparent);
  pointer-events: none;
}
.tier strong { display: block; margin-bottom: 4px; }
.tier span { font-family: "SourceSerif4", serif; font-size: 0.82rem; color: var(--text-mute); }

/* ---------- Screenshot strip ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.shots img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-1);
}

/* ---------- App store badges ---------- */
.badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  font-family: "SuezOne", serif;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.badge:hover { color: var(--text); border-color: var(--stroke); }
.badge[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.badge .small { font-size: 0.7rem; color: var(--text-mute); display: block; line-height: 1; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--stroke-soft);
  padding: 36px 0 60px;
  color: var(--text-mute);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--text-dim); border-bottom: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Article (about / privacy / terms) ---------- */
.article {
  max-width: 70ch;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) 24px;
}
.article h1 { margin-bottom: 24px; }
.article h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.4rem; }
.article p { font-size: 1.05rem; }
.article ul { padding-left: 1.2em; color: var(--text-dim); }
.article li { margin-bottom: 6px; }
.article time { color: var(--text-mute); font-size: 0.9rem; }

/* ---------- Press kit grid ---------- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.press-item {
  padding: 20px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.press-item h3 { font-size: 1rem; margin-bottom: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.swatch {
  width: 64px; height: 64px;
  border-radius: 12px;
  border: 1px solid var(--stroke-soft);
  position: relative;
}
.swatch span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-mute);
  font-family: "SuezOne", serif;
}

/* ---------- A11y helpers ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Brand mark (the reel) ---------- */
.brandmark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.brandmark img {
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-1);
  flex: 0 0 auto;
}
.brandmark p {
  flex: 1 1 280px;
  max-width: 48ch;
  margin: 0;
}

/* ---------- Roadmap list ---------- */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  max-width: 60ch;
}
.roadmap li {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-md);
  color: var(--text-dim);
}
.roadmap strong {
  display: block;
  margin-bottom: 4px;
  font-family: "SuezOne", serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
