/* Claritas — shared stylesheet. Plain CSS, no build step.
   Brand: Gece #0B132B · Kırık Beyaz #F8F6F2 · Kömür #242731
   Accents: Şeftali #F5C2A5 · Lavanta #B7A7E8 · Berrak Mavi #738CEB · Yumuşak Mavi #A9C6F2
   Type: Inter — ExtraBold display/numbers, Bold headings, SemiBold subheads/CTA, Regular body, Light notes. */
:root {
  --gece: #0B132B; --kirik-beyaz: #F8F6F2; --komur: #242731;
  --seftali: #F5C2A5; --lavanta: #B7A7E8; --berrak: #738CEB; --yumusak: #A9C6F2;
  --brand-gradient: linear-gradient(120deg, var(--seftali) 0%, var(--lavanta) 50%, var(--berrak) 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: var(--kirik-beyaz); --surface: #FFFFFF; --surface2: #EFECE6;
  --ink: var(--gece); --ink2: #4A5068; --ink3: #737A90;
  --hair: rgba(11,19,43,.10);
  --link: #4D66D6;            /* Berrak Mavi darkened for AA text contrast */
  --link-hover: var(--gece);
  --radius: 18px; --max: 1080px; --read: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--gece); --surface: #141C38; --surface2: var(--komur);
    --ink: var(--kirik-beyaz); --ink2: #C3C7D4; --ink3: #9198AD;
    --hair: rgba(248,246,242,.12);
    --link: var(--yumusak); --link-hover: #FFFFFF;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; margin: 0 0 .45em; letter-spacing: -.04em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin: 2.2em 0 .6em; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.6em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }

/* Header */
.site-header { border-bottom: 1px solid var(--hair); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-lang { border: 1px solid var(--hair); border-radius: 999px; padding: 3px 10px; font-size: .78rem; letter-spacing: .04em; }
.nav-cta { background: var(--gece); color: var(--kirik-beyaz) !important; padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--komur); }
@media (prefers-color-scheme: dark) {
  .nav-cta { background: var(--kirik-beyaz); color: var(--gece) !important; }
  .nav-cta:hover { background: #fff; }
}

/* Hero — brand gradient Şeftali → Lavanta → Berrak Mavi */
.hero { background: var(--brand-gradient); color: var(--gece); padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 20% 10%, rgba(255,255,255,.55), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--gece); max-width: 15ch; }
.hero .lede { font-size: 1.2rem; color: rgba(11,19,43,.82); max-width: 46ch; }
.hero .meta { color: rgba(11,19,43,.7); }
.hero a { color: var(--gece); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--ink3); margin-bottom: .8em; }
.hero .eyebrow { color: rgba(11,19,43,.7); }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-icon img { width: 220px; height: 220px; border-radius: 50px; box-shadow: 0 30px 70px rgba(11,19,43,.35); display: block; }
@media (max-width: 760px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-icon { order: -1; margin-bottom: 24px; }
  .hero-icon img { width: 96px; height: 96px; border-radius: 22px; }
}
.page-head { padding: 44px 0 8px; }
.page-head .lede { font-size: 1.15rem; color: var(--ink2); max-width: 60ch; }

