
/* ===== True mobile (≤600px) — cards stack into single column ===== */
@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Mobile-only line breaks toggled per breakpoint ===== */
.m-only { display: none; }
.m-only-li { display: none; }
.m-only-block { display: none; }
.d-only-li { display: list-item; }
@media (max-width: 1280px) {
  .m-only { display: inline; }
  .m-only-li { display: list-item; }
  .m-only-block { display: flex; }
  .d-only-li { display: none; }
}

/* ===== Design tokens (from Figma) ===== */
:root {
  --c-white: #ffffff;
  --c-dark: #121416;
  --c-dark-gray: #1e2027;
  --c-light-gray: #808080;
  --c-grey-border: #e6ebf5;
  --c-grey-accent: #d6d6d6;
  --c-red: #ee3c3b;
  --c-blue: #4f5ce8;
  --c-bg-light: #f7f8fb;
  --c-bg-gradient: #1c1e21;

  --r-block-s: 9px;
  --r-block-m: 16px;
  --r-tag: 100px;

  --container-max: 1224px;
  /* Figma frame is 1920px → 348px side padding leaves 1224px content.
     We scale gracefully on narrower viewports while keeping a 16px floor. */
  --page-padding-desktop: max(16px, calc((100vw - 1224px) / 2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--c-white);
  color: var(--c-dark);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.accent-red { color: var(--c-red); }
.white { color: var(--c-white); }
.white-strong { color: var(--c-white); font-weight: 600; }

/* ===== Header / Navigation ===== */
.nav {
  margin: 8px 8px 0;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-block-s);
  background: linear-gradient(90deg, var(--c-dark) 0%, var(--c-bg-gradient) 100%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9.593px;
}
.logo__x {
  width: 37.198px;
  height: 25.436px;
  flex-shrink: 0;
}
.logo__text {
  width: 67.209px;
  height: 18.652px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border-radius: var(--r-block-s);
  border: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .92; }
.btn:active { transform: translateY(1px); }

.btn--back {
  height: 46px;
  padding: 8px 16px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.5px;
}

/* ===== Hero ===== */
.hero {
  padding: 72px var(--page-padding-desktop);
}
.hero__content {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Stepper — two columns, circles strictly centered above their labels.
   Line is absolutely positioned between the circle centers (25% → 75% of stepper width). */
.stepper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 526px;
  max-width: 100%;
}
.stepper__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.stepper__node {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
}
.stepper__circle {
  width: 100%;
  height: 100%;
}
.stepper__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.stepper__icon--check { width: 12.197px; height: 9.891px; }
.stepper__icon--lock { width: 17.566px; height: 17.566px; }
.stepper__line {
  position: absolute;
  top: 15px;
  left: calc(25% + 16px);
  right: calc(25% + 16px);
  height: 2px;
  background: var(--c-dark);
  z-index: 0;
}
.stepper__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  max-width: 251px;
}
.stepper__title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.5px;
  color: var(--c-dark-gray);
}
.stepper__desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--c-light-gray);
}

/* Hero text */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
}
.hero__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -4px;
  color: var(--c-dark);
  font-variation-settings: "opsz" 14;
}
.hero__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}

/* ===== Banner ===== */
.banner-wrap {
  padding: 0 var(--page-padding-desktop);
}
.banner {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 46px;
  border-radius: var(--r-block-m);
  overflow: hidden;
  max-width: 1224px;
  margin: 0 auto;
  isolation: isolate;
  background: var(--c-dark);
}
.banner__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-block-m);
  z-index: -1;
  pointer-events: none;
}
.banner__bg img {
  position: absolute;
  width: 117.55%;
  height: 130.42%;
  left: -14.71%;
  top: -29.03%;
  max-width: none;
  display: block;
}
.banner__content {
  width: 549px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  flex-shrink: 0;
}

.tag--glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 122px;
  height: 37px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-tag);
  background: linear-gradient(253deg, rgba(255,255,255,0.2) 21%, rgba(255,255,255,0.035) 284%);
  color: var(--c-white);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 26px;
  white-space: nowrap;
}
.tag__icon { width: 13px; height: 13px; flex-shrink: 0; }

.banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.banner__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1px;
  color: var(--c-white);
  font-variation-settings: "opsz" 14;
}
.banner__desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--c-grey-accent);
}

