/* yavo.tr coming-soon page. Values from docs/design-system/tokens.json (light theme).
   Design: Claude Design canvas "yavo yakında". */
/* Plus Jakarta Sans, self-hosted (SIL OFL 1.1, from @fontsource-variable/plus-jakarta-sans 5.2.5). latin-ext carries ğ ş İ ı. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-ext-wght-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: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-wght-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; }

:root {
  --brand-50: #eeeefb;
  --brand-100: #dcdcf6;
  --brand-500: #4747d1;
  --brand-600: #3b3bb8;
  --brand-700: #30309a;
  --brand-900: #1d1d5c;
  --surface-0: #ffffff;
  --surface-50: #f6f6fa;
  --border: #e2e2ea;
  --border-strong: #b9b9ca;
  --text: #16162b;
  --text-muted: #5c5c74;
  --text-subtle: #6f6f8a;
  --text-brand: #3b3bb8;
  --success-bg: #e4f5ea;
  --success-text: #146b3a;
  --danger: #d0342c;
  --danger-text: #a3261f;
  --shadow-focus: 0 0 0 3px rgba(71, 71, 209, 0.28);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-50);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-brand); }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

header.wrap { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { height: 36px; width: auto; display: block; }
.tagline { font-size: 13px; font-weight: 600; color: var(--text-muted); }

main.wrap { flex-grow: 1; padding-top: clamp(32px, 6vw, 56px); padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 56px); align-items: center; }

.intro { flex: 999 1 520px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-brand); background: var(--brand-50); border-radius: 9999px; padding: 6px 12px; }
h1 { margin: 0; font-size: clamp(36px, 7vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.lead { margin: 0; font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--text-muted); max-width: 54ch; }

/* Waitlist form */
.wl { width: 100%; max-width: 400px; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.wl-label { font-size: 14px; line-height: 20px; font-weight: 600; }
.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-row { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.wl-input { flex: 1 1 0; min-width: 0; height: 36px; padding: 0 10px; background: var(--surface-0); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); font: 14px/20px var(--font-sans); transition: border-color .12s, box-shadow .12s; }
.wl-input::placeholder { color: var(--text-subtle); }
.wl-input:focus { outline: 0; border-color: var(--brand-500); box-shadow: var(--shadow-focus); }
.wl-input[aria-invalid="true"] { border-color: var(--danger); }
.btn { flex: none; height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: var(--brand-500); color: #fff; font: 600 14px/20px var(--font-sans); cursor: pointer; white-space: nowrap; transition: background-color .12s; }
.btn:hover { background: var(--brand-600); }
.btn:active { background: var(--brand-700); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--text-muted); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-500); flex: none; }
.error { margin: 0; font-size: 13px; line-height: 18px; color: var(--danger-text); }
.note { margin: 0; font-size: 13px; color: var(--text-subtle); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done { margin-top: 8px; max-width: 520px; background: var(--surface-0); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.done-icon { flex: none; width: 36px; height: 36px; border-radius: 9999px; background: var(--success-bg); color: var(--success-text); display: flex; align-items: center; justify-content: center; }
.done strong { display: block; font-size: 16px; line-height: 24px; }
.done span { font-size: 14px; line-height: 21px; color: var(--text-muted); }

/* Example conversation */
.chat { flex: 1 1 380px; min-width: 0; max-width: 460px; background: var(--brand-500); border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.chat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-100); }
.msg { max-width: 88%; padding: 12px 14px; font-size: 15px; line-height: 22px; }
.msg time { display: block; text-align: right; font-size: 11px; margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--surface-0); color: var(--text); border-radius: 16px 16px 16px 4px; }
.msg.in time { color: var(--text-subtle); }
.msg.out { align-self: flex-end; max-width: 82%; background: var(--brand-100); color: var(--brand-900); border-radius: 16px 16px 4px 16px; }
.msg.out time { color: var(--brand-700); }

footer { border-top: 1px solid var(--border); background: var(--surface-0); }
footer .wrap { padding-top: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Plain text pages (consent text, 404) */
.doc { flex-grow: 1; padding-top: 40px; padding-bottom: 64px; max-width: 720px; }
.doc h1 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 20px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.doc .meta { font-size: 13px; color: var(--text-subtle); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* iOS zooms into inputs under 16px; keep phones from zooming on focus. */
@media (max-width: 600px) { .wl-input { font-size: 16px; } }
