/* Inter and Inter Tight, SIL Open Font License, served from this site so no third party sees visitors. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin.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: "Inter Tight"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/fonts/inter-tight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/fonts/inter-tight-latin.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; }
/* Curfew marketing site. One stylesheet, no framework. Palette and type match the apps and the Paper drafts. */

:root {
  --ink: #1E2230;
  --ink-deep: #14171F;
  --ink-raised: #262B3A;
  --amethyst: #6B4FBB;
  --amethyst-deep: #4A3690;
  --amethyst-light: #B7A6EE;
  --amber: #E09D2A;
  --amber-light: #F0C070;
  --verdigris: #3F8F6B;
  --verdigris-light: #8FD1B2;
  --garnet: #9E3B4A;
  --garnet-light: #E0919E;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.5);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --hairline: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --radius-small: 14px;
  --container: 1280px;
  --gutter: 80px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
img, svg { display: block; }
::selection { background: var(--amethyst); color: #fff; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; padding: 10px 14px; border-radius: 10px;
  background: var(--amethyst); color: #fff; z-index: 100;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Nav ---- */

.nav { padding: 28px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--hairline); color: var(--text); border-radius: 12px; padding: 8px 12px; font-size: 14px; }

/* ---- Buttons ---- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border-radius: 28px; border: 1px solid transparent;
  font-weight: 600; font-size: 17px; white-space: nowrap; cursor: pointer; transition: transform 0.12s ease, background-color 0.12s ease;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--amethyst); color: #fff; }
.button-primary:hover { background: #7A5ECF; }
.button-ghost { border-color: rgba(255, 255, 255, 0.24); color: var(--text); background: transparent; }
.button-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.button-light { background: #fff; color: var(--amethyst-deep); }
.button-light:hover { background: #F2F2F7; }
.button-small { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 22px; }

/* ---- Hero ---- */

.hero { padding: 72px 0 96px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 560px); justify-content: space-between; align-items: center; gap: 40px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.hero h1 { font-size: clamp(44px, 5.3vw, 76px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 28px; }
.hero .lead { margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--text-muted); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero .fine-print { margin-top: 28px; font-size: 14px; color: var(--text-faint); }

/* ---- Phone mock ---- */

.phone-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 640px; }
.phone-glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 79, 187, 0.45) 0%, rgba(30, 34, 48, 0) 70%);
}
.phone {
  position: relative; width: 300px; height: 620px; padding: 14px; border-radius: 48px;
  background: #0E1018; border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 36px; padding: 52px 16px 16px; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, #2B2450 0%, #1E2230 60%, #171A26 100%);
}
.phone-date { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.phone-time { font-family: var(--font-display); font-size: 84px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.live-activity {
  margin-top: auto; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 22px; background: rgba(255, 255, 255, 0.1);
}
.live-activity .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(107, 79, 187, 0.35); flex-shrink: 0; }
.live-activity .title { font-size: 15px; font-weight: 600; }
.live-activity .sub { font-size: 12px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.live-activity .countdown { margin-left: auto; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--amethyst-light); font-variant-numeric: tabular-nums; }

/* ---- Sections ---- */

.section { padding: 0 0 96px; }
.section-title { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.14; max-width: 820px; }
.section-intro { margin-top: 16px; font-size: 18px; color: var(--text-muted); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); }
.card .icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 22px; line-height: 1.27; letter-spacing: -0.01em; }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.56; color: var(--text-muted); }
.tint-amethyst { background: rgba(107, 79, 187, 0.3); color: var(--amethyst-light); }
.tint-verdigris { background: rgba(63, 143, 107, 0.3); color: var(--verdigris-light); }
.tint-amber { background: rgba(201, 138, 27, 0.3); color: var(--amber-light); }
.tint-garnet { background: rgba(158, 59, 74, 0.3); color: var(--garnet-light); }

/* ---- Day timeline ---- */

