/* ============================================================
   MeowShare — page components (loaded after styles.css)
   ============================================================ */

/* ---------- Hero (home) ---------- */

.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-copy .lede { margin: 22px 0 0; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-note code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--ink-2);
  background: oklch(0.16 0.014 70 / 0.05);
  padding: 1px 6px;
  border-radius: 5px;
}

@media (min-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.06fr); }
}

/* ---------- Product window (radar demo) ---------- */

.demo-wrap { position: relative; }

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.9 0.006 85);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px 11px 16px;
  border-bottom: 1px solid oklch(0.93 0.004 85);
  background: oklch(0.995 0.001 85);
}
.win-title { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.win-title img { width: 17px; height: 17px; border-radius: 4.5px; }
.win-title span { font-family: var(--font-display); font-size: 0.83rem; font-weight: 700; letter-spacing: -0.005em; }
.win-title small { color: var(--muted); font-size: 0.74rem; font-weight: 550; margin-left: 2px; }
.win-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid oklch(0.52 0.11 154 / 0.28);
  border-radius: 999px;
  background: oklch(0.96 0.012 155 / 0.5);
  color: oklch(0.42 0.1 154);
  font-size: 0.74rem;
  font-weight: 650;
}
.win-status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 oklch(0.52 0.11 154 / 0.5);
}

/* Radar canvas */
.radar {
  position: relative;
  aspect-ratio: 100 / 78.75;
  background:
    radial-gradient(130% 90% at 50% 20%, oklch(1 0 0 / 0.55), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.radar video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.radar-nearby-pill {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid oklch(1 0 0 / 0.7);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px oklch(0.2 0.02 70 / 0.08);
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 650;
  white-space: nowrap;
}
.radar-nearby-pill .n { color: var(--ink); font-family: var(--font-display); }

.radar-node {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  pointer-events: none;
}
.radar-node .avatar-wrap { position: relative; }
.radar-node .avatar {
  width: clamp(54px, 6.4vw, 74px);
  height: clamp(54px, 6.4vw, 74px);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px oklch(0.88 0.01 85),
    0 0 0 4px oklch(1 0 0 / 0.9),
    0 10px 22px oklch(0.2 0.02 70 / 0.16);
}
.radar-node img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.node-you { bottom: clamp(22px, 4.5vw, 40px); left: 50%; transform: translateX(-50%); }
.node-you .avatar {
  box-shadow:
    0 0 0 1px oklch(0.88 0.01 85),
    0 0 0 4px oklch(1 0 0 / 0.9),
    0 0 0 8px var(--accent-soft),
    0 10px 22px oklch(0.2 0.02 70 / 0.16);
}

.node-a { top: clamp(20%, 21%, 21%); left: clamp(14%, 15%, 17%); }
.node-b { top: clamp(20%, 21%, 21%); right: clamp(13%, 15%, 17%); }

.node-label {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 7px 12px 8px;
  border: 1px solid oklch(1 0 0 / 0.8);
  border-radius: 11px;
  background: oklch(1 0 0 / 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px oklch(0.2 0.02 70 / 0.1);
  white-space: nowrap;
}
.node-label b { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; color: var(--ink); line-height: 1.2; }
.node-label span { color: var(--muted); font-size: 0.68rem; font-weight: 550; line-height: 1.25; }
.node-you .node-label b { font-weight: 650; }

/* Presence ping */
.ping {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--accent-halo);
  opacity: 0;
  pointer-events: none;
}
.radar-node.live .ping { animation: ping 3.4s var(--ease) infinite; }
.radar-node.live .ping.p2 { animation-delay: 1.7s; }
@keyframes ping {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .radar-node.live .ping { animation: none; opacity: 0.4; transform: scale(1.08); }
}

/* Online dot under labels */
.node-online {
  position: absolute;
  right: -3px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--online);
  border: 2.5px solid #fff;
}

/* Direct-connection tag (bottom-left of radar) */
.radar-tag {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  background: oklch(0.16 0.014 70 / 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0.01em;
}
.radar-tag svg { width: 12px; height: 12px; }

/* Flight route + payload */
.flight-route {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.route-line {
  fill: none;
  stroke: oklch(0.6 0.1 40 / 0.38);
  stroke-width: 1.3;
  stroke-linecap: round;
}
.route-line.live {
  stroke: oklch(0.6 0.1 40 / 0.55);
  stroke-dasharray: 2 6;
  animation: routeflow 1.6s linear infinite;
}
@keyframes routeflow { to { stroke-dashoffset: -8; } }
.dot {
  fill: var(--accent);
  stroke: none;
  filter: drop-shadow(0 0 3px oklch(0.6 0.1 40 / 0.45));
}

/* Transfer toast (bottom-right inside radar) */
.win-toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(228px, 62%);
  padding: 10px 12px 10px 10px;
  border: 1px solid oklch(0.92 0.005 85);
  border-radius: 14px;
  background: oklch(1 0 0 / 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px oklch(0.2 0.02 70 / 0.16);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.win-toast.show { opacity: 1; transform: none; }
.win-toast-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.win-toast-ico svg { width: 16px; height: 16px; }
.win-toast-ico.ok { background: var(--online-soft); color: oklch(0.42 0.1 154); }
.win-toast-copy { min-width: 0; display: grid; gap: 2px; }
.win-toast-copy b {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-toast-copy span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-toast-bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 99px;
  background: oklch(0.93 0.004 85);
  overflow: hidden;
  margin-top: 3px;
}
.win-toast-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.win-toast.send .win-toast-bar i { animation: toastrogress 2.1s linear forwards; }
.win-toast.done .win-toast-bar i { background: var(--online); transform: scaleX(1); }
.win-toast.done .win-toast-bar { background: transparent; }
@keyframes toastrogress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Window caption under the demo */
.demo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}
.demo-caption .kbd { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-2); }

/* Small decorative ring behind window (signal motif) */
.demo-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  left: -9%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid oklch(0.6 0.1 40 / 0.16);
  box-shadow:
    0 0 0 34px oklch(0.6 0.1 40 / 0.05),
    0 0 0 68px oklch(0.6 0.1 40 / 0.028);
  pointer-events: none;
}

/* Shared small utilities used across pages */
.demo { position: relative; }
.avatar-wrap { position: relative; display: flex; }
.steps { list-style: none; }

.dot-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  flex: none;
}

