/* Site match: warm cream ground, orange accent, pill buttons, bold near-black headings (read from the homepage screenshot). */
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #111827;
  --muted: #6B7280;
  --line: #ECE4D8;
  --soft: #FFF1E4;
  --primary: #F26A0D;
  --primary-ink: #FFFFFF;
  --primary-text: #BF500A;
  --accent: #F9B98A;
  --shadow: 0 10px 28px -14px rgba(70, 40, 10, 0.22);
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110E; --surface: #201A15; --ink: #F5EFE8; --muted: #B3A89B; --line: #3A322B;
    --soft: #33241A; --primary: #FF8A3D; --primary-ink: #1A1109; --primary-text: #FFA566; --accent: #A85A25;
    --shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15110E; --surface: #201A15; --ink: #F5EFE8; --muted: #B3A89B; --line: #3A322B;
  --soft: #33241A; --primary: #FF8A3D; --primary-ink: #1A1109; --primary-text: #FFA566; --accent: #A85A25;
  --shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; margin: 0; }
.shell { max-width: 760px; margin: 0 auto; padding-block: 36px 56px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px -6px rgba(70,40,10,.18); padding-block: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.topbar-in { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back { color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.back:hover { color: var(--primary-text); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary-text); background: var(--soft); border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.hl { color: var(--primary); }
.brand { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark b { color: var(--primary); font-weight: 800; }
.tag { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
h1, h2 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 7vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(22px, 4.6vw, 28px); font-weight: 800; }
p { margin: 0; }
.lead { color: var(--muted); max-width: 60ch; margin-top: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* intro */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.tile .n { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.tile .t { font-weight: 600; margin-top: 6px; }
.tile .s { font-size: 13px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.err { color: #C0392B; font-size: 14px; min-height: 1.4em; margin-top: 6px; }
:root[data-theme="dark"] .err { color: #FF8A7A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A7A; } }

/* buttons */
.btn { font: inherit; font-weight: 700; background: var(--primary); color: var(--primary-ink); border: 2px solid var(--primary); border-radius: 999px; padding: 12px 26px; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible, .play:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: var(--primary-text); border: 2px solid var(--primary); }
.btn.ghost:hover { background: var(--soft); filter: none; }

/* stepper */
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps li { min-width: 0; }
.steps .bar { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.steps .lab { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps .done .bar { background: var(--primary); }
.steps .cur .bar { background: var(--accent); }
.steps .cur .lab { color: var(--ink); }

/* questions */
.sec-head { margin-bottom: 4px; }
.sec-head .kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-text); font-weight: 600; margin-bottom: 6px; }
.passage { background: var(--soft); border-radius: 14px; padding: 16px 18px; max-width: 68ch; }
.passage h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 6px; }
.passage p { font-size: 16px; }
fieldset.q { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0 4px; min-width: 0; }
fieldset.q:first-of-type { border-top: 0; padding-top: 4px; }
fieldset.q legend { padding: 0; font-weight: 600; font-size: 17px; margin-bottom: 10px; float: left; width: 100%; }
fieldset.q legend + * { clear: both; }
.qn { color: var(--primary-text); font-variant-numeric: tabular-nums; margin-right: 6px; font-weight: 700; }
.opts { display: grid; gap: 8px; margin-top: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: var(--surface); min-width: 0; }
.opt:hover { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.key { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--soft); color: var(--primary-text); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.txt { min-width: 0; overflow-wrap: anywhere; }
.opt:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.opt:has(input:checked) .key { background: var(--primary); color: var(--primary-ink); }
.opt:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent); outline-offset: 1px; }
.opt.idk { border-style: dashed; color: var(--muted); }
.opt.idk .key { background: transparent; }

/* listening */

/* footer */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.left { font-size: 14px; color: var(--muted); flex: 1 1 auto; text-align: center; min-width: 0; }

/* result */
.level-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.level-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 16vw, 84px); line-height: 1; color: var(--primary); letter-spacing: -0.03em; }
.level-txt { flex: 1 1 220px; min-width: 0; }
.level-txt .nm { font-weight: 700; font-size: 18px; }
.bars { display: grid; gap: 14px; }
.brow .top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.fill { height: 100%; background: var(--primary); border-radius: 6px; }
.lv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lv > div { text-align: center; min-width: 0; }
.lv .col { height: 64px; background: var(--soft); border-radius: 8px; display: flex; align-items: flex-end; overflow: hidden; }
.lv .col i { display: block; width: 100%; background: var(--primary); }
.lv .l { font-weight: 700; font-size: 14px; margin-top: 6px; }
.lv .p { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) { .fill, .lv .col i { transition: height .5s ease, width .5s ease; } }

:root { --ok: #1E7F52; --ok-soft: #E4F5EC; --ok-ink: #FFFFFF; --danger: #C0392B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #4CC38A; --ok-soft: #173326; --ok-ink: #0B1F15; --danger: #FF8A7A; } }
:root[data-theme="dark"] { --ok: #4CC38A; --ok-soft: #173326; --ok-ink: #0B1F15; --danger: #FF8A7A; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.timerbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px -12px rgba(70,40,10,.35); padding-block: 9px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.tbin { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; }
.tlab { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ttime { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3.4ch; }
.ttrack { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; min-width: 40px; }
.tfill { height: 100%; width: 100%; background: var(--primary); border-radius: 3px; }
.timerbar.warn .ttime, .timerbar.warn .tlab { color: var(--danger); }
.timerbar.warn .tfill { background: var(--danger); }
.lvcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lvcard { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lvcard .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-text); }
.lvcard .nm { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; margin-top: 6px; text-wrap: balance; }
.lvcard .tr { color: var(--muted); font-size: 14px; }
.lvcard .sc { font-weight: 700; font-size: 15px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.field .note { margin-top: 6px; }
.overall { background: var(--soft); border-color: color-mix(in srgb, var(--primary) 45%, transparent); display: flex; flex-direction: column; gap: 2px; }
.overall .lab, .mail-lab, .panel .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-text); }
.overall .nm { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 7vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 6px; }
.overall .meta { font-weight: 600; color: var(--muted); }
.overall .why { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 60ch; }
/* form alanları */
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.field input[type="text"]:focus-visible, .field input[type="email"]:focus-visible, .field input[type="tel"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.consent a { color: var(--primary-text); font-weight: 600; }
.banner { border: 1.5px solid var(--danger); border-radius: 12px; padding: 12px 14px; color: var(--danger); font-weight: 600; font-size: 14px; }
.sentnote { display: flex; gap: 10px; align-items: flex-start; }
.sentnote .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-top: 7px; }
.sentnote.warn .dot { background: var(--danger); }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row .btn { text-decoration: none; display: inline-block; }
.loading { text-align: center; padding: 60px 0; color: var(--muted); font-weight: 600; }
