/* Skypeak — site styles */
:root {
  --bg: #050A16;
  --bg-2: #08112A;
  --panel: rgba(12, 26, 58, .55);
  --panel-solid: #0B1834;
  --line: rgba(130, 175, 255, .14);
  --line-2: rgba(130, 175, 255, .28);
  --ink: #E9F1FF;
  --ink-2: #A9BCDD;
  --ink-3: #6E83A8;
  --blue: #1E7BFF;
  --blue-2: #0D55D1;
  --sky: #5BB8FF;
  --ice: #BFE3FF;
  --navy: #1B3A78;
  --rec: #FF4D5E;
  --ok: #4BE3B0;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before { /* coordinate grid */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  opacity: .35;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; }
.dim { color: var(--ink-3); }
.hl {
  background: linear-gradient(100deg, var(--ice) 0%, var(--sky) 35%, var(--blue) 70%, #7AA8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--blue);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.4em; border-radius: 999px;
  font: 600 .95rem/1 var(--body); letter-spacing: .01em;
  color: #fff; background: var(--b);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 0 rgba(30,123,255,.0), 0 10px 30px -10px rgba(30,123,255,.8), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(30,123,255,.15), 0 16px 40px -12px rgba(30,123,255,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--line-2); box-shadow: none; color: var(--ink); }
.btn-ghost:hover { background: rgba(30,123,255,.12); border-color: var(--sky); box-shadow: none; }
.btn-small { padding: .7em 1.1em; font-size: .85rem; }

.eyebrow { display: flex; align-items: center; gap: .8em; color: var(--sky); text-transform: uppercase; margin-bottom: 1.6em; }
.eyebrow .tick { width: 28px; height: 1px; background: currentColor; position: relative; }
.eyebrow .tick::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 22px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(6, 13, 30, .55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, border-color .3s;
}
.bar.scrolled { background: rgba(6, 13, 30, .82); border-color: var(--line-2); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 44px; height: 31px; filter: drop-shadow(0 0 10px rgba(30,123,255,.55)); }
.brand-word { font: 600 1.2rem/1 var(--body); letter-spacing: -.01em; }
.nav { display: flex; gap: 6px; }
.nav a { padding: .55em 1em; border-radius: 999px; font-size: .92rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(130,175,255,.08); }
.status { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.status .mono { font-size: .7rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(75,227,176,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(75,227,176,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(75,227,176,0); } }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- altimeter ---------- */
.altimeter {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  pointer-events: none;
}
.alt-readout { display: flex; align-items: baseline; gap: 6px; color: var(--ink-3); }
.alt-readout .val { font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.alt-readout .lbl { font-size: .62rem; }
.alt-cur { font-size: .62rem; color: var(--sky); text-transform: uppercase; margin-top: -8px; white-space: nowrap; }
.alt-rail { position: relative; width: 2px; height: 46vh; background: var(--line); margin-right: 4px; }
.alt-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: linear-gradient(to top, var(--blue-2), var(--sky)); box-shadow: 0 0 12px var(--blue); }
.alt-ticks { position: absolute; inset: 0; }
.alt-mark { position: absolute; right: 0; transform: translateY(50%); display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.alt-mark::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--ink-3); background: var(--bg); transform: rotate(45deg) translateX(2px); transition: all .3s; }
.alt-mark span { font: .62rem/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); opacity: 0; transform: translateX(6px); transition: all .3s; white-space: nowrap; }
.alt-mark.on::after { border-color: var(--sky); background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.altimeter:hover .alt-mark span { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--gutter) 150px; overflow: hidden; isolation: isolate; }
#terrain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 18% 55%, rgba(5,10,22,.92) 0%, rgba(5,10,22,.55) 45%, transparent 75%),
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
.hero-inner { max-width: 1240px; width: 100%; margin: 0 auto; }
.hero-title { font-size: clamp(2.8rem, 7.2vw, 7rem); font-weight: 300; line-height: .95; letter-spacing: -.035em; margin-bottom: .45em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.hero-title .line:nth-child(4) > span { animation-delay: .24s; }
.hero-title .line:nth-child(2), .hero-title .line:nth-child(4) { padding-left: clamp(1.2rem, 9vw, 9rem); }
@keyframes rise { to { transform: none; } }
.hero-lede { max-width: 520px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); opacity: 0; animation: fade .9s .6s forwards; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; opacity: 0; animation: fade .9s .75s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hud { position: absolute; right: calc(var(--gutter) + 70px); top: 50%; transform: translateY(-10%);
  width: 250px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(6,13,30,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-3);
  opacity: 0; animation: fade .9s 1s forwards;
}
.hud::before { content: "TELEMETRİ"; position: absolute; top: -9px; left: 14px; padding: 0 6px; background: var(--bg); color: var(--sky); font-size: .62rem; }
.hud-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hud-row:last-child { border: 0; }
.hud-row b { color: var(--ink); font-weight: 500; }

.route-strip { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 var(--gutter); list-style: none;
  display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line);
  background: linear-gradient(to top, rgba(5,10,22,.9), rgba(5,10,22,.4));
}
.route-strip li { border-right: 1px solid var(--line); }
.route-strip li:first-child { border-left: 1px solid var(--line); }
.route-strip a { display: flex; align-items: center; gap: 10px; padding: 22px 16px; color: var(--ink-2); transition: background .25s, color .25s; }
.route-strip a:hover { background: rgba(30,123,255,.12); color: var(--ink); }
.route-strip i { font-style: normal; color: var(--sky); }

/* ---------- section heads ---------- */
section { position: relative; }
.sec-head { max-width: 1240px; margin: 0 auto 64px; }
.sec-head h2, .camp h2, .summit h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.sec-lede { max-width: 560px; margin-top: 1.4em; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- index ---------- */
.index { padding: 160px var(--gutter) 120px; }
.idx { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; border-top: 1px solid var(--line-2); }
.idx li { border-bottom: 1px solid var(--line-2); }
.idx a { position: relative; display: grid; grid-template-columns: 70px 1fr 220px 110px 40px; align-items: center; gap: 20px; padding: 30px 8px; overflow: hidden; }
.idx a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,123,255,.22), rgba(30,123,255,0) 70%); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.idx a:hover::before { transform: scaleX(1); }
.idx .n { color: var(--sky); }
.idx .t { font: 400 clamp(1.3rem, 2.8vw, 2.4rem)/1.1 var(--display); letter-spacing: -.02em; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.idx a:hover .t { transform: translateX(12px); }
.idx .c, .idx .a { color: var(--ink-3); }
.idx .a { text-align: right; }
.idx .go { width: 26px; height: 26px; color: var(--ink-3); transition: transform .3s, color .3s; }
.idx a:hover .go { transform: translateX(4px) rotate(-45deg); color: var(--sky); }

/* ---------- camps ---------- */
.camp { max-width: 1340px; margin: 0 auto; padding: 140px var(--gutter); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.camp.flip .camp-text { order: 2; }
.camp > *, .summit-inner > *, .ui-top > * { min-width: 0; }
.camp-num {
  position: absolute; top: 40px; left: var(--gutter); z-index: -1;
  font: 800 clamp(9rem, 26vw, 22rem)/1 var(--display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(130,175,255,.12);
  pointer-events: none; user-select: none;
}
.camp.flip .camp-num { left: auto; right: var(--gutter); }
.camp h2 { margin-bottom: .3em; }
.camp h2 .hl { display: block; }
.nowrap { white-space: nowrap; }
.tagline { font: 500 1.25rem/1.4 var(--body); color: var(--ice); margin-bottom: 1.2em; }
.camp-text > p:not(.eyebrow):not(.tagline) { color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.feats { list-style: none; padding: 0; margin: 1.6em 0 2.2em; display: grid; gap: 0; max-width: 540px; }
.feats li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-size: .96rem; color: var(--ink); }
.feats li:last-child { border-bottom: 1px solid var(--line); }
.feats li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 9px; border: 1px solid var(--sky); transform: translateY(-50%) rotate(45deg); }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.camp-visual.reveal { transition-delay: .12s; }

/* ---------- UI mock base ---------- */
.ui {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(16,34,74,.75), rgba(8,17,42,.85));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(30,123,255,.55), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ui::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 30%); }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ui-top .mono { font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-top .mono:last-child:not(:first-child) { flex: none; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(130,175,255,.25); }
.ic { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 6px; color: var(--ok); }
.av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; font: 600 .72rem/1 var(--mono);
  background: linear-gradient(135deg, hsl(var(--h) 90% 62%), hsl(calc(var(--h) + 20) 80% 38%)); color: #fff; }

/* mail */
.mail-body { display: grid; grid-template-columns: 190px 1fr; min-height: 300px; }
.mail-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); font-size: .7rem; color: var(--ink-3); }
.mail-side b { color: var(--ink); font-weight: 500; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; }
.mail-side span { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 8px; }
.mail-side .on { background: rgba(30,123,255,.18); color: var(--ink); }
.mail-side em { font-style: normal; color: var(--sky); }
.mail-side .spam em { color: var(--ink-3); }
.mail-list { padding: 8px; overflow: hidden; }
.m { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 12px; }
.m + .m { border-top: 1px solid var(--line); border-radius: 0; }
.m b { display: block; font-size: .88rem; font-weight: 600; }
.m p { margin: 0; font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m > div { min-width: 0; }
.m time { font: .68rem var(--mono); color: var(--ink-3); }
.m.new { background: rgba(30,123,255,.16); animation: drop .7s cubic-bezier(.2,.8,.2,1); }
.m.new b::after { content: " · yeni"; color: var(--sky); font: .68rem var(--mono); }
@keyframes drop { from { opacity: 0; transform: translateY(-20px); } }
.mail-auth { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.mail-auth span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(75,227,176,.35); color: var(--ok); font-size: .66rem; }
.mail-auth svg { width: 12px; height: 12px; }

/* videoqr */
.ui-qr .ui-top { color: var(--ink); }
.rec { display: inline-flex; align-items: center; gap: 7px; color: var(--rec); }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.qr-stage { position: relative; height: 320px; margin: 18px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(30,123,255,.18), transparent 65%), repeating-linear-gradient(0deg, rgba(130,175,255,.04) 0 2px, transparent 2px 4px); }
.qr-stage .box { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--sky); }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.scanline { position: absolute; left: 10%; right: 10%; height: 2px; top: 20%; background: linear-gradient(90deg, transparent, var(--sky), transparent); box-shadow: 0 0 18px 2px var(--blue); animation: scan 2.6s ease-in-out infinite alternate; }
@keyframes scan { to { top: 80%; } }
.qr-tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(5,10,22,.8); border: 1px solid var(--line-2); font-size: .68rem; white-space: nowrap; }
.qr-steps { list-style: none; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: .64rem; counter-reset: s; }
.qr-steps li { position: relative; padding: 10px 10px 10px 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-3); transition: all .4s; counter-increment: s; }
.qr-steps li::before { content: "0" counter(s); display: block; margin-bottom: 4px; color: var(--ink-3); }
.qr-steps li.done { border-color: rgba(75,227,176,.45); color: var(--ink); background: rgba(75,227,176,.07); }
.qr-steps li.done::before { content: "✓ 0" counter(s); color: var(--ok); }

