/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Purposeful, user-driven motion for the marketing page, not the native simulator. */

.site-header {
  position:sticky;
  top:0;
  z-index:20;
}
.site-progress {
  position:absolute;
  inset:auto 0 -1px;
  height:2px;
  overflow:hidden;
  pointer-events:none;
}
.site-progress>span {
  display:block;
  height:100%;
  background:var(--action);
  transform:scaleX(var(--reading-progress,0));
  transform-origin:left;
}
.main-nav a {position:relative}
.main-nav a::after {
  content:"";
  position:absolute;
  inset:auto 0 6px;
  height:2px;
  background:var(--action);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
.main-nav a[aria-current="location"] {color:var(--ink)}
.main-nav a[aria-current="location"]::after,.main-nav a:hover::after {transform:scaleX(1)}
.button .site-icon,.support-row>.site-icon:last-child {transition:transform .2s ease}
.button:is(:hover,:focus-visible) .site-icon,.support-row:is(:hover,:focus-visible)>.site-icon:last-child {transform:translate(2px,-2px)}
.hero {position:relative}
.hero::before {
  content:"";
  position:absolute;
  inset:-16px -40px 0;
  z-index:-1;
  pointer-events:none;
  background-image:
    radial-gradient(ellipse 68% 48% at 50% 0%,color-mix(in srgb,var(--action) 10%,transparent),transparent 72%),
    radial-gradient(color-mix(in srgb,var(--ink) 13%,transparent) 1px,transparent 1px);
  background-size:100% 100%,24px 24px;
  mask-image:radial-gradient(ellipse 82% 72% at 50% 28%,#000 35%,transparent 92%);
  -webkit-mask-image:radial-gradient(ellipse 82% 72% at 50% 28%,#000 35%,transparent 92%);
}
.hero .platform-label {
  display:inline-flex;
  align-items:center;
  margin-inline:auto;
  padding:5px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  box-shadow:var(--surface-highlight);
  font-size:12px;
  font-weight:500;
  color:var(--muted);
}
.hero-handoff-link {display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:12px;color:var(--action);text-underline-offset:4px}
.hero-handoff-link .site-icon {width:13px;height:13px}
.hero h1 {font-size:clamp(36px,4.6vw,56px);line-height:1.08}
.hero h1 .hero-tagline {display:block;margin-top:.22em;font-size:.74em;line-height:1.2;letter-spacing:-.025em;font-weight:500;color:var(--action)}
.hero-description .wordmark-ce {color:var(--action)}

/* Unified studio stage holding uncropped Mac Overview + anchored Android Home. */
.hero-stage {
  position:relative;
  isolation:isolate;
  display:block;
  padding:22px 24px 0;
  border:1px solid var(--line);
  border-radius:16px;
  background:color-mix(in srgb,var(--surface) 74%,var(--secondary));
  box-shadow:var(--surface-highlight),var(--shadow-soft);
  overflow:hidden;
  transform-style:preserve-3d;
  will-change:transform;
}
.hero-stage .desktop-capture {
  position:relative;
  width:85%;
  aspect-ratio:1252 / 696;
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:var(--surface);
  box-shadow:0 14px 36px -10px #00000024;
  overflow:hidden;
  transform:translate3d(var(--tx,0px),var(--ty,0px),0);
  transition:transform 280ms var(--ease-out),border-color 280ms var(--ease-out),box-shadow 280ms var(--ease-out);
}
.hero-stage .desktop-capture img {
  width:100%;
  max-width:100%;
  height:auto;
  transform:none;
}
.hero-stage .phone-capture {
  position:absolute;
  right:24px;
  bottom:0;
  width:clamp(158px,21.5%,212px);
  max-width:none;
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:22px 22px 0 0;
  box-shadow:-10px 0 32px -8px #00000038;
  overflow:hidden;
  container-type:inline-size;
  transform:translate3d(calc(var(--tx,0px) * -1.4),calc(var(--ty,0px) * -1.4),0);
  transition:transform 280ms var(--ease-out),border-color 280ms var(--ease-out),box-shadow 280ms var(--ease-out);
}
.hero-stage [data-handoff-active="true"] {
  border-color:color-mix(in srgb,var(--action) 55%,var(--line));
}
.hero-copy>.platform-label {animation:hero-enter 480ms var(--ease-out) both}
.hero-copy>h1 {animation:hero-enter 500ms 55ms var(--ease-out) both}
.hero-copy>.hero-description {animation:hero-enter 500ms 110ms var(--ease-out) both}
.hero-copy>.hero-actions {animation:hero-enter 500ms 165ms var(--ease-out) both}
.hero-copy>.hero-note {animation:hero-enter 500ms 220ms var(--ease-out) both}
.hero-product.has-continuity {transform:none}
.has-continuity .hero-stage {animation:continuity-settle 560ms 180ms var(--ease-out) both}
.continuity-console {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 14px;
  margin-top:18px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  box-shadow:var(--surface-highlight);
  animation:continuity-settle 560ms 240ms var(--ease-out) both;
}
.continuity-bar-head {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.continuity-title {font-size:12px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.continuity-endpoints {display:flex;align-items:center;justify-content:center;gap:6px}
.continuity-endpoint {display:inline-flex;align-items:center;gap:5px;padding:4px 6px;border-radius:5px;font-size:12px;font-weight:550;transition:background-color .2s,color .2s}
.continuity-endpoint[data-arrival="true"] {background:var(--selection);color:var(--action)}
.continuity-endpoint .site-icon {width:15px;height:15px}
.continuity-reverse {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--secondary);
  color:var(--action);
}
.continuity-reverse .site-icon {width:15px;height:15px;transition:transform .25s ease}
.continuity-reverse:is(:hover,:focus-visible) .site-icon {transform:rotate(180deg)}
.continuity-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.continuity-action {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:44px;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--page);
  color:var(--ink);
  text-align:left;
  transition:background .18s,border-color .18s,transform .18s;
}
.continuity-action>span:nth-child(2) {display:flex;align-items:baseline;gap:6px;min-width:0}
.continuity-action strong {font-size:12px;line-height:1.3;font-weight:600;white-space:nowrap}
.continuity-action small {font-size:11px;line-height:1.3;color:var(--muted);white-space:nowrap}
.continuity-action-icon {display:grid;place-items:center;flex:none;color:var(--action)}
.continuity-action-icon .site-icon {width:16px;height:16px}
.continuity-action .continuity-action-arrow {width:14px;height:14px;color:var(--muted);transition:transform .18s}
.continuity-action:is(:hover,:focus-visible) {border-color:var(--action);background:var(--selection);transform:translateY(-1px)}
.continuity-action:is(:hover,:focus-visible) .continuity-action-arrow {transform:translate(2px,-2px);color:var(--action)}
.continuity-action[aria-disabled="true"],.continuity-reverse[aria-disabled="true"] {cursor:wait;opacity:.6;transform:none}
.continuity-bar-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:4px 16px;
  flex-basis:100%;
  padding-top:8px;
  border-top:1px solid var(--line);
}
.continuity-feedback {min-height:18px;font-size:12px;line-height:1.4;color:var(--muted)}
.continuity-disclosure {font-size:11px;line-height:1.4;color:var(--muted)}
.hero-product .product-caption {margin:14px 0 0;max-width:none;text-align:center;font-size:11px}
.handoff-panel {
  position:absolute;
  z-index:2;
  padding:14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  box-shadow:0 10px 24px #00000016;
  pointer-events:none;
}
.handoff-panel-mac {left:5%;bottom:26px;width:58%;max-width:320px}
.handoff-panel-android {inset:auto 8% 12%;padding:10px;border-radius:8px;font-size:clamp(11px,3.8cqw,14px)}
.handoff-panel-top {display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}
.handoff-panel-top .site-icon {width:14px;height:14px;color:var(--action)}
.handoff-panel>strong {display:block;margin-top:8px;font-size:14px;line-height:1.4;letter-spacing:-.01em}
.handoff-panel-android>strong {font-size:inherit}
.handoff-panel-android .handoff-panel-top {font-size:clamp(10px,3.3cqw,12px)}
.handoff-check {margin-left:auto;opacity:0}
.handoff-detail {display:block;margin-top:5px;font-size:11px;line-height:1.5;color:var(--muted)}
.handoff-panel-android .handoff-detail {font-size:clamp(10px,3.2cqw,12px)}
.handoff-progress {height:3px;margin-top:12px;overflow:hidden;border-radius:4px;background:var(--line)}
.handoff-progress>span {display:block;height:100%;background:var(--action);transform:scaleX(0);transform-origin:left}
[data-handoff-phase="sending"] .handoff-progress>span {animation:continuity-progress 1.6s ease both}
[data-handoff-phase="received"] .handoff-progress>span {transform:scaleX(1)}
[data-handoff-phase="received"] .handoff-check {opacity:1}
[data-handoff-phase="received"] .handoff-panel[data-arrival="true"] {border-color:var(--action);animation:continuity-arrive .4s ease both}
.continuity-wire {position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none}
.continuity-wire path {fill:none;stroke:var(--action);stroke-width:1.5;stroke-dasharray:4 7;opacity:.55}
.handoff-flight {
  position:absolute;
  left:0;
  top:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  max-width:160px;
  min-height:42px;
  padding:10px 14px;
  border:1px solid var(--action);
  border-radius:9px;
  background:var(--surface);
  box-shadow:0 12px 20px #00000018;
  font-size:12px;
  font-weight:550;
  white-space:nowrap;
  pointer-events:none;
}
.handoff-flight .site-icon {color:var(--action);width:18px;height:18px}

/* Feature catalogue followed by left label-list + spacious Feature Spotlight. */
.feature-spotlight {
  display:grid;
  grid-template-columns:196px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.spotlight-tabs {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  box-shadow:var(--surface-highlight);
}
.spotlight-tab {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-height:40px;
  padding:8px 12px;
  border:0;
  border-left:2px solid transparent;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font-size:13px;
  font-weight:500;
  text-align:left;
  transition:background-color 180ms var(--ease-out),border-color 180ms var(--ease-out),color 180ms var(--ease-out);
}
.spotlight-tab .site-icon {width:16px;height:16px;margin:0;color:var(--muted);transition:color 180ms var(--ease-out)}
.spotlight-tab:hover {background:var(--secondary);color:var(--ink)}
.spotlight-tab[aria-selected="true"] {
  background:var(--selection);
  border-left-color:var(--action);
  color:var(--ink);
  font-weight:550;
}
.spotlight-tab[aria-selected="true"] .site-icon {color:var(--action)}

.capability-examples .spotlight-panel {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:16px;
  min-width:0;
  min-height:0;
  padding:20px;
  overflow:hidden;
  background:var(--surface);
  border-color:var(--line);
  box-shadow:var(--surface-highlight),var(--shadow-soft);
  transition:border-color 200ms var(--ease-out),background-color 200ms var(--ease-out);
}
.capability-examples .spotlight-panel[hidden] {display:none!important}
.capability-examples .spotlight-panel.is-switching {animation:spotlight-in 260ms var(--ease-out) both}
.capability-examples .capability-card:focus-within {border-color:var(--action)}

.spotlight-stage {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-width:0;
  min-height:290px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:color-mix(in srgb,var(--secondary) 75%,var(--surface));
  overflow:hidden;
}
.spotlight-stage-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px 14px;
  width:min(100%,540px);
  margin-inline:auto;
  min-height:38px;
}
.spotlight-action {
  min-height:38px;
  padding:6px 14px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface);
  color:var(--ink);
  font-size:12px;
  font-weight:550;
  transition:background-color 180ms var(--ease-out),border-color 180ms var(--ease-out),transform 160ms var(--ease-out);
}
.spotlight-action:hover,.spotlight-action:focus-visible {border-color:var(--action);background:var(--selection)}
.spotlight-action.subtle {color:var(--muted)}
.spotlight-status {font-size:11px;color:var(--muted);min-width:0}

.spotlight-copy {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  width:100%;
  min-width:0;
  padding-top:2px;
}
.spotlight-copy-text {min-width:0;flex:1}
.spotlight-copy h3 {font-size:17px;line-height:1.3}
.spotlight-copy-text>p {margin:4px 0 0;max-width:62ch;font-size:13px;line-height:1.55;color:var(--muted)}
.spotlight-copy .capability-card-link {display:inline-flex;align-self:center;flex:none}
.spotlight-copy .preview-guide-label {display:inline-flex;align-items:center;margin-top:0;min-height:40px;padding:0;color:var(--action);font-size:13px;font-weight:550;white-space:nowrap}

/* Rich native-grade UI scenes inside spotlight-stage */
.scene-window {
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
  width:min(100%,540px);
  margin-inline:auto;
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  box-shadow:0 8px 20px -10px #00000018;
  overflow:hidden;
}
.scene-topbar {display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;min-width:0;padding-bottom:10px;border-bottom:1px solid var(--line);font-size:12px}
.scene-topbar strong {font-weight:600;color:var(--ink)}
.scene-dots {display:inline-flex;gap:5px}
.scene-dots i {width:8px;height:8px;border-radius:50%;background:var(--line)}
.scene-dots i:first-child {background:#E77B73}
.scene-dots i:nth-child(2) {background:#E7BD63}
.scene-dots i:nth-child(3) {background:#78B56A}
.scene-pill {margin-left:auto;padding:2px 8px;border:1px solid var(--line);border-radius:999px;background:var(--secondary);font-size:11px;color:var(--muted);white-space:nowrap}

.scene-input-body {display:grid;gap:12px;margin-block:auto;min-width:0}
.scene-keycaps {display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--muted)}
.scene-keycaps kbd {display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;background:var(--page);color:var(--ink);font:inherit;font-size:12px;font-weight:600;transition:transform 160ms var(--ease-out),border-color 160ms var(--ease-out)}
.scene-keycaps span {margin-left:4px}
[data-moment="input"][data-typing="true"] .scene-keycaps kbd {transform:translateY(1px);border-color:var(--action);color:var(--action)}
.scene-phone-composer {padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--page);min-width:0}
.scene-composer-label {display:block;font-size:11px;color:var(--muted);margin-bottom:6px}
.scene-composer-box {min-height:42px;font-size:13px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}

.scene-audio-route {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-top:4px;min-width:0}
.scene-audio-node {display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--page);min-width:0}
.scene-audio-node>div {min-width:0}
.scene-audio-node .site-icon {width:18px;height:18px;color:var(--action)}
.scene-audio-node strong {display:block;font-size:12px;font-weight:600}
.scene-audio-node span {display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-audio-arrow {font-size:16px;font-weight:600;color:var(--action);transition:transform 220ms var(--ease-out)}
.scene-audio-arrow[data-dir="reverse"] {transform:rotate(180deg)}
.scene-audio-bars {display:flex;align-items:flex-end;justify-content:center;gap:6px;height:36px;margin-top:auto;padding-top:6px}
.scene-audio-bars span {width:5px;border-radius:3px;background:color-mix(in srgb,var(--action) 65%,var(--line));transition:height 260ms var(--ease-out)}
.scene-audio-bars span:nth-child(1) {height:14px}
.scene-audio-bars span:nth-child(2) {height:24px}
.scene-audio-bars span:nth-child(3) {height:18px}
.scene-audio-bars span:nth-child(4) {height:32px}
.scene-audio-bars span:nth-child(5) {height:22px}
.scene-audio-bars span:nth-child(6) {height:28px}
.scene-audio-bars span:nth-child(7) {height:16px}
.scene-audio-bars span:nth-child(8) {height:12px}

.scene-deck-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.scene-deck-stats>div {padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--page);min-width:0}
.scene-deck-stats span {display:block;font-size:11px;color:var(--muted)}
.scene-deck-stats strong {display:block;margin-top:2px;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.scene-deck-apps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;min-width:0}
.scene-deck-app {min-height:42px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--page);color:var(--ink);font-size:12px;font-weight:550;transition:border-color 180ms var(--ease-out),background-color 180ms var(--ease-out),transform 160ms var(--ease-out)}
.scene-deck-app:hover,.scene-deck-app:focus-visible,.scene-deck-app[data-launched="true"] {border-color:var(--action);background:var(--selection);color:var(--action)}

