/* ==========================================================================
   MedDex /go — link hub
   ==========================================================================
   White, quiet and compact: the production Sphere is the only luminous
   object, the destinations are one grouped list, and the Apple preview is a
   spatial composition (real iPad Atlas screen, real iPhone home, real Watch
   app, and a real MedDex Atlas heart in space) instead of another card.
   Tokens follow meddex-experience.css (--mdx-ink, --mdx-blue, --mdx-violet,
   --mdx-gold, --mdx-ease); this page does not load the app shell.
   ========================================================================== */

:root {
  color-scheme: light;
  --go-bg: #ffffff;
  --go-ink: #0b1220;
  --go-ink-2: #3b4659;
  --go-muted: #697386;
  --go-faint: #9aa3b3;
  --go-hair: rgba(15, 23, 42, 0.08);
  --go-hair-2: rgba(15, 23, 42, 0.13);
  --go-fill: #f5f6f8;
  --go-blue: #1769ff;
  --go-violet: #6d5ce7;
  --go-violet-ink: #4f40c9;
  --go-gold-ink: #8a6a1c;
  --go-green: #0b7f58;
  --go-dot: #12b886;
  --go-red: #c53030;
  --go-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --go-ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --go-spring: cubic-bezier(0.34, 1.32, 0.44, 1);
  --go-gutter: max(18px, env(safe-area-inset-left), env(safe-area-inset-right));
  --orb: clamp(92px, 13svh, 116px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--go-bg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.go-locked, html.go-locked body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--go-bg);
  color: var(--go-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }

.go-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.go-visually-hidden,
.go-step-legend {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--go-blue); outline-offset: 3px; border-radius: 6px; }

/* ---- page ---------------------------------------------------------------- */

.go {
  width: min(420px, 100% - 2 * var(--go-gutter));
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 34px) 0 calc(env(safe-area-inset-bottom) + 24px);
}

/* ---- hero: the Sphere and the name, nothing else ------------------------- */

.go-hero { text-align: center; }

.go-orb {
  position: relative;
  width: var(--orb);
  height: var(--orb);
  margin: 0 auto;
  animation: go-hover 7s ease-in-out infinite;
}
/* A contact shadow, not a glow: the Sphere is a lit object above the page. */
.go-orb-floor {
  position: absolute;
  left: 50%; bottom: -7%;
  width: 50%; height: 9%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 44, 150, 0.18), rgba(58, 44, 150, 0));
  filter: blur(2px);
  animation: go-hover-floor 7s ease-in-out infinite;
}
.go-orb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s var(--go-ease);
  user-select: none;
  -webkit-user-drag: none;
}
.go-orb-live { position: absolute; inset: 0; --mdxs-h: var(--orb); opacity: 0; transition: opacity 0.8s var(--go-ease); }
.go-orb.is-live .go-orb-live { opacity: 1; }
.go-orb.is-live .go-orb-poster { opacity: 0; }
@keyframes go-hover { 50% { translate: 0 -3px; } }
@keyframes go-hover-floor { 50% { scale: 0.9; opacity: 0.75; } }

/* The production Sphere, restyled only where this page differs from Home. */
.go-orb .mdxs { touch-action: pan-y; }
.go-orb .mdxs-core { touch-action: pan-y; }
.go-orb .mdxs-caption,
.go-orb .mdxs-think,
.go-orb .mdxs-hint,
.go-orb .mdxs-drop,
.go-orb .mdxs-actions,
.go-orb .mdxs-live { display: none !important; }
.go-orb .mdxs-stage::after { display: none; }

.go-word { margin: 16px 0 0; font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.go-tag { margin: 7px 0 0; font-size: 14px; font-weight: 500; color: var(--go-muted); }

/* ---- Student Ambassador: an invitation, not an advert -------------------- */

.go-amb { margin-top: 46px; text-align: center; }
.go-eyebrow { margin: 0; font-size: 11px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--go-gold-ink); }
.go-amb-title { margin: 10px auto 0; max-width: 13.5em; font-size: 24px; line-height: 1.18; font-weight: 650; letter-spacing: -0.028em; text-wrap: balance; }

.go-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 320px);
  min-height: 50px;
  margin-top: 22px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--go-ink);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(11, 18, 32, 0.1), 0 8px 20px rgba(11, 18, 32, 0.12);
  transition: scale 0.35s var(--go-spring), box-shadow 0.3s ease, translate 0.3s var(--go-ease);
}
.go-cta svg { width: 17px; height: 17px; transition: translate 0.3s var(--go-ease); }
.go-cta:active { scale: 0.975; }