.kicker-mini {
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose-link {
  color: var(--accent-deep);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: oklch(0.6 0.1 40 / 0.45);
  text-underline-offset: 3px;
}
.prose-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

.rule-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rule-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Under-the-surface flow diagram (how-it-works) */
.inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: oklch(0.16 0.014 70 / 0.05);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--ink);
}
.flow-stack { display: grid; gap: 0; }
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 26px;
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  bottom: -2px;
  width: 1px;
  background: var(--line-2);
}
.flow-step:last-child::before { display: none; }
.f-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.flow-step.last .f-dot {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.f-dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.flow-step b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.flow-step p { margin-top: 3px; color: var(--ink-2); font-size: 0.92rem; max-width: 46ch; }

/* Code chip (pairing sample) */
.code-chip {
  display: inline-flex;
  padding: 13px 20px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.8), var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--ink);
}

/* ---------- Tiles / repeated items (8px radius) ---------- */

.tiles { display: grid; gap: 14px; }
.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: clamp(20px, 2.6vw, 28px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.tile { text-decoration: none; display: block; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: oklch(0.965 0.004 85);
  color: var(--ink);
  border: 1px solid oklch(0.92 0.005 85);
}
.tile-icon svg { width: 20px; height: 20px; }
.tile h3 { margin-bottom: 7px; }
.tile p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.62; }
.tile p + .tile-link { margin-top: 16px; }

@media (min-width: 620px) {
  .tiles.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .tiles.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .tiles.cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .tiles.cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Split feature rows ---------- */

.split { display: grid; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(60px, 8vw, 104px); }
.split .copy h3 { margin: 14px 0 12px; font-size: clamp(1.28rem, 2.4vw, 1.6rem); }
.split .copy p { color: var(--ink-2); }
.split .copy p + p { margin-top: 12px; }
.split ul.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.split ul.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.split ul.checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-deep); }
@media (min-width: 1020px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.alt { direction: rtl; }
  .split.alt > * { direction: ltr; }
}

