/* Slidee landing page. Ported from slidee-web src/views/Pages/Landing (React) to plain CSS. */

:root {
  --primary: #6b5cfd;
  --primary-deep: #4f3df5;
  --secondary: #932efa;
  --dark: #01081b;
  --gray: #4d525f;
  --muted: #666;
  --light-bg: #f3f7ff;
  --warm-bg: #fbf6ef;
  --blue-bg: #eef9fe;
  --mid-gray: #f6f6f6;
  --white: #fff;
  --border: #e4ebf0;
  --font-display: 'Urbanist', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --max: 1170px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.section {
  padding: 80px 20px;
}

.eyebrow {
  color: var(--secondary);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--dark);
}

.accent {
  color: var(--primary);
}

.btn-pill {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(107, 92, 253, 0.2);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.site-header.scrolled,
.site-header.open {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: var(--max);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 38px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-desktop a,
.nav-mobile a {
  text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
}

.nav-desktop a:not(.nav-cta) {
  color: var(--gray);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-desktop a:not(.nav-cta):hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 6px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close,
.site-header.open .nav-toggle .icon-menu {
  display: none;
}

.site-header.open .nav-toggle .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile a:not(.nav-cta) {
  color: #1e1e1e;
  font-weight: 700;
  font-size: 18px;
}

.nav-mobile .nav-cta {
  padding: 14px 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.open .nav-mobile {
    display: flex;
  }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #f5f1ff 0%, #fff 55%, #f0f4ff 100%);
  overflow-x: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  min-width: 0;
}

.hero-text {
  flex: 1 1 100%;
  max-width: 638px;
  min-width: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 80px);
  line-height: 1.1em;
  color: #000;
  margin: 0 0 24px;
  word-break: break-word;
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 490px;
}

.claim-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 100px;
  border: 2px solid rgba(107, 92, 253, 0.15);
  padding: 6px 6px 6px 24px;
  box-shadow: 0 8px 32px rgba(107, 92, 253, 0.12);
  max-width: 580px;
  width: 100%;
}

.claim-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.claim-prefix {
  color: #111827;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.claim-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  margin-left: 2px;
  color: var(--primary);
  font-weight: 600;
}

.claim-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.claim-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(107, 92, 253, 0.3);
  transition: all 0.25s ease;
}

.claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 92, 253, 0.45);
}

.hero-visual {
  flex: 1 1 320px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
  width: 100%;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 64px rgba(107, 92, 253, 0.22));
}

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
}

.float-left {
  top: 8%;
  left: -5%;
  padding: 14px 16px;
  min-width: 170px;
  box-shadow: -20px 20px 30px rgba(46, 104, 253, 0.08), 0 -16px 20px rgba(46, 104, 253, 0.04);
}

.float-left .amount {
  color: #2e68fd;
  font-weight: 700;
  font-size: 18px;
}

