:root {
  color-scheme: dark;
  --ink: #09080e;
  --surface: #14111d;
  --surface-raised: #1b1524;
  --text: #fff;
  --muted: #b6adc5;
  --quiet: #81788e;
  --line: rgba(255, 255, 255, .1);
  --purple: #895cff;
  --pink: #f13ab0;
  --mint: #72e0c5;
  --blue: #3e85ff;
  --content: 1240px;
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--ink);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-width: 320px; margin: 0; background: var(--ink); color: var(--text); }
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 41% at 77% 0%, rgba(92, 40, 126, .34), transparent 75%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(180deg, #110c1c 0, #09080e 660px);
  background-size: auto, 72px 72px, 72px 72px, auto;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(241, 58, 176, .38); color: #fff; }
:focus-visible { outline: 2px solid #c4a2ff; outline-offset: 4px; }
.content-width { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.site-shell { position: relative; z-index: 1; overflow: clip; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  min-height: 82px;
  margin-inline: auto;
  padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; }
.primary-nav { display: flex; align-items: center; gap: clamp(17px, 2.35vw, 34px); margin-left: auto; }
.primary-nav > a, .site-footer nav a { color: #d4cedd; font-size: 12px; transition: color .2s ease; }
.primary-nav > a:hover, .site-footer nav a:hover, .back-link:hover { color: #fff; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: #9658ff; color: #fff; box-shadow: 0 9px 30px rgba(137, 92, 255, .16); }
.button-primary:hover { background: #a36cff; }
.button-outline { border-color: rgba(137, 92, 255, .72); background: rgba(12, 9, 18, .25); color: #fff; }
.button-outline:hover { border-color: #c2a1ff; background: rgba(137, 92, 255, .12); }
.button-small { min-height: 39px; padding-inline: 14px; border-radius: 10px; font-size: 11px; }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; min-height: 650px; padding-top: 35px; padding-bottom: 66px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 10px; }
.eyebrow { margin: 0; color: #b58eff; font-size: 10px; font-weight: 750; letter-spacing: .19em; line-height: 1.6; }
.hero-copy .eyebrow { color: #bba8d7; }
.hero-copy .eyebrow span { padding-inline: 4px; color: #f18bd1; }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1 { margin: 22px 0 23px; font-size: clamp(54px, 6.15vw, 78px); font-weight: 800; letter-spacing: -.065em; line-height: .99; }
.hero h1 span { color: #f2d7ff; background: linear-gradient(93deg, #fff 2%, #e7cfff 50%, #ff83d4 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 510px; margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 26px 0 0; color: var(--muted); font-size: 12px; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--mint)); box-shadow: 0 0 14px rgba(241, 58, 176, .38); }
.hero-art { position: relative; display: grid; place-items: start center; min-height: 675px; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -1; inset: 8% 5% 4%; content: ""; border-radius: 50%; background: radial-gradient(ellipse, rgba(135, 64, 201, .2), transparent 68%); filter: blur(18px); }
.phone { overflow: hidden; padding: 7px; border: 1px solid rgba(255,255,255,.17); border-radius: 31px; background: #15131d; box-shadow: 0 26px 55px rgba(0,0,0,.45), 0 0 48px rgba(137,92,255,.14); }
.phone img { width: 100%; height: 100%; border-radius: 24px; object-fit: cover; }
.hero-art .phone { position: absolute; width: min(43%, 292px); aspect-ratio: 1280 / 2856; }
.phone-back { top: 78px; opacity: .72; }
.phone-back-left { left: 4%; transform: rotate(-5.4deg); opacity: .62; }
.phone-back-right { right: 2%; top: 43px; transform: rotate(5.4deg); }
.phone-front { z-index: 2; top: 0; width: min(50%, 330px) !important; }
.hero-caption { position: absolute; z-index: 3; bottom: 4px; left: 5%; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(27,21,36,.9); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.spark { color: var(--mint); font-size: 19px; line-height: 1; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 9px; letter-spacing: .11em; }
.hero-caption small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.signal-band { border-block: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.signal-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(26px, 5vw, 68px); padding-block: 20px; }
.signal-list div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.signal-list span { color: #ff83d4; font-size: 13px; font-weight: 800; }

.section { padding-block: 112px; }
.section-heading h2 { margin: 14px 0 0; font-size: clamp(38px, 4.3vw, 54px); font-weight: 780; letter-spacing: -.06em; line-height: 1.03; }
.toolkit-content { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(45px, 8vw, 104px); align-items: center; margin-top: 43px; }
.toolkit-copy h3 { max-width: 340px; margin-bottom: 15px; font-size: 21px; letter-spacing: -.035em; line-height: 1.2; }
.toolkit-copy > p { max-width: 390px; margin-bottom: 26px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.quiet-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.quiet-list li { display: flex; align-items: center; gap: 11px; color: #d2c7e1; font-size: 12px; }
.quiet-list li::before { width: 24px; height: 1px; content: ""; background: var(--pink); }
.quiet-list li:nth-child(2)::before { background: var(--purple); }
.quiet-list li:nth-child(3)::before { background: var(--mint); }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-item { display: flex; align-items: center; gap: 13px; min-height: 106px; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(20,17,29,.86); transition: border-color .2s ease, transform .2s ease; }
.mode-item:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.mode-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; padding: 10px; border-radius: 13px; }
.mode-icon img { width: 100%; height: 100%; object-fit: contain; }
.icon-pink { background: rgba(241,58,176,.1); }
.icon-purple { background: rgba(137,92,255,.13); }
.icon-mint { background: rgba(114,224,197,.1); }
.icon-blue { background: rgba(62,133,255,.12); }
.mode-item strong, .mode-item small { display: block; }
.mode-item strong { font-size: 13px; font-weight: 700; }
.mode-item small { margin-top: 5px; color: var(--muted); font-size: 11px; }

.showcase-band { background: #0d0a14; }
.showcase-section { padding-block: 105px 116px; }
.showcase-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(220px, .82fr) minmax(210px, .88fr); align-items: center; gap: clamp(30px, 5vw, 64px); margin-top: 48px; }
.selector-label { margin: 0 0 15px; color: var(--muted); font-size: 11px; letter-spacing: .07em; }
.screen-selector { display: grid; gap: 9px; }
.screen-option { display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; align-items: center; gap: 13px; min-height: 72px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.035); text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.screen-option:hover { transform: translateX(2px); border-color: rgba(255,255,255,.17); }
.screen-option.is-selected { border-color: rgba(181,139,255,.78); background: rgba(137,92,255,.17); }
.screen-number { color: var(--quiet); font-size: 11px; font-weight: 700; }
.is-selected .screen-number, .screen-arrow { color: #e2d2ff; }
.screen-option-copy strong, .screen-option-copy small { display: block; }
.screen-option-copy strong { font-size: 13px; font-weight: 700; }
.screen-option-copy small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.screen-arrow { justify-self: end; color: var(--quiet); font-size: 15px; }
.showcase-device-wrap { display: grid; place-items: center; }
.showcase-phone { width: min(100%, 315px); aspect-ratio: 1280 / 2856; transition: opacity .22s ease, transform .22s ease; }
.showcase-phone.is-changing { transform: translateY(7px); opacity: .4; }
.showcase-copy { align-self: center; }
.screen-kicker { margin-bottom: 14px; color: #ff82d4; font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.showcase-copy h3 { margin-bottom: 13px; font-size: 25px; font-weight: 720; letter-spacing: -.04em; line-height: 1.2; }
.showcase-copy > p:not(.screen-kicker) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.readout { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: var(--muted); font-size: 9px; letter-spacing: .09em; white-space: nowrap; }
.readout > span:first-child { color: #ff82d4; font-weight: 750; }
.readout-rule { flex: 1; height: 1px; background: rgba(255,255,255,.12); }

.gallery { padding-top: 115px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 18px; margin-top: 43px; }
.gallery-item { min-width: 0; }
.gallery-item .phone { width: 100%; aspect-ratio: 1280 / 2856; }
.gallery-home .phone { transform: rotate(-2deg); }
.gallery-create .phone { transform: rotate(2deg); }
.gallery-profile .phone { transform: rotate(3deg); }
.gallery-item figcaption { display: grid; gap: 7px; margin-top: 16px; }
.gallery-item figcaption span { color: #b58eff; font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.gallery-item figcaption strong { font-size: 13px; font-weight: 700; line-height: 1.35; }

.policy-section { padding-top: 74px; padding-bottom: 122px; }
.policy-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 42px; }
.policy-link { display: grid; grid-template-columns: 28px minmax(0,1fr) 18px; align-items: center; gap: 14px; min-height: 116px; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: rgba(255,255,255,.035); transition: border-color .2s ease, background .2s ease; }
.policy-link:hover { border-color: rgba(197,174,255,.45); background: rgba(137,92,255,.07); }
.policy-symbol { color: #c6b0ff; font-size: 28px; text-align: center; }
.document-symbol { font-size: 23px; }
.policy-link strong, .policy-link small { display: block; }
.policy-link strong { font-size: 14px; }
.policy-link small { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.link-arrow { color: var(--muted); font-size: 15px; }

.site-footer { padding: 40px 0 28px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.28); }
.footer-main { display: flex; justify-content: space-between; gap: 32px; }
.footer-main .brand img { width: 38px; height: 38px; }
.footer-main > div > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; padding-top: 12px; }
.site-footer nav a { font-size: 11px; }
.footer-meta { display: flex; justify-content: space-between; margin-top: 42px; color: var(--quiet); font-size: 10px; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; max-width: min(420px, calc(100% - 32px)); padding: 15px 18px; border: 1px solid rgba(197,174,255,.3); border-radius: 12px; background: #1b1524; box-shadow: 0 18px 45px rgba(0,0,0,.38); color: #eee7f7; font-size: 13px; line-height: 1.5; }
.toast[hidden] { display: none; }

/* Legal pages */
.legal-page { background: var(--ink); }
.legal-header { justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
.back-link { color: var(--muted); font-size: 12px; transition: color .2s ease; }
.legal-main { width: min(860px, calc(100% - 48px)); min-height: calc(100vh - 180px); padding-top: 75px; padding-bottom: 80px; }
.legal-topline { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.legal-topline > a { color: #d5c7ed; font-size: 11px; }
.legal-topline > a span { margin-left: 5px; }
.legal-main h1 { margin: 22px 0 10px; font-size: clamp(42px, 6vw, 64px); letter-spacing: -.06em; line-height: 1.02; }
.legal-effective { margin-bottom: 27px; color: var(--muted); font-size: 12px; }
.legal-rule { height: 1px; margin-bottom: 34px; background: var(--line); }
.legal-copy { color: #d1cbd9; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-copy h2 { margin: 35px 0 12px; color: #fff; font-size: 21px; letter-spacing: -.025em; line-height: 1.3; }
.legal-copy h3 { margin: 25px 0 9px; color: #eee7f7; font-size: 16px; font-weight: 700; line-height: 1.45; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ul { display: grid; gap: 9px; margin: 2px 0 20px; padding-left: 22px; }
.legal-copy li { padding-left: 4px; }
.legal-copy li::marker { color: #c6a8ff; }
.legal-copy a { color: #d2b8ff; text-decoration: underline; text-underline-offset: 3px; }
.loading-copy, .load-error { color: var(--muted); }
.legal-back { margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); color: #d2b8ff; font-size: 12px; }
.legal-footer { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; }
.legal-footer a { color: var(--muted); }

@media (max-width: 940px) {
  .hero { grid-template-columns: .94fr 1.06fr; min-height: 590px; }
  .hero h1 { font-size: clamp(52px, 7.2vw, 68px); }
  .hero-art { min-height: 510px; }
  .showcase-layout { grid-template-columns: minmax(210px,1fr) minmax(190px,.82fr); }
  .showcase-copy { grid-column: 1 / -1; max-width: 600px; }
  .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  .gallery-item figcaption strong { font-size: 11px; }
}
@media (max-width: 700px) {
  .content-width, .site-header { width: min(100% - 36px, var(--content)); }
  .site-header { min-height: 70px; }
  .brand { font-size: 15px; }
  .brand img { width: 37px; height: 37px; }
  .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; margin-left: auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: #fff; }
  .primary-nav { position: absolute; top: calc(100% - 2px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 14px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(17,12,28,.97); box-shadow: 0 20px 45px rgba(0,0,0,.38); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .primary-nav .button { margin-top: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 43px; padding-bottom: 42px; }
  .hero h1 { margin-top: 17px; font-size: clamp(50px, 13vw, 68px); }
  .hero-description { max-width: 520px; font-size: 14px; }
  .hero-art { width: min(100%, 510px); min-height: 490px; margin: 42px auto 0; }
  .hero-art .phone { width: min(40%, 230px); }
  .phone-front { width: min(48%, 270px) !important; }
  .phone-back { top: 60px; }
  .phone-back-right { top: 35px; }
  .hero-caption { bottom: 3px; left: 0; }
  .signal-list { justify-content: flex-start; gap: 14px 26px; padding-block: 18px; }
  .signal-list div { min-width: calc(50% - 15px); font-size: 11px; }
  .section, .showcase-section { padding-block: 77px; }
  .section-heading h2 { font-size: clamp(37px, 10vw, 47px); }
  .toolkit-content { grid-template-columns: 1fr; gap: 31px; margin-top: 31px; }
  .toolkit-copy h3 { font-size: 20px; }
  .mode-grid { gap: 9px; }
  .mode-item { min-height: 89px; gap: 10px; padding: 12px; border-radius: 13px; }
  .mode-icon { flex-basis: 40px; width: 40px; height: 40px; padding: 8px; border-radius: 11px; }
  .mode-item strong { font-size: 11px; }
  .mode-item small { font-size: 10px; }
  .showcase-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 33px; }
  .screen-selector { grid-row: 2; }
  .showcase-device-wrap { grid-row: 1; }
  .showcase-phone { width: min(67%, 270px); }
  .showcase-copy { grid-column: auto; grid-row: 3; }
  .gallery { padding-top: 77px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 14px; margin-top: 31px; }
  .gallery-item figcaption { margin-top: 12px; }
  .gallery-item figcaption strong { font-size: 11px; }
  .policy-section { padding-top: 45px; padding-bottom: 82px; }
  .policy-links { grid-template-columns: 1fr; gap: 10px; margin-top: 31px; }
  .policy-link { min-height: 100px; padding: 15px; }
  .footer-main { flex-direction: column; gap: 23px; }
  .site-footer nav { gap: 15px 20px; padding-top: 0; }
  .footer-meta { margin-top: 31px; font-size: 9px; }
  .legal-header { min-height: 70px; }
  .legal-main { width: min(100% - 36px, 860px); padding-top: 47px; padding-bottom: 56px; }
  .legal-topline { align-items: flex-start; }
  .legal-topline > a { max-width: 46%; text-align: right; line-height: 1.5; }
  .legal-copy { font-size: 13px; line-height: 1.78; }
  .legal-copy h2 { font-size: 19px; }
  .legal-copy h3 { font-size: 15px; }
  .toast { right: 16px; bottom: 16px; }
}
@media (max-width: 390px) {
  .hero-art { min-height: 430px; }
  .hero-art .phone { width: 41%; }
  .phone-front { width: 49% !important; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-item { min-height: 75px; }
  .gallery-grid { gap: 22px 10px; }
  .footer-meta { flex-wrap: wrap; gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
