/* Keyora — tanıtım sayfası
   Fikir: sayfa uygulamanın iki temasını kullanır. Açık zemin (uygulamanın açık temasının pembe paneli)
   dünyanın geri kalanı; koyu paneller (uygulamanın koyu teması) kasanın kendisi.
   Tek gösterişli an: hero'daki adres çubuğu — "Şifreleriniz nerede?" sorusunun cevabı bir dosya yolu.
   Dış kaynak yok: Fraunces, Instrument Sans ve Cascadia Mono assets/fonts/ altında (OFL). */

/* Türkçe: ı latin, ş ğ İ latin-ext alt kümesinde; tarayıcı yalnızca gerekeni indirir. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  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: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cascadia Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/cascadia-mono-latin.woff2") format("woff2");
  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: "Cascadia Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/cascadia-mono-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* dünya: uygulamanın açık teması */
  --paper: #f3edf0;
  --paper-2: #e9e0e5;
  --line: #d8ccd2;
  --ink: #2a2335;
  --ink-soft: #5d5469;
  --rose: #a84a62;          /* metin üstünde vurgu; zemine karşı 5.6:1 */
  /* kasa: uygulamanın koyu teması */
  --vault: #1f1d2e;
  --vault-2: #2b2842;
  --vault-line: #3e3b58;
  --vault-text: #ece8f0;
  --vault-muted: #a7a0b5;
  --petal: #e8a0b5;         /* uygulamanın vurgu rengi; yalnızca koyu zeminde */
  --mint: #a8d8b9;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Cascadia Mono", Consolas, "Courier New", monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 34em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--f-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.vault :focus-visible, .addr:focus-visible { outline-color: var(--petal); }
code { font: .88em/1.4 var(--f-mono); background: var(--paper-2); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font: 600 clamp(32px, 4.2vw, 50px)/1.08 var(--f-display); letter-spacing: -.015em; font-variation-settings: "opsz" 96; max-width: 20ch; }
h3 { font: 600 20px/1.3 var(--f-body); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* düğmeler */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 12px; font: 600 17px/1 var(--f-body); text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink);
}
.btn:hover { background: #3a3149; color: var(--paper); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.link { font-weight: 600; }

/* üst çubuk */
.top { padding: 20px 0; }
.top .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--f-display); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 16px; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 760px) { .top .hide-sm { display: none; } .top nav { gap: 18px; } }

/* ============ HERO ============ */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font: 600 clamp(54px, 8.2vw, 112px)/.98 var(--f-display); letter-spacing: -.025em;
  font-variation-settings: "opsz" 144; max-width: 9ch;
}
.addr {
  margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; gap: 14px;
  background: var(--vault); color: var(--vault-muted); border-radius: 12px; padding: 16px 18px;
  font: 400 clamp(14px, 1.45vw, 17px)/1.4 var(--f-mono); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 40px -24px rgba(31,29,46,.6);
}
.addr svg { width: 22px; height: 22px; flex: none; color: var(--petal); }
.addr .path { overflow-wrap: break-word; }
.addr .path b { font-weight: 400; color: var(--vault-text); }
.addr .path .db { color: var(--petal); }
.addr .caret { display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--petal); }
.answer { margin-top: 22px; font-size: 21px; line-height: 1.55; max-width: 30em; }
.answer strong { font-weight: 600; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.fine { margin-top: 18px; font-size: 15px; color: var(--ink-soft); max-width: 36em; }

.film { position: relative; margin: 0; }
.film video { width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--vault); box-shadow: 0 40px 80px -40px rgba(31,29,46,.55); }
.film figcaption { margin-top: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.vbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; min-width: 36px; padding: 0 12px;
  border-radius: 9px; border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font: 600 14px/1 var(--f-body); cursor: pointer;
}
.vbtn:hover { border-color: var(--ink); }
.vbtn svg { width: 16px; height: 16px; }
#sound .on { display: none; }
#sound[aria-pressed="true"] .on { display: inline; }
#sound[aria-pressed="true"] .off { display: none; }
#playpause .play-i { display: none; }
#playpause[data-state="paused"] .play-i { display: inline; }
#playpause[data-state="paused"] .pause-i { display: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .film { max-width: 520px; }
}