.go-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--go-muted); }
.go-open { display: inline-flex; align-items: center; gap: 6px; }
.go-sep { color: var(--go-faint); }
.go-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--go-dot); box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.14); }
.go-more {
  margin-top: 4px;
  padding: 6px 4px;
  border: 0;
  background: none;
  font-size: inherit;
  font-weight: 600;
  color: var(--go-ink-2);
  text-decoration: underline;
  text-decoration-color: var(--go-hair-2);
  text-underline-offset: 3px;
  cursor: pointer;
}
.go-more-panel { margin: 16px auto 0; max-width: 330px; text-align: left; animation: go-reveal 0.4s var(--go-ease); }
.go-benefits { list-style: none; margin: 0; display: grid; gap: 9px; padding: 0; }
.go-benefits li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--go-ink-2); }
.go-benefits svg { width: 17px; height: 17px; color: var(--go-violet); }
.go-more-note { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: var(--go-muted); }
@keyframes go-reveal { from { opacity: 0; translate: 0 -4px; } }

/* ---- destinations: three quiet rows -------------------------------------- */

.go-links { margin-top: 42px; border-top: 1px solid var(--go-hair); }
.go-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 4px;
  border-bottom: 1px solid var(--go-hair);
  color: var(--go-ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.go-row:active { background: var(--go-fill); }
.go-row-icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--go-ink-2); }
.go-row-icon svg { width: 21px; height: 21px; }
.go-row-icon--sphere img { width: 22px; height: 22px; }
.go-row-title { font-size: 15px; font-weight: 590; letter-spacing: -0.01em; }
.go-row-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--go-muted); white-space: nowrap; }
.go-row-meta--live { color: var(--go-green); }
.go-row-meta--live .go-dot { box-shadow: none; }
.go-row-go { width: 12px; height: 12px; color: var(--go-faint); transition: translate 0.3s var(--go-ease); }

/* ---- Apple ecosystem + Spatial Atlas ------------------------------------- */

@property --hs { syntax: "<number>"; inherits: true; initial-value: 1; }

.go-spatial { margin-top: 46px; outline: none; }
.go-scene {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 100 / 72;
  --px: 0;
  --py: 0;
  --ease-move: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-lift: cubic-bezier(0.16, 0.84, 0.24, 1);
}
.go-scene.is-instant .go-pose,
.go-scene.is-instant .go-anchor,
.go-scene.is-instant .go-leader,
.go-scene.is-instant .go-screen-dim { transition: none !important; }

/* Each depth has its own layer, so pointer/scroll parallax (on the layer)
   and the scene's poses (on the object) never fight over one transform. */
.go-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  translate: calc(var(--px) * var(--d, 0) * 1cqw) calc(var(--py) * var(--d, 0) * 0.7cqw);
}

/* Every posed object eases between states; a state only changes translate,
   scale, opacity and its 3D tilt. --t/--delay let a state choreograph. */
.go-pose {
  transition:
    translate var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    scale var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    transform var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    opacity var(--to, 0.6s) ease var(--delay, 0s);
}

.go-dev { position: absolute; margin: 0; }
.go-screen { position: relative; display: block; overflow: hidden; background: #000; }
.go-screen img { display: block; width: 100%; height: auto; }

.go-ipad {
  left: 2cqw; top: 30cqw;
  width: 50cqw;
  padding: 1.4cqw;
  border-radius: 3.8cqw;
  background: #1c1e23;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 3cqw 6cqw rgba(15, 23, 42, 0.15), 0 0.5cqw 1cqw rgba(15, 23, 42, 0.1);
  transform: perspective(110cqw) rotateY(16deg) rotateX(6deg) rotateZ(-2deg);
}
.go-ipad .go-screen { border-radius: 2.5cqw; }
/* Where the heart has left the display, the Atlas viewport darkens. */
.go-screen-dim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 24% 34% at 48% 56%, rgba(6, 10, 18, 0.72), rgba(6, 10, 18, 0) 72%);
  opacity: 0.7;
  transition: opacity 0.9s ease var(--dim-delay, 0s);
}

