/* ============================================================
   Shroud — built from Figma frame "Shroud" (1233:3300)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Clash Grotesk";
  src: url("../assets/fonts/ClashGrotesk-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050506;                       /* Woodsmoke */
  --panel: #0d0d10;
  --panel-2: #101013;
  --chip: #17171b;
  --text: #f5f5f7;                     /* Athens Gray */
  --text-80: rgba(245, 245, 247, 0.8);
  --text-55: rgba(245, 245, 247, 0.55);
  --text-40: rgba(245, 245, 247, 0.4);
  --text-35: rgba(245, 245, 247, 0.35);
  --text-34: rgba(245, 245, 247, 0.34);
  --accent: #8b6cff;                   /* Heliotrope */
  --accent-deep: #754ce8;
  --accent-hero: #7c3aed;
  --lavender: #c4b5fd;
  --green: #4ade80;
  --w02: rgba(255, 255, 255, 0.02);
  --w03: rgba(255, 255, 255, 0.03);
  --w04: rgba(255, 255, 255, 0.04);
  --w05: rgba(255, 255, 255, 0.05);
  --w07: rgba(255, 255, 255, 0.07);
  --w08: rgba(255, 255, 255, 0.08);
  --w10: rgba(255, 255, 255, 0.1);
  --w13: rgba(255, 255, 255, 0.13);
  --w14: rgba(255, 255, 255, 0.14);
  --w22: rgba(255, 255, 255, 0.22);
  --w30: rgba(255, 255, 255, 0.3);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Clash Grotesk", var(--sans);
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --metal: linear-gradient(179deg, #fff 8%, #d6d6de 30%, #83838c 50%, #e8e8ee 68%, #8e8e96 88%, #cfcfd8 100%);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 20px;
  color: var(--text);
  background: var(--w05);
  border: 1px solid var(--w13);
  border-radius: 6px;
  padding: 1px 9px;
  white-space: nowrap;
}
::selection { background: rgba(139, 108, 255, 0.4); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--accent-deep);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap {
  position: fixed;
  inset: 34px 16px auto;
  display: flex;
  justify-content: center;
  z-index: 100;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(24px, 8vw, 149px);
  height: 53px;
  padding: 0 5px 0 20px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 100px;
  filter: drop-shadow(0 20px 30px rgba(255, 255, 255, 0.08));
}
/* top light streak on the pill */
.nav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 76px;
  width: 64px;
  height: 1px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  line-height: 26.4px;
}
.nav__logo { width: 26px; height: 26px; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__menu a:not(.nav__cta) {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  line-height: 16.8px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav__menu a:not(.nav__cta):hover { opacity: 0.6; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav__cta:hover { background: #8560ee; }
.nav__cta--menu { display: none; }
.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-wrap { inset: 16px 16px auto; }
  .nav { width: min(430px, 100%); justify-content: space-between; gap: 0; }
  .nav__cta--bar { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #0a0a0d;
    border: 1px solid var(--w13);
    border-radius: 20px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a:not(.nav__cta) { padding: 10px 12px; font-size: 16px; border-radius: 10px; }
  .nav__menu a:not(.nav__cta):hover { background: var(--w05); opacity: 1; }
  .nav__cta--menu { display: inline-flex; margin-top: 6px; height: 42px; font-size: 13px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 900px;
  padding: 180px 24px 0;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1224px 676px at 50% 4%, rgba(5, 5, 6, 0.55), rgba(5, 5, 6, 0) 55%),
    url("../assets/img/hero-bg.jpg");
  background-size: auto, cover;
  background-position: center top, center top;
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0) 55%, rgba(5, 5, 6, 0.55) 78%, var(--bg) 96%);
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 7.4vw, 72px);
  line-height: 1.18;
}
.hero__title span { max-width: 100%; text-wrap: balance; }
.hero__title-metal {
  letter-spacing: -0.055em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-purple {
  letter-spacing: -0.017em;
  background: linear-gradient(115deg, #c4b5fd 0%, #8b6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 668px;
  margin-top: 22px;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-55);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  padding: 12.5px 30px;
  background: var(--accent-hero);
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.35);
}
.btn--primary:hover { background: #8b52f0; transform: translateY(-1px); }
.btn--ghost {
  padding: 13.5px 31px;
  border: 1.25px solid var(--w10);
  color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { border-color: var(--w30); color: #fff; }

/* Phone stage + floating cards */
.hero__stage {
  position: relative;
  width: min(880px, 100%);
  margin-top: 70px;
  min-height: 640px;
  display: flex;
  justify-content: center;
}
/* soft fade of the phone's lower edge into the page background */
.hero__stage::after {
  content: "";
  position: absolute;
  left: -80px;
  right: -80px;
  bottom: -24px;
  height: 250px;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(5, 5, 6, 0.85) 62%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.phone {
  position: relative;
  width: 291px;
  height: 599px;
  padding: 11px;
  background: #0b0b0e;
  border: 1px solid var(--w14);
  border-radius: 52px;
  box-shadow:
    0 0 0 9px #030304,
    0 0 0 10px rgba(255, 255, 255, 0.15),
    0 80px 140px 0 rgba(0, 0, 0, 0.86),
    0 0 110px 0 rgba(200, 200, 215, 0.06);
}
.phone__screen {
  position: absolute;
  top: 4.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 269px;
  height: 574px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 19px 116px rgba(0, 0, 0, 0.8);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__frame {
  position: absolute;
  top: -8.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 292px;
  height: calc(100% + 16px);
  max-width: none;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 70px;
  padding: 13px 18px 13px 13px;
  background: rgba(13, 13, 16, 0.62);
  border: 1px solid var(--w13);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: card-float 7s ease-in-out infinite;
}
.hero-card--1 { left: 74px; top: 41px; transform: rotate(-0.8deg); }
.hero-card--2 { right: 75px; top: 117px; transform: rotate(0.75deg); animation-delay: -1.8s; }
.hero-card--3 { left: 42px; top: 360px; transform: rotate(-0.14deg); animation-delay: -3.4s; }
.hero-card--4 { right: 90px; top: 405px; transform: rotate(0.55deg); animation-delay: -5.1s; }
@keyframes card-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}
.hero-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
}
.hero-card__icon--green { background: rgba(74, 222, 128, 0.12); }
.hero-card__icon--purple { background: rgba(139, 108, 255, 0.14); }
.hero-card__icon--blue { background: rgba(96, 165, 250, 0.12); }
.hero-card__icon--amber { background: rgba(251, 191, 36, 0.12); }
.hero-card__body { display: flex; flex-direction: column; gap: 2px; }
.hero-card__body strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.009em;
  color: var(--text);
}
.hero-card__body small {
  font-size: 12px;
  line-height: 14.4px;
  color: var(--text-34);
}

/* Standards marquee */
.standards {
  width: min(544px, 100%);
  margin: 24px auto 0;
  padding-bottom: 60px;
}
.standards__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 14.4px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.9);
  margin-bottom: 18px;
}
.standards__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.standards__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 26s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.standards__item {
  padding: 0 30px;
  white-space: nowrap;
  color: var(--text-40);
}
.standards__item--georgia { font-family: Georgia, serif; font-weight: 700; font-size: 14px; letter-spacing: -0.02em; }
.standards__item--courier { font-family: "Courier New", monospace; font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; }
.standards__item--trebuchet { font-family: "Trebuchet MS", sans-serif; font-weight: 700; font-style: italic; font-size: 14px; letter-spacing: 0.01em; }
.standards__item--arial { font-family: Arial, sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; }
.standards__item--palatino { font-family: Palatino, "Palatino Linotype", serif; font-size: 15px; letter-spacing: -0.01em; }

@media (max-width: 880px) {
  .hero { padding-top: 140px; min-height: 0; }
  .hero__stage::after { display: none; }
  .hero-card { position: static; height: auto; min-height: 64px; transform: none; animation: none; }
  .hero__stage {
    min-height: 0;
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }
  .hero__stage .phone { order: -1; }
  .hero-card--1, .hero-card--2, .hero-card--3, .hero-card--4 { inset: auto; }
  .hero__stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 540px;
    justify-content: center;
    gap: 12px;
  }
  .hero__stage .phone { grid-column: 1 / -1; justify-self: center; margin-bottom: 22px; }
  .hero-card { padding: 12px 14px; gap: 10px; }
}
@media (max-width: 560px) {
  .hero__stage { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
  .hero__sub { font-size: 16px; line-height: 26px; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 0;
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section__head--pad { padding-bottom: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 17px;
  background: var(--w02);
  border: 1px solid var(--w13);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 16.8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-55);
}
.badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 2.5px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(139, 108, 255, 0.8);
}
.h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}
.h2--inter { font-family: var(--sans); letter-spacing: -0.035em; }
.section__sub {
  max-width: 512px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 26.35px;
  color: var(--text-55);
}
.section__sub--wide { max-width: 782px; }