/* co-budget */
.chart-wrap { padding: 18px 18px 6px; }
#pricechart { width: 100%; height: auto; overflow: visible; }
#pricechart .grid line { stroke: var(--line); stroke-dasharray: 2 4; }
#pricechart .series { fill: none; stroke-linejoin: round; stroke-linecap: round; }
#pricechart .series.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.in #pricechart .series.draw { animation: draw 2.2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
#pricechart .area { opacity: 0; transition: opacity 1.2s 1.4s; }
.in #pricechart .area { opacity: 1; }
#pricechart .ylab { fill: var(--ink-3); font: 10px var(--mono); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 18px 14px; font-size: .66rem; color: var(--ink-2); }
.chart-legend span::before { content: ""; display: inline-block; width: 14px; height: 2px; margin-right: 7px; vertical-align: middle; background: currentColor; }
.chart-legend .you { color: var(--sky); } .chart-legend .c1 { color: #8E9BFF; } .chart-legend .c2 { color: #4E6A9E; } .chart-legend .c3 { color: #B9C7E2; }
.alert { display: flex; gap: 12px; align-items: flex-start; margin: 0 18px 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,190,90,.35); background: rgba(255,190,90,.07); font-size: .7rem; }
.alert b { display: block; color: #FFD596; font-weight: 500; margin-bottom: 3px; }
.alert span { color: var(--ink-2); }
.alert em { font-style: normal; color: var(--ok); }
.pulse { flex: none; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: #FFBE5A; box-shadow: 0 0 0 0 rgba(255,190,90,.6); animation: ping2 1.8s infinite; }
@keyframes ping2 { 80%,100% { box-shadow: 0 0 0 10px rgba(255,190,90,0); } }

/* terminal */
.ui-term { background: linear-gradient(180deg, rgba(8,16,36,.95), rgba(5,10,22,.95)); }
.term { margin: 0; padding: 20px 20px 24px; min-height: 380px; font-size: .76rem; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.term .p { color: var(--ok); } .term .k { color: var(--sky); } .term .s { color: #FFD596; } .term .n { color: #C59BFF; } .term .c { color: var(--ink-3); }
.term .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--sky); animation: blink 1s steps(2) infinite; }

/* connect */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.tile { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, hsl(var(--h, 215) 70% 30% / .9), hsl(var(--h, 215) 60% 10%)); border: 1px solid var(--line); }
.tile .av { width: 58px; height: 58px; border-radius: 50%; font-size: .9rem; }
.tile .nm { position: absolute; left: 10px; bottom: 8px; font-size: .62rem; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.4); }
.tile.speaking { border-color: var(--sky); box-shadow: 0 0 0 2px rgba(91,184,255,.4), inset 0 0 40px rgba(30,123,255,.25); }
.tile.speaking .av { box-shadow: 0 0 0 0 rgba(91,184,255,.6); animation: talk 1.4s ease-out infinite; }
@keyframes talk { 0% { box-shadow: 0 0 0 0 rgba(91,184,255,.6); } 100% { box-shadow: 0 0 0 18px rgba(91,184,255,0); } }
.bars { position: absolute; right: 10px; top: 10px; display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.bars i { width: 3px; background: var(--sky); border-radius: 2px; animation: eq .8s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.tile.screen { background: linear-gradient(160deg, #0E2550, #081329); place-items: stretch; padding: 30px 16px 30px; }
.tile.screen .share { position: absolute; top: 8px; left: 10px; font-size: .6rem; color: var(--sky); }
.tile.screen .lines { display: grid; gap: 7px; align-content: center; }
.tile.screen .lines i { height: 7px; border-radius: 4px; background: rgba(130,175,255,.22); }
.tile.screen .lines i:nth-child(1) { width: 60%; background: rgba(91,184,255,.5); } .tile.screen .lines i:nth-child(3) { width: 80%; } .tile.screen .lines i:nth-child(4) { width: 45%; }
.controls { display: flex; justify-content: center; gap: 12px; padding: 4px 14px 18px; }
.controls span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(130,175,255,.06); color: var(--ink); }
.controls svg { width: 19px; height: 19px; }
.controls .end { background: var(--rec); border-color: transparent; width: 60px; border-radius: 22px; }

/* learnon */
.lms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.lms-mods { display: grid; gap: 8px; align-content: start; }
.mod { position: relative; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; padding: 12px 12px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: .84rem; overflow: hidden; }
.mod .mono { color: var(--ink-3); font-size: .66rem; }
.mod b { font-weight: 600; }
.mod i { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 2px; background: var(--line); }
.mod i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .4s; }
.in .mod i::after { width: var(--p); }
.mod.done .mono { color: var(--ok); }
.mod.cur { border-color: var(--line-2); background: rgba(30,123,255,.1); }
.lms-live { grid-row: span 2; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,10,22,.5); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--rec); font-size: .66rem; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(2) infinite; }
.lms-live b { font-size: .95rem; line-height: 1.3; }
.wb { border-radius: 10px; background: rgba(255,255,255,.04); border: 1px dashed var(--line-2); padding: 8px; }
.wb svg { width: 100%; height: auto; }
.wb-path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.in .wb-path { animation: drawwb 3s ease-in-out infinite alternate; }
@keyframes drawwb { to { stroke-dashoffset: 0; } }
.people { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .64rem; }
.stack { display: flex; }
.stack i { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--panel-solid); background: linear-gradient(135deg, hsl(var(--h) 90% 62%), hsl(var(--h) 80% 35%)); }
.stack i:first-child { margin-left: 0; }
.join { margin-top: auto; text-align: center; padding: 10px; border-radius: 10px; background: var(--blue); font-weight: 600; font-size: .85rem; }
.lms-stats { padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.lms-stats .mono { font-size: .62rem; }
.bars-v { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.bars-v i { flex: 1; height: 4%; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--blue-2), var(--sky)); transition: height 1.2s cubic-bezier(.2,.8,.2,1) .5s; }
.in .bars-v i { height: calc(var(--v) * 100%); }