.go-iphone {
  left: 49cqw; top: 29cqw;
  width: 17cqw;
  padding: 0.8cqw;
  border-radius: 3.2cqw;
  background: #15171b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 3cqw 6cqw rgba(15, 23, 42, 0.17), 0 0.6cqw 1.2cqw rgba(15, 23, 42, 0.1);
  transform: perspective(110cqw) rotateY(-12deg) rotateZ(1deg);
}
.go-iphone .go-screen { border-radius: 2.5cqw; aspect-ratio: 9 / 19.5; background: #f6f6f8; }
.go-iphone .go-screen img { height: 100%; object-fit: cover; object-position: top; }
.go-island { position: absolute; left: 50%; top: 1.7cqw; width: 4.4cqw; height: 1.2cqw; translate: -50% 0; border-radius: 1cqw; background: #0b0c0e; z-index: 1; }

.go-watch {
  left: 67cqw; top: 47cqw;
  width: 10.5cqw;
  padding: 0.8cqw;
  border-radius: 3cqw;
  background: linear-gradient(150deg, #3a3d45, #16181d 55%, #2a2d34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 2.2cqw 3.6cqw rgba(15, 23, 42, 0.2);
  transform: perspective(110cqw) rotateY(-18deg) rotateZ(3deg);
}
.go-watch .go-screen { border-radius: 2.3cqw; }
.go-watch-alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.go-watch.is-alt .go-watch-alt { opacity: 1; }
.go-watch-crown { position: absolute; right: -0.55cqw; top: 27%; width: 0.8cqw; height: 2.6cqw; border-radius: 0.4cqw; background: #3d4048; }

/* visionOS windows: the real MedDex Spatial Intelligence view and the real
   Atlas information panel, as system glass windows with their window bar.
   Apple Vision Pro appears only through this experience: Apple publishes no
   Vision Pro product image for developers, and its marketing guidelines do
   not permit illustrations of Apple hardware. */
.go-vwin {
  position: absolute;
  margin: 0;
  padding: 0.8cqw;
  border-radius: 2.6cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 239, 244, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(15, 23, 42, 0.07), 0 3cqw 7cqw rgba(15, 23, 42, 0.17);
}
.go-vwin::after {
  content: "";
  position: absolute;
  left: 50%; top: calc(100% + 1.4cqw);
  width: 8cqw; height: 0.8cqw;
  translate: -50% 0;
  border-radius: 1cqw;
  background: rgba(15, 23, 42, 0.2);
}
.go-vwin-glass { display: block; overflow: hidden; border-radius: 1.9cqw; background: #0b1220; }
.go-vwin-glass img { display: block; width: 100%; height: auto; }
.go-vwin--main { left: 2cqw; top: 5cqw; width: 54cqw; transform: perspective(110cqw) rotateY(14deg) rotateX(0deg); }
.go-vwin--panel { left: 5cqw; top: 46cqw; width: 15cqw; transform: perspective(110cqw) rotateY(22deg) rotateX(0deg); }
.go-vwin--panel .go-vwin-glass { border-radius: 1.4cqw; }

.go-vsphere { position: absolute; margin: 0; left: 82cqw; top: 49cqw; width: 13cqw; }
.go-vsphere img { display: block; width: 100%; height: auto; animation: go-drift 7s ease-in-out infinite reverse; }
.go-vfloor {
  position: absolute;
  left: 46cqw; top: 60cqw;
  width: 28cqw; height: 4cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0));
}

/* The Atlas heart. Its scale is --hs so labels can counter-scale and keep a
   constant size while the anatomy grows into space. */
.go-heart {
  position: absolute;
  margin: 0;
  left: 18cqw; top: 1cqw;
  width: 19cqw;
  --hs: 1;
  scale: var(--hs);
  transform: perspective(110cqw) rotateY(0deg) rotateX(0deg);
  transition:
    translate var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    --hs var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    transform var(--t, 0.95s) var(--ease-move) var(--delay, 0s),
    opacity var(--to, 0.6s) ease var(--delay, 0s);
  z-index: 2;
}
.go-heart-body { position: relative; display: block; animation: go-drift 8s ease-in-out infinite; }
.go-heart img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2cqw 2.2cqw rgba(120, 30, 50, 0.18)); }
@keyframes go-drift { 50% { transform: translateY(-1cqw); } }

/* Labels: anchored on the Atlas part, a leader line that fades with depth,
   and the Atlas's own label style. Dots and labels counter-scale. */
.go-anchor { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; opacity: 0; transition: opacity 0.5s ease calc(var(--label-delay, 0s) + var(--i, 0) * 0.14s); }
.go-anchor::before {
  content: "";
  position: absolute;
  left: -0.7cqw; top: -0.7cqw;
  width: 1.4cqw; height: 1.4cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a99cff, var(--go-violet) 60%, #4b3cc4);
  box-shadow: 0 0 0 0.4cqw rgba(255, 255, 255, 0.95), 0 0.3cqw 0.8cqw rgba(15, 23, 42, 0.25);
  scale: calc(1 / var(--hs));
}
.go-leader {
  position: absolute;
  left: 0; top: -0.5px;
  width: var(--len);
  height: 1px;
  transform-origin: 0 50%;
  rotate: var(--angle);
  scale: 0 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.22));
  transition: scale 0.7s var(--ease-move) calc(var(--label-delay, 0s) + var(--i, 0) * 0.14s);
}
.go-tag-label {
  position: absolute;
  left: calc(cos(var(--angle)) * var(--len));
  top: calc(sin(var(--angle)) * var(--len));
  width: max-content;
  max-width: 19cqw;
  padding: 0.6cqw 1.5cqw;
  border-radius: 1.4cqw;
  font-size: clamp(8.5px, 2.3cqw, 11px);
  line-height: 1.25;
  font-weight: 560;
  color: #fff;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0.5cqw 1.4cqw rgba(15, 23, 42, 0.16);
  transform-origin: 0 50%;
  translate: 0 -50%;
  scale: calc(1 / var(--hs));
}
.go-anchor[data-side="left"] .go-tag-label { translate: -100% -50%; transform-origin: 100% 50%; max-width: 15cqw; text-align: right; }
.go-anchor[data-far] .go-tag-label { opacity: 0.82; }
.go-anchor[data-far] .go-leader { background: linear-gradient(90deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.12)); }
@container (max-width: 520px) { .go-anchor[data-optional] { display: none; } }