/* ============ NASIL ÇALIŞIR (sabit ekran + adımlar) ============ */
.tour { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper-2); }
.tour .intro { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.tour-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { counter-increment: s; padding: 28px 0 28px 58px; position: relative; border-top: 1px solid var(--line); min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
.step::before {
  content: counter(s); position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 600 17px/1 var(--f-display); border: 1.5px solid var(--line); color: var(--ink-soft); background: var(--paper);
}
.step.on::before { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.step h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--f-display); letter-spacing: -.01em; }
.step p { margin-top: 10px; color: var(--ink-soft); max-width: 30em; }
.step .shot { display: none; }
.screen { position: sticky; top: 10vh; }
.win { border-radius: 12px; overflow: hidden; background: var(--vault); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -40px rgba(31,29,46,.6); }
.win .bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 0 0 14px; color: var(--vault-muted); font-size: 13px; }
.win .bar img { width: 16px; height: 16px; border-radius: 4px; }
.win .bar .ctl { margin-left: auto; display: flex; height: 100%; }
.win .bar .ctl i { width: 46px; display: grid; place-items: center; }
.win .bar .ctl i::before { content: ""; width: 10px; height: 10px; border: 1px solid var(--vault-muted); border-radius: 1px; }
.win .bar .ctl i:first-child::before { height: 0; border-width: 1px 0 0; }
.win .bar .ctl i:last-child::before { border: 0; width: 12px; height: 12px; background:
  linear-gradient(45deg, transparent 46%, var(--vault-muted) 46%, var(--vault-muted) 54%, transparent 54%),
  linear-gradient(-45deg, transparent 46%, var(--vault-muted) 46%, var(--vault-muted) 54%, transparent 54%); }
.panes { position: relative; aspect-ratio: 1600 / 931; background: var(--vault); }
.pane { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; }
.pane.on { opacity: 1; }
.pane img { max-height: 100%; width: auto; }
.pane.full img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pane.mid img { max-width: 78%; max-height: 92%; border-radius: 8px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.pane.zoom img { width: 100%; height: 100%; object-fit: cover; }
.screen-note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .pane { transition: none; } }
@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; }
  .screen { display: none; }
  .step { min-height: 0; padding: 26px 0; }
  .step::before { position: static; transform: none; margin-bottom: 12px; }
  .step .shot { display: block; margin-top: 18px; border-radius: 10px; background: var(--vault); padding: 10px; }
  .step .shot img { border-radius: 6px; margin: 0 auto; }
}

/* ============ AYRINTILAR ============ */
.details { padding: clamp(64px, 9vw, 120px) 0; }
.details dl { margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.details dl div { padding: 24px 0; border-top: 1px solid var(--line); }
.details dt { font-weight: 600; font-size: 19px; }
.details dd { margin: 8px 0 0; color: var(--ink-soft); max-width: 32em; }
@media (max-width: 760px) { .details dl { grid-template-columns: 1fr; } }

/* ============ GÜVENLİK (kasa) ============ */
.vault { background: var(--vault); color: var(--vault-text); padding: clamp(64px, 9vw, 120px) 0; }
.vault .lede { color: var(--vault-muted); margin-top: 18px; }
.vault a:hover { color: var(--petal); }
.vault-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree { font: 400 18px/1.5 var(--f-mono); }
.tree ul { margin-left: 14px; padding-left: 24px; border-left: 1.5px solid var(--vault-line); }
.tree li { position: relative; padding: 14px 0; }
.tree ul > li::before { content: ""; position: absolute; left: -24px; top: 28px; width: 18px; border-top: 1.5px solid var(--vault-line); }
.tree ul > li:last-child::after { content: ""; position: absolute; left: -26px; top: 29px; bottom: 0; width: 4px; background: var(--vault); }
.tree .k { color: var(--vault-text); }
.tree .k.key { color: var(--petal); }
.tree .k.ok { color: var(--mint); }
.tree .via { color: var(--vault-muted); }
.tree small { display: block; font: 400 16px/1.45 var(--f-body); color: var(--vault-muted); margin-top: 3px; }
.facts { display: grid; gap: 0; }
.facts div { padding: 20px 0; border-top: 1px solid var(--vault-line); }
.facts h3 { color: var(--vault-text); }
.facts p { margin-top: 6px; color: var(--vault-muted); }
.warn { margin-top: clamp(36px, 5vw, 56px); padding: 22px 24px; border-radius: 12px; border: 1.5px solid #6b4a5a; background: #2a2236; color: var(--vault-text); max-width: 48em; }
.warn strong { color: var(--petal); }
@media (max-width: 900px) { .vault-grid { grid-template-columns: 1fr; } }

/* ============ İNDİR ============ */
.get { padding: clamp(72px, 10vw, 136px) 0; text-align: left; }
.get .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.get img.k { width: 96px; height: 96px; border-radius: 22px; }
.get h2 { font-size: clamp(40px, 6vw, 76px); max-width: none; }
.get .rest { grid-column: 2; }
.get .rest p { color: var(--ink-soft); max-width: 36em; }
.get .cta { margin-top: 26px; }
@media (max-width: 640px) { .get .wrap { grid-template-columns: 1fr; } .get .rest { grid-column: auto; } .get img.k { width: 72px; height: 72px; } }

/* ============ SSS ============ */
.faq { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat; }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ============ ALT ============ */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer .copy { margin-left: auto; }
@media (max-width: 640px) { footer .copy { margin-left: 0; } }
