/* Shad zinc tokens, matching the app's default palette. */
:root {
  color-scheme: dark;
  --background: #09090b;
  --foreground: #fafafa;
  --card: #101012;
  --muted: #18181b;
  --secondary: #27272a;
  --muted-foreground: #a1a1aa;
  --border: #27272a;
  --strong-border: #52525b;
  --primary: #fafafa;
  --primary-foreground: #18181b;
  --accent: #a7c9bb;
  --accent-soft: #182b24;
  --diagram-grid: #303034;
  --shadow: 0 16px 48px #0003;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --background: #fff;
  --foreground: #09090b;
  --card: #fafafa;
  --muted: #f4f4f5;
  --secondary: #e4e4e7;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --strong-border: #a1a1aa;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --accent: #336b56;
  --accent-soft: #e3efe8;
  --diagram-grid: #dedee3;
  --shadow: 0 16px 48px #18181b0a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; opacity: .5; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--primary); color: var(--primary-foreground); padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid var(--border); }
.navigation { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 27px; font-weight: 650; letter-spacing: -1px; }
.brand-period { margin-left: -8px; color: var(--muted-foreground); }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 30px; }
.nav-links { margin-left: 40px; color: var(--muted-foreground); font-size: 16px; }
.nav-links a:hover, .footer a:hover { color: var(--foreground); }
.nav-actions { gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 19px; background: var(--primary); color: var(--primary-foreground); border: 1px solid var(--primary); border-radius: 7px; font-weight: 550; font-size: 16px; transition: opacity .2s; }
.button:hover { opacity: .82; }
.button-small { min-height: 36px; padding: 7px 13px; font-size: 15px; gap: 16px; }
.button-small .icon { width: 15px; height: 15px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: transparent; border: 1px solid var(--border); border-radius: 7px; }
.icon-button:hover { background: var(--secondary); }
[data-theme="dark"] .theme-moon, [data-theme="light"] .theme-sun { display: none; }
.hero { padding-block: 79px 80px; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-foreground); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
h1 { font-size: clamp(46px, 5.5vw, 76px); font-weight: 560; line-height: 1.09; letter-spacing: -.058em; margin-top: 22px; }
h1 span { color: var(--muted-foreground); }
.hero-description { margin: 24px auto 26px; color: var(--muted-foreground); font-size: 19px; line-height: 1.7; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted-foreground); }
.hero-principle { max-width: 740px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--border); }
.hero-principle h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; margin-bottom: 18px; }
.hero-principle p { color: var(--muted-foreground); font-size: 18px; line-height: 1.8; }
.hero-principle p + p { margin-top: 18px; }

