/* Gradify: black-and-white liquid glass. The only colour on the page comes from the sites themselves. Dark only. */

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --fg: #fff;
  --mute: #a3a3a3;
  --faint: #6e6e6e;
  --panel: rgba(20, 20, 20, .6);
  --panel-strong: rgba(18, 18, 18, .9);
  --inset: rgba(0, 0, 0, .55);
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .22);
  --edge: rgba(255, 255, 255, .08);
  /* a spectrum made from the Gradify brand colours, used sparingly */
  --spectrum: linear-gradient(90deg, #4641ff, #8c27ca 20%, #f055dd 38%, #e52153 54%, #ff5600 70%, #ffc002 84%, #40d4b1);
  --radius: 22px;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Background: soft white light on black ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  animation: drift 32s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 50vmax; height: 36vmax; top: -20vmax; left: -12vmax; background: #fff; opacity: .07; }
.aurora span:nth-child(2) { width: 40vmax; height: 36vmax; top: 30vh; right: -18vmax; background: #fff; opacity: .05; animation-duration: 38s; animation-delay: -8s; }
.aurora span:nth-child(3) { width: 40vmax; height: 34vmax; bottom: -20vmax; left: 10vw; background: #fff; opacity: .04; animation-duration: 35s; animation-delay: -14s; }
.aurora span:nth-child(4), .aurora span:nth-child(5) { display: none; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(5vw, 3vh) scale(1.06); }
  100% { transform: translate(-3vw, 6vh) scale(.95); }
}

/* ---------- Glass panels ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)), var(--panel);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--edge), 0 24px 48px -28px rgba(0, 0, 0, .85);
  border-radius: var(--radius);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--panel-strong); }
}
/* recessed area inside a panel */
.inset {
  background: var(--inset);
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35);
  border-radius: 999px;
}

/* ---------- Liquid glass: thick glossy rim, specular top, coloured light underneath ---------- */
.lg {
  --glow: 255, 255, 255;
  position: relative; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 48%, rgba(0, 0, 0, .22)),
    rgba(18, 16, 20, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -1px 0 rgba(255, 255, 255, .08),
    inset 0 -12px 18px -12px rgba(var(--glow), .7),
    0 14px 28px -16px rgba(var(--glow), .9);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}
.lg::before {
  content: ""; position: absolute; left: 9%; right: 9%; top: 2px; height: 46%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
}
.lg::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -9px; height: 14px; z-index: -1;
  border-radius: 50%; pointer-events: none;
  background: rgb(var(--glow)); filter: blur(12px); opacity: .45; transition: opacity .25s;
}
.lg:hover::after { opacity: .8; }

