/* CRYPTO — monochrome, siyah ana tema, açık tema seçilebilir */

:root,
[data-theme="dark"] {
  --bg: #000000;
  --fg: #f2f2f2;
  --panel: #070707;
  --panel-2: #0c0c0c;
  --line: #232323;
  --line-2: #3a3a3a;
  --dim: #7d7d7d;
  --dim-2: #565656;
  --inv: #000000;
  --grain: 0.05;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --panel: #f4f4f4;
  --panel-2: #ececec;
  --line: #dcdcdc;
  --line-2: #bcbcbc;
  --dim: #5c5c5c;
  --dim-2: #8a8a8a;
  --inv: #ffffff;
  --grain: 0.03;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Helvetica, Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .18s linear, color .18s linear;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }
dl, dd, dt { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.mono { font-family: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace; }
.dim { color: var(--dim); }
.push { margin-left: auto; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 80;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 26px; height: 52px; }

.mark {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em;
  color: var(--fg);
}
.mark svg { color: var(--fg); }

.nav { display: flex; gap: 20px; margin-left: 14px; }
.nav a {
  font-size: 13px; color: var(--dim); letter-spacing: .01em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .14s, border-color .14s;
}
.nav a:hover { color: var(--fg); border-bottom-color: var(--fg); }

.top-r { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.led {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--line-2); padding: 4px 9px;
}
.led i {
  width: 6px; height: 6px; background: var(--fg);
  animation: blink 2.4s steps(1) infinite;
}
@keyframes blink { 0%, 70% { opacity: 1 } 71%, 100% { opacity: .25 } }

.tbtn {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px; letter-spacing: .1em; color: var(--dim);
  border: 1px solid var(--line); padding: 5px 9px;
  transition: .14s;
}
.tbtn:hover { color: var(--fg); border-color: var(--fg); }

.burger {
  display: none; width: 30px; height: 26px;
  flex-direction: column; justify-content: center; gap: 5px;
  border: 1px solid var(--line); padding: 0 6px;
}
.burger span { display: block; height: 1.5px; background: var(--fg); transition: .18s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg) }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg) }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--fg); border-radius: 0;
  transition: background-color .14s, color .14s, opacity .14s;
}
.btn-solid { background: var(--fg); color: var(--inv); }
.btn-solid:hover { background: transparent; color: var(--fg); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--fg); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.busy .btn-label { letter-spacing: .16em; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.05), transparent 70%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 72px);
}

.brand {
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.brand .eyebrow {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--dim); margin-bottom: clamp(18px, 2.6vw, 30px);
}
.brand h1 {
  font-size: clamp(56px, 15.5vw, 218px);
  line-height: .84; letter-spacing: -.055em; text-transform: uppercase;
  font-weight: 800;
  color: var(--fg);
  margin: 0;
}
.brand .tag {
  margin-top: clamp(20px, 3vw, 34px);
  font-size: clamp(15px, 1.9vw, 20px);
  color: var(--dim); letter-spacing: -.01em;
  max-width: 60ch; margin-inline: auto; line-height: 1.55;
}
.brand .hl {
  display: inline-block;
  background: var(--fg); color: var(--inv);
  padding: 0 .12em;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  align-items: start;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.hero-l .lede {
  max-width: 62ch;
  font-size: 16px; line-height: 1.7; color: var(--dim);
}
.hero-l .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.micro {
  margin-top: 18px; font-size: 12.5px; color: var(--dim-2);
  font-family: "SF Mono", Consolas, monospace; letter-spacing: .02em;
}
.micro.c { text-align: center; }

/* spec sheet */
.spec { border: 1px solid var(--line); background: var(--panel); }
.spec-h {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
.spec dl > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 14px; border-bottom: 1px solid var(--line);
  font-family: "SF Mono", Consolas, monospace; font-size: 12px;
}
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { color: var(--dim); text-transform: lowercase; }
.spec dd { color: var(--fg); font-weight: 600; }
.spec dd.ok { position: relative; }
.spec dd.ok::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  background: var(--fg); margin-right: 6px; vertical-align: middle;
}
.spec dd.none { color: var(--dim-2); }
.spec-note {
  margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--dim-2);
}

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--panel); padding: 9px 0;
}
.ticker-in {
  display: flex; gap: 22px; white-space: nowrap; width: max-content;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
  animation: slide 42s linear infinite;
}
.ticker-in b { color: var(--line-2); font-weight: 400; }
.ticker-in i { font-style: normal; color: var(--fg); }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) {
  .ticker-in { animation: none; flex-wrap: wrap; white-space: normal; width: auto; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(52px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }

.shead {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 34px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.shead .num {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px; letter-spacing: .16em; color: var(--dim-2);
}
.shead h2 {
  font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.035em;
  text-transform: lowercase; white-space: nowrap;
}
.shead .rule { flex: 1; height: 1px; background: var(--line); }

/* ---------- feature list ---------- */
.flist > li {
  display: grid; grid-template-columns: 44px 1fr 190px;
  gap: 26px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.flist > li:last-child { border-bottom: 0; }
.flist > li:hover { background: var(--panel); }
.fn {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px; color: var(--dim-2); padding-top: 5px;
}
.fb h3 {
  font-size: 17px; text-transform: lowercase; letter-spacing: -.02em;
  margin-bottom: 7px;
}
.fb p { font-size: 14.5px; color: var(--dim); line-height: 1.68; max-width: 74ch; }
.ftags {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .1em; color: var(--dim-2);
  text-align: right; padding-top: 6px; text-transform: uppercase;
}

/* ---------- tables ---------- */
.tablewrap { border: 1px solid var(--line); }
.tbl th, .tbl td {
  padding: 12px 16px; text-align: left; font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.tbl thead th {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); font-weight: 500; background: var(--panel);
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--panel); }
.tbl td:first-child { text-transform: lowercase; }
.tbl .r { text-align: right; }
.tbl b { font-weight: 700; }
.tbl b.ok {
  font-family: "SF Mono", Consolas, monospace; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
}
.tbl b.ok::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--fg); margin-right: 8px; vertical-align: middle;
}
.tbl b.warn {
  font-family: "SF Mono", Consolas, monospace; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
.tbl b.warn::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--dim); margin-right: 8px; vertical-align: middle;
}

