@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #111827;
  --text: #1F2937;
  --muted: #4B5563;
  --line: #E6E4DE;
  --amber: #F59E0B;
  --ok-text: #065F46;
  --error: #B91C1C;
  --btn-bg: #111827;
  --btn-text: #FFFFFF;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Tamil", "Tamil Sangam MN", "Nirmala UI", sans-serif;
  --display: "Outfit", var(--sans);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C111B;
    --surface: #141B28;
    --ink: #F9FAFB;
    --text: #E5E7EB;
    --muted: #A1A8B3;
    --line: #253043;
    --amber: #FBBF24;
    --ok-text: #6EE7B7;
    --error: #FCA5A5;
    --btn-bg: #FBBF24;
    --btn-text: #111827;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
h1, h2 { margin: 0; font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 760px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-text); text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; border-radius: 6px; }
.brand img { height: 26px; width: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text);
  font: 600 1rem/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17, 24, 39, .18); }
.btn:active { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

/* Holding page */
.hold { padding-block: clamp(64px, 11vw, 136px) clamp(64px, 10vw, 120px); }
.hold-inner { display: grid; justify-items: center; text-align: center; }
.mark { width: 44px; height: 44px; color: var(--amber); }
.mark-lg { width: 64px; height: 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--muted); font-size: .875rem; font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
h1 {
  margin-top: 20px; max-width: 13em;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.25rem); line-height: 1.04; font-weight: 700; text-wrap: balance;
}
.lede { margin-top: 20px; max-width: 32em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--muted); }

/* Email form */
.waitlist { width: 100%; max-width: 480px; margin-top: 32px; }
.field-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.field-row input {
  flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: inherit;
}
.field-row input::placeholder { color: var(--muted); opacity: .8; }
.field-row input:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-radius: 999px; }
.field-row .btn { flex: 0 0 auto; }
.form-note { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.form-status { margin-top: 8px; min-height: 1.5em; font-size: .9375rem; font-weight: 500; }
.form-status[data-state="ok"] { color: var(--ok-text); }
.form-status[data-state="error"] { color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The name */
.section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); background: var(--surface); }
.section-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.section-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--amber); }
h2 { margin-top: 12px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.name-inner { display: grid; justify-items: center; text-align: center; }
.name-inner .body { margin-top: 16px; max-width: 36em; color: var(--muted); }

.site-footer { padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Plain pages: privacy, thanks, 404 */
.page { padding-block: clamp(40px, 7vw, 80px); }
.prose { max-width: 720px; }
.prose h1 { margin-top: 0; max-width: none; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.prose .updated { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.prose h2 { margin-top: 40px; font-size: 1.375rem; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.center-page { display: grid; place-items: center; min-height: 62vh; text-align: center; }
.center-page .mark { margin-inline: auto; }
.center-page h1 { margin-inline: auto; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.center-page p { margin-top: 12px; color: var(--muted); }
.center-page .btn { margin-top: 28px; }

@media (max-width: 460px) {
  .field-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
