/* Hero, the living Sun, index gauge, Sun–Earth stage, timeline */

.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 30px; align-items: center; min-height: 600px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 700;
}
.hero-copy h1 .l2 { display: block; }
.hero-copy h1 .l2 .w { background: linear-gradient(100deg, var(--sun-2) 10%, var(--sun) 45%, var(--flare) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-copy h1 .w { display: inline-block; animation: word .9s var(--ease) both; }
.hero-copy h1 .l2 .w { animation-delay: .12s; }
@keyframes word { from { opacity: 0; transform: translateY(.4em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; margin-bottom: 24px; min-height: 3.4em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-cta .btn { padding: 12px 20px; font-size: 15px; border-radius: 14px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.hero-meta b { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin-top: 3px; }
.verdicts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.verdict { border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; background: color-mix(in srgb, var(--panel-solid) 55%, transparent); }
.verdict .k { font-size: 11px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.verdict .v { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; margin-top: 4px; }

/* ---------------------------------------------------------- the orb */
.orb { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; --s: 1; }
.orb > * { position: absolute; border-radius: 50%; }
.orb-glow { inset: 6%; background: radial-gradient(circle, rgba(255, 170, 70, .55) 0%, rgba(255, 110, 30, .22) 38%, transparent 68%); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
.orb-corona {
  inset: 13%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 190, 110, .0) 0deg 5deg, rgba(255, 190, 110, .35) 6deg, rgba(255, 190, 110, 0) 8deg 13deg);
  mask-image: radial-gradient(circle, transparent 47%, #000 50%, transparent 72%); -webkit-mask-image: radial-gradient(circle, transparent 47%, #000 50%, transparent 72%);
  filter: blur(2px); animation: spin 140s linear infinite;
}
.orb-corona.b { inset: 9%; opacity: .55; animation-duration: 210s; animation-direction: reverse; filter: blur(5px); }
.orb-disk { inset: 25%; overflow: hidden; box-shadow: 0 0 60px 10px rgba(255, 120, 30, .45), 0 0 140px 40px rgba(255, 90, 20, .18), inset 0 0 40px rgba(0, 0, 0, .5); background: radial-gradient(circle at 40% 38%, #ffd27a, #ff8a2a 55%, #b33a0a); animation: breathe 7s ease-in-out infinite; }
.orb-disk img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.24); display: block; opacity: 0; transition: opacity 1.6s; mix-blend-mode: normal; }
.orb-disk img.on { opacity: 1; }
.orb-disk::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18), transparent 40%), radial-gradient(circle, transparent 62%, rgba(0, 0, 0, .35)); }
.orb-dial { inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-dial .rot { transform-origin: 50% 50%; animation: spin 240s linear infinite; }
.orb-dial text { font-family: var(--f-mono); font-size: 9px; fill: var(--muted); letter-spacing: .1em; }
.orb-dial .now { fill: var(--sun-2); }
.orb-orbit { inset: 4%; border: 1px dashed color-mix(in srgb, var(--turq) 35%, transparent); animation: spin 60s linear infinite; }
.orb-orbit.o2 { inset: 17%; border-style: solid; border-color: color-mix(in srgb, var(--sun) 18%, transparent); animation-duration: 38s; animation-direction: reverse; }
.orb-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 14px var(--turq); top: -5px; left: calc(50% - 5px); }
.orb-orbit.o2 i { background: var(--sun-2); box-shadow: 0 0 14px var(--sun); }
.orb-orbit span { position: absolute; top: -22px; left: calc(50% + 10px); font-family: var(--f-mono); font-size: 10px; color: var(--turq); letter-spacing: .1em; white-space: nowrap; border-radius: 0; }
.orb-orbit.o2 span { color: var(--sun-2); }
.orb-readouts { inset: 0; pointer-events: none; border-radius: 0; }
.orb-tag { position: absolute; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); background: color-mix(in srgb, var(--panel-solid) 80%, transparent); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 10px; backdrop-filter: blur(6px); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.orb-tag b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; }
.orb-tag:nth-child(2) { animation-delay: -2s; } .orb-tag:nth-child(3) { animation-delay: -4s; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.flare-pulse { animation: flarep 1.6s ease-out infinite; }
@keyframes flarep { 0% { box-shadow: 0 0 0 0 rgba(255, 93, 61, .7); } 100% { box-shadow: 0 0 0 40px rgba(255, 93, 61, 0); } }

/* ------------------------------------------------------- live numbers */
.live-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); overflow: hidden; backdrop-filter: blur(10px); }
.ls { padding: 18px 20px 14px; border-right: 1px solid var(--line); position: relative; min-width: 0; }
.ls:last-child { border-right: 0; }
.ls .k { font-size: 11px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .12em; display: flex; justify-content: space-between; }
.ls .v { font-family: var(--f-display); font-size: clamp(1.4rem, 2.3vw, 2.05rem); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 2px; line-height: 1.1; }
.ls .v small { font-family: var(--f-mono); font-size: .72rem; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.ls .d { font-size: 11.5px; color: var(--ink-2); font-family: var(--f-mono); }
.ls svg.spark { width: 100%; height: 34px; display: block; margin-top: 8px; overflow: visible; }
.ls svg.spark path.l { fill: none; stroke-width: 1.6; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s var(--ease) forwards; }
.ls svg.spark path.a { opacity: .18; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ls .lvbar { position: absolute; left: 0; right: 0; top: 0; height: 2px; }

/* ----------------------------------------------------------- the index */
.idx { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: center; }
.gauge { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; }
.gauge .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge .val b { font-family: var(--f-display); font-size: 4.2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.gauge .val span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.gauge .val em { font-style: normal; font-weight: 600; margin-top: 8px; font-size: 15px; }
.gauge .arc { transition: stroke-dashoffset 2s var(--ease); }
.comps { display: grid; gap: 12px; }
.comp { display: grid; grid-template-columns: 150px 1fr 70px; gap: 14px; align-items: center; font-size: 13.5px; }
.comp .bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.comp .bar i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.8s var(--ease); background: linear-gradient(90deg, var(--turq), var(--sun) 60%, var(--flare)); background-size: 300px 100%; }
.comp .n { text-align: right; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }

/* ------------------------------------------------------- Sun–Earth */
.stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 0% 50%, rgba(255, 120, 30, .2), transparent 50%), linear-gradient(180deg, #050816, #03050c); }
.stage canvas { display: block; width: 100%; height: 420px; }
.stage-hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 0; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(3, 5, 12, .6); backdrop-filter: blur(8px); }
.stage-hud div { flex: 1; padding: 11px 16px; border-right: 1px solid rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: 11px; color: #8a94b8; min-width: 0; }
.stage-hud div:last-child { border-right: 0; }
.stage-hud b { display: block; color: #eef1fb; font-size: 15px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.stage-note { position: absolute; top: 14px; right: 16px; font-family: var(--f-mono); font-size: 10.5px; color: #69749a; letter-spacing: .1em; }

/* ------------------------------------------------------------ timeline */
.tl { position: relative; }
.tl svg { width: 100%; display: block; overflow: visible; }
.tl .lane-label { font-family: var(--f-mono); font-size: 10.5px; fill: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.tl .day-label { font-family: var(--f-mono); font-size: 10.5px; fill: var(--ink-2); }
.tl .mk { cursor: pointer; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.tl .mk:hover { transform: scale(1.6); }
.tl-tip { position: absolute; pointer-events: none; background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 10px; font-size: 12px; box-shadow: var(--shadow); display: none; z-index: 3; white-space: nowrap; font-family: var(--f-mono); }

/* news */
.news-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin: 0 0 4px; font-size: 1rem; }
.news-item p { color: var(--ink-2); font-size: 14px; margin: 0; white-space: pre-line; }
.news-item small { font-family: var(--f-mono); font-size: 11px; }
.pin { color: var(--sun-2); }
.log-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.log-item:last-child { border-bottom: 0; }
.log-item time { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }

@media (max-width: 1100px) {
  .live-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ls:nth-child(3) { border-right: 0; }
  .ls:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .orb { max-width: 440px; order: -1; }
  .verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idx { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .live-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .ls:nth-child(2n) { border-right: 0 !important; }
  .stage canvas { height: 320px; }
  .stage-hud { flex-wrap: wrap; }
  .stage-hud div { flex: 1 1 33%; }
  .comp { grid-template-columns: 110px 1fr 54px; font-size: 12.5px; }
  .orb-tag { display: none; }
  /* the rotating dial reaches ~8% beyond the disc: keep it inside narrow screens */
  .hero .orb { width: 84%; }
}

/* network comparison rows */
.net-row { display: grid; grid-template-columns: 190px 1fr 150px; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.net-row b { display: block; font-size: 13.5px; }
.net-row small { color: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.net-row canvas { width: 100%; height: 54px; border-radius: 6px; image-rendering: auto; display: block; }
.net-row.own { background: color-mix(in srgb, var(--sun) 7%, transparent); border-radius: 10px; padding: 8px 10px; }
.net-row.seen b { color: var(--ok); }
@media (max-width: 720px) { .net-row { grid-template-columns: 1fr; gap: 6px; } }

/* feature switches */
.feat-row { display: grid; grid-template-columns: 40px 1fr auto 90px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feat-row:last-child { border-bottom: 0; }
.feat-row .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--line); color: var(--sun-2); }
.feat-row b { display: block; } .feat-row small { display: block; color: var(--muted); margin: 2px 0 4px; }
.feat-state { font-family: var(--f-mono); font-size: 12px; text-align: right; }
.switch { position: relative; width: 48px; height: 26px; display: inline-block; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: var(--line-2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.switch input:checked + i { background: linear-gradient(135deg, var(--sun-2), var(--sun)); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 2px solid var(--turq); outline-offset: 2px; }
.pbar { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; vertical-align: middle; margin-right: 6px; }
.pbar i { display: block; height: 100%; }
.api-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.api-row code { font-family: var(--f-mono); font-size: 13px; color: var(--sun-2); word-break: break-all; }
.api-row small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.api-out { background: var(--line); border-radius: 10px; padding: 10px 12px; font-family: var(--f-mono); font-size: 11.5px; white-space: pre-wrap; word-break: break-all; max-height: 300px; overflow: auto; color: var(--ink-2); }
.map-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.map-wrap canvas { display: block; width: 100%; }
@media (max-width: 720px) { .feat-row { grid-template-columns: 34px 1fr auto; } .feat-state { display: none; } }
