:root {
  --bg: #09081b;
  --bg-elevated: #0c0b22;
  --header: rgba(9, 8, 27, 0.86);
  --surface: #14122c;
  --surface-2: #1a1736;
  --surface-3: #221f42;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9b9ab8;
  --muted-2: #6e6d8a;
  --accent: #9796ff;
  --accent-2: #777ef7;
  --accent-soft: #a99bff;
  --banner: #8f84f8;
  --banner-2: #7b6ef0;
  --green: #3ad06a;
  --green-2: #2bb34f;
  --red: #ff5b62;
  --orange: #f5a524;
  --gold: #f5c542;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max: 1180px;
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}

[data-theme="light"] {
  --bg: #f4f3fb;
  --bg-elevated: #ffffff;
  --header: rgba(244, 243, 251, 0.9);
  --surface: #ffffff;
  --surface-2: #eeedf7;
  --surface-3: #e4e2f3;
  --border: rgba(20, 16, 50, 0.08);
  --text: #12111f;
  --muted: #5c5b76;
  --muted-2: #8a89a3;
  --shadow: 0 24px 80px rgba(40, 30, 90, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Ticker */
.ticker {
  background: #050414;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

[data-theme="light"] .ticker {
  background: #111027;
  color: #fff;
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-logo {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
}

.up { color: var(--green); }
.down { color: var(--red); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: var(--header);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-btn,
.nav-link {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-btn:hover,
.nav-link:hover {
  background: rgba(151, 150, 255, 0.1);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: none;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
}

.dropdown a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lang-btn {
  width: auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-xs);
  transition: 0.15s ease;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
}

.btn-md {
  height: 40px;
  padding: 0 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent-2);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-white {
  background: #fff;
  color: #5b4de0;
}

.btn-soft {
  background: rgba(255, 255, 255, 0.88);
  color: #5b4de0;
}

.btn-wide {
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(90deg, #8d8af8, #9ea3ff);
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}

.candles-bg {
  position: absolute;
  inset: 0 0 80px auto;
  width: 58%;
  pointer-events: none;
  opacity: 0.28;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin: 0 0 18px;
}

.hero h1 .accent {
  color: var(--accent);
  display: block;
}

.hero p.lead {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone {
  width: 270px;
  height: 560px;
  border-radius: 42px;
  background: linear-gradient(180deg, #2a2148, #16122c);
  border: 3px solid #3b335c;
  box-shadow: 0 40px 80px rgba(80, 50, 180, 0.28), inset 0 0 0 6px #0d0a1c;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 18px;
  background: #0d0a1c;
  border-radius: 20px;
  z-index: 2;
}

.phone-screen {
  margin: 10px;
  height: calc(100% - 20px);
  border-radius: 34px;
  background: linear-gradient(180deg, #241b4a 0%, #3a2b78 42%, #6d63e8 100%);
  padding: 28px 16px 16px;
  color: #fff;
  overflow: hidden;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 18px;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress span {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--green);
}

.phone-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
  max-width: 62%;
}

.phone-sub {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 8px;
  max-width: 60%;
}

.robot {
  width: 150px;
  margin: 8px auto 0;
}

.continue-btn {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #6d73f4;
  color: #fff;
  font-weight: 700;
}

.float-card {
  position: absolute;
  background: #1b1734;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: #fff;
}

.card-balance {
  top: 54px;
  right: 18px;
  width: 168px;
  padding: 12px;
}

.card-balance .label {
  font-size: 11px;
  color: #a9a8c4;
}

.card-balance .val {
  font-weight: 800;
  font-size: 20px;
}

.spark {
  height: 36px;
  margin-top: 6px;
}

.card-chart {
  left: 8px;
  top: 46%;
  width: 150px;
  padding: 12px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  font-size: 10px;
  font-weight: 800;
  background: #6d73f4;
  padding: 2px 6px;
  border-radius: 4px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
  margin-top: 10px;
}

.bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #4f7dff;
}

.bars i:nth-child(odd) { background: #7aa0ff; height: 40%; }
.bars i:nth-child(2) { height: 70%; }
.bars i:nth-child(3) { height: 52%; }
.bars i:nth-child(4) { height: 90%; background: #6d73f4; }
.bars i:nth-child(5) { height: 62%; }

.card-trade {
  right: 42px;
  bottom: 88px;
  width: 176px;
  padding: 12px;
}

.trade-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.apple-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.trade-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mini-btn {
  border: 0;
  height: 28px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.mini-btn.decline { background: var(--red); }
.mini-btn.approve { background: var(--green-2); }

/* Community banner */
.community {
  margin: 28px 0 80px;
}

.community-card {
  background: linear-gradient(90deg, #8f84f8, #9b8eff);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  min-height: 280px;
}

.community-art {
  position: relative;
  min-height: 280px;
}

.community-art img,
.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.bot-ghost {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 120px;
  opacity: 0.85;
}

.community-copy {
  padding: 48px 48px 48px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-copy h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.community-copy p {
  margin: 0 0 22px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.9);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 110px;
}

.tile {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.tile-intro {
  grid-row: 1 / 3;
  background: linear-gradient(180deg, #8c82f7 0%, #7a70f0 100%);
  padding: 32px 28px 0;
  min-height: 520px;
}

.tile-intro h3 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tile-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 340px;
}

.phone-small {
  width: 250px;
  margin: 28px auto 0;
  background: #0e0c1c;
  border-radius: 28px;
  border: 3px solid #2c2944;
  padding: 12px 12px 0;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
}

.chart-ui {
  background: #151326;
  border-radius: 12px;
  padding: 12px;
}

.buy-hold {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.action-chip {
  width: 78px;
  height: 86px;
  border-radius: 16px;
  background: #1c1933;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.dot.g { background: #2ec45c; }
.dot.o { background: #f0a12a; }

.tile-award,
.tile-lessons {
  background: var(--surface);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
}

.tile-award h3,
.tile-lessons h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.tile-award p,
.tile-lessons p {
  margin: 0;
  color: var(--muted);
}

.badge {
  width: 108px;
  flex-shrink: 0;
}

.candle-chars {
  width: 140px;
}

.tile-rating {
  background: linear-gradient(180deg, #9086f8, #7e74f2);
  padding: 24px;
}

.rating-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 42px;
  font-weight: 800;
}

.stars { color: #ffd15a; font-size: 22px; }

.store-icons {
  display: flex;
  gap: 6px;
}

.tile-rating p {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.85;
  margin: 8px 0 16px;
}

.reviews-stack {
  position: relative;
  height: 150px;
}

.review-card {
  position: absolute;
  width: 86%;
  background: #2a2550;
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.review-card:nth-child(1) { top: 0; left: 8%; transform: rotate(4deg); }
.review-card:nth-child(2) { top: 36px; left: 0; transform: rotate(-3deg); }

.review-card header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8d83f6;
}

/* Challenges */
.section {
  margin-bottom: 110px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: end;
}

.section-head h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-head h2 .accent {
  color: var(--accent);
  display: block;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.challenge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  padding: 10px 10px 22px;
}

.challenge-media {
  height: 220px;
  border-radius: 18px;
  background: radial-gradient(circle at 70% 40%, #3a2f78, #15122c 70%);
  position: relative;
  overflow: hidden;
}

.portrait {
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 170px;
  height: 190px;
  border-radius: 50% 50% 18px 18px;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.04);
}

.scene {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 180px;
}

.challenge-card h3 {
  margin: 18px 16px 8px;
  font-size: 22px;
}

.challenge-card p {
  margin: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.challenge-card .btn {
  width: calc(100% - 32px);
  margin: 0 16px;
}

/* How it works */
.how {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.how-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  grid-column: 1 / -1;
}

.how-head h2 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.how-head p {
  margin: 0;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
}

.acc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.acc-btn span.num {
  color: var(--accent);
  margin-right: 6px;
}

.acc-body {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.acc-item.open .acc-body {
  display: block;
}

.acc-body ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.how-visual {
  background: linear-gradient(180deg, #8f86f8, #7a72ef);
  border-radius: 22px;
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* AI bots */
.ai {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.ai h2 {
  margin: 0 0 22px;
  font-size: 42px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.step-n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #3b3680;
  color: #c8c6ff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ai-visual {
  background: linear-gradient(180deg, #8f86f8, #7e76f2);
  border-radius: 24px;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.phone-wide {
  width: 280px;
  height: 420px;
  background: #0f0d1c;
  border-radius: 32px;
  border: 4px solid #2a2644;
  padding: 16px 12px;
  color: #fff;
}

.bot-card {
  background: #1a1730;
  border-radius: 14px;
  padding: 12px;
  margin-top: 12px;
  font-size: 12px;
}

.bot-card h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.table td {
  padding: 4px 0;
  color: #c9c8dd;
}

.row-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

/* Stories */
.stories-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.link-accent {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.video-card {
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #222;
}

.video-card .bg {
  position: absolute;
  inset: 0;
}

.play {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.play::after {
  content: "";
  border-left: 12px solid #2a2550;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.video-card .caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-weight: 700;
  font-size: 13px;
}

.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.fine-print {
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 8px;
}

/* FAQ */
.faq-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.faq-box h2 {
  margin: 0 0 12px;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.faq-box .intro {
  color: var(--muted);
  line-height: 1.55;
}

.faq-box .intro a {
  color: var(--text);
  text-decoration: underline;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item .answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.faq-item.open .answer {
  display: block;
}

/* CTA */
.cta {
  background: linear-gradient(90deg, #8c5cf6, #8b86f8 40%, #9ea4ff);
  border-radius: 28px;
  min-height: 240px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  position: relative;
}

.cta-art {
  position: relative;
}

.cta-copy {
  padding: 48px 48px 48px 8px;
}

.cta-copy .kicker {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.9;
}

.cta-copy h2 {
  margin: 8px 0 10px;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-copy p {
  margin: 0 0 18px;
  max-width: 420px;
}

/* Footer */
.footer {
  margin-top: 80px;
  background: #16142e;
  padding: 48px 0 28px;
  color: #d4d3e6;
}

[data-theme="light"] .footer {
  background: #1a1733;
  color: #d4d3e6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1.1fr 1.2fr;
  gap: 24px;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #fff;
}

.footer a,
.footer p {
  display: block;
  font-size: 14px;
  color: #c0bfd4;
  margin: 0 0 8px;
  line-height: 1.45;
}

.footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.socials a {
  display: inline;
}

.facebook {
  color: var(--accent) !important;
  font-weight: 700;
}

.legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #8d8ca8;
}

/* Auth / quiz pages */
.page {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.panel {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}

.panel h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.panel p {
  color: var(--muted);
  margin: 0 0 22px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 0 12px;
  margin-bottom: 14px;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.choice {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.choice:hover,
.choice.selected {
  border-color: var(--accent);
  background: rgba(151, 150, 255, 0.12);
}

.progress-quiz {
  height: 6px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-quiz span {
  display: block;
  height: 100%;
  background: var(--accent-2);
}

.mobile-nav {
  display: none;
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-intro { grid-row: auto; min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .carousel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header-actions .lang-btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid,
  .community-card,
  .challenge-grid,
  .how,
  .ai,
  .faq-box,
  .cta,
  .section-head,
  .stories-head,
  .how-head {
    grid-template-columns: 1fr;
  }
  .bento { grid-template-columns: 1fr; }
  .how-head p,
  .community-copy { padding: 28px; text-align: left; }
  .hero { padding-top: 36px; }
  .hero-visual { min-height: 420px; }
  .phone { transform: scale(0.86); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 18px;
    gap: 8px;
  }
}