/* Generic framed visual used inside split rows */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.frame--thin { box-shadow: var(--shadow-sm); }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 22px 22px 0;
  border-top: 1px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 22px;
  bottom: -16px;
  width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}
.step:last-child::before { display: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
}
.step h3 { margin: 2px 0 6px; }
.step p { color: var(--ink-2); max-width: 60ch; }
.step .step-sub { margin-top: 8px; color: var(--muted); font-size: 0.86rem; }
@media (min-width: 1020px) {
  .steps.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    border-top: 1px solid var(--line);
  }
  .steps.cols-3 .step { display: block; padding: 0; border-top: 0; }
  .steps.cols-3 .step::before {
    left: 23px; top: 46px; bottom: auto;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--line-2), transparent);
  }
  .steps.cols-3 .step-num { margin-bottom: 26px; }
  .steps.cols-3 .step:last-child::before { display: none; }
}

/* ---------- Chips / tags ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cats identity strip ---------- */

.cats-showcase { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 30px); }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 76px; text-align: center; }
.cat-item img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(0.9 0.008 85), 0 6px 16px oklch(0.2 0.02 70 / 0.1);
}
.cat-item span { color: var(--muted); font-size: 0.74rem; font-weight: 600; line-height: 1.2; }
.cat-item:hover img { box-shadow: 0 0 0 1px oklch(0.84 0.01 85), 0 0 0 4px var(--accent-soft), 0 6px 16px oklch(0.2 0.02 70 / 0.12); transform: translateY(-1px); }
.cat-item img { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: oklch(0.982 0.0025 85 / 0.6); }
.faq-item .plus {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.faq-item .plus::before, .faq-item .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
}
.faq-item .plus::before { width: 10px; height: 1.5px; }
.faq-item .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 2px 22px 22px; color: var(--ink-2); }
.faq-item .faq-body p { max-width: 74ch; }
.faq-item .faq-body p + p { margin-top: 10px; }
.faq-item .faq-body code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: oklch(0.16 0.014 70 / 0.05);
  border-radius: 5px;
  padding: 1px 6px;
}
.faq-item .faq-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.faq-item .faq-body a:hover { color: var(--ink); }

/* ---------- Breadcrumb ---------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 20px; color: var(--muted); font-size: 0.83rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.crumbs .sep { color: oklch(0.78 0.006 85); }
.crumbs [aria-current="page"] { color: var(--muted); }

/* ---------- Interior page hero ---------- */

.page-hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(34px, 4.5vw, 54px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 82% -20%, oklch(0.6 0.1 40 / 0.05), transparent 62%),
    var(--bg);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero .hero-actions { margin-top: 28px; }

/* ---------- CTA band (final, dark) ---------- */

.cta-band.dark {
  background:
    radial-gradient(120% 140% at 12% -30%, oklch(0.3 0.05 60 / 0.4), transparent 46%),
    radial-gradient(90% 120% at 88% 120%, oklch(0.42 0.06 40 / 0.5), transparent 55%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band.dark .eyebrow { color: oklch(0.82 0.04 70); }
.cta-band.dark .eyebrow::before { background: var(--accent); }
.cta-inner { position: relative; text-align: center; padding-block: clamp(84px, 11vw, 140px); }
.cta-inner h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-inner .lede { color: oklch(0.85 0.01 80); margin: 18px auto 0; }
.cta-inner .hero-actions { justify-content: center; margin-top: 34px; }
.cta-inner .btn--ghost { border-color: oklch(1 0 0 / 0.34); }
.cta-meta { margin-top: 22px; color: oklch(0.78 0.01 80); font-size: 0.86rem; }
.cta-meta code { font-family: var(--font-mono); color: oklch(0.9 0.02 80); }

/* Signal rings behind dark CTA */
.cta-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  aspect-ratio: 1;
  max-width: 900px;
  border-radius: 50%;
  border: 1px solid oklch(0.85 0.04 60 / 0.08);
  pointer-events: none;
}
.cta-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  aspect-ratio: 1;
  max-width: 640px;
  border-radius: 50%;
  border: 1px solid oklch(0.85 0.04 60 / 0.1);
  pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 84px) 0 40px;
}
.footer-grid {
  display: grid;
  gap: 44px;
  padding-bottom: 54px;
}
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 0.94rem; max-width: 34ch; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a {
  color: var(--ink-2);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.footer-col a .ext { display: inline-flex; margin-left: 4px; }
.footer-col a .ext svg { width: 12px; height: 12px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-bottom .thinklab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.thinklab-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
}
.footer-bottom a { color: var(--ink-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; }

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 60px;
  }
}