.go-scene:is([data-view="ecosystem"], [data-view="intro-labels"], [data-view="intro-window"], [data-view="intro-vision"], [data-view="vision"]) .go-anchor { opacity: 1; }
.go-scene:is([data-view="ecosystem"], [data-view="intro-labels"], [data-view="intro-window"], [data-view="intro-vision"], [data-view="vision"]) .go-leader { scale: 1 1; }

/* ---- state: ecosystem (resting composition) ------------------------------- */
.go-scene[data-view="ecosystem"] .go-iphone { --delay: 0.25s; }
.go-scene[data-view="ecosystem"] .go-watch { --delay: 0.4s; }
.go-scene[data-view="ecosystem"] .go-vwin--main { --delay: 0.3s; }
.go-scene[data-view="ecosystem"] .go-ipad { --delay: 0.1s; }
.go-vwin, .go-vsphere, .go-vfloor { opacity: 0; scale: 0.9; translate: 0 4cqw; }
/* In the lineup, Apple Vision Pro is the MedDex Spatial Intelligence window,
   small and to the right; it grows into the full spatial view when chosen. */
.go-vwin--main { opacity: 1; translate: 48cqw -10.2cqw; scale: 0.63; transform: perspective(110cqw) rotateY(-16deg) rotateX(4deg); }

/* ---- state: intro (scroll-triggered story) -------------------------------- */
/* 1. The Spatial Atlas on iPad, alone. */
.go-scene[data-view^="intro-"] .go-iphone { opacity: 0; translate: 8cqw 6cqw; scale: 0.9; }
.go-scene[data-view^="intro-"] .go-watch { opacity: 0; translate: 6cqw 8cqw; scale: 0.8; }
.go-scene:is([data-view="intro-ipad"], [data-view="intro-emerge"], [data-view="intro-labels"]) .go-vwin--main { opacity: 0; scale: 0.5; }
.go-scene:is([data-view="intro-ipad"], [data-view="intro-emerge"], [data-view="intro-labels"], [data-view="intro-window"]) .go-ipad {
  translate: 18cqw -8cqw;
  scale: 1.25;
  transform: perspective(110cqw) rotateY(8deg) rotateX(4deg) rotateZ(0deg);
}
.go-scene[data-view="intro-ipad"] .go-screen-dim { opacity: 0; }
.go-scene[data-view="intro-ipad"] .go-heart {
  opacity: 0;
  translate: 16.3cqw 29.6cqw;
  --hs: 1.2;
  transform: perspective(110cqw) rotateY(8deg) rotateX(4deg);
}
/* 2. The heart leaves the display: forward, larger, turning as it rises. */
.go-scene:is([data-view="intro-emerge"], [data-view="intro-labels"], [data-view="intro-window"]) .go-heart {
  opacity: 1;
  translate: 12.5cqw 8cqw;
  --hs: 1.5;
  transform: perspective(110cqw) rotateY(-7deg) rotateX(-3deg);
}
.go-scene[data-view="intro-emerge"] .go-heart { --t: 1.8s; --to: 0.7s; transition-timing-function: var(--ease-lift); }
.go-scene:is([data-view="intro-emerge"], [data-view="intro-labels"], [data-view="intro-window"]) .go-screen-dim { opacity: 1; --dim-delay: 0.3s; }
/* 3. Labels (intro-labels): see the shared label rules above. */
/* 4. A visionOS window opens beside it; the iPad stays behind. */
.go-scene[data-view="intro-window"] .go-vwin--main { opacity: 1; --t: 1s; }
.go-scene[data-view="intro-window"] .go-ipad { opacity: 0.55; scale: 1.18; translate: 16cqw -4cqw; }

