:root {
  --page-bg: #232342;
  --canvas-bg: #f6f8fc;
  --hero-bg: #b9e9fb;
  --hero-bg-2: #a8def3;
  --ink: #121826;
  --text: #2d3443;
  --muted: #606b7e;
  --line: #e4e9f2;
  --accent: #4a43d9;
  --accent-dark: #352fb8;
  --accent-soft: #dfe2ff;
  --mint: #2ac58e;
  --warn: #ff8f5a;
  --shadow-sm: 0 8px 18px rgba(16, 29, 55, 0.08);
  --shadow-md: 0 18px 38px rgba(16, 29, 55, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font-heading: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--canvas-bg);
}

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

img {
  max-width: 100%;
  display: block;
}

.landing-body,
.signup-body {
  padding: 0;
}

.page-shell {
  width: 100%;
  margin: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.container-wide {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(74, 67, 217, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 24px rgba(74, 67, 217, 0.35);
}

.btn-text {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(18, 24, 38, 0.12);
  color: var(--ink);
}

.hero-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  overflow: hidden;
}

.offers-body {
  background: var(--canvas-bg);
}

.offers-hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #dff3ff 0%, #f4f8ff 100%);
}

.offers-main {
  padding: 10px 0 70px;
}

.offers-nav-actions {
  gap: 10px;
}

.offers-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.offers-main h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.02em;
}

.offers-main .panel-eyebrow {
  color: #5b67a4;
}

.offers-main .feedback {
  margin: 0;
}

.offers-push-optin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.offers-push-optin .feedback {
  margin: 0;
}

.user-email {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 67, 217, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: #41506a;
  font-size: 0.82rem;
  font-weight: 700;
}

.logout-btn {
  padding: 10px 18px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 14px;
  align-items: start;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 800;
}

.offer-item-card {
  border: 1px solid rgba(24, 41, 74, 0.14);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.offer-item-card.offer-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-item-card.offer-clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 67, 217, 0.38);
  box-shadow: 0 16px 26px rgba(20, 40, 80, 0.14);
}

.offer-item-card.offer-clickable:focus-visible {
  outline: 3px solid rgba(74, 67, 217, 0.25);
  outline-offset: 2px;
}

.offer-item-card.offer-disabled {
  opacity: 0.8;
}

.offer-item-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.03rem;
  line-height: 1.24;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
}

.offer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offer-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 42, 64, 0.22);
  font-weight: 800;
  font-size: 0.95rem;
}

.offer-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2f4a2f;
  background: rgba(42, 197, 142, 0.2);
  padding: 4px 8px;
  border-radius: 999px;
}

.offer-instructions {
  margin: 0;
  color: #2f3f56;
  font-size: 0.87rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-chip {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 24, 38, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
  color: #2f3d53;
}

.offer-card-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.offer-btn {
  border-radius: 10px;
  border: 1px solid #1f2a37;
  padding: 9px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  width: 100%;
}

.offer-btn-outline {
  background: rgba(255, 255, 255, 0.88);
  color: #1f2a37;
}

.offer-btn-solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.offer-btn-solid:hover {
  background: var(--accent-dark);
}

.offer-theme-blue {
  background: #d8e7ff;
}

.offer-theme-mint {
  background: #d7f2eb;
}

.offer-theme-lilac {
  background: #eddcf2;
}

.offer-theme-lime {
  background: #e4f5d0;
}

.offer-theme-rose {
  background: #f6d9df;
}

.offer-theme-sand {
  background: #f3e2d2;
}

.offer-card-large {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(74, 67, 217, 0.22);
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(16, 29, 55, 0.14);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.offer-card-compact {
  min-height: 100%;
}

.offer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #4a43d9, #2a7af8);
  color: #ffffff;
  padding: 14px 16px;
}

.offer-card-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  letter-spacing: -0.02em;
}

.offer-close {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2rem;
  line-height: 1;
}

.offer-card-banner {
  margin: 10px;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at 72% 38%, rgba(74, 67, 217, 0.24), transparent 44%),
    radial-gradient(circle at 22% 18%, rgba(42, 122, 248, 0.2), transparent 40%),
    linear-gradient(135deg, #b9e9fb 0%, #a8def3 52%, #d9f1ff 100%);
  border: 1px solid #8fc7e7;
}

