@import url("assets/fonts.css");

:root {
  color-scheme: dark;
  --background: #160724;
  --surface: #210b35;
  --card: #301549;
  --raised: #3d1b57;
  --outline: #714685;
  --line: #593c6c;
  --purple: #8b2be2;
  --pink: #d91ad9;
  --accent: #e895ff;
  --text: #f5e9ff;
  --muted: #d0b7e1;
  --white: #fff;
  --action: linear-gradient(115deg, #7921d5, #ad1bb4);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }

.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 5;
  transform: translateY(-180%); border-radius: 10px;
  background: var(--accent); color: var(--background); padding: 12px;
}
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--background); border-bottom: 1px solid #e895ff29; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; font-weight: 650; }
.main-nav a:hover, .site-footer a:hover { color: var(--accent); }
.main-nav .mobile-download, .menu-toggle { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 45px; padding: 11px 19px; border: 1px solid transparent;
  border-radius: 100px; font-size: 14px; font-weight: 800; line-height: 1.35;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button-header { color: var(--white); background: #30154970; border-color: var(--outline); }
.button-header:hover { background: var(--card); border-color: var(--accent); }
.button-accent { color: var(--white); background: var(--action); border-color: #e895ff62; }
.button-accent:hover { border-color: var(--accent); box-shadow: 0 0 24px #d91ad940; }
.play-button { min-height: 53px; padding-inline: 21px; }
.play-icon {
  width: 17px; height: 19px; flex: none; background: var(--white);
  clip-path: polygon(8% 0, 100% 50%, 8% 100%);
}
.text-link { color: var(--text); font-size: 14px; font-weight: 750; text-decoration: underline; text-decoration-color: #e895ff80; text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); }
.text-link span { margin-left: 4px; }

.hero-wrap {
  background:
    radial-gradient(ellipse at 78% 30%, #4e1b6e 0, transparent 53%),
    radial-gradient(ellipse at 0 85%, #301549 0, transparent 42%),
    var(--background);
  border-bottom: 1px solid #e895ff22;
}
.hero {
  min-height: 666px; display: grid; align-items: center;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(28px, 5vw, 72px);
  padding-block: 46px 42px;
}
.hero-copy { padding-bottom: 12px; }
.hero-label, .section-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero-label { display: inline-block; margin: 0 0 24px; padding: 7px 12px; border: 1px solid #e895ff65; border-radius: 100px; background: #301549bc; }
.section-label { margin: 0 0 12px; }
h1, h2 { margin: 0; color: var(--white); }
h1 { font-size: clamp(45px, 5.25vw, 77px); font-weight: 800; line-height: 1.05; letter-spacing: -.069em; }
.hero h1 em {
  display: block; padding-bottom: .1em; color: var(--accent);
  font: italic 400 1.43em / .88 var(--serif); letter-spacing: -.025em;
}
.hero-description { max-width: 35ch; margin: 23px 0 27px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 22px; }

.app-preview { min-width: 0; margin: 0; text-align: center; }
.preview-stage {
  position: relative; display: grid; place-items: center; isolation: isolate;
  min-height: 550px; padding: 20px; border: 1px solid #e895ff65; border-radius: 30px;
  background:
    radial-gradient(ellipse at 48% 55%, #8b2be268, transparent 58%),
    radial-gradient(ellipse at 95% 95%, #d91ad93d, transparent 55%),
    linear-gradient(147deg, #512278, #1d0a32 62%);
  box-shadow: inset 0 0 54px #e895ff12, 0 20px 64px #09041466;
}
.preview-stage::before, .preview-stage::after {
  content: ""; position: absolute; z-index: -1; aspect-ratio: 1;
  width: min(82%, 430px); border: 1px solid #e895ff38; border-radius: 50%;
}
.preview-stage::after { width: min(68%, 360px); border-color: #e895ff29; }
.phone {
  width: min(100%, 277px); padding: 7px; border: 1px solid #cb80ec;
  border-radius: 34px; background: #11061d; box-shadow: 0 24px 58px #0b031ca0, 0 0 24px #d91ad94c;
}
.phone-screen {
  overflow: hidden; border-radius: 26px; padding: 11px 12px 8px; text-align: left;
  background: linear-gradient(145deg, #361650, var(--surface) 48%, var(--surface));
}
.phone-status { display: flex; justify-content: space-between; padding-inline: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.phone-brand { display: flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--white); font-size: 13px; font-weight: 800; }
.phone-brand img { border-radius: 7px; }
.phone-brand > span { margin-left: auto; color: var(--accent); font-size: 21px; }
.screen-panel { height: 351px; }
.phone-stories { margin-top: 10px; font-size: 10px; font-weight: 800; }
.phone-stories div { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.phone-stories img, .phone-stories div span {
  display: grid; place-items: center; width: 34px; height: 34px; object-fit: cover;
  border: 1px solid var(--accent); border-radius: 10px; background: var(--raised); box-shadow: 0 0 8px #d91ad94c;
}
.phone-stories div span { color: var(--white); font-size: 17px; }
.phone-heading { display: flex; justify-content: space-between; align-items: center; height: 41px; }
.phone-heading strong { font-size: 19px; color: var(--white); letter-spacing: -.04em; }
.phone-heading span { padding: 5px 7px; border: 1px solid var(--outline); border-radius: 8px; color: var(--accent); font-size: 9px; font-weight: 750; }
.phone-photo { position: relative; height: 207px; border: 1px solid var(--accent); border-radius: 15px; overflow: hidden; background: var(--raised); }
.phone-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.phone-photo::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, #160724e8); }
.profile-caption { position: absolute; left: 12px; bottom: 11px; z-index: 1; color: var(--white); }
.profile-caption strong { font-size: 18px; }
.phone-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0; }
.phone-actions span {
  display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--outline); border-radius: 50%; background: var(--card);
  color: var(--white); font-size: 16px; font-weight: 700;
}
.phone-actions span:nth-child(2) { background: var(--action); width: 34px; height: 34px; font-size: 20px; }
.phone-tabbar { display: flex; gap: 4px; padding-top: 5px; border-top: 1px solid var(--line); }
.phone-tabbar button {
  flex: 1; display: grid; gap: 2px; justify-items: center; min-height: 38px; padding: 4px 1px;
  border: 0; border-radius: 8px; background: transparent; color: var(--text); font-size: 9px; font-weight: 800;
}
.phone-tabbar button span { font-size: 17px; line-height: 1; }
.phone-tabbar button:hover, .phone-tabbar button[aria-pressed="true"] { background: var(--raised); color: var(--white); }
.chat-contact { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 13px; }
.chat-contact img, .phone-profile img { border-radius: 50%; object-fit: cover; }
.chat-thread { display: grid; align-content: start; gap: 10px; margin: 16px 0; }
.chat-thread p { max-width: 87%; margin: 0; padding: 8px 10px; border-radius: 12px 12px 12px 3px; background: var(--raised); font-size: 11px; line-height: 1.5; }
.chat-thread p:nth-child(2) { justify-self: end; border-radius: 12px 12px 3px 12px; background: var(--action); color: var(--white); }
.chat-input { display: flex; justify-content: space-between; border: 1px solid var(--outline); border-radius: 100px; background: var(--card); padding: 8px 11px; color: var(--muted); font-size: 11px; }
.chat-input span { color: var(--white); }
.phone-profile { display: grid; justify-items: center; gap: 5px; margin-block: 6px 14px; font-size: 13px; }
.phone-profile img { border: 2px solid var(--white); }
.phone-profile span { color: var(--muted); font-size: 11px; }
.phone-settings { display: grid; gap: 7px; }
.phone-settings span { display: flex; justify-content: space-between; background: var(--raised); border: 1px solid var(--line); padding: 9px; border-radius: 8px; font-size: 11px; font-weight: 700; }

.preview-note {
  position: absolute; left: 6%; bottom: 16%; display: flex; align-items: center; gap: 8px;
  padding: 8px 11px; border: 1px solid #e895ff86; border-radius: 14px;
  background: var(--raised); color: var(--white); box-shadow: 0 10px 28px #1003229e; pointer-events: none;
}
.preview-note > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--action); color: var(--white); font-size: 23px; }
.preview-note strong { font-size: 13px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

.stats-preview { padding: 24px 0 30px; border-bottom: 1px solid var(--line); }
.stats-heading { color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; }
.stats-grid > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 0 20px; }
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid > div + div { border-left: 1px solid var(--line); }
.stats-grid dd { margin: 0; color: var(--white); font-size: clamp(24px, 4vw, 41px); font-weight: 800; letter-spacing: -.05em; }
.stats-grid dt, .stats-preview > p { color: var(--muted); font-size: 12px; }
.stats-preview > p { margin: 12px 0 0; }

.features, .faq, .membership { padding-block: clamp(55px, 7vw, 94px); }
h2 { font-size: clamp(36px, 4.8vw, 69px); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
h2 em { color: var(--accent); font: italic 400 1.2em / .98 var(--serif); letter-spacing: -.018em; }
.section-intro { margin-bottom: 30px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid article {
  min-width: 0; padding: 22px; border: 1px solid var(--line);
  border-radius: 19px; background: linear-gradient(148deg, var(--card), var(--surface));
}
.feature-grid article:nth-child(2), .feature-grid article:nth-child(4) { background: linear-gradient(145deg, #42205d, var(--surface)); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e895ff70; border-radius: 14px; background: var(--raised); color: var(--accent); font-size: 25px; }
.feature-grid h3, .steps h3 { margin: 15px 0 6px; color: var(--white); font-size: 18px; font-weight: 800; letter-spacing: -.023em; }
.feature-grid p, .steps p, .faq-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.how-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 4% 100%, #4a1c63, transparent 65%), var(--surface); }
.how-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6.5vw, 96px); padding-block: clamp(48px, 6vw, 80px); }
.how-photo { overflow: hidden; aspect-ratio: 1.12; border: 1px solid #e895ff91; border-radius: 23px; background: var(--raised); box-shadow: 0 0 38px #8b2be23a; }
.how-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.steps { display: grid; gap: 0; padding: 0; list-style: none; margin: 24px 0 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 41px minmax(0, 1fr); align-items: start; gap: 3px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; padding-top: 3px; color: var(--accent); font-size: 13px; font-weight: 800; }
.steps h3 { margin: 0; }

.membership { border-bottom: 1px solid var(--line); }
.membership .section-intro p { max-width: 56ch; margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.membership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.membership-grid article { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.membership-grid article + article { border-color: #e895ff86; background: radial-gradient(at 95% 0%, #7131a3, transparent 75%), var(--card); }
.membership-grid h3 { margin: 0 0 12px; color: var(--white); font-size: 23px; letter-spacing: -.03em; }
.membership-grid ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--text); font-size: 15px; line-height: 1.55; }
.membership-grid li::marker { color: var(--accent); }

.safety-section, .faq { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: clamp(26px, 5.5vw, 74px); }
.safety-section { border-bottom: 1px solid var(--line); align-items: center; padding-block: clamp(52px, 6vw, 76px); }
.safety-copy { color: var(--muted); font-size: 15px; line-height: 1.7; }
.safety-copy p:first-child { margin-top: 0; }
.safety-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.safety-copy a { font-weight: 800; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; color: var(--white); font-size: 15px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin-top: 8px; }
.faq-list p a, .legal-body a, .safety-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.download-section { padding-bottom: 45px; }
.download-inner {
  display: flex; align-items: center; gap: 20px; padding: clamp(22px, 5vw, 52px);
  border: 1px solid #e895ff86; border-radius: 25px;
  background: radial-gradient(ellipse at 94% 10%, #8b2be259, transparent 61%), linear-gradient(127deg, #4c226d, #220e3b);
  box-shadow: 0 18px 44px #09031553;
}
.download-inner > img { flex: none; border-radius: 16px; }
.download-inner h2 { font-size: clamp(29px, 4vw, 53px); }
.download-inner p:last-child { margin: 10px 0 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.download-inner .button { flex: none; margin-left: auto; }
.site-footer { background: #12051f; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-block: 42px 28px; }
.footer-inner p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: grid; align-content: start; gap: 10px; color: var(--muted); font-size: 13px; }
.footer-inner nav strong { color: var(--white); font-size: 14px; }
.footer-bottom { padding-block: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.legal-main { width: min(820px, calc(100% - 48px)); min-height: 64vh; margin-inline: auto; padding-block: clamp(42px, 7vw, 82px); }
.legal-main h1 { font-size: clamp(35px, 5.5vw, 60px); line-height: 1.12; letter-spacing: -.045em; }
.legal-note { margin-block: 24px; padding: 16px 19px; border: 1px solid var(--outline); border-radius: 15px; background: var(--card); color: var(--text); line-height: 1.65; }
.legal-note p { margin: 0; }
.legal-body { margin-block: 28px; }
.legal-body section { padding-block: 19px; border-top: 1px solid var(--line); }
.legal-body h2 { margin-bottom: 9px; font: 800 22px / 1.25 var(--sans); letter-spacing: -.025em; }
.legal-body p, .legal-body ul { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.78; }
.legal-body li + li { margin-top: 5px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 11px 20px; color: var(--accent); font-size: 14px; font-weight: 750; }
.legal-links a { text-decoration: underline; text-underline-offset: 4px; }
.legal-links [aria-current="page"] { color: var(--white); text-decoration: none; }
.terms-subtitle { margin: 24px 0 8px; color: var(--accent); font-size: clamp(20px, 3vw, 27px); font-weight: 750; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { gap: 15px; }
  .main-nav { gap: 17px; }
  .preview-note { left: 3%; }
  .feature-grid article { padding: 18px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: inline-flex; margin-left: auto; padding: 8px 12px; border: 1px solid var(--outline); border-radius: 10px; background: var(--surface); color: var(--white); font-size: 13px; font-weight: 750; }
  .site-header .button-header { display: none; }
  .main-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 10px 20px; border-bottom: 1px solid var(--outline); background: var(--surface); box-shadow: 0 14px 20px #0004; }
  .menu-toggle[aria-expanded="true"] + .main-nav { display: grid; gap: 0; }
  .main-nav a { padding: 11px 0; }
  .main-nav .mobile-download { display: block; color: var(--accent); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 44px 34px; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(42px, 8.1vw, 65px); }
  .hero-label { margin-bottom: 17px; }
  .hero-description { margin: 16px 0 20px; }
  .app-preview { width: min(100%, 520px); justify-self: center; }
  .preview-stage { min-height: 520px; border-radius: 22px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-inner, .safety-section, .faq { grid-template-columns: 1fr; gap: 25px; }
  .how-photo { aspect-ratio: 1.4; }
  .download-inner { align-items: flex-start; flex-wrap: wrap; }
  .download-inner .button { margin-left: 0; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .hero-actions { gap: 13px 14px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero .play-button { min-height: 47px; padding-inline: 14px; }
  .preview-stage { min-height: 509px; padding: 12px; }
  .preview-note { display: none; }
  .stats-grid > div { padding-inline: 8px; }
  .stats-grid dt { font-size: 11px; }
  .feature-grid, .membership-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-grid article { padding: 16px; }
  .download-inner { gap: 13px; }
  .download-inner > img { width: 54px; height: 54px; border-radius: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .footer-inner > div { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