.btn--cta {
  height: 56px;
  padding: 8px 36px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.5px;
}
.btn__icon { width: 20.474px; height: 14px; }

/* Bot preview */
.bot-preview {
  display: block;
  flex-shrink: 0;
  width: 500px;
}
.bot-preview img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Features (What's inside the bot) ===== */
.features {
  padding: 144px var(--page-padding-desktop);
}
.features__inner {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.features__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
}
.features__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 50px;
  letter-spacing: -1px;
  color: var(--c-dark);
  font-variation-settings: "opsz" 14;
}
.features__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-grey-border);
  border-radius: var(--r-block-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__num {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1px;
  color: var(--c-red);
  font-variation-settings: "opsz" 14;
}
.card__tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 13px;
  border: 1px solid var(--c-grey-border);
  border-radius: var(--r-tag);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 28px;
  color: var(--c-dark-gray);
  white-space: nowrap;
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-block-s);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.card__icon--vip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__icon--dark {
  background: var(--c-dark);
}
.card__icon-img {
  position: absolute;
  display: block;
}
.card__icon-img--guide {
  width: 90.63%;
  height: 60.42%;
  left: 4.69%;
  top: 21.52%;
  max-width: none;
  object-fit: contain;
}
.card__icon-img--signal {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.card__icon-img--bot {
  width: 66.13%;
  height: 66.13%;
  left: 17.49%;
  top: 15.09%;
  max-width: none;
  object-fit: contain;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.card__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--c-dark);
  font-variation-settings: "opsz" 14;
}
.card__desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}

/* ===== Support ===== */
.support-wrap {
  padding: 0 var(--page-padding-desktop) 144px;
}
.support {
  max-width: 1224px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-grey-border);
  border-radius: var(--r-block-m);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.support__icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.support__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}
.support__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--c-dark);
  font-variation-settings: "opsz" 14;
}
.support__desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}
.support__link {
  color: var(--c-blue);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.support__link:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(90deg, var(--c-dark) 0%, var(--c-bg-gradient) 100%);
  padding: 72px var(--page-padding-desktop);
  color: var(--c-light-gray);
}
.footer__inner {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 46px;
}
.footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.footer__col {
  width: 288px;
  display: flex;
  flex-direction: column;
}
.footer__col--brand {
  height: 25.436px;
  justify-content: flex-start;
}
.footer__lists {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex: 1 1 auto;
  align-items: flex-start;
}
.footer__ssl {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: var(--c-light-gray);
}
.footer__ssl-icon {
  width: 16.25px;
  height: 18.958px;
  object-fit: contain;
}

.footer__list {
  width: 288px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}
.footer__list a:hover { color: var(--c-white); }

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}
.footer__legal a {
  color: inherit;
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.footer__copyright {
  flex: 1 1 auto;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--c-light-gray);
}
.footer__ssl--bottom {
  flex-shrink: 0;
  gap: 8px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
}
.footer__ssl--bottom .footer__ssl-icon {
  width: 21.75px;
  height: 25.375px;
}

/* ===== Mobile / narrow (≤ 1280px) — switches to mobile-style stacked layout
   so the wide desktop banner (≈1132px inner) doesn't overflow on laptops ===== */
