* {
  box-sizing: border-box;
}

:root {
  --mama-orange: #ff7a00;
  --mama-orange-2: #ff9f1a;
  --mama-orange-3: #ff5a00;
  --mama-ink: #222334;
  --mama-muted: #757887;
  --mama-line: #ece8e2;
  --mama-bg: #fff7ef;
  --mama-panel: #ffffff;
  --mama-soft: #fff1df;
  --mama-shadow: 0 12px 26px rgba(255, 122, 0, .12), 0 4px 10px rgba(34, 35, 52, .06);
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--mama-ink);
  background:
    linear-gradient(180deg, rgba(255, 159, 26, .16), transparent 260px),
    repeating-linear-gradient(135deg, rgba(255, 122, 0, .04) 0 1px, transparent 1px 16px),
    var(--mama-bg);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 18px 44px;
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: max(env(safe-area-inset-top, 0px), 12px) 0 10px;
}

.brand-lockup {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo,
.admin-logo {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--mama-shadow);
}

.brand-lockup span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-lockup b {
  max-width: min(58vw, 430px);
  overflow: hidden;
  color: var(--mama-ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(17px, 4vw, 25px);
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lockup small,
.section-head span {
  color: var(--mama-orange-3);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-link {
  min-width: 64px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #f2d7bd;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 14px rgba(34, 35, 52, .06);
}

.admin-icon {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hero {
  min-height: calc(100dvh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(310px, .72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 20px 0 34px;
}

.hero-copy {
  min-width: 0;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid #ffd29b;
  border-radius: 999px;
  color: #995100;
  background: #fff3df;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mode-badge.compact {
  min-height: 28px;
  font-size: 11px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  color: var(--mama-ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(43px, 8vw, 82px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-top: 18px;
  color: #c96500;
  font-family: "Outfit", sans-serif;
  font-size: clamp(21px, 3.2vw, 33px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-sub {
  max-width: 620px;
  margin-top: 14px;
  color: var(--mama-muted);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
  box-shadow: 0 10px 20px rgba(255, 122, 0, .22);
}

.secondary-btn {
  border: 1px solid #f2d7bd;
  color: var(--mama-ink);
  background: #fff;
  box-shadow: 0 7px 14px rgba(34, 35, 52, .05);
}

.primary-btn img,
.secondary-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.download-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #f2d7bd;
  border-radius: 999px;
  color: #995100;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.phone-preview {
  width: min(100%, 420px);
  justify-self: center;
  padding: 24px 20px 28px;
  border: 1px solid #f2dfd2;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 250, 244, .96)),
    repeating-linear-gradient(135deg, rgba(255, 122, 0, .035) 0 1px, transparent 1px 15px);
  box-shadow: 0 24px 58px rgba(141, 83, 31, .14), inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.quiz-phone-top,
.download-phone-top {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 7px;
}

.quiz-phone-logo {
  width: 76px;
  height: 76px;
  justify-self: center;
  object-fit: contain;
}

.quiz-phone-title {
  color: var(--mama-orange-3);
  font-family: "Outfit", sans-serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-fund {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #f5cfad;
  border-radius: 999px;
  color: #995100;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.is-quiz .preview-fund {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
}

.quiz-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 18px;
}

.quiz-stat-row span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #f5cfad;
  border-radius: 999px;
  color: #995100;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(141, 83, 31, .06);
}

.quiz-notice {
  min-height: 76px;
  display: flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 14px 26px;
  overflow: hidden;
  border: 2px solid #f5cfad;
  border-radius: 24px;
  color: #995100;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.quiz-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.quiz-action-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 18px 14px 16px;
  border-radius: 26px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.quiz-action-card.dark {
  background: linear-gradient(135deg, #242536, #3b3c50);
}

.quiz-action-card.orange {
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
}

.quiz-action-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: grayscale(1) brightness(.15);
  opacity: .82;
}

.quiz-action-card b {
  font-size: 25px;
  line-height: 1;
}

.quiz-info-card,
.feature-card,
.status-box {
  border: 1px solid var(--mama-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--mama-shadow);
}

.quiz-info-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(34, 35, 52, .08);
}

.quiz-info-card.cream {
  background: #fff8ed;
}

.quiz-info-card span {
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.05;
}

.quiz-info-card strong {
  color: var(--mama-orange-3);
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .9;
}

.quiz-info-card small {
  color: var(--mama-muted);
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.quiz-progress {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffe6d3;
}

.quiz-progress i {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mama-orange-2), var(--mama-orange-3));
  box-shadow: 0 8px 18px rgba(255, 122, 0, .24);
}

.app-preview {
  display: grid;
  gap: 14px;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--mama-shadow);
}

.preview-brand span {
  min-width: 0;
  display: grid;
}

.preview-brand b {
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: .95;
}

.preview-brand small {
  color: var(--mama-orange-3);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-pill,
.preview-wallet {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f5cfad;
  border-radius: 16px;
  background: #fff;
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(141, 83, 31, .06);
}

.preview-pill {
  padding: 0 14px;
  font-size: 13px;
}

.preview-wallet {
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
  padding: 8px 12px;
  color: var(--mama-muted);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.preview-wallet b {
  margin-top: 3px;
  color: var(--mama-orange-3);
  font-size: 20px;
}

.smart-hero {
  padding: 18px;
  border: 1px solid #f0d6bd;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #fff3df);
  box-shadow: 0 18px 42px rgba(42, 28, 12, .1);
}

.smart-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a45c00;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.smart-kicker i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55e6bd;
  box-shadow: 0 0 0 7px rgba(85, 230, 189, .18);
}

.smart-hero h3 {
  margin-top: 10px;
  color: #28293b;
  font-size: 34px;
  line-height: .98;
}

.smart-hero p {
  margin-top: 10px;
  color: var(--mama-muted);
  font-weight: 800;
  line-height: 1.35;
}

.smart-deals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.smart-deals div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid #ffe0bf;
  border-radius: 18px;
  background: #fff;
}

.smart-deals .paid {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--mama-orange), var(--mama-orange-3));
}

.smart-deals b {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  line-height: 1;
}

.smart-deals small {
  display: block;
  margin-top: 8px;
  color: var(--mama-muted);
  font-size: 11px;
  font-weight: 900;
}

.smart-deals .paid small {
  color: rgba(255, 255, 255, .82);
}

.preview-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 2px -2px;
}

.preview-section-title b {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.preview-section-title small {
  color: var(--mama-muted);
  font-size: 12px;
  font-weight: 900;
}

.quiz-plan {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border: 1px solid #f0d6bd;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--mama-shadow);
}

.quiz-plan.paid {
  background: linear-gradient(135deg, #fff, #fff3df);
}

.quiz-plan > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #2b2d42;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.quiz-plan.paid > span {
  background: linear-gradient(135deg, var(--mama-orange), var(--mama-orange-3));
}

.quiz-plan b,
.quiz-plan small {
  display: block;
}

.quiz-plan b {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  line-height: 1.05;
}

.quiz-plan small {
  margin-top: 5px;
  color: var(--mama-muted);
  font-size: 12px;
  font-weight: 800;
}

.quiz-plan em {
  padding: 9px 11px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--mama-orange), var(--mama-orange-3));
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.preview-stats span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 1px solid #f0d6bd;
  border-radius: 18px;
  background: #fff;
}

.preview-stats b,
.preview-stats small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.preview-stats small {
  color: var(--mama-muted);
  font-size: 11px;
}

.matka-marquee {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  overflow: hidden;
  border: 2px solid #f5cfad;
  border-radius: 18px;
  color: #a25700;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.matka-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.matka-actions div {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.matka-actions .add {
  background: linear-gradient(135deg, #242536, #3b3c50);
}

.matka-actions .withdraw {
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
}

.matka-actions img {
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
}

.matka-actions b,
.matka-actions small {
  display: block;
}

.matka-actions b {
  font-size: 18px;
  line-height: 1;
}

.matka-actions small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.live-withdrawals,
.market-preview-card {
  padding: 15px;
  border: 1px solid var(--mama-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--mama-shadow);
}

.live-withdrawals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.live-withdrawals > div b {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
}

.live-withdrawals > div small {
  color: #d76c00;
  font-weight: 900;
}

.live-withdrawals article {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #f5cfad;
  border-radius: 17px;
  background: #fff;
}

.live-withdrawals article + article {
  margin-top: 8px;
}

.live-withdrawals article span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--mama-orange-3);
  background: #fff3df;
  font-size: 23px;
  font-weight: 900;
}

.live-withdrawals article b,
.live-withdrawals article strong {
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  line-height: 1;
}

.live-withdrawals article strong {
  color: var(--mama-orange-3);
}

.live-withdrawals article small {
  grid-column: 2 / 3;
  color: var(--mama-muted);
  font-weight: 900;
}

.market-preview-card {
  display: grid;
  gap: 10px;
  background: #fffaf4;
}

.market-preview-card small {
  color: #617f7f;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.market-preview-card b {
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.market-preview-card em {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #a25700;
  background: #fff0dc;
  font-family: "Outfit", sans-serif;
  font-style: normal;
  font-weight: 900;
}

.market-preview-card strong {
  padding: 13px 16px;
  border-radius: 18px;
  color: #ffcf56;
  background: #383934;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  letter-spacing: .08em;
}

.market-preview-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.section-band {
  padding: 46px 0 28px;
}

.section-head {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

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

.feature-card {
  min-height: 210px;
  padding: 18px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

h3 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.feature-card p {
  margin-top: 10px;
  color: var(--mama-muted);
  font-weight: 600;
  line-height: 1.55;
}

.steps-section {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 32px 0 10px;
}

.steps-section h2 {
  margin-top: 12px;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--mama-line);
  border-radius: 16px;
  background: #fff;
  color: var(--mama-ink);
  font-weight: 800;
  box-shadow: 0 7px 14px rgba(34, 35, 52, .05);
  counter-increment: steps;
}

.step-list li::before {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #242536;
  content: counter(steps);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.policy-section {
  padding: 36px 0 18px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.policy-grid article {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--mama-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--mama-shadow);
}

.policy-grid b {
  display: block;
  color: #28293b;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.policy-grid p {
  margin-top: 10px;
  color: var(--mama-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.policy-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid #f2d7bd;
  border-radius: 13px;
  color: #995100;
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(34, 35, 52, .05);
}

.legal-page {
  width: min(760px, 100%);
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 16px;
}

.admin-shell {
  width: min(560px, 100%);
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 16px;
}

.back-link {
  width: fit-content;
  color: #c96500;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--mama-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 26px 64px rgba(34, 35, 52, .13);
}

.admin-logo {
  margin-bottom: 14px;
}

.admin-card h1 {
  margin-top: 13px;
  font-size: clamp(34px, 8vw, 54px);
}

.admin-card p {
  margin-top: 12px;
  color: var(--mama-muted);
  font-weight: 700;
  line-height: 1.55;
}

.mode-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.pin-field {
  display: grid;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.pin-field input {
  min-height: 52px;
  width: 100%;
  border: 1px solid #efd7bf;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--mama-ink);
  background: #fff;
  font: inherit;
}

.pin-field input:focus {
  border-color: var(--mama-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .16);
  outline: none;
}

.switch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.switch-btn {
  min-height: 92px;
  display: grid;
  gap: 6px;
  place-items: center;
  border: 1px solid #efd7bf;
  border-radius: 16px;
  color: var(--mama-ink);
  background: #fff;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 7px 14px rgba(34, 35, 52, .05);
}

.switch-btn span {
  font-size: 24px;
  font-weight: 900;
}

.switch-btn b {
  max-width: 150px;
  font-size: 13px;
  line-height: 1.15;
}

.switch-btn.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--mama-orange-2), var(--mama-orange-3));
  box-shadow: 0 10px 20px rgba(255, 122, 0, .22);
}

.switch-btn.off.active {
  background: linear-gradient(135deg, #242536, #3b3c50);
}

.status-box {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 14px;
}

.status-box span,
.status-box small {
  color: var(--mama-muted);
  font-weight: 800;
}

.status-box strong {
  color: var(--mama-orange-3);
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.status-link {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 11px;
  color: #995100;
  background: #fff3df;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.alert {
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.alert.success {
  color: #17613a;
  background: #e9fff2;
}

.alert.error {
  color: #9e1b1b;
  background: #fff0f0;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .phone-preview {
    width: min(100%, 360px);
    padding: 18px 14px 20px;
    border-radius: 28px;
  }

  .quiz-phone-logo {
    width: 66px;
    height: 66px;
  }

  .quiz-stat-row {
    gap: 8px;
    margin: 13px 0 15px;
  }

  .quiz-stat-row span {
    min-height: 38px;
    font-size: 12px;
  }

  .quiz-notice {
    min-height: 62px;
    margin: 16px 0 18px;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 15px;
  }

  .quiz-action-grid {
    gap: 12px;
    margin-bottom: 18px;
  }

  .quiz-action-card {
    min-height: 118px;
    gap: 18px;
    border-radius: 22px;
  }

  .quiz-action-card img {
    width: 44px;
    height: 44px;
  }

  .quiz-action-card b {
    font-size: 22px;
  }

  .quiz-info-card {
    gap: 10px;
    margin-top: 14px;
    padding: 22px 24px;
    border-radius: 22px;
  }

  .quiz-info-card span {
    font-size: 25px;
  }

  .quiz-info-card strong {
    font-size: 36px;
  }

  .quiz-info-card small {
    font-size: 17px;
  }

  .feature-grid,
  .policy-grid,
  .steps-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding-inline: 12px;
  }

  .topbar {
    min-height: 66px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-lockup b {
    max-width: 64vw;
    font-size: 18px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-actions,
  .switch-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}