.offer-banner-copy p {
  margin: 0 0 6px;
  color: #2f4e64;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.offer-banner-copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  color: #1b2a40;
  text-shadow: 0 4px 10px rgba(78, 118, 168, 0.24);
}

.offer-banner-copy h3 span {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #2ac58e;
  color: #ffffff;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem);
  vertical-align: middle;
}

.offer-banner-deco {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffc94a 0%, #f2a900 56%, #b16d00 100%);
  box-shadow: inset -10px -14px 0 rgba(0, 0, 0, 0.15), 0 16px 24px rgba(9, 2, 24, 0.4);
  position: relative;
}

.offer-banner-deco::before {
  content: \"%\";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: rgba(43, 22, 2, 0.35);
}

.offer-card-body {
  padding: 4px 16px 16px;
  color: #3b4a61;
}

.offer-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.offer-card-body strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2a37;
}

.offer-card-body h4 {
  margin: 14px 0 8px;
  color: #1f2a37;
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.offer-steps {
  margin: 0 0 10px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: #2f3d53;
  font-weight: 600;
}

.offer-summary {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1f2a37;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 67, 217, 0.5), rgba(74, 67, 217, 0));
  border-radius: 50%;
  right: -80px;
  bottom: -80px;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 2px dashed rgba(18, 24, 38, 0.2);
  left: -40px;
  bottom: 50px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.22), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.15), transparent 40%);
  pointer-events: none;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(140deg, #4a43d9, #2a7af8);
  box-shadow: 0 8px 16px rgba(74, 67, 217, 0.35);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: #384154;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 26px 0 42px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.6vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 580px;
}

.hero-copy p {
  margin: 0;
  max-width: 520px;
  color: #4e5a6b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #45506a;
  font-weight: 700;
}

.play-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2ac58e;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  box-shadow: 0 8px 14px rgba(42, 197, 142, 0.28);
}

.hero-checks {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52607a;
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-checks li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 15%, #4a43d9 16%);
  box-shadow: inset 0 0 0 3px rgba(74, 67, 217, 0.24);
}

.hero-art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.orbit-label {
  position: absolute;
  top: 84px;
  right: 88px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(74, 67, 217, 0.45);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  color: rgba(74, 67, 217, 0.55);
  display: grid;
  place-items: center;
  text-align: center;
  letter-spacing: 0.09em;
}

.orbit-core {
  position: absolute;
  top: 145px;
  right: 142px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #49516a;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.orbit-core::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 45deg, #ff9a5f, #f2533a, #ff9a5f);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.hand {
  position: absolute;
  width: 156px;
  height: 340px;
  border-radius: 80px;
  transform-origin: bottom center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 26px;
}