/* ---- state: vision (the climax, and the Vision Pro preview) --------------- */
/* The window comes forward and opens into the space; the 2D devices drop
   away, the Atlas panel and the Sphere join it, and the Atlas heart stands in
   the room in front of the real MedDex Spatial Intelligence view. */
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-ipad { opacity: 0; scale: 0.82; translate: 8cqw 10cqw; --to: 0.7s; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-iphone { opacity: 0; scale: 0.86; translate: 6cqw 10cqw; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-watch { opacity: 0; scale: 0.8; translate: 6cqw 10cqw; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-vwin--main { opacity: 1; scale: 1; translate: 0 0; transform: perspective(110cqw) rotateY(14deg) rotateX(0deg); --delay: 0.15s; --t: 1.3s; --to: 0.6s; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-vwin--panel { opacity: 1; scale: 1; translate: 0 0; --delay: 0.65s; --t: 1.2s; --to: 0.8s; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-vsphere { opacity: 1; scale: 1; translate: 0 0; --delay: 0.85s; --t: 1.2s; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-vfloor { opacity: 1; scale: 1; translate: 0 0; --delay: 0.6s; }
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) .go-heart {
  opacity: 1;
  translate: 32.5cqw 23.9cqw;
  --hs: 1.62;
  transform: perspective(110cqw) rotateY(-10deg) rotateX(3deg);
  --t: 1.4s;
  --delay: 0.2s;
}
.go-scene:is([data-view="intro-vision"], [data-view="vision"]) { --label-delay: 0.9s; }
.go-scene[data-view="vision"] .go-anchor[data-optional] { display: block; }
@container (max-width: 520px) { .go-scene[data-view="vision"] .go-anchor[data-optional] { display: none; } }

/* ---- device previews ------------------------------------------------------ */
.go-scene:is([data-view="iphone"], [data-view="ipad"], [data-view="watch"]) .go-heart { opacity: 0; --hs: 0.8; }
.go-scene:is([data-view="iphone"], [data-view="ipad"], [data-view="watch"]) .go-vwin--main { opacity: 0; scale: 0.5; }
.go-scene:is([data-view="iphone"], [data-view="watch"]) .go-ipad { opacity: 0; scale: 0.86; translate: -8cqw 6cqw; }
.go-scene:is([data-view="ipad"], [data-view="watch"]) .go-iphone { opacity: 0; scale: 0.86; translate: 6cqw 8cqw; }
.go-scene:is([data-view="iphone"], [data-view="ipad"]) .go-watch { opacity: 0; scale: 0.8; translate: 8cqw 6cqw; }

.go-scene[data-view="iphone"] .go-iphone { translate: -7.5cqw -10.5cqw; scale: 1.8; transform: perspective(110cqw) rotateY(-3deg) rotateZ(0deg); --delay: 0.08s; }
.go-scene[data-view="ipad"] .go-ipad { translate: 23cqw -13.6cqw; scale: 1.42; transform: perspective(110cqw) rotateY(3deg) rotateX(2deg) rotateZ(0deg); --delay: 0.08s; }
.go-scene[data-view="ipad"] .go-screen-dim { opacity: 0; }
.go-scene[data-view="watch"] .go-watch { translate: -22.25cqw -18.1cqw; scale: 2.5; transform: perspective(110cqw) rotateY(-4deg) rotateZ(0deg); --delay: 0.08s; }

.go-spatial-copy { margin-top: 8px; text-align: center; }
.go-spatial-title { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.go-spatial-sub { margin: 5px 0 0; min-height: 1.4em; font-size: 12.5px; color: var(--go-muted); }
#appleCaption { display: inline-block; transition: opacity 0.3s ease; }
#appleCaption.is-swapping { opacity: 0; }
.go-spark { color: var(--go-violet); }

.go-devices { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.go-chip {
  position: relative;
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--go-fill);
  font-size: 12.5px;
  font-weight: 560;
  color: var(--go-ink-2);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, scale 0.3s var(--go-spring);
}
.go-chip::after { content: ""; position: absolute; inset: -6px -2px; }
.go-chip:active { scale: 0.95; }
.go-chip[aria-pressed="true"] { background: var(--go-ink); color: #fff; }

/* ---- footer -------------------------------------------------------------- */

.go-foot { display: grid; justify-items: center; gap: 10px; margin-top: 30px; text-align: center; }
.go-social { display: flex; gap: 8px; }
.go-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--go-ink-2);
  background: var(--go-fill);
  transition: background-color 0.2s ease, scale 0.3s var(--go-spring);
}
.go-social a:active { scale: 0.92; }
.go-social svg { width: 19px; height: 19px; }
.go-legal { margin: 0; font-size: 11px; line-height: 1.7; color: var(--go-faint); }
.go-legal a { color: var(--go-muted); text-decoration: none; }
.go-legal .go-site { font-weight: 600; color: var(--go-ink-2); }

@media (hover: hover) and (pointer: fine) {
  .go-cta:hover { translate: 0 -1px; box-shadow: 0 1px 1px rgba(11, 18, 32, 0.1), 0 12px 26px rgba(11, 18, 32, 0.16); }
  .go-cta:hover svg { translate: 3px 0; }
  .go-row:hover { background: #fafafb; }
  .go-row:hover .go-row-go { translate: 2px 0; color: var(--go-ink-2); }
  .go-chip:hover:not([aria-pressed="true"]) { background: #eceef2; }
  .go-social a:hover { background: #eceef2; }
  .go-legal a:hover, .go-more:hover { color: var(--go-ink); }
}

/* ---- application sheet ----------------------------------------------------- */

.go-sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: min(100%, 560px);
  max-width: 100%;
  height: calc(100dvh - max(env(safe-area-inset-top), 12px) - 8px);
  max-height: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 24px 24px 0 0;
  color: var(--go-ink);
  background: #fff;
  box-shadow: 0 -1px 0 var(--go-hair), 0 -20px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  translate: 0 100%;
  transition: translate 0.5s var(--go-ease), opacity 0.4s ease;
}
.go-sheet.is-in { translate: 0 0; }
.go-sheet.is-dragging { transition: none; }
.go-sheet::backdrop { background: rgba(15, 23, 42, 0.28); opacity: 0; transition: opacity 0.4s ease; }
.go-sheet.is-in::backdrop { opacity: 1; }

.go-form { display: flex; flex-direction: column; height: 100%; }

.go-sheet-head {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 12px;
  padding: 16px 18px 14px 20px;
  border-bottom: 1px solid var(--go-hair);
  touch-action: none;
}
.go-grabber { position: absolute; left: 50%; top: 7px; width: 36px; height: 5px; translate: -50% 0; border-radius: 3px; background: rgba(15, 23, 42, 0.16); }
.go-sheet-title { padding-top: 6px; min-width: 0; }
.go-sheet-title h2:focus { outline: none; }
.go-sheet-title h2 { margin: 5px 0 0; font-size: 20px; line-height: 1.2; font-weight: 660; letter-spacing: -0.022em; }

.go-icon-btn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--go-ink-2);
  background: var(--go-fill);
  cursor: pointer;
  transition: background-color 0.2s ease, scale 0.3s var(--go-spring);
}
.go-icon-btn svg { width: 17px; height: 17px; }
.go-icon-btn:active { scale: 0.92; }
.go-close { margin-top: 4px; position: relative; }
.go-close::after { content: ""; position: absolute; inset: -4px; }

.go-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.go-steps li { font-size: 11.5px; font-weight: 560; color: var(--go-faint); transition: color 0.3s ease; }
.go-steps li::before { content: ""; display: block; height: 3px; margin-bottom: 7px; border-radius: 2px; background: var(--go-fill); transition: background-color 0.4s var(--go-ease); }
.go-steps li.is-done { color: var(--go-muted); }
.go-steps li.is-done::before { background: rgba(15, 23, 42, 0.35); }
.go-steps li.is-current { color: var(--go-ink); }
.go-steps li.is-current::before { background: var(--go-ink); }
.go-sheet.is-done .go-steps { display: none; }

.go-sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px 20px 28px; }
.go-sheet-foot { flex: none; display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--go-hair); background: #fff; }

.go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 620;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: scale 0.35s var(--go-spring), opacity 0.2s ease, background-color 0.2s ease;
}
.go-btn svg { width: 17px; height: 17px; }
.go-btn:active { scale: 0.97; }
.go-btn--primary { flex: 1; color: #fff; background: var(--go-ink); }
.go-btn--ghost { color: var(--go-ink); background: var(--go-fill); }
.go-btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.go-btn[aria-busy="true"] svg { display: none; }
.go-btn[aria-busy="true"]::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: go-spin 0.8s linear infinite; }
@keyframes go-spin { to { rotate: 1turn; } }

/* ---- form fields ------------------------------------------------------------ */

.go-step { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.go-step:focus { outline: none; }
.go-step.is-entering { animation: go-step-in 0.45s var(--go-ease); }
@keyframes go-step-in { from { opacity: 0; translate: 14px 0; } }
.go-step.is-entering.is-back { animation-name: go-step-back; }
@keyframes go-step-back { from { opacity: 0; translate: -14px 0; } }
.go-step-intro { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.45; color: var(--go-ink-2); background: var(--go-fill); }

.go-pair { display: grid; gap: 18px; }
@media (min-width: 400px) { .go-pair { grid-template-columns: 1fr 1fr; gap: 12px; } }

.go-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.go-label { font-size: 13.5px; font-weight: 580; line-height: 1.35; color: var(--go-ink); }
.go-label em { margin-left: 4px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--go-faint); }
.go-choices > legend { float: left; width: 100%; padding: 0; margin: 0 0 1px; }

.go-field input,
.go-field select,
.go-field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--go-hair-2);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  color: var(--go-ink);
  background: #fff;
  caret-color: var(--go-blue);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.go-field textarea { min-height: 112px; resize: vertical; line-height: 1.45; }
.go-field input::placeholder, .go-field textarea::placeholder { color: var(--go-faint); }
.go-field input:focus, .go-field select:focus, .go-field textarea:focus { outline: none; border-color: var(--go-blue); box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12); }
.go-field [aria-invalid="true"] { border-color: rgba(197, 48, 48, 0.7); }
.go-select { position: relative; display: block; }
.go-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--go-muted); border-bottom: 1.6px solid var(--go-muted); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.go-select select { padding-right: 38px; }
.go-select select:invalid { color: var(--go-faint); }