.sub { margin-top: 34px; border: 1px solid var(--line); }
.sub-h {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); padding: 9px 16px;
  border-bottom: 1px solid var(--line); background: var(--panel);
}
.tbl-tight th, .tbl-tight td { padding: 9px 16px; font-size: 13px; }
.tbl-tight td.dim { font-size: 12px; }

/* ---------- shots ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.frame {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  border: 1px solid var(--line-2); background: #050505;
}
.frame .sc {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 30% 65%, rgba(150,160,170,.22), transparent 70%),
    radial-gradient(40% 50% at 72% 35%, rgba(110,125,140,.18), transparent 70%),
    linear-gradient(160deg, #141a20, #07090c 60%, #0d1116);
}
.frame .sc.alt {
  background:
    radial-gradient(50% 60% at 60% 55%, rgba(170,150,110,.2), transparent 70%),
    linear-gradient(200deg, #171a1f, #08090c 65%);
}
.shots figure > figcaption {
  margin-top: 9px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 11px; letter-spacing: .05em; color: var(--dim-2);
}
.readout {
  position: absolute; left: 9px; bottom: 8px;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #dcdcdc; background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.28); padding: 3px 7px;
}

.bx {
  position: absolute; width: 15%; height: 44%;
  border: 1.5px solid #fff;
}
.bx i { position: absolute; left: -6px; top: 0; width: 3px; background: #fff; display: block; }
.bx span {
  position: absolute; top: -15px; left: 0; white-space: nowrap;
  font-family: "SF Mono", Consolas, monospace; font-size: 8px; color: #fff;
}
.bx span u { text-decoration: none; color: #999; }
.bx.a { left: 14%; top: 34% }
.bx.b { left: 60%; top: 22%; width: 13%; height: 38% }
.bx.c { left: 40%; top: 47%; width: 12%; height: 34% }
.bx.t { border-style: dashed; }
.bx.t i { background: #bdbdbd; }
.bx.t span { color: #d0d0d0; }

.xh { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%,-50%) }
.xh::before, .xh::after { content: ""; position: absolute; background: #fff }
.xh::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%) }
.xh::after { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%) }

.fov {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1;
  transform: translate(-50%,-50%); border: 1.5px dashed rgba(255,255,255,.75);
  border-radius: 50%;
}
.bone {
  position: absolute; left: 52%; top: 36%; width: 26%; height: 34%;
  border-left: 1.5px solid rgba(255,255,255,.85);
  border-right: 1.5px solid rgba(255,255,255,.85);
}
.bone::before {
  content: ""; position: absolute; left: -7px; top: -8px;
  width: 13px; height: 13px; border: 1.5px solid #fff; border-radius: 50%;
}

.rad {
  position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border: 1.5px solid rgba(255,255,255,.65); border-radius: 50%;
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px) 0 0/100% 33.33%,
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) 0 0/33.33% 100%;
}
.rad::before, .rad::after { content: ""; position: absolute; background: rgba(255,255,255,.3) }
.rad::before { left: 0; right: 0; top: 50%; height: 1px }
.rad::after { top: 0; bottom: 0; left: 50%; width: 1px }
.rad i { position: absolute; width: 7px; height: 7px; transform: translate(-50%,-50%); background: #fff }
.rad i.e { border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.2) }
.rad i.f { background: #8a8a8a }
.rad i.me {
  width: 9px; height: 9px; left: 50%; top: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
}

/* ---------- download ---------- */
.dl { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.steps > li {
  display: grid; grid-template-columns: 34px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.steps > li:first-child { padding-top: 0; }
.steps b {
  font-family: "SF Mono", Consolas, monospace; font-size: 11px;
  color: var(--dim-2); padding-top: 4px;
}
.steps h4 {
  font-size: 15.5px; text-transform: lowercase; margin-bottom: 6px;
}
.steps p { font-size: 14.2px; color: var(--dim); line-height: 1.66; max-width: 70ch; }

.reqs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); margin-top: 26px;
}
.reqs > div {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 15px; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.reqs > div:nth-child(2n) { border-right: 0 }
.reqs > div:nth-last-child(-n+2) { border-bottom: 0 }
.reqs span {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.reqs b { font-size: 13px; font-weight: 600; }

.file { border: 1px solid var(--line); background: var(--panel); margin-bottom: 14px; }
.file-t {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); padding: 9px 14px; border-bottom: 1px solid var(--line);
}
.file dl > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 14px; border-bottom: 1px solid var(--line);
  font-family: "SF Mono", Consolas, monospace; font-size: 11.5px;
}
.file dl > div:last-child { border-bottom: 0 }
.file dt { color: var(--dim) }
.file dd { color: var(--fg); font-weight: 600; text-align: right }
.file dd.break { word-break: break-all; text-align: right }
.file dd.truncate { max-width: 15ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

.prog { margin-top: 13px; }
.pbar { height: 5px; background: var(--panel-2); border: 1px solid var(--line); }
.pbar i {
  display: block; height: 100%; width: 0;
  background: var(--fg); transition: width .3s ease;
}
.prog span { display: block; margin-top: 7px; font-size: 11px; color: var(--dim); text-align: center }

/* ---------- changelog ---------- */
.tbl-log td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl-log tr:last-child td { border-bottom: 0 }
.tbl-log .v { font-size: 14px; font-weight: 700; width: 74px }
.tbl-log .d { font-size: 11.5px; color: var(--dim-2); width: 106px; white-space: nowrap }
.tbl-log td:nth-child(3) { min-width: 0 }
.tbl-log td b { display: block; font-size: 14.5px; margin-bottom: 5px; text-transform: lowercase }
.tbl-log td span { font-size: 13.5px; color: var(--dim); line-height: 1.6; display: block; max-width: 82ch }
.tbl-log .tag {
  display: inline-block; font-family: "SF Mono", Consolas, monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--fg); font-weight: 700;
}
.tbl-log .tag.dim { border-color: var(--line-2); color: var(--dim) }