/* ---------- Buttons + pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary.lg {
  --glow: 255, 255, 255;
  color: #000;
  background: linear-gradient(180deg, #fff 0%, #f1f1f1 50%, #d9d9d9 100%);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, .12), 0 12px 28px -14px rgba(255, 255, 255, .55);
}
.btn-primary.lg::before { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); }
.btn-primary.lg::after { opacity: .18; }
.btn-primary.lg:hover::after { opacity: .35; }
.btn-ghost.lg { --glow: 255, 255, 255; color: var(--fg); }
.btn-ghost.lg::after { opacity: .12; }
.btn-light.lg {
  --glow: var(--spot-glow, 255, 255, 255);
  color: #17121a;
  background: linear-gradient(180deg, #fff, #eae6ea);
  border-color: rgba(255, 255, 255, .8);
}
.btn-sm { padding: 8px 16px; font-size: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px var(--sans); white-space: nowrap;
  padding: 3px 10px; border-radius: 999px;
  color: var(--fg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong);
}
.badge .spark { width: 8px; height: 8px; border-radius: 50%; background: conic-gradient(#4641ff, #f055dd, #ff5600, #ffc002, #40d4b1, #4641ff); }
.pill-white, .pill-dark {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 600 13px var(--sans); padding: 5px 12px; border-radius: 999px;
}
.pill-white { background: #fff; color: #000; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); }
.pill-dark { background: rgba(0, 0, 0, .3); color: var(--mute); border: 1px solid var(--line); font-weight: 500; }

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 10px; z-index: 10;
  margin-top: 10px;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; font-size: 17px; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.bar .sections { display: flex; gap: 2px; margin-left: 12px; padding: 3px; border-radius: 999px; background: var(--inset); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.bar .sections a { text-decoration: none; padding: 6px 13px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: color .15s, background .15s; }
.bar .sections a:hover { color: var(--fg); }
.bar .sections a.active { color: var(--fg); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 6px -2px rgba(0, 0, 0, .5); }
.bar .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bar .right .link { font-size: 14px; color: var(--mute); text-decoration: none; }
.bar .right .link:hover { color: var(--fg); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; cursor: pointer;
  color: var(--fg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 17px; height: 17px; }
.menu-btn { display: none; }
.menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(300px, 100%); z-index: 20;
  display: flex; flex-direction: column; padding: 10px; border-radius: 22px;
  background: #0e0e0e; border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 var(--edge), 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.menu a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.menu a:hover { background: rgba(255, 255, 255, .07); }
.menu-label { padding: 10px 14px 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(48px, 8vw, 88px) 0 28px;
}
.hero .badge { margin-bottom: 22px; }
h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
}
.grad {
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 32em; margin: 22px 0 0; font-size: 18px; color: var(--mute); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Featured site card (rotates) */
.spotlight {
  --c: #ff5a4d; --c2: #ffa79f; --glow: 255, 90, 77;
  --spot-glow: var(--glow);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 380px; border-radius: 28px; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #120a0c) 0%, color-mix(in srgb, var(--c) 22%, #0d0a0e) 62%, #0b090d 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -30px rgba(var(--glow), .8);
  transition: background .6s, box-shadow .6s;
}
.spot-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.spot-art .blob { position: absolute; border-radius: 50%; filter: blur(30px); animation: float 9s ease-in-out infinite alternate; }
.spot-art .b1 { width: 220px; height: 220px; right: -30px; top: -20px; background: var(--c2); opacity: .55; }
.spot-art .b2 { width: 160px; height: 160px; right: 120px; top: 60px; background: var(--c); opacity: .6; animation-delay: -4s; }
.sphere {
  position: absolute; right: 34px; top: 34px;
  width: 170px; height: 170px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 54px var(--sans); letter-spacing: -.04em; color: rgba(255, 255, 255, .95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .95) 0 5%, rgba(255, 255, 255, .35) 14%, transparent 34%),
    radial-gradient(circle at 70% 85%, color-mix(in srgb, var(--c2) 85%, #fff), transparent 55%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 75%, transparent), color-mix(in srgb, var(--c) 35%, #000) 100%);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 -18px 30px rgba(0, 0, 0, .35), inset 0 10px 20px rgba(255, 255, 255, .2), 0 24px 50px -18px rgba(var(--glow), .9);
  animation: float 7s ease-in-out infinite alternate;
}
.sphere .ico { width: 42%; height: 42%; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); stroke-width: 1.8; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
.spot-body { max-width: 30em; }
.spot-body.in { animation: rise .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.spot-top { display: flex; gap: 8px; margin-bottom: 14px; }
.spotlight h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.spotlight p { margin: 8px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.5; max-width: 26em; }
.spot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.spot-domain { font: 13px var(--mono); color: rgba(255, 255, 255, .6); }
.spot-dots { position: absolute; top: 28px; left: 26px; display: flex; gap: 6px; }
.spot-dots button { width: 18px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .25); transition: width .3s, background .3s; }
.spot-dots button[aria-current="true"] { width: 34px; background: #fff; }
.spot-dots + * { margin-top: 0; }
.spotlight .spot-top { margin-top: 40px; }

/* ---------- Overview panels ---------- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1.05fr; gap: 16px; margin-top: 16px; }
.panel { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.panel .see { font-size: 13px; color: var(--mute); text-decoration: none; }
.panel .see:hover { color: var(--fg); }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tiles a {
  aspect-ratio: 1; border-radius: 12px;
  background: var(--tile); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -10px 16px rgba(0, 0, 0, .2);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
  display: grid; place-items: center;
  font: 600 13px var(--sans); text-decoration: none;
}
.tiles .ico { width: 42%; height: 42%; }
.tiles a:hover, .tiles a:focus-visible { transform: translateY(-2px) scale(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 22px -8px var(--c); outline: none; }
.tip { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 14px; color: var(--mute); margin-top: auto; }
.tip .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; flex: none; }

.ring { position: relative; width: 168px; aspect-ratio: 1; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; }
.ring .ticks { stroke: rgba(255, 255, 255, .14); stroke-width: 6; stroke-dasharray: 1.2 5; }
.ring .track { stroke: rgba(255, 255, 255, .07); stroke-width: 12; }
.ring .seg { stroke-width: 12; opacity: 0; transition: opacity .4s; }
.ring.on .seg { opacity: 1; }
.ring .seg.live { filter: drop-shadow(0 0 4px var(--c)); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.ring-label span { font-size: 12px; color: var(--mute); margin-top: 4px; }

.bars { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: 170px; align-items: end; }
.bar-col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%; text-decoration: none; }
.bar-val { font: 600 12px var(--sans); color: var(--mute); padding: 1px 8px; border-radius: 999px; }
.bar-fill { align-self: end; width: 100%; height: var(--h); min-height: 10px; border-radius: 8px 8px 4px 4px; overflow: hidden;
  display: flex; flex-direction: column-reverse; gap: 2px; transition: filter .2s, transform .2s; }
.bar-fill i { flex: 1; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.bar-col:hover .bar-fill { filter: brightness(1.15) saturate(1.2); transform: translateY(-2px); }
.bar-name { font-size: 12px; color: var(--faint); }
.bar-col.top .bar-val { color: #000; background: #fff; box-shadow: 0 0 14px -4px #fff; }

.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 18px;
  text-decoration: none; transition: background .2s;
}
.row:hover { background: rgba(255, 255, 255, .05); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.row .icon { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-txt b { font-weight: 600; font-size: 15px; }
.row-txt span { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-txt em { font-style: normal; color: color-mix(in srgb, var(--c) 55%, #fff); }

/* round chevron button (rows + cards) */
.go {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--fg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.go svg { width: 16px; height: 16px; }
.row:hover .go, .card.live:hover .go {
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), var(--c);
  color: var(--ink); transform: translateX(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 16px -6px var(--c);
}
.go.wait { color: var(--faint); background: transparent; box-shadow: none; }

/* ---------- LifeOS preview ---------- */
.lifeos { margin-top: 96px; display: flex; flex-direction: column; gap: 16px; }
.life-head { max-width: 46em; margin-bottom: 12px; }
.life-head h2 { margin: 18px 0 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.life-head p { margin: 16px 0 0; color: var(--mute); font-size: 17px; }
.life-head .example-note { font-size: 14px; color: var(--faint); }
a.badge { text-decoration: none; }
a.badge:hover { border-color: rgba(255, 255, 255, .4); }

.panel .sub { margin: 2px 0 0; font-size: 14px; color: var(--mute); }
.heat-panel { position: relative; gap: 18px; }
.heat-top { align-items: flex-start; flex-wrap: wrap; }
.heat-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--inset); border: 1px solid rgba(255, 255, 255, .05); font-size: 13px; color: var(--mute); }
.stat b { font-size: 16px; color: var(--fg); font-weight: 600; }
.stat .flame { width: 14px; height: 14px; align-self: center; color: #ff8a3d; }
.area-filter { align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }

.heat-scroll { overflow-x: auto; scrollbar-width: thin; margin: 0 -4px; padding: 0 4px 4px; }
.heat { display: grid; grid-template-columns: 30px 1fr; gap: 6px; min-width: 760px; }
.heat-days { display: grid; grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 3px; padding-top: 22px; font-size: 11px; line-height: 1; color: var(--faint); }
.heat-days span { height: 0; align-self: center; display: flex; align-items: center; overflow: visible; }
.heat-months { display: grid; grid-template-columns: repeat(53, 1fr); height: 16px; margin-bottom: 6px; font-size: 11px; color: var(--faint); }
.heat-months span { white-space: nowrap; }
.heat-cells { display: grid; grid-template-rows: repeat(7, 1fr); grid-template-columns: repeat(53, 1fr); grid-auto-flow: column; gap: 3px; }
.heat-cells i, .mini-heat i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .055); transition: transform .15s; }
.heat-cells i:hover { transform: scale(1.35); outline: 1px solid #fff; position: relative; z-index: 1; }
.heat-cells i.today, .mini-heat i.today { outline: 1.5px solid #fff; outline-offset: 1px; }
.heat-cells i.bump { animation: bump 1.2s cubic-bezier(.2, .8, .2, 1); }
@keyframes bump {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); }
  30% { transform: scale(1.9); box-shadow: 0 0 18px 4px rgba(255, 255, 255, .6); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.heat-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.heat-legend { display: flex; gap: 6px 14px; flex-wrap: wrap; }
.heat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.heat-legend i, .tip-row i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.heat-scale { display: inline-flex; align-items: center; gap: 3px; color: var(--faint); }
.heat-scale i { width: 11px; height: 11px; border-radius: 3px; background: rgba(255, 255, 255, .055); }
.heat-scale i:nth-child(2) { background: rgba(255, 255, 255, .25); }
.heat-scale i:nth-child(3) { background: rgba(255, 255, 255, .45); }
.heat-scale i:nth-child(4) { background: rgba(255, 255, 255, .7); }
.heat-scale i:nth-child(5) { background: #fff; }
.heat-tip {
  position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none;
  display: flex; flex-direction: column; gap: 3px; min-width: 180px; padding: 10px 12px; border-radius: 12px;
  background: rgba(10, 10, 10, .92); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  font-size: 12px; color: var(--mute);
}
.heat-tip b { color: var(--fg); font-size: 13px; }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row em { margin-left: auto; font-style: normal; color: var(--fg); }


/* Command: today */
.command { display: grid; grid-template-columns: 1.05fr 1.25fr 1fr 1fr; gap: 16px; }
.profile { align-items: flex-start; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 18px; color: #fff; background: #111; position: relative;
  box-shadow: 0 0 0 3px #000, 0 0 0 5px transparent;
}
.avatar::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; z-index: -1; background: conic-gradient(#4641ff, #f055dd, #ff5600, #ffc002, #40d4b1, #4641ff); }
.avatar { isolation: isolate; }
.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #111; z-index: -1; }
.who { display: flex; flex-direction: column; }
.who b { font-size: 17px; }
.who span { font-size: 13px; color: var(--mute); }
.xp { width: 100%; }
.xp-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.xp-bar { height: 8px; border-radius: 8px; background: var(--inset); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.xp-bar i { display: block; height: 100%; border-radius: 8px; background: var(--spectrum); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.connected { width: 100%; margin-top: auto; }
.connected > span { display: block; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.connected div { display: flex; gap: 6px; flex-wrap: wrap; }
.connected .icon { width: 30px; height: 30px; border-radius: 9px; }
.connected .icon .ico { width: 15px; height: 15px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ach { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.ach .ico { width: 16px; height: 16px; }
.ach.got { color: #fff; background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .45), transparent 50%), var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 14px -6px var(--c); }
.ach.locked { color: var(--faint); background: rgba(255, 255, 255, .04); border: 1px dashed var(--line-strong); }

.next {
  --c: #4641ff; --glow: 70, 65, 255;
  background: radial-gradient(130% 120% at 100% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), var(--panel);
  border-color: color-mix(in srgb, var(--c) 40%, rgba(255, 255, 255, .1));
}
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.kicker .ico { width: 14px; height: 14px; color: #ff8a3d; }
.next-title { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.next p { margin: 0; font-size: 14px; color: var(--mute); }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chips-row span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); color: var(--mute); }
.next-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.next-actions .ico { width: 15px; height: 15px; }

.goal-list { display: flex; flex-direction: column; gap: 10px; }
.goal { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; align-items: center; }
.goal-ico { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--mute); }
.goal-ico .ico { width: 15px; height: 15px; }
.goal-txt { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.goal-txt b { font-weight: 500; }
.goal-txt span { color: var(--faint); white-space: nowrap; }
.goal-bar { height: 5px; border-radius: 5px; background: var(--inset); overflow: hidden; }
.goal-bar i { display: block; height: 100%; background: #fff; border-radius: 5px; transition: width .5s; }
.goal.done .goal-ico { background: #fff; color: #000; }
.goal.done .goal-bar i { background: var(--spectrum); }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.week span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 12px; font-size: 13px; }
.week em { font-style: normal; font-size: 11px; color: var(--faint); }
.week i { width: 5px; height: 5px; border-radius: 50%; }
.week .now { background: #fff; color: #000; }
.week .now em { color: #555; }
.events { display: flex; flex-direction: column; gap: 10px; }
.event { display: flex; gap: 12px; align-items: center; }
.date { width: 42px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 4px 0; border-radius: 10px; background: var(--inset); font-size: 11px; color: var(--mute); }
.date b { font-size: 16px; color: var(--fg); line-height: 1.1; }
.ev-txt { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.ev-txt b { font-weight: 500; }
.ev-txt span { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12px; }
.ev-txt i { width: 7px; height: 7px; border-radius: 50%; }

/* Gradify Earth */
.earth-top { align-items: flex-start; }
.earth-top .sub { max-width: 52em; }
.earth-body { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: stretch; }
.earth-map { min-width: 0; border-radius: 18px; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #0a0b10, #000); }
.earth-map svg { display: block; width: 100%; height: auto; }
.grid-line { fill: none; stroke: rgba(255, 255, 255, .045); stroke-width: 1; }
.continent { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .06); }
.continent.fog { fill: rgba(255, 255, 255, .06); }
.continent-label { fill: rgba(255, 255, 255, .4); font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }
.portal-label { font: 600 10px var(--sans); text-anchor: middle; paint-order: stroke; stroke: #000; stroke-width: 3px; }
.region-label { font: 600 12px var(--sans); text-anchor: middle; opacity: .85; }
.road { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-linecap: round; }
.road.weak { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 3 5; }
.portal-link { stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .7; }
.portal circle:first-child { fill: #000; stroke-width: 2; }
.portal { animation: spin-glow 3s ease-in-out infinite; }
@keyframes spin-glow { 50% { opacity: .55; } }
.city { cursor: pointer; outline: none; }
.city .hit { fill: transparent; }
.city .core { fill: var(--c); stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; filter: drop-shadow(0 0 6px var(--c)); transition: r .3s; }
.city .tower { fill: #fff; opacity: .85; }
.city-label { fill: rgba(255, 255, 255, .78); font: 500 11px var(--sans); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #000; stroke-width: 3px; }
.city.fading .core { fill: color-mix(in srgb, var(--c) 35%, #000); stroke: var(--c); stroke-dasharray: 3 3; filter: none; }
.city.fading .city-label { fill: rgba(255, 255, 255, .5); }
.city.learning .core { fill: #000; stroke: var(--c); stroke-width: 3; filter: drop-shadow(0 0 4px var(--c)); }
.city.new .core { fill: #000; stroke: rgba(255, 255, 255, .3); filter: none; }
.city.new .city-label, .city.locked .city-label { fill: rgba(255, 255, 255, .35); }
.city.locked .core { fill: #1a1a1a; stroke: rgba(255, 255, 255, .15); filter: none; }
.city .pulse { fill: none; stroke: var(--c); stroke-width: 2; animation: city-pulse 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes city-pulse { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(2.2); } }
.city:hover .core, .city:focus-visible .core { stroke: #fff; stroke-width: 3; }
.city.selected .core { stroke: #fff; stroke-width: 3.5; }
.city.selected .city-label { fill: #fff; font-weight: 700; }
.city.boost .core { animation: boost 1.2s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes boost { 30% { transform: scale(1.8); } }

.inset-card { padding: 18px; border-radius: 18px; background: var(--inset); border: 1px solid rgba(255, 255, 255, .06); }
.inspector { --c: #888; display: flex; flex-direction: column; gap: 8px; }
.inspector .topic { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.inspector p { margin: 0; font-size: 13px; color: var(--mute); }
.inspector .verdict { color: var(--fg); }
.inspector .btn { align-self: flex-start; margin-top: 4px; }
.inspector .btn .ico { width: 15px; height: 15px; }
.state-pill { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--c); color: #000; }
.state-pill.fading { background: transparent; color: var(--c); border: 1px dashed var(--c); }
.state-pill.learning { background: transparent; color: var(--fg); border: 1px solid var(--c); }
.state-pill.new, .state-pill.locked { background: rgba(255, 255, 255, .08); color: var(--mute); }
.evidence { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.evidence li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 12px; color: var(--mute); }
.evidence em { font-style: normal; color: var(--fg); }
.evidence i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.evidence b { display: block; height: 100%; border-radius: 5px; background: color-mix(in srgb, var(--c) 45%, #333); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.evidence b.ok { background: var(--c); }
.earth-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--mute); }
.earth-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lg-dot.mastered { background: #fff; box-shadow: 0 0 6px #fff; }
.lg-dot.recent { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.lg-dot.fading { border: 1.5px dashed #fff; opacity: .6; }
.lg-dot.learning { border: 2.5px solid #fff; }
.lg-dot.new { border: 1.5px solid rgba(255, 255, 255, .3); }
.lg-dot.portal { border: 2px solid #ff5a4d; background: radial-gradient(circle, #ff5a4d 40%, #000 45%); }
.lg-road { width: 18px; height: 2px; background: rgba(255, 255, 255, .35); display: inline-block; }


/* Path planner */
.plan-ai { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; }
.plan-panel { --c: #4641ff; }
.plan-head { align-items: flex-start; }
.plan-goals { align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.plan-goals .chip { display: inline-flex; align-items: center; gap: 6px; }
.plan-goals .ico { width: 15px; height: 15px; }
#plan-body { display: flex; flex-direction: column; gap: 18px; }
.plan-summary { display: flex; align-items: center; gap: 18px; }
.ready-ring { position: relative; width: 110px; height: 110px; flex: none; }
.ready-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ready-ring circle { fill: none; stroke-width: 10; }
.ready-ring .track { stroke: rgba(255, 255, 255, .08); }
.ready-ring .fill { stroke: var(--c); stroke-linecap: round; filter: drop-shadow(0 0 6px var(--c)); transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); }
.ready-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--mute); }
.ready-ring b { font-size: 26px; color: var(--fg); line-height: 1; }
.plan-goal { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-goal > b { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.plan-due { font-size: 13px; color: var(--mute); }
.mini-label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 10px; }
.gaps { display: flex; flex-direction: column; gap: 9px; }
.gap { display: grid; grid-template-columns: 140px 1fr 52px; align-items: center; gap: 12px; font-size: 13px; }
.gap[data-topic] { cursor: pointer; }
.gap[data-topic]:hover .gap-name { color: var(--fg); text-decoration: underline; }
.gap-name { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gap-bar { position: relative; height: 8px; border-radius: 8px; background: var(--inset); }
.gap-bar i { display: block; height: 100%; border-radius: 8px; background: var(--c); opacity: .9; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.gap-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: #fff; transform: translateX(-1px); }
.gap-val { text-align: right; font-weight: 600; }
.gap-val small { color: var(--faint); font-weight: 400; }
.gap-val .ico { width: 16px; height: 16px; }
.gap.met .gap-name { color: var(--fg); }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.route {
  font: inherit; text-align: left; color: var(--fg); cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 16px;
  background: var(--inset); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .2s, background .2s;
}
.route:hover { border-color: var(--line-strong); }
.route.on { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border-color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.route-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.route-top em { font-style: normal; font-size: 12px; color: var(--mute); }
.route-when { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.route-status { font-size: 12px; color: #4fe0a6; }
.route.late .route-status { color: #ff6b6b; }
.route-note { font-size: 12px; color: var(--faint); }
.plan-steps ol { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: step; display: flex; flex-wrap: wrap; gap: 8px; }
.plan-steps li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--inset); font-size: 13px; }
.plan-steps li::before { content: counter(step); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 700; font-size: 12px; }

/* Gradify AI */
.ai-panel { min-height: 0; }
.ai-panel .panel-head { flex-wrap: wrap; }
.ai-title { display: flex; align-items: center; gap: 12px; }
.ai-av {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff;
  background: conic-gradient(from 200deg, #4641ff, #f055dd, #ff5600, #ffc002, #40d4b1, #4641ff);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), 0 0 18px -4px rgba(240, 85, 221, .7);
}
.ai-av .ico { width: 15px; height: 15px; fill: #fff; stroke: none; }
.msg .ai-av { width: 28px; height: 28px; }
.ai-log { flex: 1; min-height: 300px; max-height: 460px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 2px; scrollbar-width: thin; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg.me { justify-content: flex-end; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.msg.ai .bubble { background: var(--inset); border: 1px solid rgba(255, 255, 255, .06); border-top-left-radius: 6px; }
.msg.me .bubble { background: #fff; color: #000; border-top-right-radius: 6px; }
.bubble p { margin: 0 0 8px; }
.bubble p:last-child { margin-bottom: 0; }
.ai-dim { color: var(--faint); font-size: 13px; }
.ai-steps { margin: 4px 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ai-steps li b { display: block; font-weight: 600; }
.ai-steps li span { font-size: 12px; color: var(--mute); }
.ai-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--mute); cursor: pointer; text-decoration: underline; }
.ai-cards { display: grid; gap: 8px; margin: 6px 0 10px; }
.flash {
  font: inherit; text-align: left; color: var(--fg); cursor: pointer; min-height: 64px;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.flash .a { display: none; color: var(--mute); }
.flash[aria-pressed="true"] { background: #fff; color: #000; }
.flash[aria-pressed="true"] .q { display: none; }
.flash[aria-pressed="true"] .a { display: block; color: #222; }
.ai-week { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ai-week li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; font-size: 13px; }
.ai-week b { color: var(--fg); }
.ai-week span { color: var(--mute); }
.ai-try-row, .ai-suggest { display: flex; gap: 6px; flex-wrap: wrap; }
.ai-try-row { margin-top: 8px; }
.ai-suggest .chip, .bubble .ai-try { font-size: 13px; padding: 6px 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--fg); }
.ai-suggest .chip:hover, .bubble .ai-try:hover { background: rgba(255, 255, 255, .1); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
.ai-form { display: flex; gap: 8px; align-items: center; }
.ai-form input { --glow: 255, 255, 255; flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--fg); padding: 11px 18px; border-radius: 999px; outline: none; }
.ai-form input::after { display: none; }
.ai-form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ai-form .send { width: 44px; height: 44px; background: #fff; color: #000; border-color: #fff; }
.ai-form .send:hover { background: #e6e6e6; }
.event.planned .date { background: rgba(255, 255, 255, .12); }


/* Search suggestions */
.search { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px;
  border-radius: 20px; background: #0e0e0e; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; cursor: pointer; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: rgba(255, 255, 255, .08); }
.suggest .icon { width: 34px; height: 34px; border-radius: 10px; }
.suggest .icon .ico { width: 17px; height: 17px; }
.sg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.sg-txt span { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest em { font-style: normal; font-size: 12px; color: var(--mute); white-space: nowrap; }

/* Organisations + devices */
.orgs, .everywhere { margin-top: 112px; }
.org-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.org { gap: 10px; }
.org-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.org-ico .ico { width: 20px; height: 20px; }
.org h3, .device h3 { font-size: 18px; letter-spacing: -.015em; }
.org p, .device p { margin: 0; font-size: 14px; color: var(--mute); }
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.device { gap: 10px; position: relative; overflow: hidden; }
.device.now .phase-tag { background: #fff; color: #000; }
.device .btn { align-self: flex-start; }
.tablet-card { padding-bottom: 0; }
.tablet { margin: 10px auto -40px; width: 78%; aspect-ratio: 4 / 3; border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #3a3a3a, #111); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 40px -10px rgba(0, 0, 0, .8); }
.tablet-screen { height: 100%; border-radius: 10px; background: radial-gradient(80% 80% at 30% 20%, #26244a, #050508); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px; align-content: start; }
.tablet-screen i { height: 10px; border-radius: 4px; background: var(--spectrum); opacity: .8; }
.tablet-screen i:nth-child(2) { opacity: .5; }
.tablet-screen i:nth-child(3) { opacity: .3; }

/* Roadmap + FAQ */
.roadmap, .faq { margin-top: 112px; }
.section-head { max-width: 44em; margin-bottom: 28px; }
.section-head h2 { margin: 16px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.section-head p { margin: 14px 0 0; color: var(--mute); font-size: 17px; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phase { gap: 12px; }
.phase-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--mute); }
.phase.now { border-color: rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 30px 60px -30px rgba(255, 255, 255, .25); }
.phase.now .phase-tag { background: #fff; color: #000; }
.phase h3 { font-size: 20px; letter-spacing: -.02em; }
.phase ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.phase li { position: relative; padding-left: 26px; font-size: 14px; color: var(--mute); }
.phase li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.phase li.done { color: var(--fg); }
.phase li.done::before { background: var(--spectrum); border: 0; box-shadow: 0 0 10px -2px #f055dd; }
.phase li.done::after { content: ""; position: absolute; left: 4.5px; top: 6px; width: 5px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--mute); max-width: 44em; }

/* Footer */
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand b { font-size: 18px; }
.foot-brand p { margin: 6px 0 0; max-width: 24em; }
.foot-cols nav { display: flex; flex-direction: column; gap: 6px; }
.foot-cols nav b { margin-bottom: 4px; }
.foot-cols a { color: var(--mute); text-decoration: none; }
.foot-cols a:hover { color: var(--fg); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); }


/* LifeOS window: sidebar + views */
.os { display: grid; grid-template-columns: 196px 1fr; gap: 16px; align-items: start; }
.os-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px; }
.rail-btn {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent;
  background: transparent; color: var(--mute); font: inherit; font-size: 14px; text-align: left; cursor: pointer; white-space: nowrap;
}
.rail-btn:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.rail-btn[aria-selected="true"] { color: var(--fg); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.rail-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); flex: none; }
.rail-ico .ico { width: 16px; height: 16px; }
.rail-btn[aria-selected="true"] .rail-ico { background: #fff; color: #000; }
.os-main { min-width: 0; }
.os-view { display: flex; flex-direction: column; gap: 16px; animation: view-in .3s cubic-bezier(.2, .8, .2, 1); }
.os-view[hidden] { display: none; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } }
.os-view .command { grid-template-columns: 1fr 1.2fr 1fr; }
.os-view .upcoming { grid-column: 1 / -1; }
.os-view .upcoming .events { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }

/* Activity feed */
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; }
.feed li.fresh { background: rgba(255, 255, 255, .06); animation: view-in .4s; }
.feed .icon { width: 36px; height: 36px; border-radius: 11px; }
.feed .icon .ico { width: 17px; height: 17px; }
.feed-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.feed-txt b { font-weight: 500; }
.feed-txt span { font-size: 12px; color: var(--faint); }
.feed em { font-style: normal; font-size: 12px; color: var(--mute); white-space: nowrap; }
.heat-legend .is-off { opacity: .35; text-decoration: line-through; }

/* Study time chart */
.study-chart { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; height: 220px; align-items: end; }
.sc-col { height: 100%; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; }
.sc-val { font-size: 11px; color: var(--faint); white-space: nowrap; }
.sc-bar { align-self: end; width: 100%; max-width: 54px; min-height: 4px; border-radius: 8px 8px 4px 4px; overflow: hidden; display: flex; flex-direction: column-reverse; gap: 2px; transition: height .5s cubic-bezier(.2, .8, .2, 1); }
.sc-bar i { min-height: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.sc-lab { font-size: 11px; color: var(--faint); white-space: nowrap; }
.sc-col.now .sc-val, .sc-col.now .sc-lab { color: var(--fg); font-weight: 600; }

/* Capture */
.capture-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: start; }
.capture-in { display: flex; flex-direction: column; gap: 10px; }
.capture-in textarea {
  width: 100%; resize: vertical; min-height: 220px; font: inherit; font-size: 14px; line-height: 1.55; color: var(--fg);
  padding: 14px 16px; border-radius: 16px; background: var(--inset); border: 1px solid var(--line);
}
.capture-in textarea:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.capture-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dropzone { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--line-strong); font-size: 13px; color: var(--mute); }
.dropzone em { font-style: normal; color: var(--faint); }
.capture-out { display: flex; flex-direction: column; gap: 12px; }
.empty-note { margin: 0; padding: 40px 20px; text-align: center; color: var(--faint); border-radius: 16px; border: 1px solid var(--line); }
.out-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--faint); }
.out-head b { color: var(--fg); font-size: 15px; }
.cap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.flash { display: flex; flex-direction: column; gap: 6px; }
.flash .tag { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.flash[aria-pressed="true"] .tag { color: #666; }
.cap-dates { display: flex; flex-direction: column; gap: 8px; }
.cap-dates .event { padding: 8px; border-radius: 14px; background: var(--inset); }
.cap-dates .ev-txt { flex: 1; }
.add-date { cursor: pointer; font-size: 18px; }

/* Community */
.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.community .kicker .ico { color: var(--mute); }
h3.big { font-size: 20px; letter-spacing: -.02em; margin-top: 4px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; margin-right: -8px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #000; background: var(--c); border: 3px solid #141414; }
.avatars .me { background: #fff; }
.session { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--mute); }
.session b { color: var(--fg); font-size: 15px; }
.community .btn { align-self: flex-start; }
.ch-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-top: 4px; }
.ch-row b { color: var(--fg); }
.board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.board li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; font-size: 14px; }
.board li.me { background: #fff; color: #000; }
.board .rank { width: 18px; color: var(--faint); font-weight: 600; }
.board li.me .rank { color: #555; }
.board .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #000; background: var(--c); }
.board li.me .av { background: #000; color: #fff; }
.board .nm { flex: 1; }
.board b { font-weight: 600; font-size: 13px; }
.community .switch { padding-right: 0; }
#share .ico { width: 15px; height: 15px; }

/* Settings */
.settings { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: start; }
.toggles { display: flex; flex-direction: column; gap: 6px; }
.site-row { display: flex; align-items: center; gap: 12px; }
.site-row .icon { width: 32px; height: 32px; border-radius: 10px; }
.site-row .icon .ico { width: 16px; height: 16px; }
.row-switch { flex: 1; justify-content: space-between; padding: 6px 0; color: var(--fg); }
.row-switch > span:first-child { flex: 1; }
.reminders-head { margin-top: 10px; }
.settings .btn { align-self: flex-start; }
.btn.danger { color: #ff8a8a; }
.ai-coach { color: var(--fg); font-weight: 600; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.area-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.area-txt b { font-weight: 600; }
.area-txt span { font-size: 13px; color: var(--mute); }
.area-ring { position: relative; width: 60px; height: 60px; flex: none; }
.area-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.area-ring circle { fill: none; stroke-width: 6; }
.area-ring .track { stroke: rgba(255, 255, 255, .08); }
.area-ring .fill { stroke: var(--c); stroke-linecap: round; filter: drop-shadow(0 0 4px var(--c)); transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); }
.area-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; }

.life-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.path-panel { --c: #4641ff; --glow: 70, 65, 255; --ink: #fff; }
.path-tabs .chip { display: inline-flex; align-items: center; gap: 6px; }
.path-tabs .ico { width: 15px; height: 15px; }
.unit-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%), var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 5px 0 color-mix(in srgb, var(--c) 60%, #000), 0 18px 34px -16px var(--c);
}
.unit-banner div { display: flex; flex-direction: column; }
.unit-banner span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.unit-banner b { font-size: 20px; letter-spacing: -.02em; }
.unit-banner em { font-style: normal; font-size: 13px; opacity: .85; }
.unit-banner .unit-count { font-size: 14px; letter-spacing: 0; text-transform: none; opacity: 1; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .2); }

.path { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.path li { position: relative; transform: translateX(var(--x)); display: flex; flex-direction: column; align-items: center; }
.node {
  width: 64px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .45), transparent 45%), var(--c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 6px 0 color-mix(in srgb, var(--c) 55%, #000);
  transition: transform .1s, box-shadow .1s;
}
.node:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 2px 0 color-mix(in srgb, var(--c) 55%, #000); }
.node .ico { width: 26px; height: 26px; stroke-width: 2.6; }
.node.current { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { outline: 4px solid rgba(var(--glow), .35); outline-offset: 4px; } 50% { outline: 4px solid rgba(var(--glow), .7); outline-offset: 7px; } }
.node.locked { color: #6e6e6e; cursor: not-allowed; background: #262626; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06), 0 6px 0 #141414; }
.node-name { margin-top: 10px; font-size: 12px; color: var(--mute); max-width: 140px; text-align: center; line-height: 1.3; }
.node.locked + .node-name { color: var(--faint); }
.start-bubble {
  position: absolute; top: -34px; z-index: 1; padding: 4px 12px; border-radius: 10px;
  background: #fff; color: #000; font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); animation: bob 1.6s ease-in-out infinite;
}
.start-bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.path li:has(.start-bubble) { margin-top: 22px; }

.mini { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--inset); border: 1px solid rgba(255, 255, 255, .05); }
.mini-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.sync { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.sync .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.mini-heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-template-columns: repeat(16, 1fr); gap: 3px; }

.cert {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border-radius: 20px;
  background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid color-mix(in srgb, var(--c) 45%, rgba(255, 255, 255, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 20px 40px -24px var(--c);
}
.cert-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.verified { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 600; }
.verified .ico { width: 14px; height: 14px; }
.cert-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.cert-title { font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.cert-meta { font-size: 13px; color: var(--mute); }
.cert-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
code { font: 12px var(--mono); color: var(--mute); }
.cred .go { cursor: pointer; }
.cred .go .ico { width: 16px; height: 16px; }
.cred:hover .go { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), var(--c); color: var(--ink); }
.cred-note { margin: 0; font-size: 13px; color: var(--faint); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translateX(-50%);
  max-width: min(560px, calc(100% - 32px)); padding: 12px 20px; border-radius: 18px;
  font-size: 14px; color: var(--fg); text-align: center;
}
.toast a { color: var(--fg); font-weight: 600; }
.toast.show { animation: toast-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Search + filters ---------- */
.controls {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 10px; margin: 48px 0 8px; border-radius: 999px;
}
.search {
  --glow: 255, 255, 255;
  flex: 1 1 260px; display: flex; align-items: center;
  border-radius: 999px; padding: 4px 4px 4px 18px;
}
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--fg);
  padding: 8px 0; border: 0; background: transparent; outline: none;
}
.search input::placeholder { color: var(--faint); }
.search:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.search.lg { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .06); }
.search.lg::after { display: none; }
.search.lg::before { left: 22px; right: 60px; height: 34%; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); }
.search-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); color: var(--fg);
}
.search-btn svg { width: 16px; height: 16px; }

.seg { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--inset); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45); }
.chip {
  font: inherit; font-size: 14px; color: var(--mute); cursor: pointer; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  transition: color .15s, background .15s;
}
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] {
  color: var(--fg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 8px -3px rgba(0, 0, 0, .6);
}

.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); cursor: pointer; padding-right: 10px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { --glow: 255, 255, 255; width: 50px; height: 28px; border-radius: 999px; padding: 3px; transition: background .25s; flex: none; }
.sw-knob {
  display: block; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #dcd8de);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5), inset 0 -2px 3px rgba(0, 0, 0, .12);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.switch input:checked + .sw-track { --glow: 255, 255, 255; background: linear-gradient(180deg, #fff, #d4d4d4); border-color: #fff; }
.switch input:checked + .sw-track .sw-knob { background: radial-gradient(circle at 35% 30%, #444, #000); }
.switch input:checked + .sw-track .sw-knob { transform: translateX(22px); }
.switch input:checked ~ span:last-child { color: var(--fg); }
.switch input:focus-visible + .sw-track { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Groups + cards ---------- */
.group { margin-top: 64px; }
.group h2 { margin: 0; font-size: 32px; letter-spacing: -.025em; font-weight: 600; }
.group > p { margin: 6px 0 24px; color: var(--mute); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }

.card {
  --c: #888;
  position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: 1fr; column-gap: 14px;
  padding: 20px; text-decoration: none; overflow: hidden; min-height: 168px;
  transition: border-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1);
}
/* faint wash of the site's own colour */
.card::before {
  content: ""; position: absolute; inset: -45% -25% auto auto; width: 75%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--c) 0%, transparent 62%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card.live:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-2px); }
.card.live:hover::before { opacity: .3; }
.icon {
  width: 44px; height: 44px; border-radius: 13px; align-self: start;
  display: grid; place-items: center; flex: none;
  font: 700 16px var(--sans); letter-spacing: -.02em;
  background: var(--tile); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -6px 10px rgba(0, 0, 0, .18), 0 8px 20px -10px var(--c);
}
.icon .ico { width: 22px; height: 22px; }
.row .icon .ico { width: 22px; height: 22px; }
.card .body { min-width: 0; display: flex; flex-direction: column; min-height: 100%; }
.card h3 { margin: 9px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card p { margin: 6px 0 0; font-size: 15px; color: var(--mute); line-height: 1.5; }
.card .foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; font-size: 13px; color: var(--mute); position: relative; }
.card .body p { margin-bottom: 16px; }
.card .domain { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.soon { cursor: default; }
.card.soon .icon { filter: saturate(.55) brightness(.85); }
.card.soon .foot { color: var(--faint); }
.card.featured { grid-column: 1 / -1; }

.empty { display: none; text-align: center; padding: 40px 20px; margin-top: 32px; color: var(--mute); }

/* ---------- Footer ---------- */
footer { margin: 96px 0 32px; padding: 28px; color: var(--mute); font-size: 14px; display: flex; flex-direction: column; gap: 24px; }
footer p { margin: 0; }
footer b { color: var(--fg); font-weight: 600; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tiles-panel { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(10, 1fr); }
  .controls { border-radius: 24px; }
}
@media (max-width: 1080px) {
  .os { grid-template-columns: 1fr; }
  .os-rail { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 6px; }
  .rail-btn { padding: 6px 12px 6px 6px; border-radius: 999px; }
  .rail-ico { width: 28px; height: 28px; border-radius: 50%; }
  .community, .settings { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .bar .sections { display: none; }
  .org-grid { grid-template-columns: 1fr 1fr; }
  .devices { grid-template-columns: 1fr 1fr; }
  .capture-body { grid-template-columns: 1fr; }
  .os-view .command { grid-template-columns: 1fr 1fr; }
  .plan-ai { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: grid; }
  .command { grid-template-columns: 1fr 1fr; }
  .earth-body { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .life-split { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .bar .right .btn-primary { display: none; }
  .org-grid, .devices { grid-template-columns: 1fr; }
  .os-view .command, .community, .settings { grid-template-columns: 1fr; }
  .study-chart { gap: 4px; height: 180px; }
  .sc-val { font-size: 9px; }
  .sc-lab { font-size: 9px; }
  .routes { grid-template-columns: 1fr; }
  .ai-log { min-height: 200px; }
  .gap { grid-template-columns: 110px 1fr 48px; }
  .plan-summary { align-items: flex-start; }
  .ready-ring { width: 88px; height: 88px; }
  .command { grid-template-columns: 1fr; }
  .earth-top { flex-wrap: wrap; }
  .earth-map { overflow-x: auto; }
  .earth-map svg { min-width: 680px; }
  .areas { grid-template-columns: 1fr; }
  .path-panel .panel-head { flex-direction: column; align-items: flex-start; }
  .path-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .path li { transform: translateX(calc(var(--x) * .6)); }
  .heat { min-width: 900px; }
  .bento { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .tiles a { font-size: 11px; border-radius: 10px; }
  .controls { border-radius: 24px; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .actions .btn { flex: 1 1 100%; }
  .spotlight { min-height: 400px; padding: 22px; }
  .sphere { width: 120px; height: 120px; font-size: 40px; right: 22px; top: 26px; }
  .spot-dots { top: 24px; left: 22px; }
  .group h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