/* ============================================================
   DEMO — the address problem
   ============================================================ */
.demo { padding-top: 140px; }
.diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 56px;
  padding: 36px 35px 28px;
  border-radius: 12px;
  background:
    radial-gradient(430px 225px at 23% 53%, rgba(58, 58, 72, 0.2), transparent 70%),
    radial-gradient(430px 225px at 77% 53%, rgba(110, 75, 224, 0.12), transparent 70%);
}
.diagram__divider {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  border-left: 1px dashed #23232e;
}
.diagram__panel { display: flex; flex-direction: column; }
.diagram__tag {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.diagram__tag--grey { color: #6b6a78; }
.diagram__tag--purple { color: #8a6cf0; }
.diagram__flow {
  display: flex;
  align-items: center;
  flex: 1;
}
.diagram__col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  flex: 0 1 auto;
  min-width: 0;
}
.diagram__col--center { justify-content: center; }
.diagram__lines {
  flex: 1;
  height: 162px;
  min-width: 40px;
  align-self: center;
}
.d-box {
  font-family: var(--display);
  white-space: nowrap;
}
.d-box--sm {
  padding: 4px 12px;
  min-width: min(110px, 100%);
  background: #15151d;
  border: 1px solid #23232e;
  border-radius: 7px;
  font-size: 11px;
  line-height: 18px;
  color: #9c9aa8;
}
.d-box--addr {
  display: flex;
  flex-direction: column;
  padding: 8px 20px;
  background: #191921;
  border: 1px solid #3a3a48;
  border-radius: 13px;
}
.d-box--addr strong { font-weight: 400; font-size: 14px; color: #eceaf0; }
.d-box--addr small { font-size: 10px; color: #6b6a78; }
.d-box--sp {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #191921;
  border: 1px solid #6e4be0;
  border-radius: 13.5px;
  box-shadow: 0 0 42px rgba(138, 108, 240, 0.22);
}
.d-box--sp strong { display: block; font-weight: 400; font-size: 14px; color: #eceaf0; }
.d-box--sp small { display: block; font-size: 10px; color: #7c7a88; }
.d-box__dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, #8a6cf0, #6e4be0);
}
.diagram__caption {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}
.diagram__caption--grey { color: #8a8794; }
.diagram__caption--purple { color: #9b80f3; }

@media (max-width: 880px) {
  .diagram { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 28px 20px; }
  .diagram__divider { display: none; }
  .diagram__lines { height: 130px; }
}
@media (max-width: 480px) {
  .d-box--sm { min-width: 0; padding: 4px 9px; font-size: 10px; }
  .d-box--sp, .d-box--addr { padding: 8px 12px; }
  .d-box--sp strong, .d-box--addr strong { font-size: 12px; }
  .diagram__col { gap: 18px; }
}

/* ============================================================
   FEATURES BENTO
   ============================================================ */
.features { padding-top: 150px; }
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}
.bento__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 31px 32px 37px;
  background: var(--panel);
  border: 1px solid var(--w07);
  border-radius: 24px;
  overflow: clip;
}
.bento__card--hl { border: 2px solid var(--accent); }
.bento__card--wide { grid-column: 1 / -1; }
.bento__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 24.8px;
  letter-spacing: -0.023em;
  color: var(--text);
}
.bento__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--w05);
  border: 1px solid var(--w07);
  border-radius: 9px;
}
.bento__icon--lg { width: 34px; height: 34px; border-radius: 10px; }
.bento__body {
  font-size: 14px;
  line-height: 22.95px;
  color: var(--text-55);
}
.bento__body--narrow { max-width: 416px; }
.bento__visual {
  position: relative;
  margin-top: 10px;
  min-height: 210px;
  border: 1px solid var(--w07);
  border-radius: 16px;
  overflow: hidden;
}
.bento__visual--scan {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 19px 19px;
  background:
    radial-gradient(115px 66px at 20% 0%, rgba(139, 108, 255, 0.28), transparent 55%),
    radial-gradient(129px 66px at 90% 100%, rgba(96, 165, 250, 0.18), transparent 60%),
    rgba(11, 11, 14, 0.5);
}
.bento__visual--contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 19px 19px;
  background:
    radial-gradient(115px 67px at 80% 0%, rgba(244, 114, 182, 0.2), transparent 55%),
    radial-gradient(129px 67px at 10% 100%, rgba(139, 108, 255, 0.22), transparent 60%),
    rgba(11, 11, 14, 0.4);
}
.bento__visual--split {
  height: 272px;
  background:
    radial-gradient(154px 92px at 50% -20%, rgba(251, 191, 36, 0.16), transparent 55%),
    radial-gradient(277px 85px at 90% 110%, rgba(139, 108, 255, 0.2), transparent 60%),
    rgba(11, 11, 14, 0.4);
}

/* scan feed */
.scanfeed {
  width: 100%;
  max-width: 300px;
  height: 180px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.scanfeed__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  animation: scanfeed 9s ease-in-out infinite alternate;
}
@keyframes scanfeed {
  from { transform: translateY(0); }
  to { transform: translateY(-150px); }
}
.scanrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--w02);
  flex: none;
}
.scanrow em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 16px;
  color: var(--text-34);
  white-space: nowrap;
}
.scanrow--found { background: var(--w07); border: 1px solid var(--w13); }
.scanrow--found em, .scanrow--active em { color: var(--text); }
.scanrow--active {
  background: rgba(139, 108, 255, 0.1);
  border: 1px solid rgba(139, 108, 255, 0.5);
  border-radius: 12px;
  padding: 10.5px 13.5px;
}
.scanrow--skeleton span, .scanrow--found > span {
  display: block;
  height: 16px;
  border-radius: 4px;
}
.scanrow--skeleton span:first-child, .scanrow--found > span:first-child { width: 78px; }
.scanrow--skeleton span:last-child, .scanrow--found > span:last-child { width: 96px; }
.ondevice-badge {
  position: absolute;
  top: 28px;
  right: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(5, 5, 6, 0.9);
  border: 1px solid var(--w13);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 13.6px;
  letter-spacing: 0.14em;
  color: var(--text-55);
}
.ondevice-badge i {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* contacts */
.contacts {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  background: var(--w02);
  border: 1px solid var(--w07);
  border-radius: 12px;
}
.contact--active {
  background: rgba(139, 108, 255, 0.1);
  border: 1px solid rgba(139, 108, 255, 0.5);
}
.contact__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 15px;
  background: linear-gradient(160deg, #e8e8ee 0%, #9c9ca5 100%);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--bg);
}
.contact__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.contact__meta strong {
  font-weight: 600;
  font-size: 12.5px;
  line-height: 20px;
  color: var(--text);
}
.contact__meta small {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 14.4px;
  color: var(--text-34);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact__pill {
  flex: none;
  padding: 4px 10px;
  background: var(--w04);
  border: 1px solid var(--w13);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 13.6px;
  color: var(--text-55);
  white-space: nowrap;
}
.contact__pill--bright { border-color: var(--w30); color: var(--text); }

/* split */
.split {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 26px 45px 0;
}
.split__bar {
  display: flex;
  height: 17.5px;
  padding: 1.35px;
  background: var(--w05);
  border: 1.35px solid var(--w07);
  border-radius: 9.4px;
  overflow: hidden;
}
.split__seg {
  height: 100%;
  background: linear-gradient(90deg, #d9d9e0, #8e8e96);
}
.split__seg--a { width: 22%; border-radius: 7px 0 0 7px; }
.split__seg--b { width: 15.4%; opacity: 0.5; border-left: 2.7px solid var(--panel); }
.split__amounts {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 18.3px;
  color: var(--text-34);
}
.split__sending {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  background: rgba(139, 108, 255, 0.12);
  border: 1px solid rgba(139, 108, 255, 0.3);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 16.8px;
  letter-spacing: 0.04em;
  color: #e9e5ff;
}

@media (max-width: 880px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__visual--split { height: auto; min-height: 210px; }
  .split { position: relative; inset: auto; padding: 26px 20px 24px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding-top: 150px; }
.how .section__head { padding-bottom: 72px; }
.step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--w07);
}
.step__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(96px, 12vw, 170px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 247, 0.17);
}
.step:not(.step--flip) .step__num { text-align: right; }
.step__title {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--text);
}
.step__body {
  margin-top: 12px;
  max-width: 440px;
  font-size: 14.5px;
  line-height: 25.38px;
  color: var(--text-55);
}
.step__visual { min-width: 0; }
.minicard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 300px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--w07);
  border-radius: 24px;
}
.minicard__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(139, 108, 255, 0.9);
  margin-bottom: -8px;
  align-self: center;
  transform: translateX(72px);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.minicard__box {
  font-family: var(--sans);
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  border-radius: 12px;
  padding: 13px 24px;
}
.minicard__box--bright {
  background: var(--w05);
  border: 1px solid var(--w30);
  color: var(--text-80);
  min-width: 220px;
}
.minicard__box--dim {
  background: var(--w03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-35);
  padding: 13px 18px;
}
.minicard__box--dashed {
  background: var(--w03);
  border: 1px dashed var(--w22);
  border-radius: 11px;
  color: var(--text-35);
  padding: 11px 14px;
}
.minicard__caption {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: var(--text-35);
}
.minicard--row { gap: 26px; }
.minicard__flowrow {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.minicard__flowrow--tight { gap: 14px; }
.minicard__dash {
  position: relative;
  flex: 0 1 122px;
  min-width: 56px;
  border-top: 1.4px dashed rgba(255, 255, 255, 0.5);
  margin: 0 -1px;
}
.minicard__dash em {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 10px;
  color: var(--text-80);
}
.minicard__phonewrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}
.minicard__phone {
  position: relative;
  width: 131px;
  height: 170px;
  flex: none;
  background: rgba(5, 5, 6, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  overflow: hidden;
}
.minicard__scanline {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 14px;
  border-radius: 4px;
  background: var(--w10);
  animation: scanline 2s linear infinite;
}
@keyframes scanline {
  0% { top: 12px; }
  95% { top: 134px; }
  100% { top: 12px; }
}
.minicard__dashline {
  flex: 0 1 64px;
  min-width: 28px;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
}
.minicard__sidelabel {
  flex: none;
  font-size: 10px;
  color: var(--text-35);
  white-space: nowrap;
}
.minicard__x { font-style: normal; font-size: 11px; margin-right: 4px; }
.minicard__found {
  font-size: 10px;
  color: var(--text-80);
}

.step--flip .step__visual { order: 2; }
.step--flip .step__text { order: 1; }

@media (max-width: 380px) {
  .minicard__phone { width: 104px; height: 150px; }
  .minicard__scanline { width: 78px; animation-name: scanline-sm; }
  @keyframes scanline-sm {
    0% { top: 12px; }
    95% { top: 116px; }
    100% { top: 12px; }
  }
  .minicard__sidelabel { font-size: 9px; }
  .minicard__dashline { min-width: 12px; }
  .minicard__phonewrap { gap: 6px; }
}

@media (max-width: 880px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 0; }
  .step__visual { order: 2 !important; }
  .step__text { order: 1 !important; }
  .step:not(.step--flip) .step__num { text-align: left; }
  .step__num { line-height: 0.9; }
  .minicard { min-height: 240px; }
  .minicard__box--bright { min-width: 0; }
}

