:root {
  --ink: #17141d;
  --paper: #f8f7fa;
  --violet: #7c3aed;
  --violet-light: #a66bff;
  --muted: #696471;
  --line: rgba(23, 20, 29, .12);
  --radius: 28px;
  --shadow: 0 24px 80px rgba(33, 20, 55, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px)); height: 64px; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; justify-content: space-between;
  color: white; border: 1px solid rgba(255,255,255,.16); border-radius: 20px;
  background: rgba(18, 15, 24, .52); backdrop-filter: blur(18px); transition: .3s ease;
}
.nav.scrolled { background: rgba(248,247,250,.88); color: var(--ink); border-color: var(--line); box-shadow: 0 12px 40px rgba(22,18,28,.08); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 112px; height: 40px; object-fit: contain; }
.nav .logo-dark, .nav.scrolled .logo-light { display: none; }
.nav.scrolled .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a { text-decoration: none; font-size: 14px; font-weight: 650; padding: 12px 13px; border-radius: 12px; }
.nav-links > a:hover { background: rgba(127,127,127,.13); }
.nav-cta { background: white !important; color: var(--ink); }
.nav.scrolled .nav-cta { background: var(--ink) !important; color: white; }
.language-switch { display: inline-flex !important; align-items: center; justify-content: center; min-width: 44px; gap: 7px; border: 1px solid rgba(127,127,127,.3); }
.language-switch .flag { font-size: 18px; line-height: 1; }
.language-switch .lang-label { font-size: 11px; letter-spacing: .08em; }
.mobile-language { display: none !important; min-height: 42px; padding: 0 10px; margin-left: auto; border-radius: 12px; text-decoration: none; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; width: 44px; height: 44px; font-size: 24px; }