.scene-sms-thread {display:flex;flex-direction:column;gap:8px;margin-block:auto;min-width:0}
.scene-sms-thread .example-message:not(.reply) {background:var(--secondary);border:1px solid var(--line)}
.scene-alert-stack {display:grid;gap:10px;margin-block:auto;min-width:0}
.scene-alert-stack .example-share {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:0;padding:10px 12px;background:var(--page);border-style:solid;min-width:0}
.scene-call-actions {display:flex;gap:6px;flex:none}
.scene-call-btn {min-height:32px;padding:4px 10px;border:1px solid var(--action);border-radius:6px;background:var(--action);color:var(--on-action);font-size:11px;font-weight:600}
.scene-call-btn.subtle {border-color:var(--line);background:var(--surface);color:var(--ink)}

.example-message {transition:transform .3s ease}
.example-message.reply {position:relative;margin-top:0}
.example-sent {display:block;position:static;margin-top:3px;opacity:.75;font-size:11px;line-height:1.3;color:var(--muted);transition:opacity .2s}
.capability-examples .edge-placement-example {flex:1;min-height:176px;margin-bottom:0;padding:10px 0}
.capability-examples .edge-placement-screen {width:min(100%,540px);height:152px;background:var(--surface);color:var(--line)}
.capability-examples .edge-placement-file,.capability-examples .edge-placement-marker,.capability-examples .edge-placement-screen::after {animation:none}
.capability-examples .edge-placement-file {left:18%;transform:none;opacity:1}
.capability-examples .edge-placement-file>span,.capability-examples .edge-placement-copy>span {color:var(--muted);opacity:1;font-size:11px}
.capability-examples .edge-placement-file>.site-icon {color:var(--action)}
.capability-examples .edge-placement-marker {background:var(--action)}
.capability-examples .edge-placement-screen::after {color:var(--ink)}
[data-moment="files"][data-preview-phase="playing"] .edge-placement-file {animation:edge-drop-file 3.5s ease-in-out both}
[data-moment="files"][data-preview-phase="playing"] .edge-placement-marker {animation:edge-drop-shelf 3.5s ease-in-out both}
[data-moment="files"][data-preview-phase="playing"] .edge-placement-screen::after {animation:edge-drop-done 3.5s ease-in-out both}
[data-moment="files"][data-preview-phase="complete"] .edge-placement-file {opacity:0}
[data-moment="files"][data-preview-phase="complete"] .edge-placement-screen::after {content:"Sample complete";opacity:1}
.preview-play {position:static;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:96px;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--action);font-size:12px;font-weight:550;cursor:pointer}
.preview-play .site-icon {width:14px;height:14px}
.preview-play:hover,.preview-play:focus-visible {border-color:var(--action);background:var(--selection)}
.preview-play[aria-disabled="true"] {color:var(--muted);cursor:wait}
.capability-examples .capability-card .preview-status {font-size:11px;color:var(--muted)}

