/* Rota site. Tokens from brand/README.md. Light theme with a dark variant for prefers-color-scheme. */
@font-face { font-family: "Plex"; src: url("/fonts/plex-sans-latin.woff2") format("woff2"); font-weight: 100 700; font-display: swap;
  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: "Plex"; src: url("/fonts/plex-sans-latin-ext.woff2") format("woff2"); font-weight: 100 700; font-display: swap;
  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 {
  --blue: #2457D6; --blue-deep: #163C9E; --blue-soft: #EEF3FF; --amber: #FFB020;
  --ink: #0B1633; --text: #1F2A44; --muted: #56607A; --line: #E1E6F0;
  --bg: #FFFFFF; --bg-alt: #F4F6FA; --card: #FFFFFF;
  --radius: 16px; --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #F2F5FB; --text: #D7DEEC; --muted: #9AA5BD; --line: #25304A; --bg: #0B1222; --bg-alt: #101A30; --card: #131E36; --blue-soft: #16233D; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 "Plex", "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #8DB0FF; } }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.mark { width: 32px; height: 32px; flex: none; }
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
nav .lang { border: 1px solid var(--line); margin-left: 6px; }
nav a.login { background: var(--blue); color: #fff; font-weight: 600; margin-left: 6px; }
nav a.login:hover { background: var(--blue-deep); color: #fff; }
@media (max-width: 560px) { nav a:not(.lang):not(.login):not([href="/destek"]):not([href="/en/support"]) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s ease-out, transform .1s ease-out; white-space: nowrap; }
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--bg-alt); }
.btn.light { background: #fff; color: var(--blue-deep); }
.btn.light:hover { background: #E8EEFF; }

/* hero */
.hero { overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (prefers-color-scheme: dark) { .eyebrow { color: #8DB0FF; } }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 20px; max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; height: clamp(460px, 52vw, 600px); }
.phone { margin: 0; width: min(270px, 62%); border-radius: 34px; border: 8px solid #0B1633; background: #0B1633; overflow: hidden; box-shadow: 0 24px 48px rgba(11, 22, 51, .18); }
.phone img { width: 100%; height: auto; border-radius: 26px; }
@media (prefers-color-scheme: dark) { .phone { border-color: #24304C; background: #24304C; box-shadow: 0 24px 48px rgba(0, 0, 0, .45); } }
.hero-art .phone { position: absolute; }
.hero-art .front { left: 6%; top: 0; z-index: 2; }
.hero-art .back { right: 0; top: 13%; transform: rotate(3deg); opacity: .96; }

/* sections */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.group { padding: 24px 28px 8px 0; }
.group + .group { padding-left: 28px; border-left: 1px solid var(--line); }
.group h3 { margin-bottom: 14px; }
.group ul, .ticks { list-style: none; margin: 0; padding: 0; }
.group li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 16px; }
.group li:last-child { border-bottom: 0; }

.app { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.app-art .phone { margin: 0 auto; width: min(280px, 80%); }
.app-text > p { color: var(--muted); margin-top: 12px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent); }
.note { margin-top: 24px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--text); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 24px 0 0; position: relative; }
.steps li + li { padding-left: 24px; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 48px; right: -0px; border-top: 2px dotted color-mix(in srgb, var(--blue) 55%, transparent); }
.steps li + li::after { left: 72px; }
.steps li:last-child::after { display: none; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; position: relative; z-index: 1; }
.steps li:last-child .n { background: var(--amber); color: #0B1633; }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; }

.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-deep)); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .9; margin-top: 8px; }

/* documents */
.doc { max-width: 820px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); }
.doc .meta { color: var(--muted); margin: 10px 0 28px; font-size: 15px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc h3 { margin: 26px 0 6px; }
.doc p, .doc li { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 22px 0 0; padding: 18px 20px; background: var(--bg-alt); border-radius: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.table { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.mailbox { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 18px 0 20px; }
.numbered li { padding-left: 4px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-alt); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; font-size: 15px; }
.foot p { color: var(--muted); margin-top: 10px; max-width: 42ch; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--text); text-decoration: none; }
.foot ul a:hover { color: var(--blue); text-decoration: underline; }
.foot .label { color: var(--ink); font-weight: 600; margin-top: 0; }
.foot .small { font-size: 14px; }

@media (max-width: 900px) {
  .hero-in, .app { grid-template-columns: 1fr; }
  .hero-art { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .groups { grid-template-columns: 1fr; border-top: 0; }
  .group, .group + .group { padding: 20px 0 4px; border-left: 0; border-top: 2px solid var(--ink); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li::after { display: none; }
  .steps li:nth-child(odd) { padding-left: 0; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-art { height: 440px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; }
  .btn { width: 100%; }
  .cta-band .btn { width: auto; white-space: normal; text-align: center; }
}
