/* ============================================================
   Telemetri Balon — teknik & kayıt odaklı balon uçuşu
   Palet: bg #F5F6F5 / surface #FFF / ink #141614 / accent #1D6FB8 / accent-2 #E23B3B
   Heading: Space Grotesk 600 · Body: Inter 400 · Mono: IBM Plex Mono
   ============================================================ */

:root {
  --bg: #F5F6F5;
  --surface: #FFFFFF;
  --surface-2: #EEF1F2;
  --surface-3: #E5E9EB;
  --ink: #141614;
  --ink-soft: #4A514E;
  --ink-faint: #7B837F;
  --accent: #1D6FB8;
  --accent-deep: #14568F;
  --accent-2: #E23B3B;
  --line: rgba(20, 22, 20, 0.12);
  --line-strong: rgba(20, 22, 20, 0.22);
  --sky-0: #12203a;
  --sky-1: #3a3f6b;
  --sky-2: #b5688a;
  --sky-3: #e79a6a;
  --sky-4: #f6c76b;
  --header-h: 72px;
  --maxw: 1400px;
  --pad: clamp(16px, 4vw, 56px);
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100vw; margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.mono {
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-2);
}

.word-safe { word-break: break-word; overflow-wrap: anywhere; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 246, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4);
  transition: height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.site-header.scrolled {
  height: 60px;
  background: rgba(245, 246, 245, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.28);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  font-weight: 500;
  margin-top: 1px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-desktop a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 220ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--surface) !important;
  padding: 10px 18px !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--accent);
  color: var(--surface) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 22px) 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, padding-left 200ms ease;
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); padding-left: 10px; }
.drawer .drawer-cta {
  margin-top: 20px;
  background: var(--ink);
  color: var(--surface) !important;
  text-align: center;
  border-radius: 10px;
  border: 0;
  padding: 16px;
}
.drawer .drawer-cta:hover { background: var(--accent); color: var(--surface) !important; padding-left: 16px; }
.drawer-meta {
  margin-top: auto;
  padding-top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--ink-faint);
  line-height: 1.8;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  z-index: 1040;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

