/* youln.app: uygulamanın renkleri (lib/theme/tokens.dart) ve yazı tipleri. Düz, sıcak, kâğıt zemin. */
@font-face { font-family: "Schibsted"; src: url("/assets/fonts/SchibstedGrotesk.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Italic.ttf") format("truetype"); font-style: italic; font-weight: 300 900; font-display: swap; }

:root {
  --paper: #FBF0D9; --card: #FFFBF2; --sunk: #F3E4C3; --deep: #EAD6AC;
  --ink: #17140F; --ink2: #5F5343; --ink3: #A6957A; --line: #EBDBB8; --line-strong: #CDB488;
  --accent: #FF7A1F; --accent-ink: #B04A14; --tint: #FFE3CC; --terra: #EF5A23; --on-ink: #FFFBF2;
  --wrap: 1180px; --pad: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Schibsted", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
.serif { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- üst çubuk (tüm sayfalar) ---------- */
body > header { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header a.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 30px; letter-spacing: -0.06em; color: var(--ink); text-decoration: none; }
header a.brand img { width: 34px; height: 34px; border-radius: 10px; }
header nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
header nav a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
header nav a:hover { background: var(--sunk); color: var(--ink); }
header nav a.nav-cta { background: var(--ink); color: var(--on-ink); padding: 10px 18px; margin-left: 6px; }
header nav a.nav-cta:hover { background: #2D2820; color: var(--on-ink); }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .12s ease, background-color .12s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #2D2820; }
.btn--accent { background: var(--accent); color: #FFFBF2; }
.btn--accent:hover { background: #E6660F; }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--sunk); }
.btn small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; line-height: 1; }
.btn .btn__two { display: flex; flex-direction: column; gap: 3px; line-height: 1.05; }

/* ---------- ana sayfa ---------- */
.home main { max-width: none; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 72px; }
.hero h1 { margin: 14px 0 20px; font-size: clamp(48px, 7.2vw, 96px); line-height: .94; font-weight: 900; letter-spacing: -0.055em; }
.hero h1 .serif { display: block; color: var(--accent-ink); font-weight: 400; letter-spacing: -0.03em; }
.hero p.lead { max-width: 520px; margin: 0 0 30px; font-size: 20px; line-height: 1.55; color: var(--ink2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink2); font-size: 15px; font-weight: 600; }
.hero .facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.stage { position: relative; height: 640px; }
.stage__blob { position: absolute; inset: 40px 0 20px 60px; border-radius: 48px; background: var(--accent); }
.phone { position: absolute; width: 290px; padding: 9px; border-radius: 46px; background: var(--ink); box-shadow: 0 28px 50px -28px rgba(23, 20, 15, .55); }
.phone img { border-radius: 38px; width: 100%; }
.stage .phone--front { right: 40px; top: 0; z-index: 2; }
.stage .phone--back { left: 0; top: 110px; width: 250px; transform: rotate(-6deg); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 16px; box-shadow: 0 12px 24px -14px rgba(23, 20, 15, .45); }
.chip svg { width: 20px; height: 20px; color: var(--accent); }
.chip--hi { left: 30px; bottom: 70px; }
.chip--online { right: -8px; bottom: 40px; }
.chip--online i { width: 10px; height: 10px; border-radius: 50%; background: #2FB36B; }

/* bölümler */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head h2 { margin: 10px 0 14px; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.045em; font-weight: 900; }
.section-head p { margin: 0; font-size: 19px; color: var(--ink2); }

.features { display: grid; gap: 22px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; border-radius: 36px; background: var(--card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.feature:nth-child(even) .feature__media { order: -1; }
.feature__text { padding: 56px; }
.feature__num { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 22px; color: var(--accent-ink); }
.feature h3 { margin: 8px 0 14px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 900; }
.feature p { margin: 0 0 18px; font-size: 18px; color: var(--ink2); }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.feature li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg) translateY(-2px); background: var(--accent); }
.feature__media { align-self: stretch; display: flex; justify-content: center; align-items: flex-end; padding: 56px 40px 0; min-height: 520px; background: var(--sunk); }
.feature__media .phone { position: static; width: 300px; border-radius: 46px 46px 0 0; padding-bottom: 0; box-shadow: none; }
.feature__media .phone img { border-radius: 38px 38px 0 0; height: 470px; object-fit: cover; object-position: top; }
.feature--tint .feature__media { background: var(--tint); }
.feature--deep .feature__media { background: var(--deep); }
.feature--accent .feature__media { background: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 34px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--ink); color: var(--on-ink); font-weight: 900; font-size: 22px; }
.steps h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.03em; font-weight: 900; }
.steps p { margin: 0; color: var(--ink2); }

.safety { background: var(--ink); color: var(--on-ink); border-radius: 44px; margin: 0 var(--pad); }
.safety .eyebrow { color: var(--accent); }
.safety .section-head p { color: #CDBFA6; }
.safety__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety__item { padding: 28px; border-radius: 24px; background: #221E17; }
.safety__item svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.safety__item h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; font-weight: 800; }
.safety__item p { margin: 0; font-size: 15px; color: #CDBFA6; }
.safety a { color: var(--accent); }

.cta { text-align: center; }
.cta__box { padding: 80px 32px; border-radius: 44px; background: var(--accent); color: var(--ink); }
.cta__box h2 { margin: 0 0 14px; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -0.05em; font-weight: 900; }
.cta__box h2 .serif { font-weight: 400; }
.cta__box p { margin: 0 auto 30px; max-width: 520px; font-size: 19px; color: #3A2A1C; }
.cta__box .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta__box .btn--line { box-shadow: inset 0 0 0 2px var(--ink); }
.cta__box .btn--line:hover { background: rgba(23, 20, 15, .08); }

/* ---------- yasal ve destek sayfaları ---------- */
main { max-width: 860px; margin: 0 auto; padding: 8px var(--pad) 72px; }
.card { background: var(--card); border-radius: 32px; padding: 44px; box-shadow: inset 0 0 0 1px var(--line); }
.card h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.02; margin: 0 0 10px; letter-spacing: -0.045em; font-weight: 900; }
.card h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.02em; font-weight: 800; }
p, li { color: var(--ink); }
.muted { color: var(--ink2); font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.code { font: 900 34px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 4px; margin: 16px 0 4px; }
button.btn { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.card .btn { height: 50px; padding: 0 22px; font-size: 16px; }
.card .btn:not(.btn--ink):not(.btn--line) { background: var(--accent); color: #FFFBF2; }

/* ---------- alt bilgi ---------- */
footer { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 48px; color: var(--ink2); font-size: 14px; }
footer a { color: var(--ink2); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot .brand-line { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 26px; letter-spacing: -0.06em; color: var(--ink); margin-bottom: 10px; }
.foot .brand-line img { width: 30px; height: 30px; border-radius: 9px; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 34px; font-size: 13px; color: var(--ink3); }

/* ---------- dar ekran ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .stage { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__text { padding: 36px 28px; }
  .feature__media { min-height: 0; padding-top: 36px; }
  .steps { grid-template-columns: 1fr; }
  .safety__grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --pad: 16px; }
  body > header { padding: 16px var(--pad); }
  header nav a:not(.nav-cta) { display: none; }
  .home header nav a:not(.nav-cta) { display: none; }
  header a.brand { font-size: 26px; }
  section { padding: 64px 0; }
  .stage { height: 470px; }
  .stage__blob { inset: 30px 0 10px 30px; border-radius: 32px; }
  .stage .phone--front { width: 220px; right: 10px; }
  .stage .phone--back { width: 190px; top: 90px; }
  .chip { font-size: 14px; padding: 10px 14px; }
  .chip--online { bottom: 24px; }
  .feature__media .phone { width: 250px; }
  .feature__media .phone img { height: 400px; }
  .safety { border-radius: 28px; margin: 0 8px; }
  .safety__grid { grid-template-columns: 1fr; }
  .cta__box { padding: 56px 20px; border-radius: 28px; }
  .card { padding: 26px 20px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; }
  .btn { height: 52px; padding: 0 22px; }
}