.hand-left {
  left: 118px;
  top: 100px;
  background: linear-gradient(180deg, #d9a67d 0%, #ba7b55 80%);
  transform: rotate(-22deg);
}

.hand-right {
  right: 82px;
  top: 152px;
  background: linear-gradient(180deg, #f3cfb0 0%, #c79a78 85%);
  transform: rotate(18deg);
}

.reward-card {
  width: 120px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(145deg, #274ea8 0%, #16326d 100%);
  color: #c8e3ff;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(24, 50, 109, 0.35);
}

.chip {
  position: absolute;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #334059;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.chip-a {
  left: 58px;
  top: 98px;
}

.chip-b {
  left: 44px;
  top: 170px;
}

.chip-c {
  right: 38px;
  top: 70px;
}

.section-block {
  padding: 74px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
}

.section-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-copy p {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.card-index {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #1e2430;
}

.card-swatch {
  width: 44px;
  height: 10px;
  border-radius: 3px;
  margin: 16px 0 22px;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--ink);
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.data-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ddf2ff 0%, #f5fbff 100%);
  border: 1px solid #d6e8f4;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.data-visual::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(74, 67, 217, 0.16);
  left: -40px;
  top: 126px;
}

.data-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(74, 67, 217, 0.1);
  right: -58px;
  bottom: -72px;
}

.payment-card {
  position: absolute;
  width: 220px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: #3f4a61;
  font-size: 0.82rem;
}

.payment-card strong {
  display: block;
  font-size: 0.92rem;
  color: #273146;
  margin-top: 4px;
}

.payment-card.first {
  top: 58px;
  left: 48px;
}

.payment-card.second {
  top: 124px;
  left: 92px;
}

.payment-card.third {
  top: 190px;
  left: 28px;
}

.balance-card {
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 205px;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.bar-row {
  margin-top: 12px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.bar-row span {
  display: block;
  width: 16px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4a43d9, #2b89ff);
}

.bar-row span:nth-child(1) {
  height: 36%;
}

.bar-row span:nth-child(2) {
  height: 58%;
}

.bar-row span:nth-child(3) {
  height: 44%;
}

.bar-row span:nth-child(4) {
  height: 84%;
}

.bar-row span:nth-child(5) {
  height: 68%;
}

.split-copy small {
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #77839a;
  font-weight: 700;
  font-size: 0.72rem;
}

.split-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.split-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 500px;
}

.blue-band {
  background: #d8f1ff;
}

.blue-band .section-copy p {
  max-width: 620px;
}

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

.mini-card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #c8def0;
  padding: 14px;
  min-height: 132px;
}

.mini-card .swatch {
  width: 28px;
  height: 6px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.mini-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  line-height: 1.2;
  color: var(--ink);
}

.mini-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #384459;
}

.testimonial-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.testimonial p {
  margin: 0;
  color: #39445a;
  line-height: 1.58;
}

.testimonial strong {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
}

.cta-ribbon {
  background: linear-gradient(145deg, #4a43d9, #3452d7 50%, #2b89ff);
  padding: 58px 0;
  color: #fff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(74, 67, 217, 0.16);
  font-size: 0.9rem;
  color: #637089;
}

.footer-stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  font-weight: 700;
  color: #4d5aa0;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-page {
  background: var(--canvas-bg);
}

.legal-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-hero {
  flex: 1;
}

.legal-main {
  padding-bottom: 34px;
}

.legal-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dfe5f2;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.legal-subtitle {
  margin: 10px 0 14px;
  color: #5d6a82;
  font-size: 0.9rem;
}

.legal-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid #dde4f2;
  border-radius: 12px;
  background: #ffffff;
}

.signup-hero {
  background: linear-gradient(140deg, #b8eafc 0%, #b3e3f7 100%);
  position: relative;
  overflow: hidden;
}

.signup-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -140px;
  top: -120px;
  background: rgba(74, 67, 217, 0.2);
}

.signup-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 18px 0 48px;
}

.simple-signup-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 24px 0 62px;
}

.simple-signup-wrap .form-card {
  width: min(760px, 100%);
}

.simple-subtitle {
  margin: 0 0 20px;
  color: #4f5c72;
  line-height: 1.7;
}

.signup-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(74, 67, 217, 0.14);
  box-shadow: 0 22px 44px rgba(16, 29, 55, 0.18);
}

.signup-page .site-nav {
  padding: 22px 0 12px;
}

.signup-page .page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.signup-page .simple-signup-wrap {
  min-height: 0;
  align-items: center;
  padding: 24px 0 18px;
}

.signup-page .simple-signup-wrap .form-card {
  width: min(760px, 100%);
  padding: 30px 30px 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e2e8f6;
  box-shadow: 0 18px 40px rgba(38, 73, 104, 0.14);
}

.signup-page .panel-eyebrow {
  margin-bottom: 6px;
  color: #4c5ca8;
}

.signup-page .signup-panel h2 {
  margin-bottom: 6px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.signup-page .simple-subtitle {
  margin: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #55637f;
}

.signup-page .signup-form {
  gap: 16px;
}

.signup-page .form-row {
  gap: 16px;
}

.signup-page .form label {
  margin-bottom: 7px;
  font-size: 0.86rem;
  color: #2f3a52;
}

.signup-page .signup-panel .input {
  padding: 13px 14px;
  border-color: #cad4eb;
  background: #ffffff;
  font-size: 0.94rem;
}

.signup-page .signup-panel .input::placeholder {
  color: #95a2ba;
}

.signup-page .password-hint {
  margin: -2px 0 0;
  font-size: 0.8rem;
  color: #61708a;
}

.signup-page .signup-submit {
  margin-top: 4px;
  padding: 13px 18px;
  font-size: 1rem;
  box-shadow: 0 12px 22px rgba(74, 67, 217, 0.28);
}

.signup-page .signup-footnote {
  margin-top: 12px;
  color: #5f6b83;
}

.signup-page .signup-hero {
  min-height: 0;
  flex: 1;
  background: linear-gradient(180deg, #b8e6f8 0%, #acddef 100%);
}

.verify-page .signup-hero {
  display: flex;
  flex-direction: column;
}

.verify-page .simple-signup-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 0 28px;
}

.signup-page .signup-hero::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -110px;
  background: rgba(74, 67, 217, 0.2);
}

