/* Dil Koçu website. Tokens come from docs/BRAND.md (white paper, warm ink, one robin-orange).
   Two themes only: light and dark (follows the visitor's device). No gradients, glows or shadows.
   Motion is 150-300 ms ease-out and stops under prefers-reduced-motion. */

@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Figtree-Regular.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Figtree-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Figtree-Bold.woff2") format("woff2"); }
/* The lira sign is not in Figtree: one tiny Noto Sans subset (OFL) carries just that character. */
@font-face { font-family: "DKTL"; font-weight: 400; font-display: swap; unicode-range: U+20BA; src: url("/fonts/TL-Regular.woff2") format("woff2"); }
@font-face { font-family: "DKTL"; font-weight: 600; font-display: swap; unicode-range: U+20BA; src: url("/fonts/TL-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "DKTL"; font-weight: 700; font-display: swap; unicode-range: U+20BA; src: url("/fonts/TL-Bold.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --page: #ffffff;
  --group: #f6f3ee;
  --line: #e4dfd7;
  --ink: #201c1a;
  --soft: #6b645e;
  --button: #c8430f;
  --lip: #9e340b;
  --on-button: #ffffff;
  --mark: #c8430f;
  --accent-soft: #fdede4;
  --bezel: #201c1a;
  --good: #15803d;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #151413;
    --group: #201e1c;
    --line: #33302c;
    --ink: #f3efea;
    --soft: #a39c95;
    --mark: #ff6a2b;
    --accent-soft: #2e2420;
    --bezel: #46413c;
    --good: #3fbf6e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.55 "Figtree", "DKTL", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--mark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
h1, h2, h3, .btn, .tag { text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--page); color: var(--ink); padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); z-index: 10; }
.skip:focus { left: 8px; }
.tl { font-feature-settings: "tnum"; }