@media (max-width: 1280px) {

  /* Header */
  .nav {
    margin: 8px 8px 0;
    height: 64px;
    padding: 0 16px;
  }
  .btn--back {
    height: 46px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: -0.3px;
  }

  /* Hero */
  .hero { padding: 54px 16px; }
  .hero__content { gap: 16px; }
  .stepper { width: 311px; max-width: 100%; }
  .stepper__title {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.3px;
  }
  .stepper__label {
    max-width: none;
    width: 100%;
    padding: 0 4px;
  }
  .hero__title {
    font-size: 42px;
    line-height: 42px;
    letter-spacing: -2px;
  }
  .hero__subtitle {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.3px;
  }

  /* Banner */
  .banner-wrap { padding: 0 16px; }
  .banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 36px;
    gap: 36px;
  }
  .banner__content {
    width: 100%;
    gap: 16px;
  }
  .tag--glass {
    height: 37px;
    padding: 0 14px;
  }
  .banner__title {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -1px;
  }
  .banner__desc {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.3px;
  }
  .btn--cta {
    width: 100%;
    height: 56px;
    padding: 4px 16px;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: -0.3px;
  }

  /* Bot preview */
  .bot-preview {
    width: 100%;
  }

  /* Features */
  .features { padding: 54px 16px; }
  .features__inner { gap: 24px; }
  .features__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .features__title {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -1px;
  }
  .features__subtitle {
    font-size: 14px;
    letter-spacing: -0.3px;
  }
  .features__grid {
    gap: 16px;
  }
  .card {
    padding: 16px;
    gap: 24px;
  }
  .card__num {
    font-size: 28px;
    line-height: 36px;
  }
  .card__tag {
    padding: 1px 9px;
    line-height: 26px;
  }
  .card__title {
    font-size: 20px;
    line-height: 32px;
  }
  .card__desc {
    font-size: 14px;
    letter-spacing: -0.3px;
    line-height: 24px;
  }
  .card__body { gap: 12px; }

  /* Support */
  .support-wrap { padding: 0 16px 54px; }
  .support {
    padding: 16px;
    gap: 16px;
    align-items: flex-start;
  }
  .support__title {
    font-size: 20px;
    line-height: 32px;
  }
  .support__desc {
    font-size: 14px;
    line-height: 26px;
    letter-spacing: -0.3px;
  }

  /* Footer */
  .footer { padding: 54px 16px; }
  .footer__inner { gap: 36px; }
  .footer__columns {
    flex-direction: column;
    gap: 36px;
  }
  .footer__col { width: 100%; height: auto; }
  .footer__col--brand { height: auto; gap: 24px; }
  .footer__lists {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
  }
  .footer__list {
    flex: 1 1 0;
    width: auto;
    gap: 24px;
    font-size: 14px;
    letter-spacing: -0.3px;
  }
  .footer__list--last { display: none; }
  .footer__legal {
    gap: 16px;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0;
  }
  /* Mobile: Disclaimer comes before Website per Figma 115-2375 */
  .footer__legal-disclaimer { order: -2; }
  .footer__legal-website { order: -1; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
  .footer__copyright {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0;
  }
  .footer__ssl--bottom {
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0;
    gap: 4px;
  }
  .footer__ssl--bottom .footer__ssl-icon {
    width: 16.25px;
    height: 18.958px;
  }
}

/* ============================================================
   Legal pages
   ============================================================ */

.body--dark {
  background: var(--c-dark);
  color: #d6d6d6;
}

.body--dark strong { color: #fff; }
.body--dark a { color: #fff; }
.body--dark a:hover { text-decoration: underline; }

.legal-page {
  padding: 48px 24px 80px;
}

.legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-document {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1px;
  color: #fff;
}

.legal-meta {
  font-size: 14px;
  color: var(--c-light-gray);
}

.legal-document h2 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: #fff;
  margin-top: 8px;
}

.legal-document h3 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  color: #fff;
}

.legal-document p,
.legal-document li {
  font-size: 16px;
  line-height: 28px;
  color: #d6d6d6;
}

.legal-document ul,
.legal-document ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
}

.legal-document li::marker {
  color: var(--c-light-gray);
}

.legal-callout {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--c-red);
  border-radius: 0 var(--r-block-s) var(--r-block-s) 0;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 28px;
  color: #d6d6d6;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 28px;
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
}

.legal-table td {
  color: #d6d6d6;
}

/* Nav on dark pages */
.body--dark .nav {
  margin: 0;
  border-radius: 0;
  background: rgba(18, 20, 22, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.body--dark .logo__word { filter: brightness(0) invert(1); }

/* Footer on dark pages */
.body--dark .footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.body--dark .footer__divider { border-color: rgba(255, 255, 255, 0.08); }
.body--dark .footer__list a { color: #d6d6d6; }
.body--dark .footer__list a:hover { color: #fff; }
.body--dark .footer__legal { color: var(--c-light-gray); }
.body--dark .footer__copy { color: var(--c-light-gray); }
.body--dark .footer__ssl { color: var(--c-light-gray); }

@media (max-width: 640px) {
  .legal-page { padding: 32px 16px 60px; }
  .legal-header h1 { font-size: 32px; line-height: 38px; letter-spacing: -.5px; }
  .legal-document h2 { font-size: 20px; line-height: 28px; }
  .legal-document p,
  .legal-document li { font-size: 14px; line-height: 24px; }
}

.body--dark a {
    color: #fff;
}
.btn--header {
    height: 46px;
    padding: 0 16px;
}