/* İstima website */
:root {
  --brand: #C81E3A;
  --brand-hover: #A3142D;
  --brand-soft: rgba(200, 30, 58, .08);
  --on-brand: #FFFFFF;
  --bg: #FBF8F4;
  --bg-alt: #F4EEE7;
  --surface: #FFFFFF;
  --text: #1C1A1F;
  --muted: #625C67;
  --line: rgba(28, 26, 31, .1);
  --ink: #17141A;
  --ink-text: #F3EEE9;
  --ink-muted: #ABA3AF;
  --shadow: 0 1px 2px rgba(20, 10, 15, .05), 0 18px 48px -24px rgba(20, 10, 15, .35);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #F0566E;
    --brand-hover: #FF7088;
    --brand-soft: rgba(240, 86, 110, .12);
    --on-brand: #1A0A0E;
    --bg: #141216;
    --bg-alt: #1A171C;
    --surface: #1E1B21;
    --text: #F3EEE9;
    --muted: #A79FAB;
    --line: rgba(255, 255, 255, .09);
    --ink: #0E0C10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 48px -24px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
kbd { font: 600 .78em/1 var(--sans); padding: .28em .5em; margin: 0 .1em; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; white-space: nowrap; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); padding: .15em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.kicker { font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -12px var(--brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 22px/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav + .gh { margin-left: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.gh { display: inline-flex; color: var(--muted); }
.gh:hover { color: var(--text); }
.gh svg { width: 22px; height: 22px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 56px; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -80px 0 auto; height: 620px; z-index: -1; background: radial-gradient(900px 420px at 78% 10%, var(--brand-soft), transparent 70%), radial-gradient(600px 360px at 8% 0%, color-mix(in srgb, #F2A541 12%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 600; line-height: 1; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero .lead { max-width: 33em; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 32px; color: var(--muted); font-size: 15px; font-weight: 500; }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { width: 18px; height: 18px; color: var(--brand); }

.sample { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 18px 14px 14px; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.sample-play { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; padding: 14px; background: var(--brand); color: var(--on-brand); cursor: pointer; transition: background .15s, transform .1s; }
.sample-play:hover { background: var(--brand-hover); }
.sample-play:active { transform: scale(.95); }
.sample-play svg { width: 100%; height: 100%; }
.sample-play .i-pause, .sample.playing .sample-play .i-play { display: none; }
.sample.playing .sample-play .i-pause { display: block; }
.sample-body { flex: 1; min-width: 0; }
.sample figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.sample figcaption span { color: var(--muted); font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; cursor: pointer; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--text) 18%, transparent); transition: background .15s; }
.wave i.on { background: var(--brand); }
.transcript { max-width: 460px; margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.transcript summary { cursor: pointer; font-weight: 500; width: fit-content; }
.transcript p { margin: 8px 0 0; }

.hero-visual { position: relative; padding-bottom: 48px; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow), 0 40px 80px -40px rgba(120, 20, 40, .35); transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--text) 16%, transparent); }
.browser-bar span { margin-left: 14px; flex: 1; max-width: 380px; height: 22px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 12px; line-height: 22px; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.popup-shot img { position: absolute; right: -18px; bottom: 0; width: clamp(150px, 15vw, 210px); border-radius: 14px; box-shadow: var(--shadow), 0 30px 60px -20px rgba(0, 0, 0, .35); border: 1px solid var(--line); }

.compat { padding: 28px 0 8px; }
.compat p { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.compat ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; list-style: none; padding: 0; margin: 0; font: 600 18px/1.2 var(--serif); color: color-mix(in srgb, var(--text) 62%, transparent); }
.compat li { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.compat li svg { width: 26px; height: 26px; fill: currentColor; flex: none; transition: fill .2s; }
.compat li:hover { color: var(--text); }
.compat li:hover svg { fill: var(--c); }
.b-chrome { --c: #4285F4; }
.b-edge { --c: #0078D7; }
.b-brave { --c: #FB542B; }
.b-opera { --c: #FF1B2D; }
.b-vivaldi { --c: #EF3939; }
.b-arc { --c: #E8516A; }
@media (max-width: 560px) { .compat ul { gap: 14px 24px; font-size: 16px; } .compat li svg { width: 22px; height: 22px; } }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 16px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps picture { display: block; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 22px; }
.steps img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.steps img.contain { object-fit: contain; object-position: center; padding: 14px; background: var(--bg); }
.steps h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.steps h3 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 15px/1 var(--sans); flex: none; }
.steps p { margin: 0; color: var(--muted); }

.privacy { background: var(--ink); color: var(--ink-text); }
.privacy .kicker { color: #FF8A9C; }
.privacy .lead { color: var(--ink-muted); }
.privacy h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 18px; }
.privacy-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #FF8A9C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%2317141A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.text-link { color: #FF8A9C; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.stats div { background: var(--ink); padding: 28px 24px; }
.stats dt { color: var(--ink-muted); font-size: 14px; margin-bottom: 6px; }
.stats dd { margin: 0; font: 600 clamp(40px, 4.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; }
.stats small { font: 500 16px var(--sans); color: var(--ink-muted); letter-spacing: 0; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font: 600 20px/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 20px; color: var(--muted); }

.install { background: radial-gradient(800px 400px at 50% 0%, var(--brand-soft), transparent 70%); }
.install-logo { margin: 0 auto 22px; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(200, 30, 58, .7); }
.install h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 12px; }
.install .lead { margin: 0 0 28px; }
.install-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.install-note { color: var(--muted); font-size: 15px; margin: 0 0 30px; }
.install-cta .btn[aria-disabled="true"] { opacity: .9; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.manual { text-align: left; padding: 26px 30px; max-width: 560px; margin: 0 auto; }
.manual h3 { font-size: 22px; margin-bottom: 10px; }
.manual ol { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 6px; }
.manual li::marker { color: var(--brand); font-weight: 700; }

.credits { padding: 0 0 72px; }
.credits h2 { font-size: 22px; margin-bottom: 8px; }
.credits p { color: var(--muted); font-size: 15px; margin: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot .brand { font-size: 19px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0 0 0 auto; }

/* legal pages */
.doc { padding: clamp(48px, 7vw, 88px) 0 96px; }
.doc h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 12px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 85%, transparent); }
.doc ul { padding-left: 22px; }

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .browser { transform: none; }
  .popup-shot img { right: 8px; }
  .nav { display: none; }
  .bar .gh { margin-left: auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .sample { border-radius: 20px; }
  .sample figcaption { flex-direction: column; gap: 2px; }
  .stats div { padding: 22px 18px; }
  .foot p { margin: 0; width: 100%; }
  .manual { padding: 22px; }
  .install-cta .btn { white-space: normal; height: auto; min-height: 54px; padding: 12px 22px; text-align: center; width: 100%; }
  .popup-shot img { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.push { margin-left: auto; }