/* ---------- header ---------- */
.top { padding: 16px 0 12px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wm { font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wm .i { position: relative; display: inline-block; }
.wm .i::after { content: ""; position: absolute; left: 50%; top: -0.02em; width: 0.17em; height: 0.17em; border-radius: 50%; background: var(--mark); transform: translateX(-50%); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.langlink { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.langlink:hover { background: var(--group); }
.menu-btn { display: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 44px; cursor: pointer; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 4px; width: 100%; order: 3; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; transition: background-color 150ms ease-out; }
.nav a:hover { background: var(--group); }
.js .menu-btn { display: inline-flex; align-items: center; }
.js .nav { display: none; }
.js .nav.open { display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .top .wrap { flex-wrap: nowrap; }
  .nav { width: auto; order: 0; margin-left: 24px; margin-right: auto; }
  .js .nav { display: flex; flex-direction: row; }
  .js .menu-btn { display: none; }
  .nav-tools { margin-left: 0; order: 2; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 0 28px; border-radius: 16px; border: 0; font: 600 17px/1 "Figtree", "DKTL", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  background: var(--button); color: var(--on-button); box-shadow: 0 3px 0 var(--lip); transform: translateY(0); transition: transform 150ms ease-out, box-shadow 150ms ease-out; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--lip); }
.btn.secondary { background: var(--page); color: var(--ink); border: 1.5px solid var(--line); box-shadow: 0 2px 0 var(--line); min-height: 48px; padding: 0 20px; }
.btn.secondary:active { transform: translateY(2px); box-shadow: 0 0 0 var(--line); }
.textlink { font-weight: 600; color: var(--ink); text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--mark); }

/* ---------- hero ---------- */
.hero { padding: 24px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.robin-hello { width: 96px; height: auto; }
h1 { font-size: clamp(34px, 8.6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; max-width: 14em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 30em; }
.for { color: var(--soft); font-size: 16px; max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.hero-phone { justify-self: center; background: var(--group); border-radius: 24px; padding: 28px 24px 24px; display: grid; gap: 16px; justify-items: center; width: 100%; max-width: 420px; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 88px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
  .robin-hello { width: 112px; }
  .lead { font-size: 21px; }
  .hero-phone { justify-self: end; padding: 36px 32px 28px; }
}
figcaption { color: var(--soft); font-size: 15px; line-height: 1.4; text-align: center; max-width: 24em; text-wrap: balance; }

/* ---------- phone frame (real app screens only) ---------- */
.phone { width: 100%; max-width: 280px; border: 7px solid var(--bezel); border-radius: 38px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: auto; }
.phone.crop { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone.crop img { aspect-ratio: 720 / 1020; object-fit: cover; object-position: top; }
.phone.small { max-width: 220px; border-width: 6px; border-radius: 32px; }
.phone.small.crop { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* the hero correction loop: the answer sheet slides up the way it does in the app */
.loop { position: relative; aspect-ratio: 720 / 1558; background: #fff; }
.loop img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.loop .top-part img { clip-path: inset(0 0 39.6% 0); }
.loop .sheet { position: absolute; inset: 0; clip-path: inset(60.4% 0 0 0); }
.loop .sheet img { animation: sheet-up 7s infinite ease-out; }
@keyframes sheet-up {
  0%, 16% { transform: translateY(40%); opacity: 0; }
  20%, 88% { transform: translateY(0); opacity: 1; }
  95%, 100% { transform: translateY(0); opacity: 0; }
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
.alt { background: var(--group); }
.alt .btn.secondary { background: var(--page); }
h2 { font-size: clamp(28px, 6.2vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; max-width: 18em; }
.sec-lead { margin-top: 14px; color: var(--soft); font-size: 18px; max-width: 34em; }
.alt .sec-lead { color: var(--soft); }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
@media (min-width: 900px) { section { padding: 88px 0; } }

/* steps */
.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 48px; counter-reset: s; }
.step { display: grid; gap: 12px; align-content: start; }
.step .n { font-size: 40px; line-height: 1; font-weight: 700; color: var(--mark); font-feature-settings: "tnum"; }
.step p { color: var(--soft); max-width: 24em; }
.step .phone { margin-top: 16px; }
.step-shot { margin-top: 12px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* exams */
.exam-grid { margin-top: 40px; display: grid; gap: 40px; align-items: start; }
.exam-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.exam { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.exam p { color: var(--soft); max-width: 32em; }
.exam .date { color: var(--ink); font-weight: 600; }
.pair { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.pair .phone { max-width: 200px; }
@media (min-width: 900px) {
  .exam-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; }
  .pair .phone { max-width: 230px; }
  .pair .phone:nth-child(2) { margin-top: 48px; }
}

/* talk */
.talk .wrap { display: grid; gap: 40px; align-items: center; }
.talk-text { display: grid; gap: 16px; justify-items: start; }
.talk-text p { color: var(--soft); max-width: 32em; }
.talk-text .meter { color: var(--ink); font-weight: 600; }
.talk-shot { justify-self: center; }
@media (min-width: 900px) { .talk .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; } .talk-shot { justify-self: end; } }

/* prices */
.plans { margin-top: 40px; display: grid; gap: 16px; }
.plan { background: var(--group); border-radius: 16px; padding: 24px 20px; display: grid; gap: 14px; align-content: start; border: 1.5px solid transparent; }
.plan.pick { background: var(--accent-soft); border-color: var(--mark); }
.plan h3 { font-size: 21px; }
.price { font-size: 32px; line-height: 1.1; font-weight: 700; font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.price small { font-size: 16px; font-weight: 400; color: var(--soft); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.28em; width: 7px; height: 12px; border-right: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(40deg); }
.plan li.no::before { border: 0; width: 12px; height: 2.5px; background: var(--soft); transform: none; top: 0.7em; left: 0; }
.plan li.no { color: var(--soft); }
.packs-title { margin-top: 56px; }
.packs { margin-top: 20px; display: grid; gap: 12px; }
.pack { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.pack b { font-size: 21px; line-height: 1.25; }
.pack .price { font-size: 24px; }
.pack span { color: var(--soft); font-size: 15px; }
.pack span.price { color: var(--ink); font-size: 24px; }
.nb { white-space: nowrap; }
.notes { margin-top: 28px; display: grid; gap: 8px; color: var(--soft); font-size: 16px; max-width: 40em; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } .packs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } .plan { padding: 24px 22px; } }

/* data box */
.databox .wrap { display: grid; gap: 28px; }
.datalist { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.datalist li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.datalist b { font-weight: 700; }
.linkrow { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
@media (min-width: 900px) { .databox .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }

/* faq */
.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 18px; line-height: 1.35; padding: 18px 40px 18px 0; min-height: 56px; position: relative; text-wrap: balance; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform 200ms ease-out; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details .a { padding: 0 0 20px; color: var(--soft); max-width: 34em; }
details .a p + p { margin-top: 10px; }

/* closing */
.closing { text-align: center; }
.closing .wrap { display: grid; gap: 20px; justify-items: center; }
.closing h2 { max-width: 14em; }
.closing p { color: var(--soft); font-size: 18px; max-width: 28em; text-wrap: balance; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--soft); font-size: 15px; }
footer .wrap { display: grid; gap: 24px; }
footer .brandline { display: grid; gap: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
footer nav a:hover { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; }
footer .cookie { max-width: 36em; }
@media (min-width: 900px) { footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }

/* data page and 404 */
.page { padding: 32px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 7.4vw, 46px); max-width: 12em; }
.page .intro { margin-top: 16px; font-size: 19px; color: var(--soft); max-width: 32em; }
.page h2 { font-size: 26px; margin-top: 48px; max-width: none; }
.page p, .page ul { margin-top: 14px; max-width: 38em; }
.page ul { padding-left: 22px; display: grid; gap: 8px; }
.callout { margin-top: 28px; background: var(--group); border-radius: 16px; padding: 20px; display: grid; gap: 10px; }
.callout p { margin: 0; }
.tablewrap { margin-top: 18px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; }
.lawlinks { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lawlinks a { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); text-decoration: none; min-height: 56px; display: flex; align-items: center; }
.lawlinks a:hover { color: var(--mark); }
.notfound .wrap { display: grid; gap: 20px; justify-items: center; text-align: center; padding-top: 24px; padding-bottom: 72px; }
.notfound img { width: 140px; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation: none !important; }
  .loop .sheet img { opacity: 1; transform: none; }
}
