/* answerr.me/pro — "Karar Gözlemevi" (Decision Observatory)
   ITouch Bilişim Sistemleri Ltd. Şti. */

:root {
  --ink: #05060A;
  --deep: #080A10;
  --deck: #0A0D14;
  --well: #05060A;
  --line: rgba(140, 222, 236, 0.14);
  --line-2: rgba(140, 222, 236, 0.24);
  --text: #E9ECF2;
  --text-2: #C4CAD6;
  --muted: #9AA3B2;
  --amber: #FFB048;
  --amber-2: #FFC673;
  --amber-ink: #140C02;
  --ice: #8CDEEC;
  --stop: #FF6B5B;
  --display: 'Chakra Petch', 'IBM Plex Sans', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ice); }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; color: var(--amber); text-transform: uppercase; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; font-weight: 500; margin: 0; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }

/* HUD strip */
.hud { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.hud .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.hud .dot { width: 8px; height: 8px; display: inline-block; background: var(--muted); margin-right: 10px; vertical-align: middle; }
.hud .dot.on { background: var(--ice); }
.hud .dot.off { background: var(--amber); }

/* Nav */
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand b { font-family: var(--display); font-weight: 700; font-size: 22px; }
.brand .tag { font-family: var(--mono); font-size: 11px; color: var(--amber); border: 1px solid rgba(255,176,72,0.5); padding: 2px 8px; letter-spacing: 0.12em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 10px 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--amber); }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn-ghost):not(.btn-primary) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn-ghost, .nav-links .nav-cta, .nav-links .lang-switch-btn { margin-top: 10px; width: 100%; justify-content: center; }
}

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); border: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.btn-primary:hover { background: var(--amber-2); color: var(--amber-ink); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; border: 1px solid rgba(140,222,236,0.45); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ice); color: var(--ice); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.lang-switch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 64px; background: transparent; border: 1px solid var(--line-2); cursor: pointer; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.lang-switch-btn .lang-active { color: var(--amber); }

/* Hero */
.hero { position: relative; overflow: hidden; border-top: 1px solid rgba(140,222,236,0.08); border-bottom: 1px solid rgba(140,222,236,0.08); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,10,0.96) 0%, rgba(5,6,10,0.86) 42%, rgba(5,6,10,0.3) 100%); }
.hero .wrap { position: relative; padding-top: 112px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.hero-copy { flex: 999 1 540px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.03; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { margin: 0; font-size: 19px; color: var(--text-2); max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.triad { flex: 1 1 300px; max-width: 360px; background: rgba(8,10,16,0.84); border: 1px solid var(--line-2); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.triad-row { display: flex; gap: 16px; align-items: center; }
.triad-row b { font-family: var(--display); font-size: 20px; display: block; }
.triad-row span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5,6,10,0.9) 0%, rgba(5,6,10,0.82) 60%, rgba(5,6,10,0.96) 100%); }
  .triad { max-width: none; }
}