.day { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.moment { padding: 24px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.moment .time { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.moment h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.moment p { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.color-amber { color: var(--amber-light); }
.color-verdigris { color: var(--verdigris-light); }
.color-amethyst { color: var(--amethyst-light); }
.color-garnet { color: var(--garnet-light); }

/* ---- Timeline (How it works) ---- */

.timeline { display: flex; flex-direction: column; margin-top: 40px; }
.timeline-row { display: grid; grid-template-columns: 120px 24px minmax(0, 1fr); gap: 32px; }
.timeline-row .time { text-align: right; padding-top: 30px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.timeline-row .rail { display: flex; flex-direction: column; align-items: center; }
.timeline-row .rail::before { content: ""; width: 2px; height: 30px; background: var(--hairline); }
.timeline-row .rail .dot { width: 16px; height: 16px; border-radius: 50%; }
.timeline-row .rail::after { content: ""; width: 2px; flex: 1; background: var(--hairline); }
.timeline-row:last-child .rail::after { display: none; }
.timeline-row .body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; padding: 16px 0 40px; }
.timeline-row h3 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; }
.timeline-row .body p { margin-top: 10px; font-size: 17px; color: var(--text-muted); }
.mini { padding: 18px; border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; align-self: start; }
.mini .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mini .headline { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.27; }
.mini .text { font-size: 15px; color: var(--text-muted); }
.mini .row { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.mini .row strong { font-family: var(--font-display); font-size: 20px; }
.mini .chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.chip { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.chip-fill { background: var(--amethyst); color: #fff; }
.chip-amethyst { background: rgba(107, 79, 187, 0.3); color: var(--amethyst-light); }
.chip-garnet { background: rgba(158, 59, 74, 0.3); color: var(--garnet-light); }
.chip-neutral { background: var(--surface-strong); color: var(--text); }

/* ---- The deal / pricing ---- */

.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); }
.deal-column { padding: 36px; background: var(--surface); }
.deal-column.paid { background: rgba(107, 79, 187, 0.14); }
.deal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.deal-head .label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.deal-column.paid .deal-head .label { color: var(--amethyst-light); }
.price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.deal-column ul { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; font-size: 16px; }
.deal-column li { padding-left: 26px; position: relative; }
.deal-column li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--verdigris); }
.deal-column.paid li::before { background: var(--amethyst-light); }
.deal-note { margin-top: 18px; font-size: 14px; color: var(--text-faint); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.plan { padding: 28px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.plan.featured { background: linear-gradient(135deg, var(--amethyst) 0%, var(--amethyst-deep) 100%); }
.plan .label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.plan.featured .label { color: rgba(255, 255, 255, 0.8); }
.plan .price { font-size: 40px; }
.plan .per { font-size: 14px; color: var(--text-muted); }
.plan.featured .per, .plan.featured p { color: rgba(255, 255, 255, 0.82); }
.plan p { font-size: 15px; color: var(--text-muted); }
.plan .button { margin-top: auto; align-self: flex-start; }

/* ---- Banner ---- */

.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px;
  border-radius: 28px; background: linear-gradient(135deg, var(--amethyst) 0%, var(--amethyst-deep) 100%);
}
.banner h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -0.02em; max-width: 640px; }
.banner p { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, 0.8); max-width: 640px; }

/* ---- Early access form ---- */

.early { padding: 48px; border-radius: 28px; background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; }
.early h2 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.16; }
.early p { margin-top: 12px; color: var(--text-muted); }
.early form { display: flex; gap: 12px; }
.early input[type="email"] {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px; border-radius: 28px; border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.25); color: var(--text); font: inherit; font-size: 16px;
}
.early input[type="email"]::placeholder { color: var(--text-faint); }
.early input[type="email"]:focus { outline: 2px solid var(--amethyst-light); outline-offset: 2px; }
.early .status { margin-top: 12px; font-size: 14px; color: var(--verdigris-light); min-height: 20px; }
.early .status.error { color: var(--garnet-light); }
.early .honey { position: absolute; left: -9999px; }

/* ---- FAQ ---- */

.faq { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.faq details { padding: 20px 0; border-top: 1px solid var(--hairline); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amethyst-light); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 16px; color: var(--text-muted); }

/* ---- Page header (inner pages) ---- */

.page-header { padding: 56px 0 24px; }
.page-header h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.03em; }
.page-header .lead { margin-top: 20px; font-size: 20px; color: var(--text-muted); max-width: 640px; }

/* ---- Prose (legal, support) ---- */

.prose { max-width: 760px; padding-bottom: 96px; }
.prose h2 { font-size: 26px; line-height: 1.25; margin-top: 44px; letter-spacing: -0.015em; }
.prose h3 { font-size: 19px; margin-top: 28px; letter-spacing: -0.01em; }
.prose p, .prose li { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-top: 8px; }
.prose a { color: var(--amethyst-light); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { font-size: 14px; color: var(--text-faint); }
.prose strong { color: var(--text); }
.callout { margin-top: 24px; padding: 20px 24px; border-radius: 18px; background: var(--surface); border-left: 4px solid var(--amber); }
.callout p { margin: 0; color: var(--text); }

/* ---- Footer ---- */

.footer { padding: 56px 0 48px; border-top: 1px solid var(--hairline); }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .copy { font-size: 14px; color: var(--text-faint); }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.footer nav a:hover { color: var(--text); }

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero .container { grid-template-columns: 1fr; }
  .phone-stage { min-height: 560px; }
  .cards, .plans { grid-template-columns: 1fr; }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-row .body { grid-template-columns: 1fr; }
  .early { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav { padding: 20px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; left: 20px; right: 20px; top: 76px; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 18px; background: var(--ink-raised); z-index: 20; }
  .nav-toggle { display: inline-flex; }
  .nav .button { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero .lead { font-size: 18px; }
  .phone-stage { min-height: 520px; }
  .phone { width: 260px; height: 540px; }
  .phone-time { font-size: 72px; }
  .section { padding-bottom: 64px; }
  .day { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .banner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .early { padding: 28px 20px; }
  .early form { flex-direction: column; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .timeline-row { grid-template-columns: 24px minmax(0, 1fr); gap: 20px; }
  .timeline-row .time { grid-column: 2; text-align: left; padding-top: 0; }
  .timeline-row .rail { grid-row: 1 / span 2; }
  .timeline-row .body { padding-top: 8px; }
  .timeline-row h3 { font-size: 24px; }
}

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

/* ---- Page frame and small-screen fixes ---- */

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.price small { white-space: nowrap; }

@media (max-width: 720px) {
  .deal-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
