/* HexDesk indirme sitesi — Astra "Yakınlık" kimliği (design/astra/KIMLIK.md, theme.css).
   Koyu varsayılan, prefers-color-scheme: light ile açık. Dış font/CDN yok; satır içi stil yok (CSP style-src 'self'). */
:root {
  color-scheme: dark;
  --bg: #101916;
  --side: #131d18;
  --panel: #1b2821;
  --field: #142019;
  --line: #34453a;
  --text: #f3f4eb;
  --muted: #b0bcaf;
  --accent: #d6f279;
  --ink: #17250d;
  --good: #b9e29c;
  --warn: #f2c586;
  --mark: #d6f279;
  --hover: #80996b18;
  --pad: 84px;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f3eb;
    --side: #eaece2;
    --panel: #fffdf6;
    --field: #f0f1e8;
    --line: #cfd5c8;
    --text: #18261e;
    --muted: #59675b;
    --good: #365f28;
    --warn: #795014;
    --mark: #426124;
    --hover: #80996b14;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
a, button, summary { outline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--good); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 550; }
h3 { font-size: 17px; line-height: 1.35; }
p { margin: 0; }
code {
  font: 0.86em/1.5 ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  background: var(--field);
  border: 1px solid var(--line);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
strong { font-weight: 600; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.sub { color: var(--muted); font-size: 14px; line-height: 1.55; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* --- Üst şerit ---------------------------------------------------------------------------------------------------- */
.top { border-bottom: 1px solid var(--line); }
.top-in { height: 96px; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-size: 20px; font-weight: 750; letter-spacing: -0.8px; text-decoration: none;
}
.mark { width: 33px; height: 30px; flex: none; }
.mark path { fill: none; stroke: var(--mark); stroke-width: 7; stroke-linejoin: round; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 14px; text-decoration: none; color: var(--text); padding: 6px 0; transition: color .14s ease-out; }
.nav a:hover { color: var(--good); }
.signature { font-size: 11px; letter-spacing: 1px; color: var(--muted); }

/* --- Giriş: metin solda, görsel sağda ------------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; right: 0; top: 0; width: 65%; height: 100%; z-index: -2; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
          mask-image: linear-gradient(90deg, transparent, #000 20%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 15%, transparent 80%);
}
.hero-in { min-height: 640px; padding-top: 110px; padding-bottom: 110px; display: flex; align-items: center; }
.copy { max-width: 600px; }
.hero .eyebrow { font-size: 13px; letter-spacing: 2.4px; margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(38px, 11vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 0 0 24px;
}
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--good); letter-spacing: -0.04em; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 420px; margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* --- Düğmeler ----------------------------------------------------------------------------------------------------- */
.btnline { display: flex; flex-wrap: wrap; gap: 9px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: box-shadow .14s ease-out, transform .1s ease-out;
}
.btn:hover { box-shadow: inset 0 0 0 100px var(--hover); }
.btn:active { transform: scale(.975); }
.btn.primary { background: var(--accent); color: var(--ink); border-color: transparent; }
.btn.wide { width: 100%; }
.btn.is-soon { opacity: .55; cursor: default; }
.btn.is-soon:hover { box-shadow: none; }
.btn.is-soon:active { transform: none; }
.card .btn.is-soon { pointer-events: none; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* --- Faydalar ----------------------------------------------------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefits > div { border-top: 1px solid var(--line); padding: 28px 30px 32px 0; }
.benefits h3 { margin-bottom: 8px; }
.benefits p { color: var(--muted); font-size: 14px; }

/* --- Bölümler ve kartlar ------------------------------------------------------------------------------------------ */
.section { padding-top: 88px; scroll-margin-top: 8px; }
.section > h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 12px; }
.section > .sub { margin-bottom: 28px; }
.section > h2 + .grid, .section > h2 + .connect { margin-top: 28px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.card h3 { margin-bottom: 8px; }

.dl { display: flex; flex-direction: column; gap: 20px; }
.dl.recommended { box-shadow: inset 3px 0 var(--accent); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-top h3 { font-size: 20px; margin: 0 0 4px; letter-spacing: -0.4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; font-size: 12px; color: var(--muted);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ready { color: var(--good); }
.pill.here { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); }

.meta { margin: 0; display: grid; gap: 10px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.meta[hidden] { display: none; }
.meta div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; min-width: 0; }
.meta .sum code { display: block; font-size: 12px; word-break: break-all; margin-bottom: 8px; }
.copy-btn {
  font: inherit; font-size: 12px; font-weight: 600; color: var(--text); background: var(--field);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; min-height: 30px; cursor: pointer;
  transition: box-shadow .14s ease-out, transform .1s ease-out;
}
.copy-btn:hover { box-shadow: inset 0 0 0 100px var(--hover); }
.copy-btn:active { transform: scale(.975); }
.copy-btn.done { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); }

.verify { margin-top: 18px; padding: 18px 24px; }
.verify summary { cursor: pointer; font-weight: 600; }
.verify p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.verify .k { display: block; font-size: 12px; margin-bottom: 4px; }

.steps { margin: 4px 0 16px; padding-left: 1.3em; }
.steps li { margin-bottom: 12px; padding-left: 4px; }
.steps li::marker { color: var(--muted); font-weight: 600; }
.steps ul { margin: 8px 0 0; padding-left: 1.1em; }
.steps ul li { margin-bottom: 6px; }

/* Bağlan: kimlik kartı + üç adım */
.connect { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
.id-card {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--panel) 30%, color-mix(in srgb, var(--panel) 90%, #d6f279));
  padding: 26px 28px;
}
.label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.id-number {
  font: 500 clamp(30px, 4vw, 40px)/1.15 ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  letter-spacing: -1.5px; margin: 6px 0 22px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.id-number span { color: var(--muted); }
.rule { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 16px; }
.password { font: 18px ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace; letter-spacing: 2px; }
.id-card .sub { font-size: 12px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.flow li:first-child { border-top: 0; padding-top: 4px; }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--muted); font-size: 15px; }
.num {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  background: var(--field); border: 1px solid var(--line); color: var(--good); font-weight: 700; font-size: 14px;
}

.security .card p { color: var(--muted); font-size: 15px; }
.warn-note {
  margin-top: 18px; padding: 14px 16px; border-radius: 13px; font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 6%, var(--panel));
  color: var(--text);
}

/* --- Alt bilgi ---------------------------------------------------------------------------------------------------- */
.foot { margin-top: 96px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; color: var(--muted); font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 30;
  margin: 0; background: var(--accent); color: var(--ink); padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: 0 24px 70px #0005; animation: appear .18s ease-out;
}
.toast[hidden] { display: none; }
@keyframes appear { from { opacity: 0; transform: translate(-50%, 7px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- Duyarlı ------------------------------------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  :root { --pad: 48px; }
  .nav { gap: 22px; }
  .hide-md { display: none; }
}
@media (max-width: 960px) {
  .connect { grid-template-columns: 1fr; }
  .benefits > div { padding-right: 20px; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .top-in { height: 68px; }
  .hide-sm { display: none; }
  .brand { font-size: 18px; }
  /* Tek sütun: görsel üstte (alta doğru zemine erir), metin altında */
  .hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .hero-art img {
    object-position: 62% 45%;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 92%);
            mask-image: linear-gradient(180deg, #000 50%, transparent 92%);
  }
  .hero::after { display: none; }
  .hero-in { min-height: 0; padding-top: 0; padding-bottom: 48px; margin-top: -16px; position: relative; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero h1 { margin-bottom: 18px; }
  .lead { font-size: 16px; margin-bottom: 24px; }
  .btnline .btn { flex: 1 1 100%; }
  .benefits { grid-template-columns: 1fr; }
  .benefits > div { padding: 22px 0; }
  .grid.two { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .card { padding: 20px; }
  .verify { padding: 16px 20px; }
  .foot { margin-top: 64px; }
  .foot-in { flex-direction: column; }
}
@media (max-width: 360px) {
  .id-number { font-size: 28px; letter-spacing: -1px; }
  .card-top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