/* ---------- Reveal on scroll ---------- */

.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.08s; }
.js .rv.d2 { transition-delay: 0.16s; }

/* ---------- Callout (non-card, editorial) ---------- */

.callout {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid oklch(0.84 0.02 80);
  border-radius: var(--r-sm);
  background: oklch(0.975 0.004 85);
}
.callout b { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.callout p { color: var(--ink-2); font-size: 0.95rem; max-width: 72ch; }
.callout--warn b { color: oklch(0.45 0.06 50); }

/* ---------- Simple data tables (devices) ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.spec-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.spec-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td b { color: var(--ink); font-weight: 650; }
.spec-table .tick { color: var(--online); }
.spec-table .warn { color: oklch(0.47 0.07 60); }
.spec-table .muted-cell { color: var(--muted); font-size: 0.9rem; }

.table-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow-x: auto;
}
@media (max-width: 619px) {
  .spec-table th, .spec-table td { padding-inline: 12px; }
}

/* ---------- 404 ---------- */

.err-wrap { text-align: center; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 120px); }
.err-wrap .err-cat {
  width: 132px;
  height: 132px;
  margin: 0 auto 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(0.9 0.008 85), 0 0 0 10px var(--accent-soft), 0 18px 40px oklch(0.2 0.02 70 / 0.12);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.err-wrap .err-cat img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.err-wrap h1 { margin-top: 6px; }
.err-wrap .lede { margin: 18px auto 0; }
.err-wrap .hero-actions { justify-content: center; margin-top: 34px; }

/* ---------- Responsive helpers ---------- */

@media (max-width: 619px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 620px) {
  .show-mobile { display: none !important; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .rv { opacity: 1; transform: none; }
  .err-wrap .err-cat { animation: none; }
}

/* ============================================================
   Home hero — first-viewport refinements (index page only)
   Scoped to .hero (interior pages use .page-hero).
   ============================================================ */

/* Mobile (< 620px): condense the intro so the product window, the H1 and
   the primary CTA all sit in the first viewport instead of pushing the
   radar visual below the fold. */
@media (max-width: 619px) {
  .hero {
    padding-top: clamp(20px, 5.5vw, 34px);
    padding-bottom: clamp(28px, 7.5vw, 44px);
  }
  .hero-grid { gap: clamp(22px, 7vw, 34px); }
  .hero h1 {
    font-size: clamp(1.72rem, 8vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.016em;
  }
  .hero-copy .eyebrow { font-size: 0.72rem; margin-bottom: 14px; }
  .hero-copy .lede { margin-top: 13px; font-size: 0.95rem; line-height: 1.58; }
  .hero-copy .l-rest { display: none; } /* full lede resumes at ≥ 620px */
  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }
  .hero .hero-actions .btn { width: 100%; }
  .hero-note { display: none; } /* meta line resumes at ≥ 620px */
  .demo-wrap::before { display: none; }
}

/* Desktop two-column hero: tighten the vertical rhythm so the next
   section's eyebrow/heading visibly enters the bottom of the viewport
   rather than leaving trailing whitespace after the hero. */
@media (min-width: 1020px) {
  .hero {
    padding-top: clamp(64px, 5.6vw, 92px);
    padding-bottom: clamp(34px, 3.4vw, 52px);
  }
  .hero h1 {
    font-size: clamp(2.45rem, 3.6vw, 3.4rem);
    line-height: 1.07;
  }
  .hero-copy .lede {
    margin-top: 18px;
    max-width: 54ch;
    font-size: 1.13rem;
    line-height: 1.58;
  }
  .hero-actions { margin-top: 26px; }
  .hero + .section { padding-top: clamp(60px, 6.4vw, 92px); }
}

/* Reduced motion: the radar sweep video is a looping animation — swap it
   for the static (CSS-drawn) radar surface. */
@media (prefers-reduced-motion: reduce) {
  .radar video { display: none; }
}