.go-help { font-size: 12.5px; line-height: 1.45; color: var(--go-muted); }
.go-error { font-size: 12.5px; line-height: 1.4; color: var(--go-red); }
.go-error:empty { display: none; }
.go-count { justify-self: end; margin-top: -2px; font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--go-faint); }
.go-count.is-ok { color: var(--go-muted); }

.go-chips--choice { display: flex; flex-wrap: wrap; gap: 8px; }
.go-choice { position: relative; display: inline-flex; }
.go-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.go-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 540;
  color: var(--go-ink-2);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--go-hair-2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.go-choice input:checked + span { color: #fff; background: var(--go-ink); box-shadow: inset 0 0 0 1px var(--go-ink); }
.go-choice input:focus-visible + span { outline: 2px solid var(--go-blue); outline-offset: 2px; }
.go-field--inline { margin-top: 10px; }

.go-consent { position: relative; display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 12px; padding: 14px; border-radius: 14px; background: var(--go-fill); cursor: pointer; }
.go-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.go-consent-box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, 0.28); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.go-consent-box svg { width: 15px; height: 15px; color: #fff; opacity: 0; scale: 0.6; transition: opacity 0.2s ease, scale 0.3s var(--go-spring); }
.go-consent input:checked + .go-consent-box { background: var(--go-ink); box-shadow: inset 0 0 0 1.5px var(--go-ink); }
.go-consent input:checked + .go-consent-box svg { opacity: 1; scale: 1; }
.go-consent input:focus-visible + .go-consent-box { outline: 2px solid var(--go-blue); outline-offset: 2px; }
.go-consent input[aria-invalid="true"] + .go-consent-box { box-shadow: inset 0 0 0 1.5px var(--go-red); }
.go-consent-text { font-size: 14px; line-height: 1.45; color: var(--go-ink-2); }
.go-error--consent { margin-top: -10px; }
.go-privacy { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--go-muted); }
.go-privacy a { color: var(--go-ink-2); }

