/* Hezeyan site: crimson, glowing, "night water". No external fonts, no inline styles (page CSP is 'self' only). */
:root {
  --bg: #070002;
  --ink: #fff2ef;
  --muted: #d6aeb3;
  --dim: #a07b82;
  --red: #ff1f3d;
  --red-2: #d1001f;
  --blood: #8a0015;
  --ember: #ff6a3d;
  --rose: #ff5c7a;
  --line: rgba(255, 92, 112, 0.22);
  --line-strong: rgba(255, 92, 112, 0.5);
  --glass: rgba(34, 4, 11, 0.58);
  --glow: 0 0 38px rgba(255, 31, 61, 0.4);
  --radius: 22px;
  --mx: 50%;
  --my: 30%;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 "Segoe UI Variable Text", "SF Pro Text", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--rose); text-decoration-color: rgba(255, 92, 122, 0.4); text-underline-offset: 3px; }
a:hover { color: #ff9aae; }
::selection { background: rgba(255, 31, 61, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* language switch: hide the other language, never touch display of the visible one */
html[lang="tr"] [data-l="en"], html[lang="en"] [data-l="tr"] { display: none !important; }

/* ---------- background: WebGL water + vignette ---------- */
#water { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; background: #070002; }
.no-gl body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(255, 31, 61, 0.28), transparent 70%),
    radial-gradient(50% 45% at 85% 30%, rgba(209, 0, 31, 0.3), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(138, 0, 21, 0.5), transparent 70%),
    #070002;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, transparent 35%, rgba(5, 0, 2, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 0, 2, 0.1), rgba(7, 0, 2, 0.55) 60%, rgba(7, 0, 2, 0.85));
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(7, 0, 2, 0.85), rgba(7, 0, 2, 0.45));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
header.site .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
header.site .brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 22px rgba(255, 31, 61, 0.55); }
header.site .brand b { font-weight: 800; letter-spacing: 0.22em; font-size: 15px; color: #fff; text-shadow: 0 0 18px rgba(255, 31, 61, 0.8); }
header.site nav { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
header.site nav a.l { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15px; }
header.site nav a.l:hover { color: #fff; background: rgba(255, 31, 61, 0.14); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin: 0 6px; }
.lang button { background: none; border: 0; color: var(--muted); border-radius: 999px; padding: 4px 11px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; }
.lang button.on { color: #fff; background: linear-gradient(180deg, #ff3b55, #a60019); box-shadow: 0 0 14px rgba(255, 31, 61, 0.6); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(40, 5, 12, 0.6);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s;
}
.btn:hover { transform: translateY(-2px); border-color: #ff6d82; box-shadow: 0 0 30px rgba(255, 31, 61, 0.35); color: #fff; }
.btn.blood {
  border-color: rgba(255, 150, 160, 0.55);
  background: linear-gradient(180deg, #ff4a62 0%, #d1001f 52%, #7d0013 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -10px 18px rgba(80, 0, 12, 0.5), 0 10px 34px -6px rgba(255, 31, 61, 0.65), 0 0 60px rgba(255, 31, 61, 0.28);
  text-shadow: 0 1px 8px rgba(70, 0, 10, 0.7);
}
.btn.blood::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(255, 60, 85, 0.65);
  animation: ring 2.8s ease-out infinite;
  pointer-events: none;
}
.btn.ghost { background: rgba(255, 31, 61, 0.06); }
.btn.off { opacity: 0.55; pointer-events: none; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.22, 1.5); opacity: 0; } }

/* ---------- layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 34px) 40px; }
section { position: relative; margin: 0; padding: clamp(56px, 9vw, 110px) 0 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 31, 61, 0.08);
  color: #ffb4bf;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 31, 61, 0.2);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px 3px rgba(255, 31, 61, 0.9); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(0.6); opacity: 0.6; } }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 16px; text-shadow: 0 0 40px rgba(255, 31, 61, 0.35); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 760px; }
.hot {
  background: linear-gradient(100deg, #fff 0%, #ffc2c9 22%, #ff3b55 55%, #ff7a45 85%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 26px rgba(255, 31, 61, 0.55));
}
@keyframes sheen { to { background-position: -220% 0; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 4vw, 56px); align-items: center; min-height: calc(100svh - 70px); padding-top: clamp(24px, 6vw, 56px); }
.hero h1 { font-size: clamp(38px, 6.4vw, 80px); margin: 22px 0 22px; text-shadow: 0 0 60px rgba(255, 31, 61, 0.4); }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--dim); font-size: 14px; max-width: 620px; }

/* liquid orb */
.orb-wrap { position: relative; display: grid; place-items: center; }
.orb { position: relative; width: min(100%, 460px); aspect-ratio: 1; filter: drop-shadow(0 0 60px rgba(255, 31, 61, 0.5)); }
.orb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb .ring { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.orb .ring2 { transform-origin: 200px 200px; animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb .wave { animation: drift 7s linear infinite; }
.orb .wave.w2 { animation-duration: 11s; animation-direction: reverse; opacity: 0.8; }
.orb .level { animation: level 6s ease-in-out infinite; }
@keyframes drift { to { transform: translateX(-200px); } }
@keyframes level { 50% { transform: translateY(-16px); } }
.orb .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  transform: translate(-50%, -50%);
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(255, 140, 155, 0.4), 0 0 70px rgba(255, 31, 61, 0.75), 0 26px 60px rgba(0, 0, 0, 0.6);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 12px)); } }
.orb-tag { position: absolute; padding: 7px 13px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(30, 3, 9, 0.7); backdrop-filter: blur(10px); font-size: 12.5px; color: #ffd1d7; box-shadow: var(--glow); }
.orb-tag b { color: #fff; }
.orb-tag.t1 { left: -2%; top: 14%; }
.orb-tag.t2 { right: -3%; top: 42%; }
.orb-tag.t3 { left: 6%; bottom: 8%; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; margin-top: 44px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(64, 7, 18, 0.5), rgba(24, 3, 8, 0.7));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 150, 160, 0.12), 0 24px 60px -28px rgba(255, 31, 61, 0.5);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 50, 80, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 150, 160, 0.2), 0 30px 70px -26px rgba(255, 31, 61, 0.75); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(160deg, #ff4a62, #8a0015);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 28px rgba(255, 31, 61, 0.6);
}

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1fr; align-items: stretch; gap: 0; margin-top: 46px; }
.node { padding: 22px 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(64, 7, 18, 0.55), rgba(24, 3, 8, 0.75)); backdrop-filter: blur(12px); box-shadow: 0 24px 60px -30px rgba(255, 31, 61, 0.6); }
.node small { color: var(--dim); display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; }
.node .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb4bf; }
.node.me { border-color: rgba(255, 120, 135, 0.6); box-shadow: 0 0 50px rgba(255, 31, 61, 0.35), inset 0 0 40px rgba(255, 31, 61, 0.12); }
.pipe { align-self: center; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #ff1f3d 0 12px, transparent 12px 24px); background-size: 48px 4px; animation: flowx 1.1s linear infinite; filter: drop-shadow(0 0 8px rgba(255, 31, 61, 0.9)); }
@keyframes flowx { to { background-position: 48px 0; } }
.lock-note { margin-top: 16px; padding: 14px 18px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; background: rgba(255, 31, 61, 0.05); }

/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.pane { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(14, 2, 5, 0.75); backdrop-filter: blur(12px); overflow: hidden; }
.pane .bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.pane .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff1f3d; box-shadow: 0 0 10px #ff1f3d; }
.pane textarea, .pane .out {
  width: 100%;
  min-height: 190px;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 15px/1.6 ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  resize: vertical;
  display: block;
  word-break: break-all;
}
.pane .out { color: #ff8a9a; text-shadow: 0 0 12px rgba(255, 31, 61, 0.55); }
.pane .meta { padding: 10px 16px 14px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- visibility table ---------- */
.vis { margin-top: 40px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: rgba(20, 3, 7, 0.7); backdrop-filter: blur(12px); }
.vis .row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.vis .row:first-child { border-top: 0; background: rgba(255, 31, 61, 0.1); font-weight: 700; color: #ffd1d7; }
.vis .row > div { padding: 14px 18px; }
.vis .y { color: #ff6b7e; font-weight: 700; text-shadow: 0 0 12px rgba(255, 31, 61, 0.7); }
.vis .n { color: #7fe3b0; font-weight: 700; }
.vis .k { color: var(--muted); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 31, 61, 0.07); color: #ffd1d7; font-size: 14px; font-weight: 600; box-shadow: 0 0 20px rgba(255, 31, 61, 0.15); }

/* ---------- list / steps ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 82px; border-radius: 18px; border: 1px solid var(--line); background: rgba(24, 3, 8, 0.65); backdrop-filter: blur(10px); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 19px; background: linear-gradient(160deg, #ff4a62, #8a0015); box-shadow: 0 0 26px rgba(255, 31, 61, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.steps b { color: #fff; }
.honest li { margin: 10px 0; color: var(--muted); }
.honest li::marker { color: var(--red); }

/* ---------- faq ---------- */
details { border: 1px solid var(--line); border-radius: 16px; background: rgba(24, 3, 8, 0.65); padding: 0 22px; margin: 10px 0; transition: border-color 0.3s, box-shadow 0.3s; }
details[open] { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(255, 31, 61, 0.18); }
summary { cursor: pointer; padding: 18px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; text-shadow: 0 0 14px rgba(255, 31, 61, 0.9); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- cta + footer ---------- */
.final { text-align: center; padding-bottom: 20px; }
.final .panel { position: relative; overflow: hidden; padding: clamp(34px, 6vw, 70px) 24px; border-radius: 32px; border: 1px solid var(--line-strong); background: radial-gradient(80% 120% at 50% 0%, rgba(255, 31, 61, 0.32), rgba(30, 3, 9, 0.8) 70%); box-shadow: 0 0 90px rgba(255, 31, 61, 0.32), inset 0 1px 0 rgba(255, 170, 180, 0.25); }
.final h2 { margin-top: 0; }
.final .cta { justify-content: center; margin-top: 28px; }
footer { max-width: 1180px; margin: 30px auto 0; padding: 26px clamp(16px, 4vw, 34px) 42px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer .small { flex-basis: 100%; font-size: 12.5px; line-height: 1.6; color: #86626a; }

/* ---------- document pages ---------- */
.doc { max-width: 860px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 34px) 30px; }
.doc .sheet { padding: clamp(24px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(40, 5, 12, 0.7), rgba(16, 2, 6, 0.82)); backdrop-filter: blur(16px); box-shadow: 0 30px 90px -40px rgba(255, 31, 61, 0.6); }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; text-shadow: 0 0 40px rgba(255, 31, 61, 0.4); }
.doc h2 { font-size: 22px; margin-top: 34px; text-shadow: none; color: #ffd1d7; }
.doc h3 { font-size: 17px; margin-top: 22px; text-shadow: none; color: #ffd1d7; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--dim); }
.doc .notice { color: var(--ink); font-weight: 600; border: 1px solid var(--line-strong); border-inline-start: 4px solid var(--red); background: rgba(255, 31, 61, 0.1); border-radius: 12px; padding: 12px 16px; margin: 14px 0 18px; }
.doc .notice a { color: #ffd1d7; }
.langsel { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 30px 6px 14px; margin: 0 6px; border-radius: 999px; cursor: pointer; max-width: 46vw; }
.langsel option { color: #111; }
.langsel[hidden] { display: none; }
.langlist { position: relative; margin-left: auto; font-size: 13px; }
.langlist summary { cursor: pointer; font-weight: 700; list-style: none; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; }
.langlist[open] { z-index: 20; }
.langlist[open] a { display: block; padding: 6px 14px; background: #1a0a0d; color: #fff; text-decoration: none; }
html[dir="rtl"] .langsel { background-position: left 12px center; padding: 6px 14px 6px 30px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.doc th { color: #ffd1d7; font-weight: 650; }
.doc b { color: #fff; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .orb-wrap { order: -1; width: min(100%, 320px); margin: 0 auto; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .pipe { width: 4px; height: 46px; justify-self: center; background: repeating-linear-gradient(180deg, #ff1f3d 0 12px, transparent 12px 24px); animation-name: flowy; }
  .demo { grid-template-columns: 1fr; }
  .vis .row { grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 14px; }
  .vis .row > div { padding: 12px 10px; }
  header.site nav a.l { display: none; }
}
@keyframes flowy { to { background-position: 0 48px; } }
@media (max-width: 560px) {
  header.site nav .btn { display: none; }
  header.site { padding: 10px 16px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.06em; }
  .vis .row { grid-template-columns: 1fr 0.7fr 0.7fr 0.7fr; font-size: 13px; }
  .orb-tag { display: none; }
  .btn { padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- demo with real files ---------- */
.tabs { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.tab { font: inherit; color: var(--dim); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .2s; }
.tab:hover { color: #fff; border-color: rgba(255,31,61,.5); }
.tab.on { color: #fff; border-color: var(--red); box-shadow: 0 0 18px rgba(255,31,61,.35); background: rgba(255,31,61,.12); }
.pane .bar em { margin-left: auto; font-style: normal; opacity: .7; font-size: 12px; }
.stage { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); overflow: hidden; }
.stage .view { display: none; width: 100%; height: 100%; object-fit: cover; }
.stage .view.on { display: block; }
.stage textarea.view { object-fit: initial; }
.stage .sheet.on { display: block; padding: 0; background: #fff; color: #1f2933; overflow: auto; }
.sheet-bar { background: #3a3f4b; color: #fff; padding: 8px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.sheet-bar b { width: 12px; height: 15px; border-radius: 2px; background: #fff; opacity: .85; }
.sheet-t { border-collapse: collapse; width: 100%; font-size: 14px; }
.sheet-t th { background: #eceef2; text-align: left; }
.sheet-t th, .sheet-t td { border: 1px solid #d5dbd8; padding: 7px 12px; }
.sheet-t td.num { text-align: right; font-variant-numeric: tabular-nums; }
.stage.cipher canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.pane .out { max-height: 74px; overflow: hidden; }
.pane .meta .link { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

.pane { display: flex; flex-direction: column; }
.pane .stage:not(.cipher) { flex: 1; min-height: 300px; height: auto; }

/* ===== Hezeyan theme (2026-11-08): Plus Jakarta Sans, 28px glass with an inner top light =====
   One override layer; delete this block (or restore style.css.bak-2026-11-08) to go back. Fonts are self-hosted (OFL-1.1, see Lisanslar). */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/jakarta-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/jakarta-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; }
:root { --radius: 28px; --lift: inset 0 1px 0 rgba(255, 255, 255, 0.07); --bg: #050104; }
body { font-family: "Plus Jakarta Sans", "Segoe UI Variable Text", "SF Pro Text", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.01em; }
.node, .pane, .vis, .doc .sheet, .steps li, details, .lock-note { box-shadow: var(--lift), 0 24px 60px -34px rgba(255, 31, 61, 0.55); }
.steps li, details { border-radius: 24px; }
.lock-note { border-radius: 22px; }
.tab, .chip, .btn { border-radius: 999px; }
/* ===== end Hezeyan theme ===== */

/* ---------- 2026-11-08: floating capsule menu, deeper glass, skeleton ---------- */
header.site {
  background: linear-gradient(180deg, rgba(5, 1, 4, 0.94) 0%, rgba(5, 1, 4, 0.78) 55%, rgba(5, 1, 4, 0) 100%);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 14px;
  padding-bottom: 22px;
}
header.site nav {
  gap: 2px;
  padding: 5px 6px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(60, 8, 20, 0.62), rgba(18, 2, 7, 0.8));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 150, 160, 0.14), 0 18px 50px -24px rgba(255, 31, 61, 0.6);
  flex-wrap: nowrap;
}
header.site nav a.l { border-radius: 999px; padding: 8px 14px; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
header.site nav a.l.on { color: #fff; background: linear-gradient(180deg, #ff3b55, #a60019); box-shadow: 0 0 18px rgba(255, 31, 61, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.card {
  background: radial-gradient(120% 90% at 50% -20%, rgba(255, 60, 90, 0.2), transparent 60%), linear-gradient(180deg, rgba(58, 6, 17, 0.55), rgba(20, 2, 7, 0.78));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.skeleton {
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 90, 110, 0.16), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- 2026-11-08: lighter red, wine instead of near-black ---------- */
:root {
  --bg: #2b0b17;
  --muted: #ecc4ca;
  --dim: #cba0a8;
  --glass: rgba(120, 34, 56, 0.5);
  --line: rgba(255, 140, 158, 0.3);
}
.vignette { opacity: 0.4; }
header.site { background: linear-gradient(180deg, rgba(43, 11, 23, 0.94) 0%, rgba(43, 11, 23, 0.78) 55%, rgba(43, 11, 23, 0) 100%); }
.card { background: radial-gradient(120% 90% at 50% -20%, rgba(255, 90, 112, 0.3), transparent 60%), linear-gradient(180deg, rgba(120, 32, 56, 0.55), rgba(66, 14, 30, 0.72)); }
/* help and FAQ page */
.sheet details.qa { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sheet details.qa summary { cursor: pointer; list-style: none; padding: 12px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.sheet details.qa summary::-webkit-details-marker { display: none; }
.sheet details.qa summary::after { content: '+'; color: #ff3f5c; font-size: 20px; line-height: 1; }
.sheet details.qa[open] summary::after { content: '–'; }
.sheet details.qa p { margin: 0 0 14px; }
