/* Same noir palette as the app (apps/mobile/src/theme.ts). */
@font-face { font-family: "Special Elite"; font-weight: 400; font-display: swap; src: url(/fonts/special-elite-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: "Special Elite"; font-weight: 400; font-display: swap; src: url(/fonts/special-elite-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-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: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-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: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #0e0d0b;
  --surface: #1a1814;
  --surface-raised: #24211b;
  --border: #3a342a;
  --text: #f2ebdd;
  --muted: #b3a894;
  --accent: #f2a33a;
  --on-accent: #1a1206;
  --player: #3a2a12;
  --danger: #e5654e;
  --success: #7fb77e;
  --serif: "Special Elite", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.label { font: 600 13px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 9vw, 88px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 5vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
.muted { color: var(--muted); }

/* --- Top bar ------------------------------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.lang { display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang button {
  font: 600 13px/1 var(--sans); color: var(--muted); background: none; border: 0; border-radius: 999px;
  min-width: 44px; min-height: 36px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface-raised); color: var(--text); }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(40px, 10vw, 120px) clamp(56px, 10vw, 112px); }
.hero::before {
  /* the desk lamp */
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(242, 163, 58, 0.22), transparent 70%);
  animation: flicker 9s infinite;
}
@keyframes flicker { 0%, 92%, 96%, 100% { opacity: 1; } 94% { opacity: 0.55; } 95% { opacity: 0.9; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.tagline { font-size: clamp(19px, 2.6vw, 23px); margin-top: 20px; max-width: 34ch; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font: 600 14px/1 var(--sans); color: var(--muted); }
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* --- Waitlist form ------------------------------------------------------- */
.waitlist { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.waitlist input[type="email"] {
  flex: 1 1 220px; min-height: 52px; padding: 0 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font: 400 17px var(--sans);
}
.waitlist input::placeholder { color: #8b8170; }
.btn {
  min-height: 52px; padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 600 16px var(--sans);
}
.btn:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.form-note.ok { color: var(--success); }
.form-note.err { color: var(--danger); }

/* --- Interrogation preview (the phone) ------------------------------------ */
.phone {
  position: relative; width: min(360px, 100%); margin-inline: auto; padding: 18px 14px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 36px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px #151310;
}
.phone-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 14px; border-bottom: 1px solid var(--border); }
.phone-head strong { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.phone-head span { font-size: 13px; color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 6px 4px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.bubble.me { align-self: flex-end; background: var(--player); border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--surface-raised); border-bottom-left-radius: 4px; }
.bubble em { color: var(--muted); }
.chip { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border: 1px dashed var(--accent); border-radius: 6px; font-size: 12px; color: var(--accent); }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; background: var(--surface-raised); border-radius: 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* --- Sections ------------------------------------------------------------ */
section { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--muted); }

.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 32px; color: var(--accent); margin-bottom: 12px;
}
.steps p { margin-top: 8px; color: var(--muted); }

.features { display: grid; gap: 28px 40px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.features h3 { font-size: 20px; margin-bottom: 8px; }
.features p { color: var(--muted); }

/* --- Share card ---------------------------------------------------------- */
.share { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .share { grid-template-columns: 1fr 1fr; } }
.card {
  width: min(340px, 100%); margin-inline: auto; aspect-ratio: 4 / 5; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 163, 58, 0.18), transparent 60%), var(--surface);
  border: 1px solid var(--border); border-radius: 22px;
}
.card .title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.stars { font-size: 30px; letter-spacing: 6px; color: var(--accent); }
.cells { display: grid; gap: 8px; }
.cell { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.cell.ok { background: rgba(127, 183, 126, 0.16); color: var(--success); }
.cell.no { background: rgba(229, 101, 78, 0.16); color: var(--danger); }
.card .foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* --- Final CTA & footer -------------------------------------------------- */
.cta { text-align: center; }
.cta .waitlist { margin-inline: auto; justify-content: center; }
footer { padding-block: 40px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

/* --- Legal pages --------------------------------------------------------- */
.legal { padding-block: 32px 80px; max-width: 720px; }
.legal h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: #d9d0bf; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }

[lang="en"] [data-tr], [lang="tr"] [data-en] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .typing i { animation: none; }
}