.signup-page .nav-links {
  display: none;
}

.signup-page .back-home-link {
  color: #5e6880;
  font-size: 1.04rem;
  font-weight: 700;
}

.signup-page .fade-up {
  animation: none;
  opacity: 1;
  transform: none;
}

.onboarding-wrap {
  align-items: center;
}

.onboarding-page .page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.onboarding-page .signup-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.onboarding-page .onboarding-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
}

.onboarding-card {
  width: min(760px, 100%);
  border-radius: 20px;
  border: 1px solid #dfe6f3;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(27, 49, 74, 0.14);
  padding: 34px 34px 28px;
}

.onboarding-card .panel-eyebrow {
  margin-bottom: 10px;
  color: #4959a7;
}

.onboarding-header {
  max-width: 640px;
}

.signup-page .onboarding-card h2 {
  margin: 0 0 10px;
  max-width: 640px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #18233c;
}

.onboarding-card .simple-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.58;
  color: #4f5f7a;
}

.onboarding-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe3f7;
  border-left: 4px solid #5965e8;
  background: #f7f9ff;
  color: #4f5f7b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.onboarding-step-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dbe3f3;
  background: #f8faff;
  min-height: 98px;
}

.step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #cfd8f4;
  color: #4253cb;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(74, 67, 217, 0.12);
}

.step-item h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #20293d;
}

.step-item p {
  margin: 0;
  font-size: 0.86rem;
  color: #5a6881;
  line-height: 1.45;
}

.onboarding-card #onboarding-gate {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e1e8f5;
}

.uid-row {
  margin: 0 0 14px;
  color: #606f89;
  font-weight: 600;
  font-size: 0.88rem;
}

.uid-row code {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #f5f7ff;
  border: 1px solid #d6dff5;
  color: #2b3952;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
}

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

.onboarding-card .gate-actions .btn {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.onboarding-card #confirm-join-btn {
  background: #ffffff;
  border: 1px solid #ced9f2;
  color: #2f406d;
}

.onboarding-card #confirm-join-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.onboarding-card #join-telegram-btn {
  background: linear-gradient(135deg, #4a43d9, #365ee8);
  box-shadow: 0 10px 20px rgba(74, 67, 217, 0.22);
}

@media (max-width: 860px) {
  .onboarding-step-grid {
    grid-template-columns: 1fr;
  }

  .gate-actions {
    grid-template-columns: 1fr;
  }
}

.signup-support-footer {
  background: #eceef3;
  border-top: 1px solid #d8deea;
}