[data-handoff-phase="sending"] .continuity-wire path {animation:wire-flow 900ms linear infinite}
@media(hover:hover) and (pointer:fine) {
  .capability-examples .spotlight-panel:hover {border-color:color-mix(in srgb,var(--action) 55%,var(--line))}
  [data-moment="files"]:not([data-preview-ready]):hover .edge-placement-file {animation:edge-drop-file 3.5s ease-in-out both}
  [data-moment="files"]:not([data-preview-ready]):hover .edge-placement-marker {animation:edge-drop-shelf 3.5s ease-in-out both}
  [data-moment="files"]:not([data-preview-ready]):hover .edge-placement-screen::after {animation:edge-drop-done 3.5s ease-in-out both}
}

.feature-directory {margin:0;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.feature-directory-heading {display:flex;align-items:center;gap:20px;margin:0;padding:22px 24px;list-style:none;cursor:pointer;font-size:18px;font-weight:550;letter-spacing:-.02em}
.feature-directory-heading::-webkit-details-marker {display:none}
.feature-directory-summary-start {display:flex;flex-direction:column;gap:5px;min-width:0}
.feature-directory-hint {font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0;color:var(--muted)}
.feature-directory-hint .when-expanded,.feature-directory[open] .when-collapsed {display:none}
.feature-directory[open] .when-expanded {display:inline}
.feature-directory-summary-end {display:flex;align-items:center;flex:none;gap:16px;margin-left:auto;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);white-space:nowrap}
.feature-directory-summary-end .site-icon {transition:transform .25s}
.feature-directory[open] .feature-directory-summary-end .site-icon {transform:rotate(180deg)}
.feature-directory-content {padding:0 24px 24px}
.feature-search {max-width:540px;margin:0 0 28px}
.feature-search>label {display:block;margin-bottom:10px;color:var(--muted);font-size:12px}
.feature-search-field {display:flex;align-items:center;gap:10px;min-height:48px;padding-left:14px;border:1px solid var(--line);border-radius:8px;background:var(--page)}
.feature-search-field:focus-within {border-color:var(--action);outline:2px solid var(--selection)}
.feature-search-field>.site-icon {width:17px;height:17px;color:var(--muted)}
.feature-search-field input {width:100%;min-width:0;flex:1;padding:12px 6px 12px 0;border:0;outline:none;background:transparent;color:var(--ink);font-size:14px}
.feature-search-field input::placeholder {color:var(--muted);opacity:1}
.feature-search-field input::-webkit-search-cancel-button {display:none}
.feature-search-field .icon-button {flex:none;width:44px}
.feature-search-meta {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.feature-search-count {font-size:12px;color:var(--muted)}
.feature-usecase-all {
  min-height:32px;
  padding:4px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--page);
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  transition:border-color 180ms var(--ease-out),color 180ms var(--ease-out),background-color 180ms var(--ease-out);
}
.feature-usecase-all:hover,.feature-usecase-all[aria-pressed="true"] {border-color:var(--action);background:var(--selection);color:var(--ink)}
.feature-usecase {grid-column:1 / -1;margin-top:4px}
.feature-usecase summary {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:2px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--page);
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  list-style:none;
  cursor:pointer;
  transition:border-color 180ms var(--ease-out),color 180ms var(--ease-out),background-color 180ms var(--ease-out);
}
.feature-usecase summary::-webkit-details-marker {display:none}
.feature-usecase summary::after {content:"+";font-size:13px;line-height:1;transition:transform 180ms var(--ease-out)}
.feature-usecase[open] summary {border-color:var(--action);background:var(--selection);color:var(--action)}
.feature-usecase[open] summary::after {transform:rotate(45deg)}
.feature-usecase p {
  margin-top:8px;
  padding:10px 12px;
  border-left:2px solid var(--action);
  border-radius:0 6px 6px 0;
  background:var(--page);
  font-size:12px;
  line-height:1.55;
  color:var(--ink);
}
.feature-empty {padding:20px 0;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.feature-empty button {min-height:44px;margin-left:8px;padding:6px 0;border:0;background:none;color:var(--action);text-decoration:underline;text-underline-offset:4px;font-size:14px}
.feature-directory-main {border-radius:4px;transition:transform .18s}
.feature-directory-main:is(:hover,:focus-visible) {transform:translateX(3px)}

.reveal-ready {opacity:0;transform:translateY(12px);transition:opacity 520ms var(--ease-out),transform 520ms var(--ease-out)}
.reveal-ready.is-visible,.reveal-ready:focus-within {opacity:1;transform:none}
@keyframes hero-enter {from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes spotlight-in {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes wire-flow {from{stroke-dashoffset:22}to{stroke-dashoffset:0}}
@keyframes continuity-settle {from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes continuity-arrive {from{transform:translateY(5px)}to{transform:none}}
@keyframes continuity-progress {from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Lightweight pointer spotlight & cursor halo (fine pointers only) */
@media(hover:hover) and (pointer:fine) {
  .capability-card,.download-section,.support-row,.continuity-console,.feature-directory {
    position:relative;
  }
  .capability-card::before,.download-section::before,.support-row::before,.continuity-console::before,.feature-directory::before {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    opacity:0;
    background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),color-mix(in srgb,var(--action) 9%,transparent),transparent 70%);
    transition:opacity 240ms var(--ease-out);
  }
  .capability-card:hover::before,.download-section:hover::before,.support-row:hover::before,.continuity-console:hover::before,.feature-directory:hover::before {
    opacity:1;
  }
  .cursor-halo {
    position:fixed;
    left:0;
    top:0;
    z-index:9999;
    width:20px;
    height:20px;
    margin:-10px 0 0 -10px;
    border:1.5px solid color-mix(in srgb,var(--action) 65%,transparent);
    border-radius:50%;
    pointer-events:none;
    opacity:0;
    will-change:transform,opacity;
    transition:opacity 220ms var(--ease-out),background-color 180ms var(--ease-out),border-color 180ms var(--ease-out);
  }
  .cursor-halo::after {
    content:"";
    position:absolute;
    inset:50% auto auto 50%;
    width:4px;
    height:4px;
    margin:-2px 0 0 -2px;
    border-radius:50%;
    background:var(--action);
    transition:opacity 180ms var(--ease-out);
  }
  .cursor-halo[data-visible="true"] {opacity:1}
  .cursor-halo[data-hover="true"] {opacity:0}
}

@media(max-width:1000px) {
  .continuity-actions {margin-left:0}
  .continuity-action-arrow {display:none}
}
@media(max-width:1100px) {
  .capability-examples {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px) {
  .main-nav {display:none}
  .mobile-nav {display:block}
  .hero {padding-block:32px;gap:24px}
  .hero-product.has-continuity {display:flex;flex-direction:column;gap:12px;width:100%;padding:0;margin-inline:auto}
  .hero-stage {order:1;width:100%}
  .hero-product .product-caption {order:2;margin:0}
  .continuity-console {order:0;margin:0;padding:12px}
  .continuity-actions {width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .continuity-action {justify-content:center}
  .feature-spotlight {grid-template-columns:minmax(0,1fr);gap:12px}
  .spotlight-tabs {
    flex-direction:row;
    overflow-x:auto;
    padding:4px;
    scrollbar-width:none;
  }
  .spotlight-tabs::-webkit-scrollbar {display:none}
  .spotlight-tab {
    width:auto;
    flex:none;
    white-space:nowrap;
    border-left:0;
    border-bottom:2px solid transparent;
  }
  .spotlight-tab[aria-selected="true"] {
    border-left-color:transparent;
    border-bottom-color:var(--action);
  }
  .spotlight-stage {min-height:240px}
}
@media(max-width:640px) {
  .spotlight-copy {flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:760px) {
  .hero h1 {font-size:clamp(34px,6vw,44px)}
}
@media(max-width:600px) {
  .hero {padding-block:24px;gap:18px}
  .hero h1 {font-size:clamp(32px,8.4vw,40px);line-height:1.08}
  .hero-description {margin-top:14px;font-size:14px;line-height:1.6}
  .hero-actions {margin-top:18px;gap:10px}
  .hero-note {margin-top:12px}
  .hero-stage {display:block;height:clamp(230px,64vw,270px);padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .hero-stage .desktop-capture {display:none}
  .hero-stage .phone-capture {position:relative;right:auto;bottom:auto;width:100%;max-width:380px;height:100%;margin-inline:auto;border-radius:18px 18px 0 0;box-shadow:var(--shadow-soft)}
  .continuity-console {gap:8px}
  .continuity-bar-head {width:100%;justify-content:space-between}
  .continuity-endpoint {gap:4px;padding:3px 2px;font-size:11px}
  .continuity-endpoint .site-icon {width:13px;height:13px}
  .continuity-actions {grid-template-columns:1fr;gap:6px}
  .continuity-action {justify-content:flex-start;min-height:44px;padding:8px 10px}
  .continuity-action>span:nth-child(2) {flex:1;justify-content:space-between;flex-wrap:wrap;gap:2px 8px}
  .continuity-action small {margin:0}
  .continuity-action-arrow {display:none}
  .handoff-panel-android {bottom:12px;padding:12px}
  .capability-examples .spotlight-panel {padding:16px;gap:16px}
  .spotlight-stage {padding:14px;min-height:190px}
  .spotlight-tabs {gap:6px}
  .spotlight-tab {padding:7px 12px;font-size:12px}
  .scene-audio-route {grid-template-columns:1fr;gap:6px}
  .scene-audio-arrow {justify-self:center;transform:rotate(90deg)}
  .scene-audio-arrow[data-dir="reverse"] {transform:rotate(270deg)}
  .scene-deck-stats,.scene-deck-apps {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .preview-play {position:static}
  .feature-directory-heading {padding:20px;font-size:17px;gap:12px}
  .feature-directory-content {padding:0 20px 20px}
  .feature-directory-summary-end {gap:8px}
  .feature-search-field input {font-size:16px}
  .feature-directory-list li {grid-template-columns:minmax(0,1fr) 44px;gap:8px}
  .feature-directory-guide {align-self:start;min-width:44px;min-height:44px;justify-content:center}
}
@media(max-width:360px) {
  .continuity-action {gap:8px}
  .continuity-action strong {font-size:12px}
  .feature-directory-heading {font-size:16px}
  .feature-directory-summary-end {font-size:11px}
  .example-browser>span {display:none}
}
@media(pointer:coarse) {
  .continuity-reverse {width:44px;height:44px}
  .hero-handoff-link {min-height:44px}
}
@media(prefers-reduced-motion:reduce) {
  .reveal-ready {opacity:1;transform:none;transition:none}
  .hero-copy>*,.has-continuity .hero-stage,.continuity-console,.capability-examples .spotlight-panel.is-switching {animation:none}
  .cursor-halo,.capability-card::before,.download-section::before,.support-row::before,.continuity-console::before,.feature-directory::before {display:none}
  .continuity-action:is(:hover,:focus-visible),.capability-card:is(:hover,:focus-visible),.reveal-ready.capability-card.is-visible:is(:hover,:focus-visible) {transform:none}
  .handoff-progress>span {transform:scaleX(1)}
  [data-handoff-phase="sending"] .continuity-wire path {animation:none}
  .capability-examples .capability-card .edge-placement-file,.capability-examples .capability-card .edge-placement-marker,.capability-examples .capability-card .edge-placement-screen::after {animation:none}
  .example-message,.example-sent,.example-browser,.example-share,.spotlight-tab,.scene-keycaps kbd,.scene-audio-arrow,.scene-audio-bars span {transition:none;transform:none}
  .faq-list details::details-content,.guide-list details::details-content {transition:none}
}
