/* LogicGrad OS — static site. System fonts only. Brand teal #1DB4C7. */

:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0c1016;
  --glass: rgba(12, 16, 22, 0.62);
  --glass-2: rgba(18, 24, 32, 0.78);
  --surface: rgba(16, 20, 27, 0.9);
  --surface-2: #141a22;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --text-2: #b7c0cc;
  --text-3: #8b97a6;
  --accent: #1db4c7;
  --accent-2: #7eebf5;
  --accent-deep: #0e7c8b;
  --on-accent: #041316;
  --success: #3ee08f;
  --success-soft: rgba(62, 224, 143, 0.14);
  --warning: #e5a33d;
  --warning-soft: rgba(229, 163, 61, 0.14);
  --glow: rgba(29, 180, 199, 0.45);
  --header: rgba(7, 9, 13, 0.78);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
  --wrap: 1160px;
  --header-h: 72px;
}

html[data-theme="never-light"] {
  color-scheme: light;
  --bg: #f3f6f8;
  --bg-2: #e7eef2;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(255, 255, 255, 0.88);
  --surface: #ffffff;
  --surface-2: #eef3f6;
  --surface-hover: rgba(7, 20, 28, 0.05);
  --line: rgba(8, 24, 32, 0.1);
  --line-strong: rgba(8, 24, 32, 0.16);
  --text: #101418;
  --text-2: #3d4954;
  --text-3: #5c6b78;
  --accent: #0b7384;
  --accent-2: #0b7384;
  --accent-deep: #085e6c;
  --on-accent: #ffffff;
  --success: #0f7a45;
  --success-soft: rgba(15, 122, 69, 0.1);
  --warning: #8a5200;
  --warning-soft: rgba(138, 82, 0, 0.1);
  --glow: rgba(11, 115, 132, 0.2);
  --header: rgba(243, 246, 248, 0.86);
  --shadow: 0 18px 40px rgba(16, 32, 44, 0.1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 12px); }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 180, 199, 0.55), transparent 68%);
}
.aurora span:nth-child(1) {
  width: 58vw;
  height: 58vw;
  left: -12vw;
  top: -18vw;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(90, 170, 255, 0.28), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.aurora span:nth-child(3) {
  width: 36vw;
  height: 36vw;
  left: 40vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(29, 180, 199, 0.22), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
html[data-theme="never-light"] .aurora span { opacity: 0.55; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, -4%, 0) scale(1.08); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(126, 235, 245, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 235, 245, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
}
html[data-theme="never-light"] body::before {
  background-image:
    linear-gradient(to right, rgba(11, 115, 132, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 115, 132, 0.07) 1px, transparent 1px);
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: var(--accent-2); text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.055em; line-height: 1.02; }
code, kbd, pre { font-family: var(--mono); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(29, 180, 199, 0.35); color: var(--text); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html[lang="en"] [data-lang-only="tr"],
html[lang="tr"] [data-lang-only="en"] { display: none !important; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), calc(100vw - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner { height: 100%; display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; min-width: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.05rem;
  flex: 0 0 auto;
  min-width: max-content;
}
.brand:hover { color: var(--text); }
.brand img, .footer-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 9px;
}
.logic { color: var(--text); font-weight: 800; }
.grad { color: var(--accent); font-weight: 800; }
.os { color: var(--text-2); font-weight: 800; }
.wordmark { font-weight: 800; letter-spacing: -0.05em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a {
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.92rem;
}
.nav a:hover { color: var(--text); background: var(--surface-hover); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(29, 180, 199, 0.14); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.seg {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--text-2);
  min-width: 40px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

.icon-btn, .nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover, .nav-toggle:hover { background: var(--surface-hover); }
.icon-btn svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-sun,
html[data-theme="never-light"] .icon-moon { display: none; }
.nav-toggle { display: none; flex: 0 0 auto; }
.burger, .burger::before, .burger::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #3ad4e6 0%, #14a8bc 100%);
  color: #041316;
  box-shadow: 0 10px 28px rgba(29, 180, 199, 0.32);
}
.btn-primary:hover { color: #041316; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(29, 180, 199, 0.42); }
.btn-ghost { border-color: var(--line-strong); background: var(--glass); }
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 0.92rem; }
html[data-theme="never-light"] .btn-primary {
  background: linear-gradient(180deg, #1493a6, #0b7384);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 115, 132, 0.25);
}
html[data-theme="never-light"] .btn-primary:hover { color: #fff; }

.hero { position: relative; padding: 48px 0 12px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); max-width: 16ch; }
.hero h1 { max-width: 100%; font-size: clamp(2.15rem, 5.15vw, 4.15rem); line-height: 0.98; display: flex; flex-direction: column; gap: 0.04em; }
.hero h1 > span { white-space: nowrap; }
.hero h1 .line2 { color: var(--accent); text-shadow: 0 0 26px rgba(29, 180, 199, 0.5); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.lead { margin-top: 18px; font-size: 1.12rem; max-width: 40rem; color: var(--text); }
.fine { margin-top: 12px; max-width: 46rem; color: var(--text-2); font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pills li {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.callout, .note {
  margin-top: 18px;
  max-width: 46rem;
  padding: 14px 16px;
  border: 1px solid rgba(229, 163, 61, 0.4);
  border-radius: 14px;
  background: var(--warning-soft);
  color: var(--text);
  font-size: 0.95rem;
}

.term {
  border-radius: 22px;
  border: 1px solid rgba(29, 180, 199, 0.35);
  background: rgba(6, 10, 14, 0.78);
  box-shadow: var(--shadow), 0 0 80px rgba(29, 180, 199, 0.12);
  overflow: hidden;
  min-height: 420px;
  color: #e8eef4;
}
html[data-theme="never-light"] .term {
  background: #0d141b;
  color: #e8eef4;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb0c0;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3542;
  display: block;
}
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.term-body {
  padding: 16px 16px 20px;
  display: grid;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.45;
}
.t-line { display: grid; gap: 2px; }
.t-user {
  justify-self: end;
  max-width: 92%;
  background: rgba(29, 180, 199, 0.16);
  border: 1px solid rgba(29, 180, 199, 0.35);
  color: #e9fbff;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 12px;
}
.t-tool, .t-ok {
  justify-self: start;
  max-width: 96%;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.t-k { color: #7eebf5; font-size: 0.75rem; letter-spacing: 0.04em; }
.t-ok { color: #8ff0bf; }
.caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  background: #1db4c7;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.stats {
  margin: 28px auto 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat, .fact {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.stat strong, .fact strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--text);
}
.stat span, .fact span { display: block; margin-top: 6px; color: var(--text-2); font-size: 0.92rem; }

.section { padding: 72px 0; }
.section-head { margin-bottom: 22px; max-width: 40rem; }
.section-head h2, .band h2, .cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 18ch; }
.section-head p { margin-top: 10px; color: var(--text-2); }

.cards, .tools { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.safety { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.split, .reqs { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }

.card, .step, .tool, .panel, .safety article, .reqs article, .cat-panel, .version {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.card h3, .step h3, .tool h3, .safety h3 { font-size: 1.08rem; letter-spacing: -0.03em; }
.panel h2 { font-size: 1.3rem; margin-bottom: 8px; }
.card p, .step p, .safety p, .panel p, .tool .tool-note, .reqs p { margin-top: 8px; color: var(--text-2); }
.card:hover, .tool:hover, .step:hover { border-color: rgba(29, 180, 199, 0.45); transform: translateY(-2px); transition: border-color 0.18s ease, transform 0.18s ease; }

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(29, 180, 199, 0.14);
  color: var(--accent-2);
  margin-bottom: 12px;
}
.icon-tile svg { width: 20px; height: 20px; }

.flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 8px;
  align-items: stretch;
}
.step { position: relative; min-height: 180px; }
.step .num {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.flow-join {
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.explorer {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 14px;
  align-items: start;
}
.cat-nav {
  display: grid;
  gap: 6px;
}
.cat-nav button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  border-radius: 14px;
  min-height: 46px;
  padding: 8px 12px;
  cursor: pointer;
}
.cat-nav button[aria-selected="true"] {
  border-color: rgba(29, 180, 199, 0.7);
  background: rgba(29, 180, 199, 0.14);
  box-shadow: 0 0 0 1px rgba(29, 180, 199, 0.25);
}
.cat-nav b { font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 650; }
.cat-panel { min-height: 260px; }
html.js [data-panel] { display: none; }
html.js [data-panel].is-active { display: block; }
.cat-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tool-count { margin-top: 10px; color: var(--text-2); }
.tool-count b { color: var(--text); font-size: 1.4rem; margin-right: 6px; }
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 750;
}
.badge-on { color: var(--success); background: var(--success-soft); }
.badge-off { color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); }
.tool-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool-examples code {
  font-size: 0.82rem;
  background: rgba(29, 180, 199, 0.1);
  border: 1px solid rgba(29, 180, 199, 0.25);
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--text);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.filters button {
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text-2);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.tool header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }

.switchboard { display: grid; gap: 8px; }
.switch-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.switch-row .count { color: var(--text-3); font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 0.85rem; }
.switch {
  width: 52px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #1c2430;
  position: relative;
  padding: 0;
  cursor: pointer;
}
html[data-theme="never-light"] .switch { background: #d5dee6; }
.switch[aria-pressed="true"] { background: #1db4c7; border-color: transparent; }
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}
.switch[aria-pressed="true"]::after { transform: translateX(20px); }
html.js .switch[data-hint]::after { animation: hint 1.5s ease 0.6s 2; }
@keyframes hint {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(20px); }
}

.stage { perspective: 1400px; padding: 12px 4px 28px; }
.device {
  border-radius: 28px;
  padding: 12px 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 90px rgba(29, 180, 199, 0.14);
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d;
}
.device-bar { display: flex; gap: 6px; padding: 4px 8px 10px; }
.device-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); display: block; }
.device img { width: 100%; height: auto; border-radius: 16px; }
.device figure { margin: 0; }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(58, 212, 230, 0.45), transparent 55%),
    linear-gradient(145deg, #08343c 0%, #071016 58%, #0c1c28 100%);
  color: #f4fbff;
  border: 1px solid rgba(126, 235, 245, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.cta-band h2, .cta-band p { color: #f4fbff; }
.cta-band .fine { color: #c5d7e2; }
.cta-band .btn-ghost { color: #f4fbff; border-color: rgba(255, 255, 255, 0.28); }
.cta-band .btn-ghost:hover { color: #fff; }
.hashline {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px;
}
.hashline code, .hashline pre {
  margin: 0;
  color: #d8fff6;
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-all;
  white-space: pre-wrap;
}

.band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--line-strong);
}
.band p { margin-top: 8px; color: var(--text-2); }
.band .actions { margin-top: 0; }

div.faq { display: grid; gap: 8px; }
details.faq {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 720;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding: 0 0 14px; color: var(--text-2); max-width: 70ch; }

ol.clean, ul.clean { margin: 10px 0 0; padding-left: 1.15rem; color: var(--text-2); }
ol.clean li + li, ul.clean li + li { margin-top: 8px; }

.spec { display: grid; margin: 8px 0 0; }
.spec div {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.spec dt { color: var(--text-3); }
.spec dd { margin: 0; }

.codeblock {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
html[data-theme="never-light"] .codeblock { background: #0e141b; color: #e8eef4; }
.codeblock pre {
  margin: 0;
  padding: 6px 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.86rem;
  line-height: 1.45;
}
.copy {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  min-height: 40px;
  padding: 0 12px;
  cursor: pointer;
}
html[data-theme="never-light"] .codeblock .copy { background: #1a232d; color: #f4f7fb; }
.copy .done { display: none; }
.copy.is-copied .idle { display: none; }
.copy.is-copied .done { display: inline; }

.prose { max-width: 46rem; display: grid; gap: 12px; }
.prose h2 { font-size: 1.35rem; margin-top: 8px; }
.prose p { color: var(--text-2); }
.version .tag {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(29, 180, 199, 0.14);
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--text-2);
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.15);
}
html[data-theme="never-light"] .site-footer { background: rgba(255, 255, 255, 0.45); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 0.78rem; color: var(--text-3); margin: 0 0 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-footer p + p { margin-top: 8px; }
.legal-line { margin-top: 22px; max-width: 78ch; font-size: 0.82rem; color: var(--text-3); }
.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 2px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  text-decoration: none;
  flex: 0 0 auto;
}
.social-btn svg { width: 21px; height: 21px; display: block; }
.site-footer a.social-btn:hover,
.site-footer a.social-btn:focus-visible,
.support-card a.social-btn:hover,
.support-card a.social-btn:focus-visible {
  color: #22c0d4;
  border-color: rgba(34, 192, 212, 0.75);
  background: rgba(34, 192, 212, 0.12);
  box-shadow: 0 0 16px rgba(34, 192, 212, 0.4);
}
.support-card .social-row { justify-content: center; margin-top: 18px; }

.page-hero { padding: 64px 0 8px; }
.stack { display: grid; gap: 12px; margin-top: 18px; }
.frame { margin: 0; }
.frame img { width: 100%; border-radius: 16px; }

@media (max-width: 980px) {
  .hero-grid, .cards, .tools, .footer-grid, .safety { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-join { width: 2px; height: 22px; margin-inline: auto; background: linear-gradient(var(--accent), transparent); }
  .device { transform: none; }
  .band, .cta-band { padding: 22px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; width: 38px; height: 38px; }
  .header-tools { order: 2; gap: 6px; }
  .header-inner { gap: 8px; }
  .seg { padding: 2px; }
  .seg button { min-width: 30px; height: 28px; padding: 0 7px; font-size: 0.72rem; }
  .header-tools .gh-btn { width: 38px; min-height: 38px; padding: 0; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; }
  .header-download { display: inline-flex; }
  .hero { padding-top: 36px; }
  .hero-grid, .cards, .tools, .safety, .stats, .facts, .split, .reqs, .explorer, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  h1, .page-hero h1 { max-width: none; }
  .term { min-height: 0; }
}

@media (max-width: 520px) {
  .wrap { width: min(var(--wrap), calc(100% - 24px)); }
  .actions .btn { width: 100%; }
  .codeblock, .hashline { grid-template-columns: 1fr; }
  .brand { font-size: 0.92rem; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .nav-toggle { width: 34px; height: 34px; }
  .header-tools .gh-btn { width: 34px; min-height: 34px; }
  .seg button { min-width: 28px; height: 26px; padding: 0 6px; }
  .switch-row { grid-template-columns: 1fr auto; }
  .switch-row .count { display: none; }
}

@media (max-width: 409px) {
  .header-download { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .device { transform: none; }
  .card:hover, .tool:hover, .step:hover, .btn-primary:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn, .card, .term, .callout, .badge, .tool, .codeblock, .cta-band, .stat, .panel, .switch {
    border: 1px solid CanvasText;
  }
  .btn-primary { background: Highlight; color: HighlightText; }
}

/* Follow-up: dark-only landing pieces */
html { color-scheme: dark; }
.gh-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.footer-brand { font-weight: 800; }
.hero { position: relative; overflow: hidden; padding: 56px 0 28px; }
.dotgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(29, 180, 199, 0.55) 1.15px, transparent 1.25px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 68%);
}
.spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 70%) var(--my, 30%), rgba(29, 180, 199, 0.22), transparent 62%);
}
.dl-meta { margin-top: 14px; color: var(--text-2); font-size: 0.92rem; }
.hash-label { margin: 12px 0 6px; color: var(--text-3); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.desk {
  border-radius: 18px; border: 1px solid rgba(29, 180, 199, 0.35);
  background: #0c1218; box-shadow: var(--shadow), 0 0 80px rgba(29, 180, 199, 0.16);
  overflow: hidden; min-height: 420px;
}
.desk-top { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; background: #101820; border-bottom: 1px solid var(--line); font-weight: 800; letter-spacing: -0.03em; }
.desk-dots { display: flex; gap: 6px; }
.desk-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3642; display: block; }
.desk-dots i:first-child { background: #1db4c7; }
.desk-win { margin-left: auto; width: 42px; height: 10px; border-radius: 99px; background: rgba(255,255,255,0.08); }
.desk-body { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 378px; }
.desk-files { padding: 18px; display: grid; gap: 10px; align-content: start; background: rgba(255,255,255,0.02); }
.dfile { display: grid; grid-template-columns: 28px 1fr 22px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 12, 16, 0.7); color: var(--text-2); }
.dfile.is-on { border-color: rgba(29, 180, 199, 0.55); color: var(--text); }
.dico { width: 22px; height: 18px; border-radius: 4px; background: #1db4c7; display: block; }
.dico.pdf { background: #e8eef4; height: 22px; }
.dico.img { background: linear-gradient(135deg, #7eebf5, #1db4c7); height: 18px; border-radius: 3px; }
.dmark { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.2); }
.dfile.is-done .dmark { background: #3ee08f; border-color: #3ee08f; box-shadow: 0 0 12px rgba(62, 224, 143, 0.7); }
.desk-chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { margin: 0; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgba(29, 180, 199, 0.14); border: 1px solid rgba(29, 180, 199, 0.35); min-height: 3.2em; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jobs li { display: flex; justify-content: space-between; gap: 8px; color: var(--text-3); font-size: 0.92rem; }
.jobs li.is-done { color: var(--success); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(8, 12, 16, 0.55); }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 12px 0; animation: ticker 36s linear infinite; color: var(--text-3); font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; }
.ticker-track span::before { content: "·"; color: var(--accent); margin-right: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.count-band { padding-top: 28px; }
.count-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.count-hero strong { font-size: clamp(4.2rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; display: block; color: var(--text); }
.count-hero span, .count-rest span { color: var(--text-3); }
.count-rest { display: flex; gap: 28px; }
.count-rest strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 12px; }
.bento-tile { border: 1px solid var(--line); border-radius: 20px; background: rgba(14, 18, 24, 0.86); padding: 20px; box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.bento-tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bento-tile p { color: var(--text-2); }
.tile-folders { grid-column: span 2; grid-row: span 2; }
.tile-tools { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.mini-files { height: 74px; display: grid; gap: 8px; margin-bottom: 16px; }
.mini-files i { display: block; height: 16px; border-radius: 6px; background: linear-gradient(90deg, rgba(29,180,199,0.7), transparent); animation: filein 2.8s ease-in-out infinite; }
.mini-files i:nth-child(2) { width: 78%; animation-delay: 0.25s; }
.mini-files i:nth-child(3) { width: 58%; animation-delay: 0.5s; }
@keyframes filein { 50% { transform: translateX(8px); } }
.mini-count b { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; display: block; }
.mini-lock, .mini-sign { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--accent); margin-bottom: 14px; box-shadow: 0 0 18px rgba(29,180,199,0.35); }
.mini-lock { border-radius: 8px 8px 12px 12px; animation: pulse 2.4s ease-in-out infinite; }
.mini-stop { display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 0.78rem; color: var(--accent-2); animation: pulse 2.2s ease-in-out infinite; }
.mini-steps { display: flex; gap: 6px; margin-bottom: 14px; }
.mini-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(29,180,199,0.4); color: var(--accent-2); font-size: 0.75rem; font-weight: 800; }
.mini-steps span:nth-child(1) { background: var(--accent); color: var(--on-accent); }
@keyframes pulse { 50% { box-shadow: 0 0 22px rgba(29,180,199,0.55); } }
.switch-row.is-focus { border-color: rgba(29, 180, 199, 0.55); }
.perm-live { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: rgba(14, 18, 24, 0.9); min-height: 280px; }
.perm-live h3 { font-size: 1.8rem; margin: 8px 0; }
.perm-total { margin-top: 16px; font-weight: 800; color: var(--accent-2); }
.shot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0c1016; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 10px 12px 12px; color: var(--text-3); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.shot-hero, .shot-wide { grid-column: 1 / -1; }
.shot-panel img { max-height: 520px; width: auto; margin-inline: auto; object-fit: contain; background: #101318; }
.cta-final { text-align: center; padding: 36px 20px 28px; border-radius: 28px; border: 1px solid rgba(29,180,199,0.35); background: radial-gradient(600px circle at 50% 0%, rgba(29,180,199,0.18), transparent 55%), #0c1218; }
.cta-final h2, .cta-final p { margin-inline: auto; }
.cta-final .actions { justify-content: center; }
.glow-tile { width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; background: #10181e; box-shadow: 0 0 0 1px rgba(29,180,199,0.45), 0 0 60px rgba(29,180,199,0.45); }
.glow-tile img { width: 84px; height: 84px; border-radius: 18px; }
.sticky-dl {
  position: fixed; z-index: 50; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(8, 14, 18, 0.92); color: var(--text); text-decoration: none;
  border: 1px solid rgba(29,180,199,0.55); box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 24px rgba(29,180,199,0.25);
  backdrop-filter: blur(12px); font-weight: 800;
}
.sticky-dl[hidden] { display: none; }
.sticky-dl img { width: 28px; height: 28px; border-radius: 8px; }
.sticky-dl small { color: var(--text-3); font-weight: 650; }
.sticky-dl:hover { color: var(--text); }
@media (max-width: 980px) {
  .bento, .shot-grid, .desk-body, .count-row { grid-template-columns: 1fr; display: grid; }
  .tile-folders, .tile-tools, .tile-wide, .shot-hero, .shot-wide { grid-column: auto; grid-row: auto; }
  .count-row { align-items: start; }
  .header-tools .gh-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 180, 199, 0.5);
  background: rgba(29, 180, 199, 0.12);
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  box-shadow: 0 0 18px rgba(29, 180, 199, 0.2);
  flex: 0 0 auto;
}
.support-link:hover { color: var(--text); background: rgba(29, 180, 199, 0.2); }
.support-link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.nav-support { display: none; }
.support-hint { margin-top: 10px; }
.support-hint a { font-weight: 750; }
.support-card {
  text-align: center;
  padding: 42px 22px 36px;
  border-radius: 28px;
  border: 1px solid rgba(29, 180, 199, 0.45);
  background:
    radial-gradient(520px circle at 50% 0%, rgba(29, 180, 199, 0.24), transparent 58%),
    #0c1218;
  box-shadow: 0 0 70px rgba(29, 180, 199, 0.16);
}
.support-card h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 8px 0 12px; }
.support-copy { max-width: 40rem; margin: 0 auto 22px; color: var(--text-2); font-size: 1.08rem; }
.support-cup {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--accent-2);
  background: rgba(29, 180, 199, 0.12);
  box-shadow: 0 0 0 1px rgba(29, 180, 199, 0.45), 0 0 36px rgba(29, 180, 199, 0.4);
}
.support-cup svg { width: 36px; height: 36px; }
.btn-coffee {
  min-height: 56px;
  padding: 0 26px;
  font-size: 1.08rem;
  background: linear-gradient(180deg, #3ad4e6 0%, #14a8bc 100%);
  color: #041316;
  box-shadow: 0 14px 36px rgba(29, 180, 199, 0.42), 0 0 28px rgba(29, 180, 199, 0.35);
}
.btn-coffee:hover { color: #041316; transform: translateY(-1px); box-shadow: 0 16px 40px rgba(29, 180, 199, 0.5); }
.btn-coffee svg { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 1099px) {
  .support-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .support-link { width: 38px; min-height: 38px; padding: 0; justify-content: center; }
}
@media (max-width: 860px) {
  .header-tools .support-link { display: none; }
  .nav-support { display: flex; align-items: center; gap: 8px; }
  .support-card { padding: 32px 16px 28px; }
}
@media (max-width: 520px) {
  .btn-coffee { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .mini-files i, .mini-lock, .mini-stop { animation: none; }
  .btn-coffee:hover { transform: none; }
}