.float-left .label {
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.float-left .date {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.float-right {
  bottom: 12%;
  right: -8%;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  background: #eee;
}

.avatars img + img {
  margin-left: -8px;
}

.float-right strong {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #000;
}

.float-right small {
  font-size: 10px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .claim-box {
    padding: 5px 5px 5px 16px;
  }

  .claim-prefix,
  .claim-input {
    font-size: 13px;
  }

  .claim-btn {
    padding: 12px 18px;
    font-size: 13px;
  }

  .hero-mockup {
    max-width: 85%;
    margin: 0 auto;
  }

  .float-left {
    left: 0;
    top: 0;
    transform: scale(0.85);
    transform-origin: top left;
  }

  .float-right {
    right: 0;
    bottom: 0;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}

@media (max-width: 380px) {
  .claim-box {
    padding: 4px 4px 4px 12px;
  }

  .claim-btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .claim-prefix,
  .claim-input {
    font-size: 12px;
  }
}

/* ── Trusted / showcase ─────────────────────────────────────────────────── */
.trusted {
  overflow: hidden;
}

.trusted-inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.trusted-title {
  text-align: center;
  margin-bottom: 40px;
}

.marquee {
  overflow: hidden;
  border-radius: 16px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.marquee-item {
  flex: 0 0 auto;
  width: clamp(240px, 25vw, 280px);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.marquee-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase {
  background: var(--primary);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
}

.showcase.reverse {
  flex-wrap: wrap-reverse;
  gap: 60px;
}

.showcase-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.showcase-text.wide {
  flex: 1 1 400px;
}

.showcase-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.showcase-arrow {
  margin: 10px 0 0 40px;
  width: 160px;
  height: auto;
}

.showcase-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.showcase-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 48px;
}

.showcase-media {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
}

.showcase-cta {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: -20px;
  z-index: 10;
}

@media (max-width: 767px) {
  .showcase-arrow {
    display: none;
  }
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
}

.slider-phone {
  width: 320px;
  max-width: 100%;
}

.slider-email {
  max-width: 400px;
}

.slider-frame {
  background: var(--white);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.slider-phone .slider-frame {
  height: 640px;
  border-radius: 36px;
  padding: 12px;
}

.slider-phone .slider-viewport {
  border-radius: 24px;
}

.slider-email .slider-frame {
  height: 560px;
  border-radius: 20px;
}

.slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.slider-arrow[hidden] {
  display: none;
}

.slider-prev {
  left: -24px;
}

.slider-next {
  right: -24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}

.slider-dots button[aria-current='true'] {
  background: #c4b5fd;
}

@media (max-width: 420px) {
  .slider-phone .slider-frame {
    height: 560px;
  }

  .slider-prev {
    left: 0;
  }

  .slider-next {
    right: 0;
  }
}

/* ── Why ────────────────────────────────────────────────────────────────── */
.why {
  text-align: center;
}

.why .section-title {
  margin-bottom: 16px;
}

.why p.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--gray);
  max-width: 511px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features-head {
  text-align: center;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
}

.feature-card {
  border-radius: 24px;
  padding: 40px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:nth-child(1) {
  background: var(--light-bg);
}

.feature-card:nth-child(2) {
  background: var(--warm-bg);
}

.feature-card:nth-child(3) {
  background: var(--blue-bg);
}

.feature-card img {
  width: 100%;
  height: 50px;
  object-fit: contain;
}

.feature-card .text {
  margin-bottom: 32px;
  min-height: 110px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
  margin: 12px 0;
  line-height: 1.3;
}

.feature-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ── How it works ───────────────────────────────────────────────────────── */
.how {
  background: var(--mid-gray);
}

.how .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.video-embed {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-bottom: 40px;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.how-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.steps {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 36px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.step {
  display: flex;
  flex: 1 1 280px;
}

.step-body {
  flex: 1;
  padding: 12px 24px;
}

.step-head {
  position: relative;
  height: 76px;
  margin-bottom: 16px;
}

.step-num {
  position: absolute;
  top: -15px;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  color: #f0f0f0;
  line-height: 1;
  user-select: none;
}

.step-head img {
  position: absolute;
  top: 24px;
  left: 12px;
  height: 36px;
  width: auto;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.step-divider {
  display: none;
  width: 1px;
  margin: 16px 0;
  background: #eef0f2;
  align-self: stretch;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .step-divider {
    display: block;
  }
}

.how .btn-primary {
  font-size: 18px;
  padding: 16px 48px;
}

@media (max-width: 480px) {
  .steps {
    padding: 32px 12px;
  }
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing {
  background: var(--primary);
}

.pricing[hidden] {
  display: none;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pricing h2.big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 45px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 25px;
}

.price-card {
  background: #f5f5f5;
  border-radius: 24px;
  padding: 32px;
  text-align: left;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.price-card .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  font-family: var(--font-display);
  color: var(--dark);
  font-weight: 700;
  font-size: 26px;
  padding-right: 110px;
}

.price-card .tokens {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: #000;
  margin-top: 15px;
}

.price-card .tokens span {
  font-size: 18px;
  margin-left: 8px;
}

.price-card .free {
  color: var(--primary);
  font-weight: 700;
  margin-top: 8px;
}

.price-card .price {
  margin-top: 25px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #000;
}

.price-card .save {
  margin-top: 8px;
  color: #777;
  font-weight: 600;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin-top: 20px;
}

.pricing-cta .btn-pill {
  font-size: 22px;
  padding: 18px 50px;
  box-shadow: none;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq {
  padding: 80px 40px;
}

.faq-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.faq .section-title {
  text-align: center;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f4f7f9;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  color: #1c1c1c;
}

.faq-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #333;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.faq-q[aria-expanded='true'] .faq-icon svg {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 480px) {
  .faq {
    padding: 60px 20px;
  }
}

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact {
  padding: 60px 40px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-head {
  text-align: center;
}

.contact-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  color: #0c0c0c;
  margin-bottom: 8px;
}

.contact-head p {
  font-family: var(--font-ui);
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.contact-card {
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 0.8px 2.4px rgba(0, 0, 0, 0.05), 0 2.4px 7.2px rgba(0, 0, 0, 0.05),
    0 6.4px 19px rgba(0, 0, 0, 0.05), 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-card .head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-card .icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #001122;
}

.contact-card p {
  font-family: var(--font-ui);
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 480px) {
  .contact {
    padding: 48px 20px;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 24px 20px 32px;
  border-top: 1px solid var(--border);
  color: #414759;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links a {
  color: #414759;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .slider-track,
  .btn-pill,
  .claim-btn {
    transition: none;
  }
}

/* ── Store buttons ──────────────────────────────────────────────────────── */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  min-width: 180px;
  padding: 8px 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: currentColor;
}

.store-badge small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  font-family: var(--font-ui);
}

.store-badge strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
}

.store-badge[aria-disabled='true'] {
  cursor: default;
}

.store-badge[aria-disabled='true']:hover {
  transform: none;
}

.store-badge .soon {
  display: none;
}

.store-badge[aria-disabled='true'] .soon {
  display: block;
}

.store-badge[aria-disabled='true'] .ready {
  display: none;
}

/* ── Get the app section ────────────────────────────────────────────────── */
.get-app {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f1ff 0%, #fff 55%, #f0f4ff 100%);
}

.get-app-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.get-app-text {
  flex: 1 1 420px;
  min-width: 0;
}

.get-app-text .section-title {
  margin-bottom: 16px;
}

.get-app-text p {
  color: var(--gray);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 28px;
}

.get-app-points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}

.get-app-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--dark);
  font-size: 16px;
}

.get-app-points li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.get-app-visual {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.get-app-visual img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 24px 64px rgba(107, 92, 253, 0.22));
}

/* ── Footer with store buttons ──────────────────────────────────────────── */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 34px;
  width: auto;
}

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

.site-footer .store-badge {
  min-height: 48px;
  min-width: 160px;
}

.site-footer .store-badge strong {
  font-size: 16px;
}

.site-footer .store-badge svg {
  width: 22px;
  height: 22px;
}

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
}

.legal {
  padding: 56px 20px 80px;
}

.legal-inner {
  max-width: 780px;
  margin: 0 auto;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.7;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 40px 0 12px;
  color: var(--dark);
  scroll-margin-top: 90px;
}

.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  color: #333;
}

.legal ul {
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--primary);
}

.legal .toc {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 8px;
}

.legal .toc ol {
  margin: 8px 0 0;
  padding-left: 1.3em;
  columns: 2 220px;
}

.legal .toc a {
  text-decoration: none;
}

.legal .callout {
  border-left: 4px solid var(--primary);
  background: #f9f8ff;
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}

.get-app-text p.eyebrow {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* The download section sits right under the hero: a white band with a tinted card. */
.get-app {
  background: var(--white);
  padding-top: 40px;
}

.get-app-inner {
  background: var(--light-bg);
  border: 1px solid rgba(107, 92, 253, 0.12);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  justify-content: center;
  text-align: center;
}

.get-app-text {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-app-text p {
  margin-left: auto;
  margin-right: auto;
}

.get-app-points {
  justify-items: start;
  text-align: left;
}

.get-app .store-badges {
  justify-content: center;
}

/* Footer links look like links. */
.footer-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(107, 92, 253, 0.35);
  text-underline-offset: 3px;
}

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