main { padding-top: var(--header-h); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-align: center;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px var(--accent);
}
.btn-primary:active { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface); color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus-visible {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  /* warm burner glow — sunrise-flame accent under the button */
  box-shadow: 0 12px 30px -14px rgba(246, 199, 107, 0.75), 0 4px 14px -8px rgba(226, 59, 59, 0.35);
}
.btn .arrow { transition: transform 220ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO — sunrise atmosphere + telemetry schema
   ============================================================ */
/* Cinematic full-bleed photo hero */
.hero {
  position: relative;
  min-height: clamp(600px, 88vh, 940px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0c10;
  border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  transform-origin: 60% 40%;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(-1.6%, -2.2%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  /* vertical scrim for legibility + left-weighted wash under the copy;
     keeps white text well above 4.5:1 on the photo */
  background:
    linear-gradient(180deg, rgba(8,10,14,0.42) 0%, rgba(8,10,14,0.30) 34%, rgba(8,10,14,0.62) 74%, rgba(6,8,12,0.88) 100%),
    linear-gradient(90deg, rgba(6,8,12,0.82) 0%, rgba(6,8,12,0.42) 46%, rgba(6,8,12,0.05) 78%);
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: clamp(120px, 20vh, 220px);
  padding-bottom: clamp(70px, 12vh, 128px);
}
.hero-copy { color: #fff; max-width: 720px; }
.hero .eyebrow { color: #ffe1b0; }
.hero .eyebrow::before { background: #ffe1b0; }
.hero-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: #fff;
  font-size: clamp(2.05rem, 3.2vw + 1.5rem, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: #ffd98a;
}
.hero-title .word {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--wi, 0) * 90ms + 120ms);
}
.hero-copy.is-in .hero-title .word { opacity: 1; transform: none; }
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 560px;
  margin-bottom: 30px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(3px);
}
.hero .btn-ghost:hover, .hero .btn-ghost:focus-visible { background: rgba(255,255,255,0.16); color: #fff; border-color: #fff; }

/* Thin stat strip over the photo */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 46px);
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  max-width: 640px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 3px; }
.hero-stats .hs-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .hs-u { font-size: 0.62em; color: #ffd98a; font-weight: 600; }
.hero-stats .hs-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 14px;
  display: none;
}
.hero-scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 3px;
  animation: hero-scroll-dot 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-dot {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}
@media (min-width: 768px) and (min-height: 640px) { .hero-scroll { display: block; } }

/* Live telemetry section (moved out of hero) */
.telemetry-split { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
.telemetry-figure { margin: 0; min-height: 260px; }
.telemetry-section .hero-panel { align-self: center; }

/* Telemetry schema panel */
.hero-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 10px;
}
.hero-panel-head .live { color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }
.hero-panel-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }
.hero-schema svg { width: 100%; height: auto; display: block; }
.hero-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.readout-cell {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
}
.readout-cell .lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  display: block;
}
.readout-cell .val {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.readout-cell .val .u { font-size: 0.7rem; color: var(--ink-faint); font-weight: 500; }
#burnerVal { color: var(--accent-2); }

/* ============================================================
   SECTIONS / general
   ============================================================ */
section { position: relative; }
.section {
  padding: clamp(56px, 9vw, 108px) 0;
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--ink);
  color: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #ffd98a; }
.section-dark .eyebrow::before { background: #ffd98a; }
.section-dark p { color: rgba(255,255,255,0.82); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }

/* Ruler decoration */
.ruler {
  height: 22px;
  background-image: repeating-linear-gradient(90deg,
    var(--line-strong) 0, var(--line-strong) 1px, transparent 1px, transparent 24px);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.ruler::after {
  content: "0 · 200 · 400 · 600 · 800 · 1000 · 1200 m";
  position: absolute;
  left: var(--pad); top: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  background: var(--bg);
  padding-right: 8px;
}

/* ============================================================
   PARAMETERS TABLE / tables
   ============================================================ */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  /* CSS-only horizontal scroll shadows: a soft fade + shadow appears on
     whichever edge still has hidden columns, so the clipped table reads as
     swipeable on narrow viewports and clears itself at each extreme. */
  background:
    linear-gradient(90deg, var(--surface) 32%, rgba(255,255,255,0)) left center / 44px 100% no-repeat local,
    linear-gradient(270deg, var(--surface) 32%, rgba(255,255,255,0)) right center / 44px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(20,22,20,.16), rgba(20,22,20,0)) left center / 18px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(20,22,20,.16), rgba(20,22,20,0)) right center / 18px 100% no-repeat scroll,
    var(--surface);
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table { font-size: 0.94rem; }
thead th {
  background: var(--surface-2);
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(20,22,20,0.015); }
tbody td:first-child { font-weight: 600; color: var(--ink); }
.num { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.tag-ok {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(29,111,184,0.1);
  color: var(--accent-deep);
  border: 1px solid rgba(29,111,184,0.24);
}

/* ============================================================
   SPEC CARDS (parameters as cards row above table)
   ============================================================ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px rgba(29,111,184,0.5);
  border-color: rgba(29,111,184,0.4);
}
.spec-card .spec-icon {
  width: 42px; height: 42px;
  color: var(--accent);
  margin-bottom: 16px;
}
.spec-card .spec-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.spec-card .spec-num .u { font-size: 1rem; color: var(--accent); }
.spec-card .spec-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 8px;
}
.spec-card .spec-note { font-size: 0.86rem; color: var(--ink-soft); margin: 12px 0 0; }
.spec-card::after {
  content: attr(data-idx);
  position: absolute;
  top: 14px; right: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: var(--line-strong);
  letter-spacing: 0.1em;
}

/* ============================================================
   EQUIPMENT / CERT — editorial split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.equip-list { display: flex; flex-direction: column; gap: 2px; }
.equip-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, padding-left 220ms ease;
}
.equip-row:hover { background: var(--surface); padding-left: 12px; }
.equip-row .eq-icon { width: 34px; height: 34px; color: var(--accent); min-width: 34px; }
.equip-row h4 { margin: 0 0 3px; font-size: 1.02rem; min-width: 0; }
.equip-row p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); min-width: 0; overflow-wrap: break-word; }
.equip-row .eq-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: var(--surface-2);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.cert-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cert-panel h3 { display: flex; align-items: center; gap: 10px; }
.cert-panel h3 svg { width: 26px; height: 26px; color: var(--accent-2); }
.cert-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 8px; }
.cert-badge {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms ease, background 220ms ease;
}
.cert-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(29,111,184,0.4);
  background: rgba(29,111,184,0.04);
}
.cert-badge .cb-code {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
}
.cert-badge .cb-lbl { font-size: 0.74rem; color: var(--ink-soft); margin-top: 4px; }
.cert-panel .fineprint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 14px; }

/* ============================================================
   SAFETY PROTOCOL — vertical timeline
   ============================================================ */
.protocol { max-width: 860px; margin: 0 auto; }
.proto-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 30px);
  padding: 0 0 34px;
  position: relative;
}
.proto-step::before {
  content: "";
  position: absolute;
  left: 31px; top: 54px; bottom: -8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.proto-step:last-child { padding-bottom: 0; }
.proto-step:last-child::before { display: none; }
.proto-num {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.section-dark .proto-num { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: #ffd98a; }
.proto-body h3 { font-size: 1.22rem; margin-bottom: 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.proto-time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  border: 1px solid rgba(226,59,59,0.4);
  padding: 2px 8px;
  border-radius: 20px;
}
.proto-body p { margin: 0; max-width: 560px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(20,22,20,0.5); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 20px 50px -30px rgba(29,111,184,0.55); }
.price-card.featured::before {
  content: "En çok tercih edilen";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
}
.price-card .pc-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.3rem; }
.price-card .pc-dur {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 3px;
}
.price-card .pc-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--ink);
  margin: 18px 0 4px;
  font-variant-numeric: tabular-nums;
}
.price-card .pc-price .cur { font-size: 1.1rem; color: var(--accent); }
.price-card .pc-sample { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; color: var(--ink-faint); letter-spacing: 0.06em; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.price-card li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.price-card li.no { color: var(--ink-faint); }
.price-card li.no svg { color: var(--ink-faint); }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 26px;
  letter-spacing: 0.04em;
}

