:root {
  --bg: #0a0a14;
  --surface: #13131f;
  --surface-2: #1c1c2e;
  --surface-3: #252538;
  --accent: #7c5cfc;
  --accent-2: #a78bfa;
  --accent-glow: rgba(124, 92, 252, 0.28);
  --red: #ff4560;
  --red-soft: rgba(255, 69, 96, 0.14);
  --text: #f0eeff;
  --muted: #9b97b8;
  --muted-deep: #5c5878;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(124, 92, 252, 0.3);
  --shadow: rgba(0, 0, 0, 0.34);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 14px;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 78% 58% at 50% 0%, rgba(124, 92, 252, 0.18) 0%, transparent 64%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orb-one {
  width: 520px;
  height: 520px;
  top: -220px;
  left: -160px;
  border: 1px solid rgba(124, 92, 252, 0.1);
}

.orb-two {
  width: 760px;
  height: 760px;
  top: -120px;
  right: -320px;
  border: 1px solid rgba(124, 92, 252, 0.08);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) 24px 20px;
  background: rgba(19, 19, 31, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  text-decoration: none;
}

.brand-static {
  pointer-events: none;
}

.brand-text {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.11em;
  line-height: 0.82;
  text-transform: uppercase;
}

.wordmark-core,
.wordmark-alert {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wordmark-core {
  background-image: linear-gradient(180deg, #ffffff 0%, #ece8ff 100%);
}

.wordmark-alert {
  background-image: linear-gradient(180deg, #ff6b7d 0%, #ff4560 100%);
}

.wordmark-sm {
  font-size: clamp(26px, 2.6vw, 40px);
}

.wordmark-hero {
  font-size: clamp(76px, 12vw, 170px);
}

.wordmark-footer {
  font-size: clamp(40px, 5vw, 72px);
  white-space: nowrap;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c5cfc 0%, #5b3fd6 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 10px rgba(124, 92, 252, 0.08),
    0 16px 40px rgba(124, 92, 252, 0.28);
  flex-shrink: 0;
}

.brand-eye {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  position: relative;
}

.brand-eye::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a0a3e;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.brand-slash {
  position: absolute;
  width: 3px;
  height: 112%;
  background: rgba(255, 69, 96, 0.92);
  border-radius: 999px;
  transform: rotate(-25deg);
}

.menu-toggle,
.menu-close {
  border: 0;
  background: transparent;
  color: var(--text);
}

.menu-toggle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.menu-toggle span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--text);
}

.menu-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 420px);
  z-index: 45;
  transform: translateX(100%);
  transition: transform 180ms ease;
  background: rgba(19, 19, 31, 0.98);
  border-left: 1px solid var(--border);
  padding: calc(env(safe-area-inset-top, 0px) + 24px) 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 20, 0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close {
  font-size: 52px;
  line-height: 1;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.menu-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 26px;
  padding: 24px 0;
  border-top: 1px solid rgba(124, 92, 252, 0.14);
}

.menu-links a:last-child {
  border-bottom: 1px solid rgba(124, 92, 252, 0.14);
}

.menu-links a.is-active {
  color: var(--accent-2);
  font-weight: 700;
}

.menu-cta {
  margin-top: auto;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  padding: 19px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c5cfc 0%, #5b3fd6 100%);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 12px 30px var(--accent-glow);
}

.page-shell {
  position: relative;
  z-index: 1;
  padding: 18px 18px 40px;
}

.page-view {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.page-view.active {
  display: flex;
}

.hero-panel,
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.hero-panel {
  padding: 38px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.hero-copy-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.hero-kicker,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-deep);
  font-size: 12px;
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
}

h1 {
  margin-top: 2px;
  font-size: clamp(46px, 8vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-wordmark {
  margin: 0;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.hero-logo-line {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: auto;
  max-width: 100%;
  overflow: visible;
  font-family: var(--font-display);
  font-size: clamp(48px, 9.4vw, 112px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  margin: 0 auto;
  padding-inline: 0.04em;
  text-align: center;
}

.hero-logo-core,
.hero-logo-alert {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-logo-core {
  background-image: linear-gradient(180deg, #ffffff 0%, #ece8ff 100%);
}

.hero-logo-alert {
  background-image: linear-gradient(180deg, #ff6b7d 0%, #ff4560 100%);
}

.hero-trust {
  margin: 20px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--accent);
}

.hero-copy {
  margin: 0 auto;
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(20px, 2.8vw, 31px);
  line-height: 1.5;
}

.hero-kicker {
  margin-top: 14px;
  font-size: clamp(14px, 1.7vw, 22px);
  letter-spacing: 0.14em;
  color: #8f89af;
}

.badge-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.badge.accent {
  border-color: var(--border-accent);
  color: var(--accent-2);
  background: rgba(124, 92, 252, 0.1);
}

.home-stack {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
}

.stat-lbl {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.home-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-summary-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-deep);
  font-weight: 600;
  text-align: left;
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  min-height: 168px;
  text-align: left;
}

.home-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.home-step-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
}

.download-stack {
  width: 100%;
  max-width: 320px;
  margin: 6px auto 0;
  display: grid;
  gap: 14px;
}

.store-badge {
  display: block;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: none;
}

.store-badge-apple {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.store-badge-image {
  width: min(100%, 300px);
  max-width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.download-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-card {
  padding: 20px 18px;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 16px;
}

.section-head.centered {
  text-align: center;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.gradient-title {
  background: linear-gradient(135deg, var(--accent) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-title {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-title-main {
  color: var(--text);
}

.contact-title-accent {
  color: var(--red);
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 22px);
  line-height: 1.6;
}

.feature-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.feature-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--text);
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.policy-stack {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.policy-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.policy-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text);
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.inline-link {
  color: var(--accent-2);
  text-decoration: none;
}

.inline-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.contact-form {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #0f0f1b;
  color: var(--text);
  padding: 18px 18px;
  outline: none;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-deep);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.12);
}

.send-button {
  border: 0;
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #7c5cfc 0%, #5b3fd6 100%);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  min-height: 0;
}

.form-status.success {
  color: var(--accent-2);
}

.footer-card {
  display: grid;
  gap: 18px;
}

.footer-brand {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand h3 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  overflow: hidden;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.footer-columns {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-columns > div {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.footer-columns h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-columns a,
.policy-copy {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.8;
}

.footer-columns a:hover {
  color: var(--text);
}

.footer-store-link {
  display: block;
  margin-top: 4px;
}

.footer-store-image {
  display: block;
  width: min(100%, 250px);
  height: auto;
}

.policy-copy {
  margin: 0;
}

@media (max-width: 900px) {
  .feature-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }
}

@media (orientation: landscape) and (max-height: 700px) {
  .hero-panel {
    padding: 26px 18px 18px;
    gap: 14px;
  }

  .hero-copy-wrap {
    max-width: 620px;
  }

  .hero-logo-line {
    font-size: clamp(42px, 7.2vw, 72px);
    letter-spacing: -0.07em;
    padding-inline: 0.03em;
  }

  .hero-kicker {
    margin-top: 10px;
    font-size: 12px;
  }

  .badge-row {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-text {
    font-size: 17px;
  }

  .wordmark-sm {
    font-size: 20px;
  }

  .hero-wordmark {
    line-height: 1;
    overflow: visible;
  }

  .hero-logo-line {
    width: fit-content;
    justify-content: center;
    max-width: 100%;
    font-size: clamp(38px, 9vw, 54px);
    letter-spacing: -0.075em;
    padding-inline: 0.06em;
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .badge {
    padding: 6px 14px;
    font-size: 13px;
  }

  .stats-strip {
    border-radius: 14px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-num {
    font-size: 34px;
  }

  .stat-lbl {
    font-size: 10px;
  }

  .home-summary {
    padding: 16px;
  }

  .home-flow {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .home-step {
    min-height: 0;
    padding: 14px 12px;
  }

  .home-step-num {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .home-step-text {
    font-size: 14px;
  }

  .hero-trust {
    margin-top: 16px;
    font-size: 24px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .hero-panel {
    padding: 32px 16px 18px;
  }

  .section-card {
    padding: 18px 14px;
  }

  .section-head h2 {
    font-size: 26px;
    line-height: 1.04;
  }

  .section-head p {
    font-size: 15px;
    line-height: 1.5;
  }

  .feature-grid strong {
    font-size: 16px;
  }

  .feature-grid p {
    font-size: 14px;
  }

  .policy-card strong {
    font-size: 16px;
  }

  .policy-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .menu-links a {
    font-size: 24px;
  }

  .menu-cta {
    font-size: 17px;
  }

  .store-badge-image {
    width: min(100%, 260px);
  }

  .contact-form {
    padding: 14px;
  }

  .footer-brand {
    gap: 12px;
  }

  .wordmark-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(28px, 9vw, 40px);
    letter-spacing: -0.09em;
  }

  .footer-brand p,
  .footer-columns a,
  .policy-copy {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-columns h4 {
    font-size: 16px;
  }

  .footer-store-image {
    width: min(100%, 220px);
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .page-shell {
    padding: 14px 12px 34px;
    gap: 12px;
  }

  .hero-panel,
  .section-card {
    border-radius: 22px;
  }

  .hero-panel {
    padding: 30px 14px 18px;
  }

  .hero-copy-wrap {
    max-width: 100%;
  }

  .hero-wordmark {
    width: 100%;
    overflow: visible;
  }

  .hero-logo-line {
    width: fit-content;
    max-width: 100%;
    font-size: clamp(31px, 8.4vw, 41px);
    letter-spacing: -0.055em;
    padding-inline: 0.04em;
  }

  .hero-kicker {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero-trust {
    margin-top: 14px;
    font-size: 21px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.4;
  }

  .download-stack {
    max-width: 280px;
    gap: 10px;
  }

  .store-badge-image {
    width: min(100%, 228px);
  }

  .download-note {
    font-size: 12px;
    line-height: 1.4;
  }

  .section-card {
    padding: 16px 12px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .section-head h2 {
    font-size: 19px;
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .section-head p {
    font-size: 13px;
    line-height: 1.42;
  }

  .feature-grid article {
    padding: 14px;
  }

  .feature-grid strong {
    font-size: 15px;
  }

  .feature-grid p {
    font-size: 13px;
    line-height: 1.42;
  }

  .policy-card {
    padding: 14px;
  }

  .policy-card strong {
    font-size: 15px;
  }

  .policy-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-brand {
    gap: 10px;
  }

  .wordmark-footer {
    font-size: 30px;
    letter-spacing: -0.075em;
  }

  .footer-brand p,
  .footer-columns a,
  .policy-copy {
    font-size: 13px;
    line-height: 1.52;
  }

  .footer-store-image {
    width: min(100%, 200px);
  }
}