/* App Store badge */
.store-badge { display: inline-block; margin: 14px 0 8px; line-height: 0; border-radius: 10px; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { width: 180px; height: auto; }
.store-badge-lg img { width: 220px; }
@media (max-width: 760px) { .store-badge-lg img { width: 240px; } }
.meta { font-size: .9rem; font-weight: 300; color: var(--ink3); }

/* Content */
main { padding-bottom: 32px; }
.breadcrumb { font-size: .88rem; color: var(--ink3); padding-top: 20px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-inline-end: 6px; }
[dir="rtl"] .breadcrumb li + li::before { content: "‹"; }
.breadcrumb a { color: var(--ink3); }
.answer { position: relative; background: var(--surface); border: 1px solid var(--hair); padding: 18px 22px; padding-inline-start: 26px; border-radius: 14px; margin: 24px 0; overflow: hidden; }
.answer::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--brand-gradient); }
.answer p:last-child { margin-bottom: 0; }
.facts { border-collapse: collapse; width: 100%; margin: 16px 0 24px; font-size: .95rem; }
.facts th, .facts td { text-align: start; padding: 11px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.facts th { width: 38%; color: var(--ink2); font-weight: 600; }
.facts thead th { color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* Feature cards — tinted by group like the app's category tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 0; list-style: none; margin: 16px 0 0; }
.grid li { margin: 0; }
.card { --tint: var(--berrak); display: block; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; background-image: linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, transparent), transparent 55%); }
.card:hover { color: var(--ink); border-color: color-mix(in srgb, var(--tint) 70%, transparent); transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(11,19,43,.35); }
.card h3 { margin: 0 0 .35em; font-size: 1.06rem; font-weight: 700; }
.card p { margin: 0; color: var(--ink2); font-size: .94rem; }
.card[data-group="Scan"] { --tint: var(--yumusak); }
.card[data-group="Cleanup"] { --tint: var(--berrak); }
.card[data-group="Explore"] { --tint: var(--lavanta); }
.card[data-group="Create"], .card[data-group="Track"] { --tint: var(--seftali); }
.card[data-group="Privacy"] { --tint: var(--yumusak); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gece); background: color-mix(in srgb, var(--tint) 55%, #fff); padding: 2px 9px; border-radius: 999px; margin-bottom: 10px; }
details { border-bottom: 1px solid var(--hair); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6em 0 0; color: var(--ink2); }
.updated { font-size: .85rem; font-weight: 300; color: var(--ink3); }

/* Download band at the bottom of every page — Gece with brand glow */
.download-band { background: var(--gece); color: var(--kirik-beyaz); padding: 44px 0; margin-top: 56px; position: relative; overflow: hidden; }
.download-band::before { content: ""; position: absolute; inset: -40% -10% -40% 45%; background: radial-gradient(closest-side, rgba(183,167,232,.45), transparent), radial-gradient(closest-side at 70% 70%, rgba(115,140,235,.45), transparent), radial-gradient(closest-side at 30% 80%, rgba(245,194,165,.35), transparent); filter: blur(30px); pointer-events: none; }
.download-band .wrap { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.download-band .dl-icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.download-band .dl-text { flex: 1 1 260px; }
.download-band h2 { margin: 0 0 .3em; color: var(--kirik-beyaz); }
.download-band p { margin: 0; color: rgba(248,246,242,.82); font-weight: 300; }
.download-band .store-badge { margin: 0; }
.download-band .store-badge-lg img { width: 200px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hair); padding: 36px 0 48px; font-size: .92rem; color: var(--ink2); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer h2 { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .8em; color: var(--ink3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--ink2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .small { margin-top: 24px; color: var(--ink3); font-size: .82rem; font-weight: 300; }
.langs { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); }
.langs ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 700; }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 1px solid var(--hair); border-radius: 16px; padding: 16px; box-shadow: 0 16px 44px rgba(11,19,43,.22); z-index: 20; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent button { font: inherit; font-weight: 600; border-radius: 999px; padding: 8px 18px; cursor: pointer; border: 1px solid var(--hair); background: var(--surface2); color: var(--ink); }
.consent button.primary { background: var(--gece); border-color: var(--gece); color: var(--kirik-beyaz); }
@media (prefers-color-scheme: dark) { .consent button.primary { background: var(--kirik-beyaz); color: var(--gece); } }
.linkbtn { font: inherit; background: none; border: 0; padding: 0; color: var(--ink2); cursor: pointer; text-decoration: underline; }

@media (max-width: 600px) {
  .site-header { position: static; }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
}
@media (prefers-color-scheme: dark) {
  .download-band { background: var(--surface); border-block: 1px solid var(--hair); }
}

/* Four brand benefits — one accent each, as in the brand guideline */
.benefits { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.benefits li { margin: 0; padding: 20px; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--surface); background-image: linear-gradient(160deg, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%); }
.benefits li:nth-child(1) { --accent: var(--seftali); }
.benefits li:nth-child(2) { --accent: var(--lavanta); }
.benefits li:nth-child(3) { --accent: var(--berrak); }
.benefits li:nth-child(4) { --accent: var(--yumusak); }
.benefits h3 { margin: 0 0 .3em; font-weight: 700; }
.benefits p { margin: 0; color: var(--ink2); }