/* ============================================================
   STATS band
   ============================================================ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
}
.stat { text-align: center; }
.stat .stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .stat-num .s { color: #ffd98a; }
.stat .stat-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}
.testi:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px rgba(29,111,184,0.4);
  border-color: rgba(29,111,184,0.4);
}
.testi .quote { font-size: 0.98rem; color: var(--ink); margin: 0 0 18px; flex: 1; }
.testi .quote::before { content: "“"; color: var(--accent); font-size: 2.4rem; font-family: "Space Grotesk"; line-height: 0; vertical-align: -14px; margin-right: 4px; }
.testi .meta { border-top: 1px solid var(--line); padding-top: 14px; }
.testi .meta .who { font-weight: 600; font-size: 0.92rem; }
.testi .meta .what { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; color: var(--ink-faint); letter-spacing: 0.05em; margin-top: 3px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: rgba(29,111,184,0.4); box-shadow: 0 18px 40px -32px rgba(29,111,184,0.5); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px clamp(18px, 3vw, 26px);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 26px; height: 26px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 300ms cubic-bezier(.4,0,.2,1), border-color 200ms;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--accent);
  top: 50%; left: 50%;
}
.faq-item summary .plus::before { width: 11px; height: 2px; transform: translate(-50%,-50%); }
.faq-item summary .plus::after { width: 2px; height: 11px; transform: translate(-50%,-50%); transition: transform 300ms cubic-bezier(.4,0,.2,1); }
.faq-item[open] summary .plus { transform: rotate(90deg); border-color: var(--accent); }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer { height: auto; padding-block-end: 24px; }
.faq-item > .answer p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) { .faq-item > .answer { transition: none; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; max-width: 900px; margin: 0 auto 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: clamp(48px, 7vw, 80px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 44px;
}
.footer-grid h4 {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.62); max-width: 320px; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); font-size: 0.9rem; padding: 6px 0; transition: color 200ms, padding-left 200ms; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { list-style: none; display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.footer-contact ul { padding: 0; margin: 0; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; color: #ffd98a; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.72); word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .mono { font-size: 0.72rem; letter-spacing: 0.06em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(120px, 16vh, 180px) 0 clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%; top: 20%;
  width: 40vmax; height: 40vmax;
  background: radial-gradient(circle, rgba(246,199,107,0.16), transparent 62%);
  pointer-events: none;
}
.page-hero .eyebrow { color: #ffd98a; }
.page-hero .eyebrow::before { background: #ffd98a; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.6rem); position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; font-size: 1.06rem; position: relative; z-index: 1; margin-bottom: 0; }
.breadcrumb { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 22px; position: relative; z-index: 1; }
.breadcrumb a { color: #ffd98a; }

/* ============================================================
   CONTACT
   ============================================================ */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(20,22,20,0.4); border-color: rgba(29,111,184,0.4); }