/* Telemetry strip */
.tele { border-bottom: 1px solid rgba(140,222,236,0.08); }
.tele .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tele-item { padding: 28px 24px 28px 0; border-right: 1px solid rgba(140,222,236,0.08); }
.tele-item:last-child { border-right: 0; }
.tele-item .k { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.14em; }
.tele-item b { display: block; margin-top: 8px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.tele-item p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .tele-item { border-right: 0; border-bottom: 1px solid rgba(140,222,236,0.08); } }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--deep); border-top: 1px solid rgba(140,222,236,0.08); border-bottom: 1px solid rgba(140,222,236,0.08); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; margin-bottom: 44px; }
.section-head p { margin: 0; max-width: 460px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.card { border: 1px solid rgba(140,222,236,0.18); background: var(--deck); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.accent { border-color: rgba(255,176,72,0.45); }
.card .row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.code { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--text-2); background: var(--well); border: 1px solid rgba(140,222,236,0.12); padding: 16px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.metric { border-top: 2px solid var(--ice); padding-top: 18px; }
.metric.pending { border-top-color: var(--amber); }
.metric b { font-family: var(--display); font-size: 42px; font-weight: 600; display: block; line-height: 1.1; }
.metric.pending b { color: var(--amber); font-size: 28px; }
.metric span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; }
.metric small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Console (Kara Kutu) */
.console { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.panel { flex: 1 1 320px; min-width: 0; border: 1px solid rgba(140,222,236,0.18); background: var(--deck); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.panel.center { background: #07090E; align-items: center; justify-content: space-between; }
.panel.center .label { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
select, input[type="text"], input[type="email"], input[type="number"], input[type="url"], input[type="password"], textarea {
  width: 100%; min-height: 44px; background: var(--well); border: 1px solid rgba(140,222,236,0.28); color: var(--text);
  padding: 10px 14px; font-family: var(--mono); font-size: 14px; border-radius: 0;
}
.werr-adv-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; font-size: 12px; }
.werr-adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.werr-adv-grid input[type="number"] { padding: 8px 10px; font-size: 13px; min-height: 38px; }
@media (max-width: 480px) {
  .werr-adv-checks { grid-template-columns: 1fr; }
  .werr-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
textarea { resize: vertical; line-height: 1.6; }
textarea.prose { font-family: var(--sans); font-size: 16px; line-height: 1.7; }
.scn-list { display: flex; flex-direction: column; gap: 8px; }
.scn { min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid rgba(140,222,236,0.25); color: var(--text-2); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; cursor: pointer; text-align: left; }
.scn:hover { border-color: var(--ice); color: var(--text); }
.scn[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); background: rgba(255,176,72,0.08); }

.reactor { position: relative; width: 300px; max-width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.reactor svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reactor .ring-a { transform-origin: 160px 160px; animation: spin 40s linear infinite; }
.reactor.busy .ring-a { animation-duration: 3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reactor .ring-a { animation: none; } }
.reactor-core { position: relative; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 0 24px; }
.reactor-core .code-line { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.reactor-core .verdict { font-family: var(--display); font-weight: 700; font-size: 42px; line-height: 1; }
.reactor-core .sub { font-size: 14px; color: var(--text-2); max-width: 210px; }
.v-allow { color: var(--ice); }
.v-review { color: var(--amber); }
.v-deny { color: var(--stop); }
.stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-family: var(--mono); }
.stats div { border-top: 1px solid var(--line-2); padding-top: 10px; min-width: 0; }
.stats small { display: block; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.stats b { display: block; font-size: 16px; font-weight: 500; margin-top: 4px; overflow-wrap: anywhere; }

.trace-list { display: flex; flex-direction: column; font-family: var(--mono); font-size: 13px; }
.trace-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 64px; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(140,222,236,0.08); align-items: baseline; }
.trace-row .why { color: var(--muted); font-size: 12px; grid-column: 2 / 4; }
.trace-row.win { color: var(--text); }
.trace-row:not(.win) { color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 9px; font-family: var(--mono); font-size: 13px; }
.bar { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr) 62px; gap: 10px; align-items: center; }
.bar .n { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .t { height: 8px; background: rgba(140,222,236,0.08); position: relative; }
.bar .f { position: absolute; top: 0; bottom: 0; }
.bar .v { text-align: right; }
.note { border: 1px dashed rgba(255,176,72,0.55); padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.note b { color: var(--amber); font-weight: 500; }
.small-mono { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }

/* Studio */
.studio { display: flex; flex-wrap: wrap; gap: 20px; }
.studio .panel { flex: 1 1 360px; }
.tpl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rule { border: 1px solid rgba(140,222,236,0.25); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 14px; }
.rule.deny { border-color: rgba(255,107,91,0.5); }
.rule.review { border-color: rgba(255,176,72,0.55); }
.rule.allow { border-color: rgba(140,222,236,0.5); }
.rule .head { display: flex; justify-content: space-between; gap: 12px; }
.rule .src { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.tests { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.tests th { text-align: left; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; padding: 8px 6px; border-bottom: 1px solid var(--line-2); }
.tests td { padding: 8px 6px; border-bottom: 1px solid rgba(140,222,236,0.06); vertical-align: top; overflow-wrap: anywhere; }
.scroll-x { overflow-x: auto; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14px; padding: 6px 0; }
.check .ok { color: var(--ice); }
.check .bad { color: var(--stop); }
.empty { color: var(--muted); font-size: 14px; }

/* Forms / footer */
.access { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.access form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.access .field { flex: 1 1 240px; }
footer { border-top: 1px solid rgba(140,222,236,0.08); font-family: var(--mono); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.log { min-width: 600px; }
.log-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 140px 120px; gap: 14px; padding: 10px 16px; border-bottom: 1px solid rgba(140,222,236,0.06); font-family: var(--mono); font-size: 14px; }
.log-row span:first-child, .log-row span:last-child { color: var(--muted); }

/* reCAPTCHA badge is replaced by the required text notice */
.grecaptcha-badge { visibility: hidden; }

/* refinements */
.stats b { font-size: 14px; line-height: 1.4; }
.tests td:nth-child(3), .tests td:nth-child(4) { white-space: nowrap; }
.tests td:first-child { min-width: 150px; }

/* ===================================================================== v1.3 — live horizon & motion */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hero .horizon { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.hero.live .horizon { opacity: 1; }
.hero.live .hero-bg { opacity: 0; transition: opacity 1.4s ease; }
.hero .scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(140,222,236,0.035) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }
.hero .reticle { position: absolute; z-index: 1; left: 66%; top: 30%; width: 132px; height: 132px; margin: -66px 0 0 -66px; pointer-events: none; opacity: 0.85; }
.hero .reticle circle { transform-origin: 66px 66px; animation: spin 18s linear infinite; }
.hero .reticle circle + circle { animation-direction: reverse; animation-duration: 9s; }
@media (max-width: 760px) { .hero .reticle { left: 50%; top: 70%; } }
@media (max-width: 760px) { .hero .reticle { display: none; } }
.tele-hud { position: absolute; right: 24px; top: 18px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ice);
  background: rgba(5,6,10,0.66); border: 1px solid var(--line-2); padding: 10px 14px; display: grid; grid-template-columns: auto auto; gap: 2px 14px; backdrop-filter: blur(6px); }
.tele-hud span:nth-child(odd) { color: var(--muted); }
.tele-hud b { font-weight: 500; color: var(--amber); }
@media (max-width: 760px) { .tele-hud { position: relative; right: auto; top: auto; margin: 0 24px 24px; } }
.hero h1 em { background: linear-gradient(90deg, var(--amber), #FFE2A8, var(--ice), var(--amber)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.motto { font-family: var(--mono); font-size: 14px; color: var(--ice); letter-spacing: 0.06em; }
.motto b { color: var(--amber); font-weight: 500; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(140,222,236,0.6); animation: pulse 2s infinite; margin-right: 8px; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140,222,236,0.55); } 70% { box-shadow: 0 0 0 12px rgba(140,222,236,0); } 100% { box-shadow: 0 0 0 0 rgba(140,222,236,0); } }

/* live decision stream */
.stream-wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.stream-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.stream { flex: 2 1 560px; min-width: 0; border: 1px solid var(--line-2); background: linear-gradient(180deg, #070A10, #05060A); position: relative; overflow: hidden; }
.stream::before { content: ''; position: absolute; inset: -1px; pointer-events: none; background: conic-gradient(from var(--spin), transparent 0 80%, rgba(255,176,72,0.55) 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; animation: spinvar 7s linear infinite; }
@keyframes spinvar { to { --spin: 360deg; } }
.stream-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.stream ol { list-style: none; margin: 0; padding: 0; min-height: 392px; }
.sr-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 128px minmax(0, 170px) 64px; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid rgba(140,222,236,0.06); font-family: var(--mono); font-size: 13px; }
.sr-row.enter { animation: srIn 0.6s cubic-bezier(.2,.8,.2,1); }
@keyframes srIn { from { opacity: 0; transform: translateY(-14px); background: rgba(255,176,72,0.12); } to { opacity: 1; transform: none; background: transparent; } }
.sr-n, .sr-us, .sr-rule { color: var(--muted); font-size: 12px; }
.sr-rule { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-us { text-align: right; }
.sr-tool { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-tool small { display: block; color: var(--muted); font-size: 11px; }
.sr-v { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
@media (max-width: 640px) { .sr-row { grid-template-columns: minmax(0, 1fr) 110px; } .sr-n, .sr-rule, .sr-us { display: none; } }
.mix { height: 6px; background: linear-gradient(90deg, var(--ice) 0 var(--a, 33%), var(--amber) var(--a, 33%) var(--r, 66%), var(--stop) var(--r, 66%) 100%); transition: background 0.6s; }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-family: var(--mono); }
.counts div { border-top: 1px solid var(--line-2); padding-top: 8px; }
.counts small { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.counts b { font-family: var(--display); font-size: 30px; font-weight: 600; }

/* reveal + glow */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.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; }
.glow { position: relative; isolation: isolate; }
.glow::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,176,72,0.13), transparent 60%); }
.glow:hover::after { opacity: 1; }
.card { transition: border-color 0.3s, transform 0.3s; }
.card.glow:hover { border-color: rgba(255,176,72,0.55); transform: translateY(-3px); }

/* pricing */
.bill { display: inline-flex; border: 1px solid var(--line-2); padding: 4px; gap: 4px; }
.bill button { min-height: 40px; padding: 0 16px; background: transparent; border: 0; color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--amber); color: var(--amber-ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { border: 1px solid rgba(140,222,236,0.2); background: var(--deck); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan.hot { border-color: var(--amber); background: linear-gradient(180deg, rgba(255,176,72,0.09), var(--deck) 40%); box-shadow: 0 0 0 1px rgba(255,176,72,0.25), 0 30px 80px -40px rgba(255,176,72,0.45); }
.plan .pname { font-family: var(--display); font-size: 24px; font-weight: 700; }
.plan .pfor { color: var(--muted); font-size: 14px; min-height: 44px; }
.plan .price { font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1; }
.plan .price small { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.plan .quota { font-family: var(--mono); font-size: 13px; color: var(--ice); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-2); flex: 1; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: '◇'; position: absolute; left: 0; top: 0; color: var(--amber); font-size: 12px; line-height: 1.9; }
.soon { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--amber); border: 1px solid rgba(255,176,72,0.5); padding: 0 5px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.ribbon { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; background: var(--amber); color: var(--amber-ink); padding: 3px 10px; }
.plan .btn-primary, .plan .btn-ghost { width: 100%; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--amber); font-family: var(--mono); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin: 10px 0 0; max-width: 820px; }
.plan-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: end; }

/* Werr orbit (vision) */
.orbit { position: relative; width: 100%; aspect-ratio: 1000 / 620; margin: 8px 0 0; overflow: hidden; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .rings ellipse { fill: none; stroke: rgba(140,222,236,0.18); stroke-width: 1; }
.orbit .rings ellipse.r1 { stroke: rgba(140,222,236,0.5); }
.orbit .rings ellipse.r2 { stroke: rgba(255,176,72,0.4); stroke-dasharray: 6 8; }
.orbit .rings ellipse.r3 { stroke: rgba(196,202,214,0.3); stroke-dasharray: 2 6; }
.orbit .rings ellipse.r4 { stroke: rgba(255,107,91,0.32); stroke-dasharray: 1 9; }
.orbit .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 15%; aspect-ratio: 1; border-radius: 50%; z-index: 20;
  background: radial-gradient(circle at 40% 38%, #FFE2A8, var(--amber) 30%, #7a3b10 62%, #05060A 72%); box-shadow: 0 0 60px 10px rgba(255,176,72,0.35), 0 0 160px 40px rgba(255,176,72,0.12);
  display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--display); font-weight: 700; color: var(--amber-ink); font-size: clamp(12px, 1.8vw, 22px); line-height: 1; animation: breathe 6s ease-in-out infinite; }
.orbit .core small { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(8px, 0.8vw, 11px); letter-spacing: 0.1em; margin-top: 4px; }
@keyframes breathe { 0%,100% { box-shadow: 0 0 60px 10px rgba(255,176,72,0.35), 0 0 160px 40px rgba(255,176,72,0.12); } 50% { box-shadow: 0 0 80px 18px rgba(255,176,72,0.5), 0 0 220px 60px rgba(255,176,72,0.18); } }
.planet { position: absolute; transform: translate(-50%, -50%) scale(var(--d, 1)); background: rgba(8,10,16,0.88); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  font-family: var(--mono); font-size: clamp(10px, 1.1vw, 13px); padding: 6px 10px 6px 22px; white-space: nowrap; min-height: 32px; opacity: calc(var(--d, 1) * 1.1); }
.planet::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c, var(--ice)); box-shadow: 0 0 12px var(--c, var(--ice)); }
.planet:hover, .planet:focus-visible { border-color: var(--amber); color: var(--amber); }
.planet[data-ring="1"] { --c: var(--ice); } .planet[data-ring="2"] { --c: var(--amber); } .planet[data-ring="3"] { --c: #C4CAD6; } .planet[data-ring="4"] { --c: var(--stop); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
@media (max-width: 640px) { .orbit { aspect-ratio: 1000 / 760; } .planet { font-size: 9px; padding: 3px 5px 3px 14px; min-height: 22px; } .planet::before { left: 4px; width: 5px; height: 5px; margin-top: -2.5px; } }
.tech { scroll-margin-top: 120px; }
.tech .row .st { font-size: 11px; padding: 1px 8px; border: 1px solid currentColor; }
.tech.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,176,72,0.35); } 100% { box-shadow: none; } }
.st-now { color: var(--ice); } .st-pilot { color: var(--amber); } .st-proof { color: #C4CAD6; } .st-horizon { color: var(--stop); }
.horizons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); }
.horizons > div { padding: 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.horizons > div:last-child { border-right: 0; }
@media (max-width: 760px) { .horizons > div { border-right: 0; border-bottom: 1px solid var(--line); } .horizons > div:last-child { border-bottom: 0; } }
.horizons .when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; }
.gloss { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.gloss dl { margin: 0; }
.gloss dt { font-family: var(--mono); color: var(--amber); font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.gloss dd { margin: 4px 0 14px; color: var(--text-2); font-size: 15px; }
.bigq { font-family: var(--display); font-size: clamp(34px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.bigq .w { color: var(--amber); }
.bigq .q { color: var(--ice); }

@media (prefers-reduced-motion: reduce) {
  .hero h1 em, .stream::before, .orbit .core, .pulse-dot, .hero .reticle circle { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================== v1.4 — platform chrome, docs, console, legal */
html[lang="en"] [data-lang="tr"], html[lang="tr"] [data-lang="en"] { display: none !important; }
.nav-links .nav-cta { color: var(--amber-ink); padding: 0 16px; }
.nav-links .nav-cta:hover { color: var(--amber-ink); }
@media (max-width: 1180px) and (min-width: 861px) { .nav-links { gap: 4px 14px; } .nav-links a { font-size: 14px; } }

.site-foot { border-top: 1px solid rgba(140,222,236,0.1); background: #04050A; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(150px, 1fr)); gap: 32px 28px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin: 14px 0 0; max-width: 340px; }
.foot-h { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; font-weight: 500; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.foot-legal { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(140,222,236,0.06); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.foot-legal a { color: var(--muted); text-decoration: underline; }

/* legal */
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); } .legal-side { position: static; } }
.legal-body { min-width: 0; }
.legal-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.legal-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.legal-side a { display: block; padding: 8px 12px; color: var(--text-2); text-decoration: none; border-left: 2px solid transparent; font-size: 14px; }
.legal-side a[aria-current="page"], .legal-side a:hover { color: var(--amber); border-left-color: var(--amber); }
.legal-body { max-width: 820px; color: var(--text-2); }
.legal-body h1 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 18px; color: var(--text); }
.legal-body h2 { font-size: 22px; margin: 36px 0 10px; color: var(--text); }
.legal-body h3 { font-size: 18px; margin: 24px 0 8px; color: var(--text); }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.75; }
.legal-body ol, .legal-body ul { padding-left: 22px; }
.legal-table td, .legal-table th { font-family: var(--sans); font-size: 14px; }
.legal-status { margin: 0 0 8px; }

/* docs */
.docs-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .docs-wrap { grid-template-columns: minmax(0, 1fr); } .docs-toc { position: static !important; } }
.docs-toc { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.docs-toc a { color: var(--text-2); text-decoration: none; padding: 6px 10px; border-left: 2px solid transparent; }
.docs-toc a:hover { color: var(--amber); border-left-color: var(--amber); }
.docs-body { min-width: 0; max-width: 900px; }
.docs-body section { padding: 8px 0 28px; border-bottom: 1px solid rgba(140,222,236,0.08); scroll-margin-top: 24px; }
.docs-body h2 { font-size: 28px; margin: 24px 0 12px; }
.docs-body h3 { font-size: 18px; margin: 22px 0 8px; }
.docs-body p, .docs-body li { color: var(--text-2); }
.docs-body pre { font-family: var(--mono); font-size: 13px; line-height: 1.65; background: #04050A; border: 1px solid rgba(140,222,236,0.16); padding: 16px; overflow-x: auto; color: var(--text); margin: 12px 0; }
.docs-body code { font-family: var(--mono); font-size: 0.92em; color: var(--ice); }
.docs-body pre code { color: inherit; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 12px; }
.tabs button { min-height: 36px; padding: 0 14px; background: transparent; border: 1px solid var(--line-2); color: var(--muted); font-family: var(--mono); font-size: 12px; cursor: pointer; }
.tabs button[aria-selected="true"] { border-color: var(--amber); color: var(--amber); }
.ep { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 4px 12px; font-family: var(--mono); font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(140,222,236,0.06); }
.ep .m { color: var(--amber); }
.ep .d { grid-column: 2; color: var(--muted); font-family: var(--sans); font-size: 14px; }

/* console */
.cs-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .cs-shell { grid-template-columns: minmax(0, 1fr); } }
.cs-side { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 900px) { .cs-side { position: static; flex-direction: row; flex-wrap: wrap; } }
.cs-side button { text-align: left; min-height: 42px; padding: 0 14px; background: transparent; border: 0; border-left: 2px solid transparent; color: var(--text-2); font-family: var(--sans); font-size: 15px; cursor: pointer; }
.cs-side button[aria-current="true"] { color: var(--amber); border-left-color: var(--amber); background: rgba(255,176,72,0.06); }
.cs-side .count { font-family: var(--mono); font-size: 11px; color: var(--amber-ink); background: var(--amber); padding: 0 6px; margin-left: 6px; }
.cs-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cs-card { border: 1px solid rgba(140,222,236,0.18); background: var(--deck); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cs-card h2 { font-size: 22px; }
.cs-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cs-kpi { border-top: 2px solid var(--ice); padding-top: 10px; }
.cs-kpi small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.cs-kpi b { font-family: var(--display); font-size: 30px; font-weight: 600; }
.meter { height: 10px; background: rgba(140,222,236,0.1); position: relative; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ice); }
.meter.warn i { background: var(--amber); } .meter.full i { background: var(--stop); }
.cs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cs-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; padding: 8px 8px; border-bottom: 1px solid var(--line-2); text-transform: uppercase; }
.cs-table td { padding: 9px 8px; border-bottom: 1px solid rgba(140,222,236,0.06); vertical-align: top; overflow-wrap: anywhere; }
.cs-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.cs-row .field { flex: 1 1 200px; }
.secret { font-family: var(--mono); font-size: 14px; background: #04050A; border: 1px dashed var(--amber); padding: 12px; overflow-wrap: anywhere; color: var(--amber-2); }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 1px 8px; border: 1px solid currentColor; letter-spacing: 0.06em; }
.bars-chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; border-bottom: 1px solid var(--line-2); }
.bars-chart div { flex: 1 1 0; min-width: 2px; display: flex; flex-direction: column-reverse; }
.bars-chart span { display: block; }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 100; background: #0B0F17; border: 1px solid var(--amber); padding: 12px 16px; font-size: 14px; max-width: min(420px, calc(100vw - 32px)); }
.auth-box { max-width: 520px; margin: 0 auto; }
.check-line { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; color: var(--text-2); }
.check-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.status-dot.ok { background: var(--ice); box-shadow: 0 0 10px var(--ice); } .status-dot.bad { background: var(--stop); }

/* ===================================================================== 2026-10-22 mobile audit fixes */
.soon { font-size: 11px; }
.cs-table code, .docs-body td code { font-size: 12px; }
.faq summary { min-height: 44px; align-items: center; }
.tabs button { min-height: 40px; }
.tpl-row a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--amber); }
.orbit .core small { font-size: max(10px, 0.8vw); }
@media (max-width: 640px) {
  /* labels would be unreadable on a phone: planets become tap dots, the cards below carry the text */
  .planet { font-size: 0; width: 30px; height: 30px; min-height: 30px; padding: 0; border-radius: 50%; }
  .planet::before { left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .orbit .core { font-size: 13px; }
}
.planet { font-size: clamp(11px, 1.1vw, 13px); }
.orbit .core small { font-size: 11px; }
.card a.small-mono, .card > a.btn-sm, .tech a.small-mono { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 640px) { .planet { font-size: 0; } }
.card > a[href^="http"], .card p + a, .card .tpl-row a { display: inline-flex; align-items: center; min-height: 40px; }