/* ---------- approach ---------- */
.approach { padding: 140px var(--gutter) 60px; }
.principles { list-style: none; padding: 0; margin: 0 auto; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.principles li { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); }
.principles li + li { padding-left: 28px; }
.principles li:last-child { border-right: 0; }
.principles li:nth-child(2) { transition-delay: .08s; } .principles li:nth-child(3) { transition-delay: .16s; } .principles li:nth-child(4) { transition-delay: .24s; }
.pn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 26px; color: var(--sky); font-size: .8rem; }
.pn::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--sky); transform: rotate(45deg); box-shadow: 0 0 14px rgba(30,123,255,.35); }
.principles h3 { font-size: 1.25rem; margin-bottom: .7em; }
.principles p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.marquee { margin: 100px calc(var(--gutter) * -1) 0; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.mq-track span { font: 300 clamp(1.4rem, 3vw, 2.4rem)/1 var(--display); letter-spacing: -.02em; color: var(--ink-3); padding: 0 34px; white-space: nowrap; position: relative; }
.mq-track span::after { content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; border: 1px solid var(--sky); transform: translateY(-50%) rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- summit ---------- */
.summit { padding: 300px var(--gutter) 120px; overflow: hidden; }
.summit-peak { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 300px; z-index: -1; }
.summit-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.summit-text p:not(.eyebrow) { color: var(--ink-2); max-width: 460px; margin-top: 1.4em; }
.mail-big { display: inline-block; margin-top: 1em; font: 400 clamp(1.3rem, 2.6vw, 2rem)/1.2 var(--display); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color .2s, border-color .2s; }
.mail-big:hover { color: var(--sky); border-color: var(--sky); }
.contact-list { margin: 2.2em 0 0; display: grid; gap: 18px; max-width: 460px; }
.contact-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--ink-3); font-size: .66rem; text-transform: uppercase; padding-top: .35em; }
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list address { font-style: normal; line-height: 1.55; }
.contact-list a:hover { color: var(--sky); }
.form { display: grid; gap: 16px; padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(16,34,74,.55), rgba(8,17,42,.7)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips { border: 0; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { color: var(--ink-3); margin-bottom: 12px; font-size: .68rem; text-transform: uppercase; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--ink-2); transition: all .2s; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 20px -8px var(--blue); }
.chips input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 7px; }
.fld > span { color: var(--ink-3); font-size: .66rem; text-transform: uppercase; }
.fld input, .fld textarea {
  width: 100%; font: 1rem/1.4 var(--body); color: var(--ink);
  background: rgba(5,10,22,.55); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(91,184,255,.15); }