.channel-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(29,111,184,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.channel-icon svg { width: 24px; height: 24px; }
.channel-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.channel-card .cc-val { font-weight: 600; color: var(--accent); word-break: break-word; }
.channel-card .cc-val:hover { color: var(--accent-deep); }
.channel-card .cc-sub { font-size: 0.82rem; color: var(--ink-faint); margin: 6px 0 0; }

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.hours-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hours-cell.today { border-color: var(--accent); background: rgba(29,111,184,0.05); }
.hours-cell .day { font-weight: 600; font-size: 0.9rem; }
.hours-cell .hrs { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-cell.today .hrs { color: var(--accent-deep); }

/* Form */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); font-family: "Space Grotesk", sans-serif; }
.field input, .field select, .field textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 200ms ease, background 200ms ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.field.kvkk { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.kvkk label { font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); }
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.form-wrap .btn { margin-top: 8px; }

/* ============================================================
   PROSE (legal/about pages)
   ============================================================ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.06em; margin-bottom: 30px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1), border-color 240ms cubic-bezier(.2,.7,.2,1); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px -30px rgba(29,111,184,0.45); border-color: rgba(29,111,184,0.4); }
.team-avatar {
  width: 66px; height: 66px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: "Space Grotesk"; font-weight: 600; font-size: 1.5rem;
  margin-bottom: 18px;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* Notes / updates block */
.notes-list { display: flex; flex-direction: column; gap: 14px; }
.note-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.note-item .note-date { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.04em; white-space: nowrap; }
.note-item p { margin: 0; font-size: 0.94rem; }

/* Thank you */
.ty-wrap { max-width: 620px; margin: 0 auto; text-align: center; padding: clamp(40px,8vw,80px) 0; }
.ty-icon { width: 84px; height: 84px; margin: 0 auto 26px; color: var(--accent); }
.ty-wrap h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* 404 */
.err-wrap { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(50px,10vh,120px) 0; }
.err-wrap .code { font-family: "IBM Plex Mono", monospace; font-size: clamp(4rem,14vw,8rem); font-weight: 600; color: var(--accent); line-height: 1; }