.signup-support-footer .container-wide {
  padding: 34px 0;
  color: #62718b;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-height: 900px) {
  .signup-page .site-nav {
    padding: 14px 0 8px;
  }

  .signup-page .simple-signup-wrap {
    padding: 12px 0 8px;
  }

  .signup-page .simple-signup-wrap .form-card {
    padding: 22px 22px 18px;
  }

  .signup-page .signup-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    margin-bottom: 4px;
  }

  .signup-page .onboarding-card h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.3rem);
    margin-bottom: 6px;
  }

  .signup-page .simple-subtitle {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .signup-page .signup-form {
    gap: 12px;
  }

  .signup-page .form-row {
    gap: 12px;
  }

  .signup-page .form label {
    font-size: 0.82rem;
    margin-bottom: 5px;
  }

  .signup-page .signup-panel .input {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .signup-page .password-hint {
    font-size: 0.76rem;
  }

  .signup-page .signup-submit {
    padding: 11px 14px;
  }

  .signup-page .signup-footnote {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .signup-support-footer .container-wide {
    padding: 20px 0;
  }
}

.panel-eyebrow {
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #5b67a4;
}

.signup-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.signup-form {
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-panel label {
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.signup-panel .input {
  border-radius: 12px;
  border-color: #d7dff0;
  background: #ffffff;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-panel .input::placeholder {
  color: #95a0b4;
}

.signup-panel .input:focus {
  outline: none;
  border-color: #645df0;
  box-shadow: 0 0 0 3px rgba(100, 93, 240, 0.16);
}

.signup-submit {
  width: 100%;
  margin-top: 2px;
  padding: 14px 22px;
  font-size: 0.98rem;
}

.signup-footnote {
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: #59657c;
}

.verify-email-panel {
  max-width: 680px;
}

.verify-email-row {
  margin: 0 0 16px;
  color: #4e5d77;
  font-size: 0.92rem;
}

.verify-email-row strong {
  color: #1f2a3d;
  font-weight: 800;
}

.verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.verify-actions .btn {
  min-width: 220px;
}

.feedback {
  margin: 4px 0 0;
  min-height: 1.3em;
  font-size: 0.85rem;
  font-weight: 700;
}

.feedback.info {
  color: #4b5a73;
}

.feedback.success {
  color: #16764e;
}

.feedback.error {
  color: #b42318;
}

.signup-message {
  margin: 4px 0 0;
  min-height: 1.3em;
  font-size: 0.85rem;
  font-weight: 700;
}

.signup-message.info {
  color: #4b5a73;
}

.signup-message.success {
  color: #16764e;
}

.signup-message.error {
  color: #b42318;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-intro h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.signup-intro p {
  margin: 14px 0 0;
  color: #4f5c72;
  line-height: 1.7;
  max-width: 520px;
}

.stat-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(74, 67, 217, 0.12);
  padding: 14px;
}

.stat-tile strong {
  display: block;
  font-family: var(--font-heading);
  color: #1e2430;
  font-size: 1.2rem;
}

.stat-tile span {
  color: #56637a;
  font-size: 0.86rem;
}

.form-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.form-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  color: var(--ink);
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: #364257;
  font-weight: 700;
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #253046;
  background: #fcfdff;
}

.input:focus {
  outline: 2px solid rgba(74, 67, 217, 0.22);
  border-color: transparent;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #4f5d74;
  margin: 4px 0 8px;
}

.agreement input {
  margin-top: 2px;
}

.form-divider {
  text-align: center;
  color: #6a768d;
  font-size: 0.82rem;
  margin: 6px 0;
}

.social-actions {
  display: grid;
  gap: 8px;
}

.social-actions button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  background: #fff;
  font-weight: 700;
  color: #2f3b52;
  cursor: pointer;
}

.social-actions button:hover {
  background: #f8faff;
}

.inline-link {
  margin: 0;
  font-size: 0.86rem;
  color: #58657d;
}

.inline-link a {
  color: var(--accent);
  font-weight: 700;
}

.fade-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.12s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chip,
.payment-card {
  animation: floatY 5.2s ease-in-out infinite;
}

.chip-b,
.payment-card.second {
  animation-delay: 0.3s;
}

.chip-c,
.payment-card.third {
  animation-delay: 0.62s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1120px) {
  .hero-main,
  .signup-layout,
  .split-block,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }

  .feature-cards,
  .mini-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card-banner {
    grid-template-columns: 1fr;
  }

  .offer-banner-deco {
    width: 140px;
    height: 140px;
  }

}

@media (max-width: 760px) {
  .landing-body,
  .signup-body {
    padding: 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 16px;
    font-size: 0.85rem;
  }

  .offers-nav-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .user-email {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .offer-card-header {
    padding: 16px 18px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card-large {
    max-width: none;
  }

  .offer-card-banner {
    margin: 10px;
    border-radius: 18px;
    padding: 20px 18px;
  }

  .offer-card-body {
    padding: 6px 18px 22px;
  }

  .offer-card-body h4 {
    font-size: 1.2rem;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 340px;
  }

  .hand {
    width: 112px;
    height: 244px;
  }

  .hand-left {
    left: 80px;
    top: 94px;
  }

  .hand-right {
    right: 42px;
    top: 130px;
  }

  .reward-card {
    width: 94px;
    font-size: 0.74rem;
  }

  .orbit-label {
    width: 132px;
    height: 132px;
    top: 56px;
    right: 68px;
    font-size: 0.68rem;
  }

  .orbit-core {
    top: 92px;
    right: 104px;
    width: 44px;
    height: 44px;
  }

  .chip {
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .feature-cards,
  .mini-grid,
  .testimonial-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .verify-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .cta-content {
    align-items: flex-start;
  }

  .footer-stack {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    padding: 14px;
  }

  .legal-frame {
    min-height: 68vh;
  }
}