/* ---------- faq ---------- */
.qa { border-top: 1px solid var(--line); }
.q { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 300px 1fr; gap: 34px; }
.q h4 {
  font-size: 15.5px; text-transform: lowercase; letter-spacing: -.015em;
  line-height: 1.35;
}
.q p { font-size: 14.3px; color: var(--dim); line-height: 1.7; max-width: 76ch; }

/* ---------- cta ---------- */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 36px;
  border: 1px solid var(--line-2); background: var(--panel);
  padding: clamp(28px, 4vw, 44px);
}
.cta h2 { font-size: clamp(24px, 3.4vw, 34px); text-transform: lowercase; margin-bottom: 10px; }
.cta p { color: var(--dim); font-size: 15px; max-width: 62ch; }
.cta p i { font-style: normal; color: var(--fg); font-weight: 700 }

/* ---------- footer ---------- */
.foot { padding: 22px 0; background: var(--bg); }
.foot-in {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--dim);
}
.foot-in a { border-bottom: 1px solid transparent; transition: .14s }
.foot-in a:hover { color: var(--fg); border-bottom-color: var(--fg) }
.foot-in .sep { color: var(--line-2) }
.foot-in .mono { font-size: 11.5px }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  z-index: 900; padding: 12px 20px;
  background: var(--fg); color: var(--inv);
  font-family: "SF Mono", Consolas, monospace; font-size: 12.5px;
  letter-spacing: .05em; border: 1px solid var(--fg);
  opacity: 0; pointer-events: none; transition: .24s;
  max-width: min(92vw, 460px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) }
.toast.err { background: var(--bg); color: var(--fg); border-color: var(--fg); border-style: dashed }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-r { max-width: 420px }
  .flist > li { grid-template-columns: 34px 1fr; gap: 18px }
  .ftags { grid-column: 2; text-align: left; padding-top: 0 }
  .dl { grid-template-columns: 1fr; gap: 30px }
  .shots { grid-template-columns: 1fr; max-width: 520px }
  .q { grid-template-columns: 1fr; gap: 8px }
  .cta { flex-direction: column; align-items: flex-start }
}

@media (max-width: 820px) {
  .nav {
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 6px 4vw 14px; display: none;
  }
  .nav.open { display: flex }
  .nav a { padding: 11px 2px; font-size: 15px; border-bottom: 1px solid var(--line) }
  .burger { display: flex }
  .led span { display: none }
  .led { padding: 5px 7px }
  .tbl-log .d { display: none }
  .tbl-log .v { width: 62px }
  .brand h1 { font-size: clamp(44px, 17vw, 120px) }
}

@media (max-width: 560px) {
  .reqs { grid-template-columns: 1fr }
  .reqs > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important }
  .reqs > div:last-child { border-bottom: 0 !important }
  .hero-l .acts .btn { width: 100% }
  .tbl th, .tbl td { padding: 10px 11px; font-size: 12.5px }
  .shead h2 { white-space: normal }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important }
  html { scroll-behavior: auto }
}