/* ============================================================
   COOKIE
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h4 { font-size: 1.02rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1;
  min-width: 92px;
  min-height: 44px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: background 200ms, color 200ms, border-color 200ms;
}
.cookie-actions [data-consent="accept"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cookie-actions [data-consent="accept"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Reject carries the same visual weight as Accept — no dark-pattern nudging */
.cookie-actions [data-consent="reject"] { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.cookie-actions [data-consent="reject"]:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cookie-actions [data-consent="settings"] { flex: 0 1 auto; background: transparent; color: var(--ink-soft); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions [data-consent="settings"]:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.55);
}
.cookie-modal.is-open { display: flex; }
.cookie-modal-box {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
}
.cookie-modal-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cookie-modal-box > p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.toggle-row h4 { font-size: 0.98rem; margin-bottom: 3px; }
.toggle-row p { font-size: 0.82rem; color: var(--ink-faint); margin: 0; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--surface-3); border-radius: 20px; transition: background 200ms; }
.switch .track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 200ms; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--accent); opacity: 0.5; }
.cookie-modal-box .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(.2,.7,.2,1), transform 640ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-photo, .hero-scroll span, .hero-panel-head .live::before { animation: none !important; }
  .hero-photo { transform: scale(1.04) !important; }
  .hero-title .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .spec-card:hover, .price-card:hover, .channel-card:hover, .testi:hover, .cert-badge:hover,
  .team-card:hover, .btn:hover, .btn:focus-visible { transform: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .hero-title .word { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .split, .telemetry-split { grid-template-columns: 1fr; }
  .telemetry-figure { min-height: 220px; }
  .cert-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: clamp(540px, 82vh, 720px); }
  .hero-inner { padding-top: clamp(112px, 22vh, 150px); padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-readout { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .readout-cell { padding: 8px; }
  .readout-cell .val { font-size: 1.05rem; }
  .spec-card { padding: 18px; }
  .cert-badges { grid-template-columns: 1fr 1fr; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button { width: 100%; }
  .proto-step { grid-template-columns: 48px 1fr; gap: 14px; }
  .proto-num { width: 46px; height: 46px; font-size: 1rem; }
  .proto-step::before { left: 23px; top: 52px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .hero-stats { gap: 12px 20px; }
  .hero-readout .lbl { font-size: 0.52rem; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}

/* drawer-cta-color-guard v1 */
.drawer a.nav-cta, .drawer .nav-cta, .mobile-menu a.nav-cta, nav[class*=mobile] a.nav-cta {
  color: var(--surface) !important;
}

/* table-scroll ancestor guard v1 */
.table-scroll{max-width:100%;overflow-x:auto}
:where(*:has(> .table-scroll),*:has(> * > .table-scroll),*:has(> * > * > .table-scroll)){min-width:0}
table{max-width:100%}

/* ============================================================
   AWARD POLISH v2 — flight-log art direction
   Threads the hero's Playfair serif through every section title
   as a measured italic accent; adds blueprint texture on dark
   sections and instrument-panel detailing on cards. Palette and
   the reveal system are untouched — no `is-in` toggling here.
   ============================================================ */

/* ---- Editorial italic accent in headings (echoes the hero) ---- */
.section-head h2 em,
.telemetry-section .section-head h2 em,
.cta-band h2 em,
.page-hero h1 em {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-deep);
}
/* dark contexts get the sunrise gold used in the hero */
.section-dark .section-head h2 em,
.cta-band h2 em,
.page-hero h1 em { color: #ffd98a; }

/* ---- Sharper heading scale + rhythm ---- */
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.section-head p {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.68;
  text-wrap: pretty;
}
.page-hero h1 { text-wrap: balance; letter-spacing: -0.02em; }
.cta-band h2 { text-wrap: balance; letter-spacing: -0.02em; }

/* ---- Blueprint grid on dark sections (protocol + CTA + page-hero) ---- */
.section-dark,
.page-hero {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center top;
}

/* ---- Spec cards: instrument scale-line reveals on hover ---- */
.spec-card { padding-top: 26px; }
.spec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 460ms cubic-bezier(.2,.7,.2,1);
}
.spec-card:hover::before { transform: scaleX(1); }
.spec-card:hover {
  box-shadow: 0 26px 50px -30px rgba(29,111,184,0.52),
              0 6px 20px -12px rgba(246,199,107,0.36);
}

/* ---- Warm, layered sunrise+aviation hover shadows ---- */
.price-card:hover {
  box-shadow: 0 34px 64px -34px rgba(20,22,20,0.5),
              0 8px 26px -16px rgba(246,199,107,0.3);
}
.testi:hover {
  box-shadow: 0 24px 48px -30px rgba(29,111,184,0.42),
              0 6px 18px -12px rgba(246,199,107,0.28);
}
.channel-card:hover, .team-card:hover {
  box-shadow: 0 26px 52px -30px rgba(29,111,184,0.45),
              0 6px 18px -12px rgba(246,199,107,0.26);
}

/* ---- Featured price card: crisp accent ring, no layout shift ---- */
.price-card.featured {
  box-shadow: 0 0 0 1px var(--accent),
              0 26px 56px -32px rgba(29,111,184,0.55),
              0 8px 26px -18px rgba(246,199,107,0.3);
}
.price-card.featured:hover {
  box-shadow: 0 0 0 1px var(--accent),
              0 36px 70px -34px rgba(29,111,184,0.6),
              0 10px 30px -16px rgba(246,199,107,0.34);
}

/* ---- Stats band: hairline separators between figures ---- */
@media (min-width: 720px) {
  .stats-band .stat + .stat::before {
    content: "";
    position: absolute;
    left: -13px; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 54px;
    background: rgba(255,255,255,0.14);
  }
  .stats-band .stat { position: relative; }
}

/* ---- Protocol timeline: brighter measured spine ---- */
.section-dark .proto-step::before {
  background: repeating-linear-gradient(180deg,
    rgba(255,217,138,0.4) 0 6px, transparent 6px 13px);
}
.proto-num { transition: border-color 240ms ease, color 240ms ease, transform 240ms cubic-bezier(.2,.7,.2,1); }
.proto-step:hover .proto-num { transform: translateY(-2px); }
.section-dark .proto-step:hover .proto-num { border-color: #ffd98a; }

/* ---- Testimonials: refined pull-quote glyph ---- */
.testi .quote::before {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  color: var(--accent);
}

/* ---- Eyebrow: registry-stamp tick refinement ---- */
.eyebrow::before { width: 26px; height: 1.5px; }

/* ---- Reduced-motion: freeze the new decorative motion ---- */
@media (prefers-reduced-motion: reduce) {
  .spec-card::before { transform: scaleX(1) !important; transition: none !important; }
  .proto-num { transition: none !important; }
  .proto-step:hover .proto-num { transform: none !important; }
}
