:root {
  --brand: #6672f0;
  --bg: #07080b;
  --ink: #f2f4f8;
  --ink-2: #b9bfcc;
  --muted: #7e8594;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }

.glow { position: fixed; z-index: -1; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; }
.g1 { top: -25vw; left: -15vw; background: radial-gradient(circle, #3a3f4d, transparent 65%); }
.g2 { bottom: -30vw; right: -20vw; background: radial-gradient(circle, #2b2f39, transparent 65%); }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.35);
}

h1, h2, h3 { margin: 0; letter-spacing: -0.045em; line-height: 0.98; }
h1 { font-size: clamp(52px, 9vw, 132px); font-weight: 900; }
h2 { font-size: clamp(38px, 5.5vw, 76px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.dim { color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; margin: 26px 0 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.wordmark { font-weight: 900; font-style: italic; letter-spacing: -0.05em; color: var(--brand); font-size: 26px; line-height: 1; }
.wordmark.small { font-size: 20px; }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform 0.3s var(--ease), background 0.3s; cursor: pointer; }
.pill:hover { transform: translateY(-1px); }
.pill.big { padding: 16px 26px; font-size: 16px; }
.pill.ghost { background: transparent; color: var(--ink); }

.dock { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 22px; border-radius: 99px; }
.dock nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dock nav a:hover { color: var(--ink); }
.mLink { display: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }

.hero { padding: 150px 0 60px; position: relative; overflow-x: clip; }
.heroInner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.heroInner .lead { margin-left: auto; margin-right: auto; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); }
.actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.fan { --k: 1; position: relative; height: clamp(300px, 36vw, 470px); margin: 64px auto 0; width: min(1000px, 100%); }
.fan .fcard { position: absolute; left: 50%; top: 0; width: clamp(150px, 17vw, 230px); aspect-ratio: 3 / 4.2; border-radius: 22px; overflow: hidden; border: 1px solid var(--stroke);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); transition: transform 0.9s var(--ease); transform: translateX(-50%) rotate(var(--r)) translate(calc(var(--x) * var(--k)), var(--y)); }
.fan .fcard img { width: 100%; height: 100%; object-fit: cover; }
.fan .fcard span { position: absolute; left: 14px; bottom: 12px; font-weight: 800; font-size: 17px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.fan:hover .fcard { transform: translateX(-50%) rotate(calc(var(--r) * 1.3)) translate(calc(var(--x) * var(--k) * 1.35), calc(var(--y) * 0.6)); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 48px 0 0; }
.stats div { border-radius: 22px; padding: 22px 24px; }
.stats dt { font-size: 38px; font-weight: 900; letter-spacing: -0.04em; }
.stats dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.models { padding: 110px 0 40px; }
.modelsHead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.segment { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; scrollbar-width: none; }
.segment::-webkit-scrollbar { display: none; }
.segment .thumb { position: absolute; top: 5px; bottom: 5px; border-radius: 99px; background: var(--ink); transition: left 0.45s var(--ease), width 0.45s var(--ease); }
.seg { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: color 0.3s; white-space: nowrap; }
.seg.active { color: var(--bg); }
.seg sup { margin-left: 4px; font-size: 10px; opacity: 0.7; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px max(20px, calc((100vw - 1240px) / 2)) 30px; scrollbar-width: none; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail { scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2)); }
.mcard { flex: 0 0 clamp(230px, 24vw, 320px); scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4.3; border-radius: 28px; overflow: hidden; border: 1px solid var(--stroke); cursor: pointer; padding: 0; background: #111; text-align: left; transition: transform 0.6s var(--ease); }
.mcard:hover { transform: translateY(-6px); }
.mcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mcard:hover img { transform: scale(1.05); }
.mcard .top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.chip { display: inline-flex; padding: 6px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.mcard .chip, .mcard .info { background: linear-gradient(180deg, rgba(14, 16, 21, 0.55), rgba(14, 16, 21, 0.4)); }
.mcard .info { position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: 20px; padding: 14px 16px; }
.mcard .info b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.mcard .info span { font-size: 13px; color: var(--ink-2); }
.empty { padding: 80px 20px; color: var(--muted); }
.railNav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hintText { font-size: 13px; color: var(--muted); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }

.features { padding: 110px 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.tile { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.tile.wide { grid-column: span 2; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ico { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }

.download { padding: 40px 0 110px; }
.dlCard { border-radius: 40px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; overflow: hidden; }
.storeBtn { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; padding: 14px 26px 14px 20px; border-radius: 20px; background: var(--ink); color: var(--bg); transition: transform 0.3s var(--ease); }
.storeBtn:hover { transform: translateY(-2px); }
.storeBtn span { display: flex; flex-direction: column; line-height: 1.1; }
.storeBtn small { font-size: 12px; font-weight: 500; }
.storeBtn b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.storeBtn.soon { background: var(--glass-2); color: var(--ink); border: 1px solid var(--stroke); cursor: default; }
.storeBtn.soon:hover { transform: none; }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.phone { width: 270px; height: 550px; border-radius: 46px; padding: 10px; background: #000; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #2c2f36; }
.phoneScreen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #0a0d14; color: #edf1f8; display: flex; flex-direction: column; }
.phoneTop { padding: 32px 14px 8px; display: flex; align-items: center; gap: 8px; }
.phoneTop .search { flex: 1; height: 26px; border-radius: 99px; background: #151a23; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 10px; color: #6b7384; display: flex; align-items: center; padding: 0 10px; }
.phoneCats { display: flex; gap: 12px; padding: 4px 14px 8px; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; color: #6b7384; }
.phoneCats b { color: #edf1f8; border-bottom: 1.5px solid #edf1f8; padding-bottom: 3px; }
.phoneGrid { display: grid; grid-template-columns: 1fr 1fr; flex: 1; overflow: hidden; align-content: start; }
.phoneGrid div { position: relative; aspect-ratio: 3 / 4; }
.phoneGrid img { width: 100%; height: 100%; object-fit: cover; }
.phoneGrid span { position: absolute; left: 8px; bottom: 6px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.phoneDock { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 12px; padding: 9px 14px; border-radius: 99px;
  background: rgba(30, 34, 44, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(14px); }
.phoneDock i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.phoneDock i.on { background: #edf1f8; border-color: #edf1f8; border-radius: 50%; }

.foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 0 44px; border-top: 1px solid var(--stroke); font-size: 14px; color: var(--muted); }
.footLinks { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.footLinks a:hover { color: var(--ink); }

.backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; animation: fade 0.35s var(--ease); }
.backdrop[hidden] { display: none; }
.modal { position: relative; width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; animation: rise 0.5s var(--ease); background: rgba(20, 22, 28, 0.75); }
.modal img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.modalBody { padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.modalBody h3 { font-size: 52px; font-weight: 900; letter-spacing: -0.05em; }
.modalBody p { margin: 0; color: var(--ink-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 7px 12px; border-radius: 99px; background: var(--glass-2); border: 1px solid var(--stroke); font-size: 13px; font-weight: 600; }
.modalBody .pill { margin-top: 14px; align-self: flex-start; }
.close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(0.98); } }

.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dlCard { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .dock { left: 16px; right: 16px; transform: none; justify-content: space-between; padding-left: 18px; }
  .dock nav { display: none; }
  h1 { font-size: clamp(40px, 13.8vw, 56px); }
  .hero { padding: 112px 0 40px; }
  .fan { --k: 0.62; height: 232px; margin-top: 44px; }
  .stats { margin-top: 28px; gap: 10px; }
  .stats div { padding: 18px; border-radius: 20px; }
  .rail { padding: 28px 16px 22px; gap: 12px; scroll-padding-inline: 16px; }
  .arrows { display: none; }
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .actions .pill { justify-content: center; text-align: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot a { padding: 8px 0; }
  .fan .fcard { width: 120px; }
  .fan:hover .fcard { transform: translateX(-50%) rotate(var(--r)) translate(calc(var(--x) * var(--k)), var(--y)); }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: span 1; }
  .tile { min-height: 0; }
  .segment { width: 100%; overflow-x: auto; }
  .seg { padding: 9px 13px; font-size: 13px; }
  .railNav { flex-direction: column; align-items: flex-start; }
  .mcard { flex-basis: 72vw; }
  .modal { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal img { aspect-ratio: 4 / 4.2; }
  .modalBody { padding: 26px 22px; }
  .modalBody h3 { font-size: 40px; }
  .storeBtn { width: 100%; justify-content: center; }
  .phone { width: 240px; height: 490px; }
  .footLinks { margin-left: 0; flex-direction: column; gap: 6px; }
}
.heroModel { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.heroModel b { color: var(--ink); font-weight: 700; }
.heroModel:hover b { text-decoration: underline; text-underline-offset: 4px; }
button.pill { font-family: inherit; }
.pill:focus-visible, .seg:focus-visible, .mcard:focus-visible, .arrow:focus-visible, .close:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.match { padding: 40px 0 0; }
.matchCard { border-radius: 40px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.matchText .pill { margin-top: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 20px 22px; border-radius: 24px; background: var(--glass); border: 1px solid var(--stroke); }
.steps li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-size: 30px; font-weight: 900; letter-spacing: -0.04em; color: var(--muted); line-height: 1; }
.steps b { font-size: 19px; letter-spacing: -0.02em; }
.steps span { color: var(--ink-2); font-size: 14px; margin-top: 2px; }

.join { padding: 30px 0 110px; scroll-margin-top: 80px; }
.joinGrid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.joinText { position: sticky; top: 110px; }
.perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.perks li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: translateY(-1px); }

.formCard { border-radius: 32px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.label small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2[hidden], .parentBox[hidden], .check[hidden] { display: none; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); border-radius: 14px; padding: 12px 14px; width: 100%; min-width: 0; outline: none; transition: border-color 0.2s, background 0.2s; color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #5f6675; }
input:focus, select:focus, textarea:focus { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select option { background: #14161c; color: var(--ink); }
textarea { resize: vertical; min-height: 84px; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background 0.25s, color 0.25s; }
.choice input:checked + span { background: var(--ink); color: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.parentBox { display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--stroke); }
.small { margin: 0; font-size: 13px; color: var(--muted); }
.upload { position: relative; display: grid; place-items: center; min-height: 64px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.28); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.upload:hover { background: rgba(255, 255, 255, 0.05); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.previews { display: flex; gap: 10px; flex-wrap: wrap; }
.previews:empty { display: none; }
.pv { position: relative; width: 84px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 1px solid var(--stroke); }
.pv img { width: 100%; height: 100%; object-fit: cover; }
.pv button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; line-height: 1; }
.consents { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: #f2f4f8; cursor: pointer; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.formMsg { margin: 0; min-height: 0; font-size: 14px; }
.formMsg:empty { display: none; }
.formMsg.ok { padding: 12px 14px; border-radius: 14px; background: rgba(74, 222, 128, 0.1); color: #b8f5cc; }
.formMsg.error { padding: 12px 14px; border-radius: 14px; background: rgba(248, 113, 113, 0.12); color: #fecaca; }
.pill.wide { width: 100%; }
.pill:disabled { opacity: 0.6; cursor: wait; transform: none; }

.modalActions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.modalActions .pill { margin-top: 0; align-self: stretch; }
.formModal { display: block; width: min(640px, 100%); max-height: min(92vh, 900px); overflow-y: auto; background: rgba(18, 20, 26, 0.92); }
.formBody { padding: clamp(26px, 4vw, 40px); display: grid; gap: 14px; }
.formBody h3 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; letter-spacing: -0.04em; }
.formBody .eyebrow { margin-bottom: -4px; }

@media (max-width: 980px) {
  .matchCard { grid-template-columns: 1fr; }
  .joinGrid { grid-template-columns: 1fr; }
  .joinText { position: static; }
}
@media (max-width: 640px) {
  .dock .pill { padding: 9px 14px; font-size: 13px; }
  .mLink { display: inline; margin-left: auto; margin-right: 4px; }
  .dock { gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:last-child { grid-column: span 2; }
  .actions.three { gap: 10px; }
  .matchCard { border-radius: 28px; padding: 26px 20px; }
  .steps li { grid-template-columns: 40px 1fr; padding: 16px; }
  .steps li::before { font-size: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .formCard { border-radius: 26px; padding: 20px 16px; }
  .formModal { border-radius: 26px; }
  .backdrop:has(.formModal) { place-items: end center; padding: 0; }
  .backdrop:has(.formModal) .formModal { border-radius: 26px 26px 0 0; max-height: 94vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