.hero {
  min-height: 100svh; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden;
  background: #111019; color: white;
}
.hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(72vw, 1040px); height: 100%; max-width: none; object-fit: cover; object-position: center 48%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(13,12,18,.98) 0%, rgba(13,12,18,.88) 37%, rgba(13,12,18,.45) 64%, rgba(13,12,18,.08) 100%), linear-gradient(0deg, rgba(13,12,18,.68), transparent 52%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.hero h1 { max-width: 820px; margin: 26px 0 24px; font-size: clamp(58px, 8.6vw, 126px); font-weight: 560; letter-spacing: -.075em; line-height: .86; }
.spectrum-text { background: linear-gradient(90deg, #a96bff, #ef70c8 32%, #ff8065 58%, #ffc64f 78%, #81df86); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 600px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: rgba(255,255,255,.76); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 16px; text-decoration: none; font-size: 15px; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: white; }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
.hero-note { margin-top: 18px; color: rgba(255,255,255,.48); font-size: 13px; }
.scroll-cue { position: absolute; z-index: 3; right: 34px; bottom: 30px; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; opacity: .55; }

.marquee { overflow: hidden; padding: 18px 0; color: white; background: var(--violet); }
.marquee-track { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.marquee span { padding: 0 28px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 760; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 120px 0; }
.section-kicker { margin: 0 0 20px; color: var(--violet); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.display { max-width: 890px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 570; }
.lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }

.manifesto-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.6); }
.principle-num { display: block; margin-bottom: 86px; color: var(--violet); font-size: 13px; font-weight: 750; }
.principle h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.03em; }
.principle p { margin: 0; color: var(--muted); line-height: 1.55; }

.experience { background: #121016; color: white; overflow: hidden; }
.experience .section-kicker { color: #b786ff; }
.experience .lead { color: rgba(255,255,255,.55); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 46px; margin-top: 80px; align-items: start; }
.phone-wrap:nth-child(2) { margin-top: 110px; }
.phone { position: relative; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #343239, #050506 22%, #050506 78%, #2c2a30); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone::before, .phone::after { content: ""; position: absolute; left: -4px; width: 3px; background: #232127; border-radius: 3px 0 0 3px; }
.phone::before { top: 19%; height: 11%; box-shadow: 0 48px 0 #232127; }
.phone::after { top: 12%; height: 5%; }
.phone-screen { position: relative; isolation: isolate; aspect-ratio: 1170/2532; overflow: hidden; border-radius: 36px; color: #16131b; background: #fbfafc; }
.dynamic-island { position: absolute; z-index: 2; top: 18px; left: 50%; display: block; transform: translateX(-50%); width: 31%; height: 18px; border-radius: 99px; pointer-events: none; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 2px 5px rgba(0,0,0,.22); }
.dynamic-island::after { content: ""; position: absolute; top: 50%; right: 8px; width: 6px; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #30425f, #111726 48%, #030407 70%); box-shadow: 0 0 2px rgba(93,126,180,.7); }
.app-screenshot { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.screen-head { padding: 44px 18px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ece9ef; }
.screen-head img { width: 76px; height: 28px; object-fit: contain; }
.screen-head b { color: var(--violet); font-size: 12px; }
.feed-card { margin: 12px; overflow: hidden; background: white; border: 1px solid #ebe8ef; border-radius: 18px; box-shadow: 0 8px 22px rgba(35,25,50,.06); }
.feed-meta { display: flex; align-items: center; gap: 9px; padding: 12px; font-size: 10px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(#7c3aed, #ef70c8, #ff8a5c, #eada62, #79dd94, #7c3aed); padding: 2px; }
.avatar::after { content: ""; display: block; width: 100%; height: 100%; border: 2px solid white; border-radius: inherit; background: #ded9e6; }
.feed-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.feed-actions { padding: 12px; display: flex; gap: 14px; font-size: 17px; }
.feed-copy { padding: 0 12px 14px; font-size: 10px; line-height: 1.45; }
.wash-card { padding: 20px 18px; min-height: 155px; background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(239,112,200,.13), rgba(255,198,79,.11)); }
.wash-card p { margin: 20px 0 28px; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.range { height: 4px; border-radius: 4px; background: #e6e1ea; }
.range::before { content: ""; display: block; width: 46%; height: 100%; border-radius: inherit; background: var(--violet); }
.space-photo { height: 180px; width: 100%; object-fit: cover; }
.space-panel { padding: 18px; background: linear-gradient(110deg, rgba(124,58,237,.16), rgba(239,112,200,.1)); }
.space-panel h4 { margin: 4px 0 6px; font-size: 20px; }
.chat-bubble { max-width: 82%; margin: 12px 0; padding: 11px 13px; border-radius: 15px 15px 15px 5px; background: #f0edf3; font-size: 10px; line-height: 1.45; }
.chat-bubble.me { margin-left: auto; color: white; border-radius: 15px 15px 5px 15px; background: var(--violet); }
.phone-caption { padding: 24px 6px 0; }
.phone-caption b { display: block; margin-bottom: 6px; font-size: 18px; }
.phone-caption span { color: rgba(255,255,255,.48); line-height: 1.45; }

.feature-stack { display: grid; gap: 1px; margin-top: 72px; border-top: 1px solid var(--line); }
.feature-row { position: relative; display: grid; grid-template-columns: 100px 1fr 1fr; gap: 28px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.feature-row::after { content: ""; position: absolute; left: 0; bottom: -1px; width: var(--progress, 0%); height: 2px; background: linear-gradient(90deg, var(--violet), #ef70c8, #ffc64f); }
.feature-index { color: var(--violet); font-weight: 760; }
.feature-row h3 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.feature-row p { margin: 2px 0 0; color: var(--muted); line-height: 1.65; }

.privacy-card { position: relative; overflow: hidden; padding: clamp(34px, 7vw, 78px); color: white; background: #17131f; border-radius: 40px; }
.privacy-card::after { content: ""; position: absolute; right: -15%; top: -50%; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.7), transparent 64%); filter: blur(20px); }
.privacy-card > * { position: relative; z-index: 1; }
.privacy-card h2 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 570; }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 52px 0 38px; }
.privacy-points div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.privacy-points b { display: block; margin-bottom: 8px; }
.privacy-points span { color: rgba(255,255,255,.55); line-height: 1.5; }

.venue-portal { padding-bottom: 0; }
.venue-portal-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 60px; align-items: center; overflow: hidden; padding: clamp(36px, 7vw, 82px); color: white; border-radius: 40px; background: radial-gradient(circle at 82% 18%, rgba(159,102,255,.4), transparent 28%), #14111a; }
.venue-portal-card::after { content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.venue-portal-card > * { position: relative; z-index: 1; }
.venue-portal-card h2 { max-width: 720px; margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 570; }
.venue-portal-card > div:first-child > p:not(.section-kicker) { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.58); font-size: 18px; line-height: 1.6; }
.venue-button { width: fit-content; margin-top: 32px; color: #17141d; background: white; }
.portal-preview { min-height: 370px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); backdrop-filter: blur(12px); }
.portal-preview small { color: #b896ff; letter-spacing: .16em; font-weight: 800; }
.portal-preview b { margin: 8px 0 10px; font-size: 33px; letter-spacing: -.035em; }
.portal-preview p { margin: 0 0 28px; color: rgba(255,255,255,.58); line-height: 1.5; }
.portal-preview i { padding-top: 16px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; font-style: normal; }
.portal-orbit { position: absolute; left: 50%; top: 36%; width: 210px; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(181,139,255,.35); border-radius: 50%; box-shadow: 0 0 0 34px rgba(155,96,255,.07), 0 0 0 68px rgba(155,96,255,.035), inset 0 0 55px rgba(155,96,255,.18); }
.portal-orbit::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #c2a0ff; font-size: 54px; filter: drop-shadow(0 0 20px rgba(183,137,255,.7)); }

.final-cta { text-align: center; padding-bottom: 140px; }
.final-cta .app-icon { width: 110px; margin: 0 auto 32px; border-radius: 25px; box-shadow: var(--shadow); }
.final-cta h2 { max-width: 900px; margin: 0 auto; font-size: clamp(48px, 7vw, 96px); line-height: .93; letter-spacing: -.065em; font-weight: 570; }
.final-cta p { color: var(--muted); font-size: 18px; }
.final-cta .button { color: white; background: var(--ink); }
.download-page { min-height: calc(100svh - 74px); display: grid; place-items: center; padding-block: 60px; }
.download-page h1 { max-width: 900px; margin: 0 auto; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.065em; font-weight: 570; overflow-wrap: break-word; }
.download-page .download-copy { max-width: 580px; margin: 24px auto; line-height: 1.6; }
.download-page .cta-row { justify-content: center; }
.app-store-badge { display: inline-block; border-radius: 12px; }
.app-store-badge img { display: block; width: 180px; height: auto; }
.app-store-badge:focus-visible { outline: 3px solid var(--violet); outline-offset: 6px; }
.download-page .download-note { font-size: 13px; margin-top: 22px; }

.footer { padding: 58px 0 34px; color: white; background: #121016; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-logo { width: 130px; }
.footer p { color: rgba(255,255,255,.48); line-height: 1.55; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 12px 38px; }
.footer-links a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.38); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Legal and utility pages */
.page-nav { position: sticky; top: 0; z-index: 30; height: 74px; color: var(--ink); background: rgba(248,247,250,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.page-nav .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.page-nav img { width: 110px; height: 40px; object-fit: contain; }
.page-nav a { text-decoration: none; font-weight: 700; font-size: 14px; }
.page-actions { display: flex; align-items: center; gap: 12px; }
.page-nav .language-switch { min-height: 42px; padding: 0 12px; border-radius: 12px; }
.legal-hero { padding: 96px 0 56px; }
.legal-hero h1 { max-width: 900px; margin: 12px 0 24px; font-size: clamp(48px, 7vw, 86px); line-height: .96; letter-spacing: -.06em; font-weight: 570; }
.legal-meta { color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 72px; align-items: start; padding-bottom: 120px; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 8px; }
.legal-toc a { color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.35; }
.legal-toc a:hover { color: var(--violet); }
.legal-copy h2 { margin: 64px 0 16px; font-size: 30px; letter-spacing: -.035em; scroll-margin-top: 100px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 28px; font-size: 18px; }
.legal-copy p, .legal-copy li { color: #514b59; font-size: 16px; line-height: 1.72; }
.legal-copy a { color: var(--violet); }
.legal-copy li + li { margin-top: 8px; }
.legal-copy table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.legal-copy th, .legal-copy td { padding: 14px; text-align: left; vertical-align: top; border: 1px solid var(--line); line-height: 1.5; }
.legal-copy th { background: white; }
.legal-note { padding: 20px; border-left: 3px solid var(--violet); background: rgba(124,58,237,.06); border-radius: 0 14px 14px 0; }
.launch-warning { padding: 18px 20px; margin-bottom: 38px; color: #562d00; background: #fff2df; border: 1px solid #f3c988; border-radius: 15px; line-height: 1.5; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.support-card { padding: 30px; min-height: 180px; text-decoration: none; border: 1px solid var(--line); border-radius: 24px; background: white; }
.support-card:hover { border-color: var(--violet); transform: translateY(-2px); }
.support-card b { display: block; margin-bottom: 10px; font-size: 21px; }
.support-card span { color: var(--muted); line-height: 1.5; }

@media (max-width: 860px) {
  .shell { width: min(100% - 32px, 680px); }
  .menu-button { display: block; }
  .mobile-language { display: inline-flex !important; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; display: none; padding: 12px; color: var(--ink); background: rgba(248,247,250,.98); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links > a { padding: 15px; }
  .nav-links .language-switch { display: none !important; }
  .nav-cta { color: white !important; background: var(--ink) !important; }
  .hero-media { width: 100%; object-position: center 45%; }
  .hero::before { background: linear-gradient(90deg, rgba(13,12,18,.86), rgba(13,12,18,.55)), linear-gradient(0deg, rgba(13,12,18,.88), rgba(13,12,18,.18) 65%); }
  .manifesto-grid, .privacy-points { grid-template-columns: 1fr; }
  .venue-portal-card { grid-template-columns: 1fr; }
  .principle { min-height: 210px; }
  .principle-num { margin-bottom: 58px; }
  .phones { grid-template-columns: minmax(250px, 370px); justify-content: center; }
  .phone-wrap:nth-child(2) { margin-top: 0; }
  .feature-row { grid-template-columns: 55px 1fr; }
  .feature-row p { grid-column: 2; }
  .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, 1fr); padding: 20px; background: white; border-radius: 16px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .section { padding: 86px 0; }
  .hero h1 { font-size: clamp(52px, 18vw, 76px); }
  .hero-copy { font-size: 17px; }
  .cta-row { display: grid; }
  .scroll-cue { display: none; }
  .feature-row { grid-template-columns: 40px 1fr; gap: 10px; }
  .feature-row h3 { font-size: 25px; }
  .privacy-card { border-radius: 26px; }
  .venue-portal-card { padding: 32px 22px; border-radius: 26px; }
  .footer-top, .footer-bottom { display: grid; }
  .footer-links { margin-top: 20px; }
  .legal-hero { padding-top: 64px; }
  .legal-toc, .support-grid { grid-template-columns: 1fr; }
  .legal-copy table, .legal-copy tbody, .legal-copy tr, .legal-copy td { display: block; }
  .legal-copy thead { display: none; }
  .legal-copy tr { margin-bottom: 14px; border: 1px solid var(--line); }
  .legal-copy td { border: 0; border-bottom: 1px solid var(--line); }
}

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