.product-intro { padding: 68px 40px 64px; margin-bottom: 88px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; text-align: center; overflow: hidden; }
.product-intro-heading h2 { font-size: clamp(38px, 5.1vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -.05em; }
.platforms { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 25px; font-size: 16px; color: var(--muted-foreground); }
.platforms span + span::before { content: "·"; padding-right: 18px; }
.screenshot-lineup { position: relative; width: min(840px, 100%); aspect-ratio: 1.28; margin: 60px auto 46px; perspective: 1600px; isolation: isolate; }
.screenshot-phone { position: absolute; margin: 0; width: 35%; padding: 7px; border: 1px solid #71717a; border-radius: 12% / 5.6%; background: linear-gradient(120deg, #71717a, #27272a 20%, #09090b 70%, #52525b); box-shadow: 0 25px 45px #0004, inset 0 0 0 2px #09090b; }
.screenshot-phone img { display: block; width: 100%; height: auto; border-radius: 10% / 4.6%; background: #09090b; }
.phone-chat { left: 3%; top: 5%; transform: rotateY(19deg) rotateZ(-7deg) scale(.92); transform-origin: right center; }
.phone-journal { left: 32.5%; top: 0; z-index: 2; }
.phone-media { right: 3%; top: 5%; transform: rotateY(-19deg) rotateZ(7deg) scale(.92); transform-origin: left center; }
.product-intro-copy { max-width: 860px; margin-inline: auto; font-size: 20px; line-height: 1.75; color: var(--muted-foreground); text-wrap: pretty; }
.product-intro-copy strong { color: var(--foreground); font-weight: 550; }
.network-lede { max-width: 600px; margin: 24px auto 0; color: var(--muted-foreground); font-size: 19px; line-height: 1.7; }
/* Invitation story: a single SVG scene, controlled by explicit stages. */
.invite-story { margin: 40px auto 32px; max-width: 920px; }
.invite-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.invite-methods button { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--border); background: var(--muted); border-radius: 24px; padding: 11px 17px; font-size: 15px; }
.invite-methods button[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.invite-methods button:hover { border-color: var(--strong-border); }
.invite-story-svg { display: block; width: 100%; height: auto; margin: 32px auto 18px; }
.invite-route-base { fill: none; stroke: var(--strong-border); stroke-dasharray: 4 8; opacity: .5; }
.invite-secure-route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s ease; }
.invite-svg-heading { fill: var(--foreground); font-size: 17px; font-weight: 500; }
.invite-svg-small { fill: var(--muted-foreground); font-size: 14px; }
.invite-person-label { fill: var(--foreground); font-size: 20px; font-weight: 500; }
.invite-line-icon { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.invite-code-color { color: var(--muted-foreground); }
.invite-scan-frame { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.invite-scan-line { stroke: var(--accent); stroke-width: 2; animation: invite-scan 1.5s ease-in-out infinite alternate; }
.invite-accept-fill { fill: var(--accent-soft); stroke: var(--accent); stroke-opacity: .5; }
.invite-received, .invite-accept, .invite-established, .invite-traveler { opacity: 0; transition: opacity .3s; }
.invite-before, .invite-waiting { opacity: 1; transition: opacity .3s; }
.invite-story .method-camera, .invite-story .method-link, .invite-story .method-nearby { display: none; }
.invite-story[data-method="camera"] .method-camera, .invite-story[data-method="link"] .method-link, .invite-story[data-method="nearby"] .method-nearby { display: inline; }
.invite-story[data-scene="receive"] .invite-received, .invite-story[data-scene="accept"] .invite-accept, .invite-story[data-scene="connected"] .invite-established { opacity: 1; }
.invite-story:not([data-scene="share"]) .invite-waiting, .invite-story[data-scene="connected"] .invite-before { opacity: 0; }
.invite-story[data-scene="receive"] .invite-traveler { opacity: 1; animation: invite-transfer 2s ease-in-out both; }
.invite-story[data-scene="accept"] .accept-tick { animation: invite-confirm 1.5s ease both; }
.invite-story[data-scene="connected"] .invite-secure-route { stroke-dashoffset: 0; }
.invite-story[data-playing="false"] * { animation-play-state: paused !important; }
.invite-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.invite-scenes button { border: 0; border-top: 2px solid var(--border); padding: 15px 3px 8px; background: transparent; color: var(--muted-foreground); font-size: 14px; line-height: 1.5; }
.invite-scenes button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.invite-scenes button:hover { color: var(--foreground); }
.invite-story-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; text-align: left; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 18px; }
.invite-story-caption h3 { font-size: 24px; font-weight: 550; letter-spacing: -.025em; margin-bottom: 8px; }
.invite-story-caption p { color: var(--muted-foreground); font-size: 16px; line-height: 1.8; min-height: 58px; }
.invite-story-caption .icon-button { flex-shrink: 0; }
.network-intro > .product-intro-copy { border-top: 1px solid var(--border); padding-top: 30px; font-size: 17px; }
@keyframes invite-scan { from { transform: translateY(0); } to { transform: translateY(75px); } }
@keyframes invite-transfer { 0% { transform: translateX(-155px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(155px); opacity: 0; } }
@keyframes invite-confirm { 0%, 50% { opacity: 0; } 100% { opacity: 1; } }
.device-story .device-desktop-qr, .device-story .device-phone-scan, .device-story .device-phone-approve, .device-story .device-desktop-chat, .device-story .device-phone-chat, .device-story .device-trust-lock, .device-story .device-desktop-file, .device-story .device-phone-file { opacity: 0; transition: opacity .35s; }
.device-story[data-scene="scan"] .device-desktop-qr, .device-story[data-scene="scan"] .device-phone-scan, .device-story[data-scene="approve"] .device-desktop-qr, .device-story[data-scene="approve"] .device-phone-approve { opacity: 1; }
.device-story[data-scene="chat"] .device-desktop-chat, .device-story[data-scene="chat"] .device-phone-chat, .device-story[data-scene="chat"] .device-trust-lock, .device-story[data-scene="files"] .device-desktop-chat, .device-story[data-scene="files"] .device-phone-chat, .device-story[data-scene="files"] .device-trust-lock, .device-story[data-scene="files"] .device-desktop-file, .device-story[data-scene="files"] .device-phone-file { opacity: 1; }
.device-trust-route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s; }
.device-story[data-scene="chat"] .device-trust-route, .device-story[data-scene="files"] .device-trust-route { stroke-dashoffset: 0; }
.device-divider { stroke: var(--border); fill: none; }
.device-scan-line { stroke: var(--accent); stroke-width: 2; }
.device-story[data-scene="scan"] .device-scan-line { animation: device-scan 1.1s ease-in-out infinite alternate; }
.device-story[data-scene="approve"] .device-approval-tick { animation: invite-confirm 1.6s ease both; }
.device-story[data-scene="chat"] .device-sent-message { animation: message-in .6s .5s ease both; }
.device-file-transfer { opacity: 0; }
.device-story[data-scene="files"] .device-file-transfer { animation: device-upload 1.6s ease both; }
.device-story[data-scene="files"][data-playing="true"] .device-phone-file { animation: invite-confirm 1.8s ease both; }
@keyframes device-scan { from { transform: translateY(0); } to { transform: translateY(64px); } }
@keyframes device-upload { 0% { transform: translateX(64px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(-64px); opacity: 0; } }
.mesh-links { fill: none; stroke: var(--strong-border); stroke-width: 2; }
.mesh-links path { transition: stroke .3s, opacity .3s; }
.mesh-story[data-scene="send"] .mesh-upper-route, .mesh-story[data-scene="send"] .mesh-lower-route, .mesh-story[data-scene="forward"] .mesh-upper-route, .mesh-story[data-scene="forward"] .mesh-lower-route, .mesh-story[data-scene="synced"] .mesh-links, .mesh-story[data-scene="detour"] .mesh-lower-route, .mesh-story[data-scene="detour"] .mesh-final-route { stroke: var(--accent); }
.mesh-avatar { fill: var(--muted); stroke: var(--strong-border); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.mesh-initial { fill: var(--foreground); font-size: 22px; font-weight: 550; }
.mesh-name { fill: var(--foreground); font-size: 18px; font-weight: 500; }
.mesh-received-badge { fill: var(--accent-soft); stroke: var(--accent); }
.mesh-arrived { opacity: 0; transition: opacity .3s; }
.mesh-node-you .mesh-avatar { fill: var(--accent-soft); stroke: var(--accent); }
.mesh-node-you .mesh-arrived, .mesh-story:not([data-scene="send"]) .mesh-node-alex .mesh-arrived, .mesh-story:not([data-scene="send"]) .mesh-node-sam .mesh-arrived, .mesh-story[data-scene="synced"] .mesh-arrived, .mesh-story[data-scene="detour"] .mesh-arrived { opacity: 1; }
.mesh-story[data-scene="forward"] .mesh-node-jo .mesh-arrived, .mesh-story[data-scene="synced"] .mesh-node-lee .mesh-arrived { opacity: 1; animation: mesh-receipt 2s both; }
.mesh-story[data-scene="detour"] .mesh-node-alex { opacity: .35; }
.mesh-story[data-scene="detour"] .mesh-node-alex .mesh-arrived { opacity: 0; }
.mesh-story[data-scene="detour"] .mesh-upper-route { stroke-dasharray: 4 8; opacity: .35; }
.mesh-offline-label { fill: var(--muted-foreground); font-size: 16px; opacity: 0; }
.mesh-story[data-scene="detour"] .mesh-offline-label { opacity: 1; }
.mesh-packets { color: var(--accent); }
.mesh-hop { opacity: 0; offset-distance: 0%; }
.mesh-story[data-scene="send"] .mesh-first-hop, .mesh-story[data-scene="forward"] .mesh-second-hop, .mesh-story[data-scene="synced"] .mesh-third-hop, .mesh-story[data-scene="detour"] .mesh-detour-hop { animation: mesh-hop 2s ease-in-out both; }
.network-key { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin: 0 0 28px; color: var(--muted-foreground); font-size: 13px; }
.network-key > span { display: inline-flex; align-items: center; gap: 8px; }
.network-key .icon { width: 15px; height: 15px; }
.key-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.key-line { width: 20px; height: 2px; background: currentColor; }
.transport-demo { --ip-color: #93c5fd; --wifi-color: var(--accent); --bluetooth-color: #c4b5fd; max-width: 980px; margin: 36px auto; }
[data-theme="light"] .transport-demo { --ip-color: #1d4ed8; --bluetooth-color: #7c3aed; }
.transport-instruction { color: var(--muted-foreground); font-size: 14px; margin-bottom: 18px; }
.transport-switches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.transport-switches button { display: flex; align-items: center; gap: 11px; background: var(--background); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: left; }
.transport-switches button:hover { border-color: var(--strong-border); }
.transport-switches strong { display: block; font-size: 15px; font-weight: 550; }
.transport-switches small { display: block; font-size: 11px; color: var(--muted-foreground); }
.transport-switches [data-transport="ip"] { color: var(--ip-color); }
.transport-switches [data-transport="wifi"] { color: var(--wifi-color); }
.transport-switches [data-transport="bluetooth"] { color: var(--bluetooth-color); }
.transport-switch { display: block; width: 29px; height: 17px; padding: 3px; margin-left: auto; border-radius: 20px; background: var(--secondary); flex-shrink: 0; }
.transport-switch::after { content: ""; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--muted-foreground); transition: transform .2s; }
[aria-pressed="true"] .transport-switch { background: currentColor; }
[aria-pressed="true"] .transport-switch::after { transform: translateX(12px); background: var(--background); }
.transport-svg { display: block; width: 100%; height: auto; margin: 20px auto 10px; }
.transport-local-area { fill: var(--muted); fill-opacity: .6; stroke: var(--border); stroke-dasharray: 5 8; }
.transport-ip { color: var(--ip-color); }
.transport-wifi { color: var(--wifi-color); }
.transport-bluetooth { color: var(--bluetooth-color); }
.transport-edge path { fill: none; stroke: currentColor; stroke-width: 2; transition: opacity .3s; }
.transport-edge.edge-disabled path { opacity: .2; stroke-dasharray: 4 8; }
.transport-edge.edge-unreachable path { opacity: .35; }
.transport-packet { fill: currentColor; opacity: 0; offset-distance: 0%; }
.transport-running .transport-edge:not(.edge-disabled):not(.edge-unreachable) .transport-packet { animation: mesh-hop 2s ease-in-out 2 both; }
.transport-running .transport-edge:not(.edge-disabled):not(.edge-unreachable) .transport-forward-packet { animation-delay: .9s; }
.transport-demo[data-playing="false"] .transport-packet { animation-play-state: paused; }
.transport-route-label { fill: currentColor; font-size: 16px; font-weight: 550; }
.transport-peer-status { fill: var(--muted-foreground); font-size: 13px; }
.transport-peer .mesh-avatar { fill: var(--accent-soft); stroke: var(--accent); }
.transport-peer.peer-disconnected .mesh-avatar { fill: var(--muted); stroke: var(--strong-border); stroke-dasharray: 3 5; }
.transport-peer.peer-disconnected .mesh-initial { fill: var(--muted-foreground); }
.transport-contexts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--border); padding: 30px 0; margin: 10px auto 0; max-width: 980px; text-align: left; }
.transport-contexts h3 { font-size: 19px; font-weight: 550; letter-spacing: -.025em; margin-bottom: 8px; }
.transport-contexts p { color: var(--muted-foreground); font-size: 15px; line-height: 1.8; }
.transport-explainer { max-width: 980px; margin: 32px auto; padding: 24px; background: var(--muted); border: 1px solid var(--border); border-radius: 12px; text-align: left; }
.transport-explainer h3 { font-size: 21px; font-weight: 550; letter-spacing: -.025em; margin-bottom: 14px; }
.transport-explainer p { font-size: 15px; line-height: 1.8; color: var(--muted-foreground); }
.transport-explainer p + p { margin-top: 12px; }
.transport-explainer strong { color: var(--foreground); font-weight: 550; }
.transport-explainer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--strong-border); }
.transport-explainer a:hover { color: var(--foreground); }
@keyframes mesh-hop { 0% { offset-distance: 0%; opacity: 0; } 10%, 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes mesh-receipt { 0%, 80% { opacity: 0; } 100% { opacity: 1; } }
.section-heading { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.section-heading h2 { font-size: 27px; font-weight: 550; letter-spacing: -.035em; }
.section-heading > span { color: var(--muted-foreground); font-size: 15px; }
.feature-stage { display: grid; grid-template-columns: 325px minmax(0, 1fr); min-height: 556px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.feature-sidebar { display: flex; flex-direction: column; padding: 40px 25px 28px; border-right: 1px solid var(--border); }
.feature-sidebar > .eyebrow { padding-left: 15px; font-size: 13px; }
.feature-tabs { display: flex; flex-direction: column; gap: 12px; margin-top: 42px; }
.feature-tabs button { display: flex; align-items: center; gap: 11px; text-align: left; padding: 14px 15px; border: 1px solid transparent; border-radius: 28px; background: var(--muted); color: var(--muted-foreground); font-size: 15px; font-weight: 500; min-height: 49px; transition: background .2s, color .2s, border-color .2s; }
.feature-tabs button:hover { color: var(--foreground); border-color: var(--strong-border); }
.feature-tabs button[aria-selected="true"] { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.feature-tabs .icon { width: 17px; height: 17px; }
.tab-indicator { font-size: 21px; line-height: 1; margin-left: auto; font-weight: 400; }
.sidebar-note { display: flex; align-items: center; gap: 10px; color: var(--muted-foreground); margin-top: auto; padding: 32px 15px 0; font-size: 13px; line-height: 1.8; }
.sidebar-note .icon { width: 15px; height: 15px; }
.feature-body { min-width: 0; position: relative; padding: 32px 36px 36px; }
.feature-panel { animation: panel-in .35s ease-out both; }
.panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.panel-category { color: var(--muted-foreground); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 20px; color: var(--muted-foreground); font-size: 13px; line-height: 1.5; padding: 5px 9px; white-space: nowrap; }
.badge .icon { width: 12px; height: 12px; }
.connection-demo { margin-top: 8px; }
.connection-svg { display: block; width: 100%; height: 320px; overflow: visible; }
.grid-dot { fill: var(--diagram-grid); }
.relay-route { stroke: var(--strong-border); stroke-width: 1.3; opacity: .5; transition: stroke .6s, opacity .6s; }
.route-base { stroke: var(--strong-border); stroke-dasharray: 3 7; opacity: .4; }
.probe-route { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 9; opacity: 0; }
.direct-route { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease-in-out; }
.svg-surface { fill: var(--muted); stroke: var(--border); }
.svg-small, .svg-label { fill: var(--muted-foreground); font-size: 16px; font-weight: 500; }
.svg-label { fill: var(--foreground); }
.svg-tiny { fill: var(--muted-foreground); font-size: 13px; }
.relay-led { fill: var(--muted-foreground); }
.network-gate rect { fill: var(--card); stroke: var(--border); }
.network-gate path { stroke: var(--strong-border); stroke-width: 1; }
.phone-shell { fill: var(--secondary); stroke: var(--strong-border); stroke-width: 1.5; }
.phone-screen { fill: var(--background); stroke: var(--border); }
.phone-detail { stroke: var(--strong-border); stroke-width: 3; stroke-linecap: round; }
.message-shape { fill: var(--accent-soft); stroke: var(--accent); stroke-opacity: .35; }
.secondary-message { fill: var(--muted); stroke: var(--strong-border); }
.message-line { stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.connection-lock, .direct-label { opacity: 0; transition: opacity .5s; }
.lock-surface { fill: var(--accent-soft); stroke: var(--accent); stroke-opacity: .4; }
.lock-icon { color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.packet { fill: var(--accent); opacity: 0; }
.connection-demo[data-playing="false"] .probe-route { animation-play-state: paused; }
.connection-demo[data-playing="false"] .packet { display: none; }
[data-phase="find"] .relay-route { stroke: var(--accent); opacity: 1; }
[data-phase="find"] .relay-led { fill: var(--accent); }
[data-phase="find"] .relay-packet { opacity: 1; }
[data-phase="try"] .probe-route { opacity: 1; animation: probe 1s linear infinite; }
[data-phase="direct"] .direct-route { stroke-dashoffset: 0; }
[data-phase="direct"] .connection-lock, [data-phase="direct"] .direct-label { opacity: 1; }
[data-phase="direct"] .direct-packet, [data-phase="direct"] .return-packet { opacity: 1; }
.connection-steps { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 25px; }
.connection-steps > span { display: flex; align-items: center; gap: 7px; flex: 1; font-size: 13px; color: var(--muted-foreground); border-top: 1px solid var(--border); padding-top: 12px; transition: color .3s, border-color .3s; white-space: normal; }
.connection-steps b { font-size: 12px; font-weight: 500; display: grid; place-items: center; border: 1px solid var(--border); width: 21px; height: 21px; flex-shrink: 0; border-radius: 50%; }
[data-phase="find"] [data-step="find"], [data-phase="try"] [data-step="try"], [data-phase="direct"] [data-step="direct"] { color: var(--accent); border-color: var(--accent); }
.feature-caption { display: flex; align-items: flex-start; gap: 20px; border-top: 1px solid var(--border); padding-top: 22px; }
.feature-caption h3 { font-size: 25px; font-weight: 550; letter-spacing: -.035em; margin-bottom: 8px; }
.feature-caption p { color: var(--muted-foreground); font-size: 15px; line-height: 1.85; max-width: 580px; }
.replay { flex-shrink: 0; margin-left: auto; width: 33px; height: 33px; }
.replay .icon { width: 15px; height: 15px; }
.illustration-note { position: absolute; bottom: 12px; right: 36px; font-size: 12px; color: var(--muted-foreground); }
.preview-canvas { min-height: 376px; display: grid; place-items: center; padding: 26px 0; }
.app-preview { width: min(410px, 100%); background: var(--background); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.app-toolbar { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 15px; }
.app-toolbar strong, .device-row strong { display: block; font-weight: 550; }
.app-toolbar small, .device-row small { display: block; font-size: 12px; color: var(--muted-foreground); }
.app-toolbar > .icon:last-child { margin-left: auto; color: var(--muted-foreground); width: 15px; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.messages { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 12px 20px 20px; }
.date-label { display: block; align-self: center; font-size: 12px; color: var(--muted-foreground); }
.message { padding: 8px 12px; border-radius: 9px 9px 9px 2px; background: var(--muted); font-size: 14px; min-width: 65%; animation: message-in .4s ease both; }
.message:nth-of-type(2) { animation-delay: .3s; }
.message:nth-of-type(3) { animation-delay: .6s; }
.message small { display: block; margin-bottom: 3px; color: var(--accent); font-size: 12px; }
.message time { display: block; text-align: right; font-size: 11px; color: var(--muted-foreground); padding-top: 2px; }
.message.sent { align-self: flex-end; background: var(--accent-soft); border-radius: 9px 9px 2px 9px; }
.message.sent time span { color: var(--accent); }
.composer { display: flex; align-items: center; justify-content: space-between; margin: 0 15px 15px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted-foreground); font-size: 13px; }
.composer .icon { width: 14px; height: 14px; }
.preview-action { margin-left: auto; color: var(--muted-foreground); font-size: 13px; }
.journal-content { padding: 15px 20px 8px; }
.journal-content > .date-label { margin-bottom: 15px; }
.journal-entry { display: flex; gap: 18px; padding-bottom: 18px; animation: message-in .4s ease both; }
.journal-entry + .journal-entry { border-top: 1px solid var(--border); padding-top: 16px; animation-delay: .2s; }
.day { text-align: center; min-width: 28px; }
.day small { display: block; color: var(--muted-foreground); font-size: 11px; }
.day b { font-size: 28px; font-weight: 500; }
.entry-tag { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.journal-entry h4 { font-size: 15px; font-weight: 550; margin: 4px 0; }
.journal-entry p, .entry-note { font-size: 12px; color: var(--muted-foreground); }
.entry-note { margin-top: 8px; }
.memory-strip { display: flex; gap: 5px; margin-top: 8px; }
.memory-strip span { display: block; width: 48px; height: 32px; background: #526259; border-radius: 3px; }
.memory-strip span:nth-child(2) { background: #8d9384; }
.memory-strip span:nth-child(3) { background: #a99b85; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 12px; }
.landscape { position: relative; overflow: hidden; aspect-ratio: 1; background: #b9c7c2; border-radius: 4px; animation: message-in .5s ease both; }
.landscape::before, .landscape::after { content: ""; position: absolute; inset: 28% -15% -20%; background: #697c70; clip-path: polygon(0 75%, 37% 5%, 73% 61%, 100% 18%, 100% 100%, 0 100%); }
.landscape::after { inset: 55% -15% -20%; background: #40594b; transform: scaleX(-1); }
.landscape-two { filter: sepia(.55); animation-delay: .1s; }
.landscape-three { filter: hue-rotate(35deg) saturate(.6); animation-delay: .2s; }
.landscape-four { filter: sepia(.5) brightness(.8); animation-delay: .3s; }
.landscape-five { filter: hue-rotate(-25deg); animation-delay: .4s; }
.landscape-six { filter: saturate(.3) brightness(1.2); animation-delay: .5s; }
.landscape-two::before, .landscape-five::before { transform: scaleX(-1); }
.landscape span { position: absolute; bottom: 5px; right: 5px; z-index: 1; background: #0009; color: white; border-radius: 3px; font-size: 11px; padding: 1px 4px; }
.media-footer { padding: 3px 16px 14px; font-size: 12px; color: var(--muted-foreground); }
.device-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 18px; padding: 22px 0; font-size: 15px; }
.device-row + .device-row { border-top: 1px solid var(--border); animation: message-in .5s .3s ease both; }
.device-icon { flex-shrink: 0; background: var(--muted); width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; }
.device-row .badge, .device-check { margin-left: auto; }
.device-check { color: var(--accent); }
.device-note { display: flex; align-items: center; gap: 10px; background: var(--muted); padding: 17px 20px; font-size: 13px; color: var(--muted-foreground); }
.device-note .icon { width: 14px; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 108px 96px; }
h2 { font-size: 40px; line-height: 1.2; letter-spacing: -.04em; font-weight: 550; }
.privacy-intro h2 { margin-block: 20px 25px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 15px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 15px; }
.privacy-points article { display: flex; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.privacy-points article:first-child { padding-top: 0; }
.privacy-points article:last-child { border: 0; padding-bottom: 0; }
.privacy-points .icon { margin-top: 4px; color: var(--muted-foreground); width: 18px; }
.privacy-points h3 { font-size: 17px; font-weight: 550; margin-bottom: 6px; }
.privacy-points p { color: var(--muted-foreground); font-size: 15px; line-height: 1.85; }
.questions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; border-top: 1px solid var(--border); padding-block: 65px 88px; }
.questions h2 { margin-top: 18px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500; }
.faq-list details:first-child summary { padding-top: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 15px; color: var(--muted-foreground); transition: transform .2s; }
.faq-list [open] summary .icon { transform: rotate(45deg); }
.faq-list details p { color: var(--muted-foreground); font-size: 15px; line-height: 1.85; padding-bottom: 22px; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-block: 27px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 13px; }
.footer .brand { font-size: 21px; color: var(--foreground); }
.footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.no-script { padding: 16px 0; color: var(--muted-foreground); }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes probe { to { stroke-dashoffset: -26; } }
@media (min-width: 1500px) { .hero { padding-top: 100px; } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .feature-stage { grid-template-columns: 285px minmax(0, 1fr); }
  .feature-sidebar { padding-inline: 16px; }
  .feature-body { padding-inline: 25px; }
  .connection-steps { gap: 8px; }
  .connection-steps > span { font-size: 12px; gap: 5px; }
  .connection-steps b { display: none; }
  .privacy-section, .questions { gap: 60px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 36px); }
  .navigation { height: 72px; gap: 10px; }
  .brand { font-size: 25px; }
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .button { gap: 8px; }
  .hero { padding-block: 62px 60px; }
  h1 { font-size: clamp(38px, 7.5vw, 56px); }
  .hero-description { font-size: 17px; }
  .product-intro { padding: 40px 20px 36px; margin-bottom: 54px; border-radius: 14px; }
  .product-intro-heading h2 { font-size: clamp(30px, 6.6vw, 48px); }
  .platforms { margin-top: 20px; font-size: 14px; gap: 12px; }
  .platforms span + span::before { padding-right: 12px; }
  .screenshot-lineup { width: calc(100% + 20px); margin: 36px -10px 30px; }
  .screenshot-phone { padding: 3px; box-shadow: 0 12px 20px #0004; }
  .product-intro-copy { font-size: 16px; line-height: 1.8; }
  .invite-story { margin-top: 28px; }
  .invite-methods { gap: 7px; }
  .invite-methods button { font-size: 12px; padding: 9px 11px; gap: 6px; }
  .invite-methods .icon { width: 15px; height: 15px; }
  .invite-story-svg { width: calc(100% + 28px); margin-inline: -14px; }
  .invite-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .invite-scenes button { font-size: 13px; padding-top: 10px; }
  .invite-story-caption h3 { font-size: 21px; }
  .invite-story-caption p { font-size: 15px; min-height: 108px; }
  .network-intro > .product-intro-copy { font-size: 16px; }
  .invite-person-label { font-size: 28px; }
  .network-lede { font-size: 16px; margin-top: 20px; }
  .network-key { font-size: 12px; gap: 10px 16px; }
  .transport-switches { grid-template-columns: 1fr; gap: 8px; }
  .transport-switches button { padding: 12px 14px; }
  .transport-switches strong { font-size: 15px; }
  .transport-switches small { font-size: 12px; }
  .transport-switch { width: 34px; height: 20px; }
  .transport-switch::after { width: 14px; height: 14px; }
  [aria-pressed="true"] .transport-switch::after { transform: translateX(14px); }
  .transport-svg { width: calc(100% + 28px); margin-inline: -14px; }
  .transport-contexts { grid-template-columns: 1fr; gap: 24px; }
  .mesh-name { font-size: 23px; }
  .mesh-offline-label { font-size: 20px; }
  .transport-peer-status { font-size: 18px; }
  .transport-route-label { font-size: 20px; }
  .section-heading { margin-bottom: 15px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading > span { font-size: 13px; }
  .feature-stage { grid-template-columns: minmax(0, 1fr); border-radius: 14px; }
  .feature-sidebar { padding: 18px 18px 0; border-right: none; }
  .feature-sidebar > .eyebrow, .sidebar-note { display: none; }
  .feature-tabs { flex-direction: row; overflow-x: auto; margin: 0; gap: 8px; padding: 3px 3px 18px; scrollbar-width: thin; scrollbar-color: var(--strong-border) transparent; }
  .feature-tabs button { flex-shrink: 0; padding: 10px 14px; min-height: 42px; font-size: 14px; }
  .tab-indicator { display: none; }
  .feature-body { padding: 18px 22px 30px; border-top: 1px solid var(--border); }
  .connection-svg { height: auto; margin-block: 24px 16px; }
  .connection-svg .svg-label, .connection-svg .svg-small { font-size: 24px; }
  .connection-svg .svg-tiny { font-size: 20px; }
  .connection-steps { padding-bottom: 20px; }
  .connection-steps > span { font-size: 12px; white-space: normal; }
  .feature-caption h3 { font-size: 24px; }
  .feature-caption p { font-size: 15px; }
  .preview-canvas { min-height: 355px; }
  .panel-heading .badge { font-size: 11px; padding: 4px 7px; }
  .panel-category { font-size: 12px; }
  .privacy-section, .questions { grid-template-columns: 1fr; gap: 35px; padding-block: 60px; }
  h2 { font-size: 35px; }
  .privacy-intro h2 { margin-block: 16px 20px; }
  .footer { flex-wrap: wrap; column-gap: 16px; row-gap: 18px; }
  .footer > span { margin-left: auto; }
  .footer nav { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .navigation .brand { font-size: 23px; }
  .navigation .brand img { width: 26px; height: 26px; }
  .nav-actions .button { font-size: 14px; padding-inline: 10px; }
  .nav-actions .button .icon { display: none; }
  .section-heading > span { display: none; }
  .feature-body { padding-inline: 16px; }
  .panel-heading .badge { max-width: 170px; white-space: normal; }
}
.persona-sidebar-heading { fill: var(--foreground); font-size: 18px; font-weight: 600; }
.persona-sidebar-name { fill: var(--muted-foreground); font-size: 17px; font-weight: 500; }
.persona-selection { fill: var(--accent-soft); stroke: var(--accent); stroke-opacity: .35; transition: transform .35s ease; }
.persona-story[data-scene="friends"] .persona-selection { transform: translateY(67px); }
.persona-story[data-scene="family"] .persona-selection { transform: translateY(134px); }
.persona-story[data-scene="custom"] .persona-selection { transform: translateY(201px); }
.persona-avatar-fill { fill: var(--accent-soft); }
.persona-avatar-letter, .persona-profile-initial { fill: var(--accent); text-anchor: middle; font-size: 14px; font-weight: 600; }
.persona-profile-initial { font-size: 22px; }
.persona-profile-name { fill: var(--foreground); font-size: 22px; font-weight: 600; }
.persona-chat-title { fill: var(--foreground); font-size: 17px; font-weight: 600; }
.persona-chat-preview { fill: var(--muted-foreground); font-size: 14px; }
.persona-row-surface { fill: var(--card); stroke: var(--border); }
.persona-screen { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.persona-story[data-scene="work"] .persona-screen-work,
.persona-story[data-scene="friends"] .persona-screen-friends,
.persona-story[data-scene="family"] .persona-screen-family,
.persona-story[data-scene="custom"] .persona-screen-custom { opacity: 1; transform: none; }
.persona-story[data-scene="work"] .persona-sidebar-work .persona-sidebar-name,
.persona-story[data-scene="friends"] .persona-sidebar-friends .persona-sidebar-name,
.persona-story[data-scene="family"] .persona-sidebar-family .persona-sidebar-name,
.persona-story[data-scene="custom"] .persona-sidebar-custom .persona-sidebar-name { fill: var(--foreground); }
.persona-example-note { color: var(--muted-foreground); font-size: 13px; margin: 0 16px 24px; text-align: center; }

.cloud-eyebrow { color: var(--accent); font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.cloud-device { fill: var(--background); stroke: var(--strong-border); stroke-width: 2; }
.cloud-hub { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.cloud-label { fill: var(--foreground); font-size: 20px; font-weight: 550; text-anchor: middle; }
.cloud-status { fill: var(--muted-foreground); font-size: 15px; text-anchor: middle; }
.cloud-route { fill: none; stroke: var(--strong-border); stroke-width: 2; stroke-dasharray: 5 7; }
.courier-upload-route, .courier-sam-route, .courier-alex-route { stroke: var(--accent); opacity: 0; }
.cloud-packet { fill: var(--accent); opacity: 0; offset-distance: 0%; }
.courier-outbound { offset-path: path('M171 125L314 194'); }
.courier-sam-outbound { offset-path: path('M629 125L486 194'); }
.courier-inbound { offset-path: path('M400 253V307'); }
.courier-reply { offset-path: path('M400 307V253L486 194L629 125'); }
.courier-peer { transition: opacity .3s; }
.cloud-offline, .cloud-delivered { opacity: 0; }
.courier-story:is([data-scene="send"], [data-scene="hold"]) .courier-alex { opacity: .45; }
.courier-story:is([data-scene="send"], [data-scene="hold"]) .courier-alex .cloud-online,
.courier-story:not([data-scene="send"]) .courier-you .cloud-online { opacity: 0; }
.courier-story:is([data-scene="send"], [data-scene="hold"]) .courier-alex .cloud-offline,
.courier-story:not([data-scene="send"]) .courier-you .cloud-offline { opacity: 1; }
.courier-story:not([data-scene="send"]) .courier-you { opacity: .45; }
.courier-queued { fill: var(--accent); opacity: 0; }
.courier-story[data-scene="hold"] .courier-queued,
.courier-story[data-scene="send"] :is(.courier-upload-route, .courier-sam-route),
.courier-story[data-scene="deliver"] .courier-alex-route,
.courier-story[data-scene="reply"] :is(.courier-alex-route, .courier-sam-route),
.courier-story:is([data-scene="deliver"], [data-scene="reply"]) .courier-alex .cloud-delivered,
.courier-story[data-scene="reply"] .courier-sam .cloud-delivered { opacity: 1; }
.courier-story[data-scene="send"] .courier-outbound,
.courier-story[data-scene="send"] .courier-sam-outbound,
.courier-story[data-scene="deliver"] .courier-inbound,
.courier-story[data-scene="reply"] .courier-reply,
.backup-story[data-scene="upload"] .backup-upload,
.backup-story[data-scene="restore"] .backup-download { animation: mesh-hop 2s ease-in-out both; }
.backup-upload { offset-path: path('M195 143H310'); }
.backup-download { offset-path: path('M490 143H605'); }
.backup-restored { opacity: .25; transition: opacity .3s; }
.backup-story[data-scene="restore"] .backup-restored { opacity: 1; }
.backup-copy { opacity: 0; }
.backup-story:is([data-scene="keep"], [data-scene="restore"]) .backup-copy { opacity: 1; }
.cloud-notes { max-width: 920px; margin: 40px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; }
.cloud-notes h3 { font-size: 23px; margin-bottom: 12px; letter-spacing: -.025em; }
.cloud-notes p { color: var(--muted-foreground); font-size: 17px; line-height: 1.8; }
.product-intro-copy p + p { margin-top: 22px; }
.cloud-service-note { font-size: 14px; }
@media (max-width: 640px) { .cloud-notes { grid-template-columns: 1fr; padding-inline: 20px; } }


.relationship-example { max-width: 1040px; margin: 48px auto 30px; text-align: left; }
.relationship-header { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--border); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--background); }
.relationship-header > .icon { margin-left: auto; color: var(--accent); }
.relationship-header strong { display: block; font-size: 18px; font-weight: 550; }
.relationship-header > div:not(.relationship-avatars) > span { display: block; font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }
.relationship-avatars { display: flex; padding-left: 7px; }
.relationship-avatars span { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -7px; border: 2px solid var(--background); border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; }
.relationship-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 0 0 18px 18px; overflow: hidden; }
.relationship-card { padding: 24px; min-width: 0; background: var(--background); }
.relationship-card + .relationship-card { border-left: 1px solid var(--border); }
.relationship-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 550; margin-bottom: 24px; }
.relationship-card h3 .icon { color: var(--muted-foreground); }
.relationship-content { min-height: 260px; }
.relationship-messages p { width: 90%; padding: 10px 13px; background: var(--muted); border-radius: 12px; font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.relationship-messages p span { display: block; font-size: 12px; color: var(--muted-foreground); margin-bottom: 3px; }
.relationship-messages .relationship-message-self { margin-left: auto; background: var(--accent-soft); }
.relationship-plan { text-align: center; padding-top: 7px; }
.relationship-date { display: flex; flex-direction: column; align-items: center; width: 106px; margin: 0 auto 18px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.relationship-date span { font-size: 10px; letter-spacing: .08em; color: var(--muted-foreground); }
.relationship-date strong { font-size: 42px; line-height: 1.2; font-weight: 500; }
.relationship-content h4 { font-size: 17px; font-weight: 550; margin-bottom: 7px; }
.relationship-plan p, .relationship-memory p { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.relationship-attendees { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 12px; }
.relationship-memory > svg { display: block; width: 100%; margin: 7px 0 20px; }
.memory-sky { fill: var(--muted); }
.memory-sun { fill: var(--foreground); opacity: .7; }
.memory-hills { fill: var(--accent); opacity: .55; }
.memory-river { fill: var(--accent-soft); }
.memory-bank { fill: var(--accent); opacity: .8; }
.relationship-card-copy { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 24px; }
.relationship-card-copy h4 { font-size: 21px; font-weight: 550; margin-bottom: 12px; letter-spacing: -.025em; }
.relationship-card-copy p { font-size: 16px; line-height: 1.8; color: var(--muted-foreground); }
.relationship-example-note { color: var(--muted-foreground); font-size: 13px; text-align: center; margin: 20px 12px 0; }
@media (max-width: 800px) {
  .relationship-cards { grid-template-columns: 1fr; }
  .relationship-card + .relationship-card { border-left: 0; border-top: 1px solid var(--border); }
  .relationship-content { min-height: 0; }
  .relationship-memory > svg { max-height: 190px; }
  .relationship-header { padding: 18px; gap: 10px; }
  .relationship-header strong { font-size: 16px; }
  .relationship-avatars span { width: 28px; height: 28px; }
}


.projector-stand { fill: none; stroke: var(--strong-border); stroke-width: 9; stroke-linecap: round; }
.projector-device-label { fill: var(--foreground); font-size: 16px; text-anchor: middle; }
.projector-view { transform-origin: 200px 120px; transition: transform 1.2s ease-in-out; }
.projector-story[data-scene="zoom"] .projector-view { transform: scale(1.65); }
.projector-story[data-scene="pan"] .projector-view { transform: translate(-66px, 28px) scale(1.65); }
.projector-signal { offset-path: path('M230 220H283'); }
.projector-story[data-playing="true"] .projector-signal { animation: mesh-hop 2.4s ease-in-out infinite; }
.projector-playback-indicator, .projector-video-bird { opacity: 0; }
.projector-story[data-scene="play"] :is(.projector-playback-indicator, .projector-video-bird) { opacity: 1; }
.projector-video-bird { color: var(--foreground); }
.projector-story[data-scene="play"] .projector-video-bird { animation: projector-flight 2.4s linear both; }
.projector-track { fill: var(--strong-border); }
.projector-progress { fill: var(--accent); transform-box: fill-box; transform-origin: left; }
.projector-story[data-scene="play"] .projector-progress { animation: projector-progress 2.4s linear both; }
.projector-downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.projector-downloads .button { font-size: 15px; }
@keyframes projector-flight { from { transform: translate(-40px, 8px); } to { transform: translate(20px, -8px); } }
@keyframes projector-progress { from { transform: scaleX(.05); } to { transform: scaleX(1); } }

.explore-menu > summary { list-style: none; cursor: pointer; }
.explore-menu > summary::-webkit-details-marker { display: none; }
.explore-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.explore-menu[open] .explore-chevron { transform: rotate(180deg); }
.explore-menu-panel { position: absolute; top: calc(100% + 10px); right: max(20px, calc((100vw - 1200px) / 2)); width: min(640px, calc(100vw - 40px)); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); box-shadow: var(--shadow); max-height: calc(100dvh - 110px); overflow-y: auto; }
.explore-menu-panel h2 { font-size: 13px; font-weight: 550; letter-spacing: 0; color: var(--muted-foreground); margin: 0 10px 10px; }
.explore-menu-panel a { display: block; padding: 10px; border-radius: 7px; font-size: 16px; line-height: 1.4; color: var(--foreground); }
.explore-menu-panel a:hover, .explore-menu-panel a:focus-visible { background: var(--muted); }
.explore-menu-panel .explore-menu-subheading { margin-top: 24px; }
.explore-menu-bottom { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 480px) {
  .explore-menu-panel { padding: 18px; gap: 12px; right: 12px; width: calc(100vw - 24px); }
  .explore-menu-panel a { font-size: 14px; padding: 10px 6px; }
  .explore-menu-panel h2 { margin-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .packet { display: none; }
  .mesh-hop, .transport-packet, .cloud-packet { display: none; }
}