/* ============================================================
   TRUST GRID — what we don't do
   ============================================================ */
.trust { padding-top: 150px; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 56px;
  margin-top: 60px;
}
.trust__item {
  padding: 27px 0 36px;
  border-top: 1px solid var(--w07);
}
.trust__item h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  background: var(--w04);
  border: 1px solid var(--w07);
  border-radius: 8px;
}
.trust__item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 22.95px;
  color: var(--text-55);
}
.trust__link {
  display: inline-block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 22.95px;
  color: var(--text);
  border-bottom: 1px solid var(--w13);
  transition: border-color 0.2s ease;
}
.trust__link:hover { border-color: var(--text-55); }

@media (max-width: 960px) { .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; } }
@media (max-width: 600px) { .trust__grid { grid-template-columns: minmax(0, 1fr); } .trust__item { padding: 24px 0 28px; } }

/* ============================================================
   SECURITY — honest about the limits
   ============================================================ */
.security { padding-top: 170px; }
.security__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 18.4px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a78bff;
}
.security__label span {
  width: 24px;
  height: 1px;
  background: #a78bff;
  opacity: 0.6;
}
.security__h2 {
  margin-top: 21px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 53.6px);
  line-height: 1.09;
  letter-spacing: -0.015em;
  color: #ede9f8;
}
.security__sub {
  max-width: 560px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 29.6px;
  color: #9c94b3;
}
.security__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}
.threat {
  padding: 30px;
  border-radius: 22px;
}
.threat--yes { background: #120e1d; }
.threat--no { border: 1px solid rgba(255, 107, 122, 0.18); }
.threat h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 16.2px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.threat--yes h3 { color: #6fe3b2; }
.threat--no h3 { color: #ff6b7a; }
.threat ul { list-style: none; margin: 0; padding: 0; }
.threat li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-family: var(--display);
  font-size: 14px;
  line-height: 24px;
  color: #9c94b3;
}
.threat li + li { border-top: 1px solid rgba(190, 170, 255, 0.1); padding-top: 11px; }
.threat li i { font-style: normal; flex: none; }
.threat li strong { font-weight: 500; color: #ede9f8; }

@media (max-width: 880px) { .security__cols { grid-template-columns: minmax(0, 1fr); } .security { padding-top: 130px; } }

/* ============================================================
   COMPARE
   ============================================================ */
.compare { padding-top: 150px; }
.table-scroll { margin-top: 38px; overflow-x: auto; }
.ctable {
  min-width: 640px;
  background: var(--panel-2);
  border: 1px solid var(--w08);
  border-radius: 24px;
  padding: 21px 1px 1px;
  overflow: hidden;
}
.ctable__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}
.ctable__row + .ctable__row { border-top: 1px solid var(--w08); }
.ctable__row--head { background: var(--w02); }
.ctable__cap, .ctable__typ, .ctable__shroud {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  font-family: var(--display);
  font-size: 14px;
  line-height: 22.4px;
  white-space: nowrap;
}
.ctable__cap { color: #a1a1aa; }
.ctable__typ { color: #71717a; }
.ctable__shroud {
  background: rgba(139, 108, 255, 0.05);
  border-left: 1px solid rgba(139, 108, 255, 0.2);
  border-right: 1px solid rgba(139, 108, 255, 0.2);
  font-weight: 500;
  color: #f4f4f5;
  padding: 16px 23px;
}
.ctable__shroud i { font-style: normal; color: var(--green); }
.ctable__cap[role="columnheader"], .ctable__typ[role="columnheader"], .ctable__shroud--head {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ctable__shroud--head { font-weight: 600; color: var(--lavender); }
.ctable__row:last-child .ctable__shroud { border-bottom: 1px solid rgba(139, 108, 255, 0.2); }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download { padding-top: 150px; }
.download__cols {
  display: grid;
  grid-template-columns: minmax(0, 584px) minmax(0, 526px);
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 72px;
}
.download__list { display: flex; flex-direction: column; gap: 10px; }
.dl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 21px;
  background: var(--panel-2);
  border: 1px solid var(--w08);
  border-radius: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.dl-row:hover { border-color: rgba(255, 255, 255, 0.18); background: #131317; transform: translateY(-1px); }
.dl-row__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  background: var(--chip);
  border: 1px solid var(--w08);
  border-radius: 11px;
}
.dl-row__meta { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.dl-row__meta strong {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 23.2px;
  color: #f4f4f5;
}
.dl-row__meta small {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: #71717a;
}
.dl-row__arrow {
  font-family: var(--mono);
  font-size: 12px;
  color: #71717a;
  transition: transform 0.2s ease, color 0.2s ease;
}
.dl-row:hover .dl-row__arrow { transform: translateX(3px); color: var(--text-80); }
.download__graphic {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--w10);
}
.download__graphic img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .download__cols { grid-template-columns: 1fr; max-width: 584px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   ROADMAP + FAQ
   ============================================================ */
.roadmap { padding-top: 150px; }
.acc {
  max-width: 736px;
  margin: 72px auto 0;
}
.acc--faq { margin-top: 40px; }
.acc__item { border-top: 1px solid var(--w07); }
.acc__item:last-child { border-bottom: 1px solid var(--w07); }
.acc__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 4px;
  text-align: left;
}
.acc__label {
  font-weight: 500;
  font-size: 16.5px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.acc__plus {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 19px;
  color: var(--text-34);
  transition: transform 0.3s ease;
}
.acc__btn[aria-expanded="true"] .acc__plus { transform: rotate(45deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.acc__panel > p {
  overflow: hidden;
  min-height: 0;
  padding: 0 40px 0 4px;
  font-size: 14.5px;
  line-height: 25px;
  color: var(--text-55);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel > p { padding-bottom: 24px; }
.pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.2;
  letter-spacing: 0.14em;
}
.pill--solid { background: var(--text); color: var(--bg); font-weight: 700; padding: 5px 10px; }
.pill--outline { border: 1px solid var(--w30); color: var(--text); padding: 5px 11px; }
.pill--dim { border: 1px solid var(--w13); color: var(--text-34); padding: 5px 11px; }

/* ============================================================
   FINALE
   ============================================================ */
.finale {
  position: relative;
  padding: 170px 24px 130px;
  overflow: clip;
  text-align: center;
}
.finale::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  width: 900px;
  height: 60%;
  background: radial-gradient(closest-side, rgba(200, 200, 215, 0.08), transparent 65%);
  pointer-events: none;
}
.finale__link {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(8px, 2vw, 22px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.finale__link:hover { transform: translateY(-4px); }
.finale__text, .finale__arrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 150px);
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.finale__arrow { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.finale__link:hover .finale__arrow { transform: translate(6px, -6px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--w07);
  padding: 71px clamp(24px, 8vw, 120px) 36px;
}
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 0 24px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.donate {
  margin-top: 16px;
  max-width: 336px;
  padding: 21px 17px 17px;
  background: var(--w03);
  border: 1px solid var(--w13);
  border-radius: 14px;
}
.donate__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 12.8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-55);
}
.donate__copy {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--text-55);
  transition: color 0.2s ease;
}
.donate__copy:hover { color: var(--text); }
.donate__addr {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 16px;
  color: var(--text-80);
  overflow-wrap: anywhere;
}
.footer__col { display: flex; flex-direction: column; }
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9.5px;
  line-height: 15.2px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-34);
  margin-bottom: 18px;
}
.footer__col a {
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 21.6px;
  color: var(--text-55);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 25px 24px 0;
  border-top: 1px solid var(--w07);
}
.footer__bottom p {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 15.2px;
  letter-spacing: 0.06em;
  color: var(--text-34);
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