.go-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.go-alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: #8a1f1f; background: #fdf0f0; box-shadow: inset 0 0 0 1px rgba(197, 48, 48, 0.2); }
.go-alert.is-info { color: #1e3a8a; background: #eff4ff; box-shadow: inset 0 0 0 1px rgba(23, 105, 255, 0.2); }

/* ---- confirmation ------------------------------------------------------------ */

.go-done { display: grid; justify-items: center; gap: 10px; padding: 26px 4px 10px; text-align: center; outline: none; }
.go-done-orb { position: relative; width: 124px; height: 124px; margin-bottom: 8px; animation: go-done-in 1s var(--go-spring) backwards; }
.go-done-orb img { display: block; width: 100%; height: 100%; }
.go-done-check { position: absolute; right: 6px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--go-ink); box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(15, 23, 42, 0.2); animation: go-pop 0.6s var(--go-spring) 0.45s backwards; }
.go-done-check svg { width: 19px; height: 19px; }
@keyframes go-done-in { from { opacity: 0; scale: 0.8; } }
@keyframes go-pop { from { opacity: 0; scale: 0.4; } }
.go-done h3 { margin: 4px 0 0; font-size: 26px; line-height: 1.15; font-weight: 680; letter-spacing: -0.03em; }
.go-done-lead { margin: 0; font-size: 15px; line-height: 1.45; color: var(--go-ink-2); }
.go-ref { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--go-fill); }
.go-ref-label { font-size: 10.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--go-faint); }
.go-ref-code { font: 600 15px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; color: var(--go-ink); }
.go-ref-copy { width: 34px; height: 34px; background: #fff; }
.go-ref-copy.is-copied { color: var(--go-green); }
.go-done-note { max-width: 32ch; margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--go-muted); }
.go-text-btn { margin-top: 6px; padding: 10px 12px; border: 0; background: none; font-size: 13px; color: var(--go-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---- larger screens ------------------------------------------------------------ */

@media (min-width: 640px) {
  .go-sheet {
    inset: 0;
    margin: auto;
    height: min(780px, calc(100dvh - 48px));
    border-radius: 26px;
    translate: 0 20px;
    opacity: 0;
    box-shadow: 0 0 0 1px var(--go-hair), 0 40px 120px rgba(15, 23, 42, 0.2);
  }
  .go-sheet.is-in { translate: 0 0; opacity: 1; }
  .go-grabber { display: none; }
  .go-sheet-head { touch-action: auto; padding-top: 20px; }
  .go-sheet-body { padding: 22px 26px 30px; }
  .go-sheet-foot { padding: 14px 26px 16px; }
}

/* Desktop: the hub on the left, the Apple composition on the right, all in
   one viewport. */
@media (min-width: 960px) {
  :root { --orb: 116px; }
  .go {
    width: min(1100px, 100% - 96px);
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(340px, 380px) minmax(0, 580px);
    grid-template-rows: 1fr auto;
    column-gap: clamp(56px, 8vw, 128px);
    justify-content: center;
    align-items: center;
    padding: 48px 0 28px;
  }
  .go-col { grid-column: 1; grid-row: 1; }
  .go-spatial { grid-column: 2; grid-row: 1; margin-top: 0; }
  .go-foot { grid-column: 1 / -1; grid-row: 2; margin-top: 24px; }
}

@media (max-width: 350px) {
  .go-amb-title { font-size: 22px; }
}

/* ---- motion & contrast preferences --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
}

@media (forced-colors: active) {
  .go-cta, .go-btn--primary { border: 1px solid ButtonText; }
  .go-links, .go-row { border-color: CanvasText; }
}

/* Matching, readable store calls to action at every hub width. */
.go-store-copy { display: grid; gap: 2px; padding: 12px 0; min-width: 0; }
.go-store-copy small { font-size: 10px; line-height: 1.2; font-weight: 500; letter-spacing: .02em; }
.go-store-copy > span { font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
@media (max-width: 370px) { .go-store-copy > span { font-size: 16px; } .go-row-meta { font-size: 11px; } }
