@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/nunito-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f6f5f9; --ink: #1d1b2e; --muted: #676578; --brand: #4a3f8c;
  --pressed: #3a316f; --on-brand: white; --card: white; --tint: #eceaf7; --line: #e4e2ec;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0e0d16; --ink: #f4f3fa; --muted: #a9a7ba; --brand: #b5a9f0;
  --pressed: #9a8ce0; --on-brand: #1d1b2e; --card: #1a1926; --tint: #2a2745; --line: #33314a;
}
:root[data-theme="dark"] .word { filter: invert(1); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand); text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,.brand,.benefits strong { font-family: Nunito, system-ui, sans-serif; font-weight: 800; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { text-wrap: balance; letter-spacing: -.052em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 5.85vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.85rem, 2.7vw, 2.55rem); }
em { font-style: normal; color: var(--brand); }
p { line-height: 1.65; }
.wrap { width: min(1200px, calc(100% - clamp(40px, 8vw, 110px))); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; padding: 12px; background: var(--card); z-index: 1; }
.skip:focus { top: 8px; }
.header,.header nav,.brand,.footer nav,.store { display: flex; align-items: center; }
.header { justify-content: space-between; gap: 20px; min-height: 94px; border-bottom: 1px solid var(--line); }
.brand { gap: 8px; width: max-content; text-decoration: none; color: var(--ink); font-size: 26px; letter-spacing: -.055em; }
.icon { border-radius: 22.4%; }
.brand .word { width: 65px; margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: inherit; }
.header nav,.footer nav { gap: clamp(14px, 2.45vw, 36px); flex-wrap: wrap; }
.header nav a,.footer nav a { text-decoration: none; color: var(--ink); font-size: 15px; padding-block: 12px; }
nav a:hover { text-decoration: underline; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); padding: 8px 12px; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.theme-toggle:hover { background: var(--tint); }
.theme-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.theme-icon { color: var(--brand); font-size: 17px; line-height: 1; }
.store,.header nav .store { display: inline-flex; width: fit-content; min-height: 48px; padding: 12px 24px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font-size: 15px; font-weight: 650; text-decoration: none; }
.header nav .store { min-height: 40px; padding: 10px 18px; font-size: 13px; }
a.store:hover { background: var(--pressed); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-block: 35px 48px; }
.hero .lead { font-size: clamp(18px,1.6vw,22px); color: var(--muted); max-width: 31em; margin-block: 25px 29px; }
.availability { font-size: 13px; color: var(--muted); margin-top: 12px; }
main { overflow-x: clip; }
.hero-art { position: relative; isolation: isolate; min-height: clamp(470px, 44vw, 610px); display: grid; place-items: center; }
.orbit,.orbit::before,.orbit::after { position: absolute; border-radius: 50%; }
.orbit { z-index: -1; width: 96%; aspect-ratio: 1; background: var(--tint); border: 1px solid var(--line); }
.orbit::before { content: ""; inset: 11%; background: color-mix(in srgb, var(--brand) 10%, var(--tint)); }
.orbit::after { content: ""; inset: -3% 4%; border: 1px solid color-mix(in srgb,var(--brand) 18%, transparent); transform: rotate(42deg) scaleX(1.14); }
.phone { width: clamp(207px, 18.9vw, 265px); border: 5px solid #242132; padding: 2px; border-radius: 15% / 7%; background: #0e0d16; box-shadow: 0 18px 36px #0c082038; }
.phone img { width: 100%; border-radius: 13% / 6%; }
.hero-art .phone { transform: rotate(7deg); }
.benefits { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); padding-block: 27px; text-align: center; }
.benefits p { color: var(--muted); font-size: 15px; padding-inline: 12px; }
.benefits p + p { border-left: 1px solid var(--line); }
.benefits strong { display: block; color: var(--ink); font-size: 20px; letter-spacing: -.035em; }
.section { padding-top: 95px; }
.section-title { text-align: center; margin-bottom: 42px; }
.features,.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(25px,3.5vw,48px); height: clamp(620px,54vw,735px); overflow: hidden; }
.feature:nth-child(2) { background: var(--tint); }
.feature p,.split p { color: var(--muted); margin-block: 17px; font-size: 18px; }
.feature .phone { margin: 38px auto 0; width: min(270px,85%); transform: rotate(-4deg); }
.feature:nth-child(2) .phone { transform: rotate(4deg); }
.split { gap: clamp(24px,7vw,96px); }
.atlas { align-items: center; padding-block: 95px; }
.atlas-art { display: flex; justify-content: center; align-items: start; background: var(--tint); border-radius: 50% 50% 24px 24px; padding-top: 38px; height: min(48vw,530px); overflow: hidden; }
.atlas-art .phone { width: min(270px,70%); transform: rotate(-5deg); }
.privacy { padding-block: 58px; border-block: 1px solid var(--line); }
.privacy p { margin-top: 0; }
.questions { padding-block: 95px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 18px; cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; }
details[open] summary::after { content: "−"; }
details p { margin-top: 0 !important; }
.closing { text-align: center; background: var(--tint); border-radius: 30px; padding: 60px 24px; }
.closing img { margin: 0 auto 22px; }
.closing h2 { margin-bottom: 24px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 55px 28px; }
.footer nav { gap: 8px 22px; }
.footer small { width: 100%; color: var(--muted); }
.legal { max-width: 800px; padding-block: 50px 60px; min-height: 65vh; overflow-wrap: break-word; }
.legal .back { display: inline-block; margin-bottom: 28px; }
.legal h1 { font-size: clamp(40px,5vw,64px); margin-bottom: 30px; }
.legal h2 { font-size: 28px; margin-top: 40px; }
.legal p,.legal li { font-size: 17px; line-height: 1.75; }
.legal p { margin-block: 1em; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.55; }
th,td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 9px; vertical-align: top; }
th { background: var(--tint); }
@media(max-width:850px) {
  .header nav a[href*="#questions"],.header nav a[href*="#dream-atlas"] { display: none; }
}
@media(max-width:680px) {
  .wrap { width: calc(100% - 36px); }
  .header { display: grid; grid-template-columns: 1fr auto; padding-block: 14px 3px; row-gap: 5px; }
  .header nav { display: contents; }
  .header nav .store { grid-column: 2; grid-row: 1; justify-self: end; }
  .header .nav-links { grid-column: 1 / -1; justify-content: space-between; gap: 8px; }
  .header nav .nav-links a { display: inline-flex; font-size: 14px; }
  .theme-toggle { gap: 5px; padding: 7px 9px; font-size: 13px; }
  .header nav .store { max-width: 152px; line-height: 1.25; text-align: center; padding: 8px 14px; }
  .brand { font-size: 22px; gap: 5px; }
  .brand .icon { width: 32px; }
  .brand .word { width: 51px; }
  .hero,.features,.split { grid-template-columns: minmax(0,1fr); }
  .hero { text-align: center; padding-block: 42px 24px; gap: 22px; }
  h1 { font-size: clamp(42px,9.8vw,62px); }
  .hero .lead { margin: 18px auto 21px; max-width: 450px; font-size: 17px; }
  .hero-art { min-height: 448px; }
  .hero-art .phone { width: 190px; }
  .orbit { width: min(90%,350px); }
  .benefits { grid-template-columns: 1fr; gap: 14px; text-align: left; padding: 23px 4px; }
  .benefits p { padding: 0; }
  .benefits p + p { border: 0; }
  .section { padding-top: 54px; }
  .section-title { text-align: left; }
  .section-title br { display: none; }
  .section-title,.feature p { margin-bottom: 22px; }
  .features { gap: 16px; }
  .feature { height: 590px; }
  .feature .phone { width: 228px; }
  .atlas,.questions { padding-block: 54px; }
  .atlas-art { height: 435px; }
  .privacy { padding-block: 40px; }
  .split p,.feature p { font-size: 16px; }
  .closing { padding-block: 42px; }
  .footer { padding-block: 38px 24px; }
  .footer nav { gap: 0 18px; }
  .legal { padding-block: 30px; }
  th,td { font-size: 13px; padding: 8px 5px; overflow-wrap: anywhere; }
}