.fld input.bad { border-color: var(--rec); }
.form .btn { justify-self: start; }
.form-note { color: var(--ink-3); font-size: .66rem; margin: 0; }

/* ---------- footer ---------- */
.foot { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 50px 0 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand b { display: block; font-weight: 600; }
.foot-brand .mono { display: block; color: var(--ink-3); font-size: .7rem; }
.foot-brand a:hover { color: var(--sky); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; color: var(--ink-2); }
.foot-links a:hover { color: var(--sky); }
.copy { grid-column: 1 / -1; color: var(--ink-3); font-size: .66rem; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hud { display: none; }
  .idx a { grid-template-columns: 50px 1fr 180px 40px; }
  .idx .a { display: none; }
}
@media (max-width: 980px) {
  .altimeter { display: none; }
  .camp { grid-template-columns: minmax(0, 1fr); padding-block: 100px; }
  .camp.flip .camp-text { order: 0; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles li:nth-child(2) { border-right: 0; }
  .principles li:nth-child(3) { padding-left: 0; }
  .principles li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .summit-inner { grid-template-columns: minmax(0, 1fr); }
  .route-strip { grid-template-columns: repeat(3, 1fr); }
  .route-strip li:nth-child(4) { border-left: 1px solid var(--line); }
  .route-strip li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .route-strip a { padding: 14px 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar { gap: 10px; padding-left: 14px; }
  .status, .bar > .btn-small { display: none; }
  .burger { display: block; }
  .nav { position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px; border-radius: 20px; background: rgba(6,13,30,.96); border: 1px solid var(--line-2); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .hero { padding-bottom: 170px; }
  .hero-title .line:nth-child(2), .hero-title .line:nth-child(4) { padding-left: 0; }
  .route-strip { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .route-strip li, .route-strip li:first-child, .route-strip li:nth-child(4) { border-left: 0; border-bottom: 1px solid var(--line); }
  .route-strip li:nth-child(2n) { border-right: 0; }
  .route-strip a { padding: 12px 16px; font-size: .7rem; }
  .index { padding-top: 110px; }
  .idx a { grid-template-columns: 34px 1fr 28px; gap: 12px; padding: 22px 0; }
  .idx .c { display: none; }
  .mail-body { grid-template-columns: 1fr; }
  .mail-side { display: none; }
  .qr-stage { height: 240px; margin: 12px; }
  .qr-steps { grid-template-columns: 1fr 1fr; padding: 0 12px 12px; }
  .lms-grid { grid-template-columns: 1fr; }
  .lms-live { grid-row: auto; }
  .term { min-height: 340px; font-size: .68rem; padding: 16px; }
  .tile .av { width: 40px; height: 40px; font-size: .72rem; margin-bottom: 18px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .principles li:first-child { border-top: 0; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .summit { padding-top: 160px; }
  .foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}
