/* Evabob website — shared styles + home page.
   Tokens mirror the app's theme (mobile/lib/core/theme). */

@font-face {
  font-family: "Numans";
  src: url("../fonts/Numans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #00b5ff;
  --sky-deep: #007ea8;
  --sky-soft: #ace3ff;
  --sky-wash: #e4f6ff;
  --cloud: #f0faff;
  --ink: #0b1620;
  --ink-raised: #163849;
  --slate: #5a6b78;
  --mist: #8595a2;
  --line: #dde9f0;
  --mint: #01ffa6;
  --mint-deep: #00a86e;
  --white: #ffffff;

  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 18px;
  --r-s: 12px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.15);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-float: 0 30px 60px -28px rgba(0, 42, 84, 0.45), 0 8px 18px -10px rgba(0, 42, 84, 0.2);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Numans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;            /* Numans ships one weight: never fake bold */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4, strong, b, th { font-weight: 400; }

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn svg { flex: none; }

.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #3dffba; }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-raised); }

.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }

.btn--line { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--sky); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* Round icon at the end of a pill, as in the reference hero. */
.btn--orb { padding-right: 6px; }
.btn__orb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  transition: transform 0.35s var(--ease-spring);
}
.btn--orb:hover .btn__orb { transform: rotate(45deg); }
.btn--ink .btn__orb { background: var(--mint); color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation ---------- */

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1320px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.86;
  transition: opacity 0.2s, background-color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, 0.16); }

.nav__toggle {
  display: none;
  margin-left: auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.nav--on-sky { color: var(--white); }
.nav--on-sky :focus-visible { outline-color: var(--mint); }

/* Light variant for document pages */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar .nav { padding: 12px 0; }
.topbar .nav__links a:hover,
.topbar .nav__links a[aria-current="page"] { background: var(--sky-wash); }

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__cta { display: none; }
  .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    margin: 0;
    padding: 8px;
    border-radius: var(--r-m);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow-float);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; opacity: 1; }
  .nav--on-sky .nav__links a:hover,
  .nav--on-sky .nav__links a[aria-current="page"] { background: var(--sky-wash); }
  .nav__links .nav__links-cta { display: block; }
}
.nav__links-cta { display: none; }

/* Download submenu */
.nav__item--menu { position: relative; }
.nav__menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: inherit;
  opacity: 0.86;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}
.nav__menu-btn:hover,
.nav__item--menu.is-open .nav__menu-btn { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.topbar .nav__menu-btn:hover,
.topbar .nav__item--menu.is-open .nav__menu-btn { background: var(--sky-wash); }
.nav__chev { transition: transform 0.25s var(--ease-out); }
.nav__item--menu.is-open .nav__chev { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  min-width: 250px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
/* Bridges the gap so the menu stays open while the pointer moves onto it. */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--menu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1081px) {
  .nav__item--menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .nav__item--menu:hover .nav__chev { transform: rotate(180deg); }
  .nav__item--menu:hover .nav__menu-btn { opacity: 1; }
}

.nav__links .submenu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  line-height: 1.3;
  opacity: 1;
  text-decoration: none;
}
.nav__links .submenu a.submenu__item:hover,
.nav__links .submenu a.submenu__item:focus-visible { background: var(--sky-wash); }
.submenu :focus-visible { outline-color: var(--sky-deep); }
.submenu__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--ink);
}
.submenu__label { display: block; font-size: 15px; }
.submenu__text small { display: block; color: var(--slate); font-size: 12px; }
.nav__links .submenu__item.is-disabled { color: var(--mist); cursor: not-allowed; }
.submenu__item.is-disabled .submenu__icon { background: #eef1f4; color: #a5b1bb; }
.submenu__item.is-disabled small { color: #a5b1bb; }

@media (max-width: 1080px) {
  .nav__menu-btn { width: 100%; justify-content: space-between; padding: 14px 16px; opacity: 1; }
  .nav--on-sky .nav__menu-btn:hover,
  .nav--on-sky .nav__item--menu.is-open .nav__menu-btn { background: var(--sky-wash); }
  .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 2px 0 6px 8px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .submenu::before { display: none; }
  .nav__item--menu.is-open .submenu { display: block; transform: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin: 12px;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #1791df var(--photo-hero) center bottom / cover no-repeat;
}
/* Deepen the top of the sky so white type always reads. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 72, 150, 0.38) 0%, rgba(0, 110, 200, 0) 45%);
}

.hero__copy {
  position: relative;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(40px, 7vw, 84px) var(--gutter) 0;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(1, 255, 166, 0.25);
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.hero h1 .line--soft { color: rgba(255, 255, 255, 0.72); }

.hero__lede {
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

/* Stage: the phone rising out of the clouds, cards fanned around it. */
.stage {
  --pw: clamp(250px, 31vw, 450px);   /* phone width */
  --cw: clamp(150px, 14vw, 206px);   /* card width */
  position: relative;
  height: clamp(390px, 44vw, 590px);
  margin-top: clamp(28px, 4vw, 48px);
  perspective: 1400px;
  perspective-origin: 50% 35%;
}

.stage__phone {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 3;
  width: var(--pw);
  translate: -48% 0;
  filter: drop-shadow(0 50px 50px rgba(0, 50, 110, 0.35));
  animation: phone-rise 1.4s var(--ease-out) 0.15s both, phone-float 7s ease-in-out 1.6s infinite;
}

.fan {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
}

.float-card {
  --x: 0px;
  --y: 0px;
  --z: 0px;
  --r: 0deg;
  position: absolute;
  left: 50%;
  top: 22%;
  width: var(--cw);
  padding: 14px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  box-shadow: var(--shadow-float);
  transform: translateX(calc(-50% + var(--x))) translateY(var(--y)) translateZ(var(--z)) rotateY(var(--r));
  transform-origin: center center;
  animation: card-fan 1.3s var(--ease-out) both;
  animation-delay: var(--d, 0.4s);
}

/* A convex carousel: cards turn away and recede toward the edges. */
.float-card--l1 { --x: calc(-1 * (var(--pw) * 0.5 + var(--cw) * 0.5 + 1vw));  --y: 40px; --z: -30px;  --r: -14deg; --d: 0.55s; }
.float-card--l2 { --x: calc(-1 * (var(--pw) * 0.5 + var(--cw) * 1.62 + 1.6vw)); --y: 24px; --z: -150px; --r: -26deg; --d: 0.7s; }
.float-card--l3 { --x: calc(-1 * (var(--pw) * 0.5 + var(--cw) * 2.75 + 2.2vw)); --y: 58px; --z: -300px; --r: -38deg; --d: 0.85s; }
.float-card--r1 { --x: calc(var(--pw) * 0.5 + var(--cw) * 0.5 + 1vw);  --y: 12px; --z: -30px;  --r: 14deg; --d: 0.55s; }
.float-card--r2 { --x: calc(var(--pw) * 0.5 + var(--cw) * 1.62 + 1.6vw); --y: 46px; --z: -150px; --r: 26deg; --d: 0.7s; }
.float-card--r3 { --x: calc(var(--pw) * 0.5 + var(--cw) * 2.75 + 2.2vw); --y: 20px; --z: -300px; --r: 38deg; --d: 0.85s; }

.fc-label { color: var(--slate); font-size: 11px; letter-spacing: 0.01em; }
.fc-amount { margin-top: 4px; font-size: 22px; letter-spacing: -0.04em; line-height: 1.1; }
.fc-note { margin-top: 6px; color: var(--slate); font-size: 11px; }
.fc-row { display: flex; align-items: center; gap: 8px; }
.fc-row img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.fc-chip {
  display: inline-block;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sky-wash);
  color: var(--sky-deep);
  font-size: 10px;
}
.fc-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 12px; }
.fc-bars i { flex: 1; border-radius: 5px; background: var(--sky-soft); }
.fc-bars i:last-child { background: var(--sky); }
.fc-bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 14px 14px 4px 14px;
  background: var(--sky);
  color: var(--white);
  margin-left: auto;
}
.fc-bubble--in {
  margin: 8px 0 0;
  border-radius: 14px 14px 14px 4px;
  background: var(--cloud);
  color: var(--ink);
}
.fc-bubble--in b { color: var(--mint-deep); }
.float-card--ink { background: rgba(11, 22, 32, 0.92); color: var(--white); }
.float-card--ink .fc-label,
.float-card--ink .fc-note { color: rgba(255, 255, 255, 0.62); }
.float-card--ink .fc-chip { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.float-card--mint { background: var(--mint); }
.float-card--mint .fc-label,
.float-card--mint .fc-note { color: rgba(11, 22, 32, 0.66); }
.fc-meter { height: 6px; margin-top: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.fc-meter i { display: block; width: 58%; height: 100%; border-radius: inherit; background: var(--mint); }
.fc-stack { display: flex; margin: 8px 0 6px; }
.fc-stack img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); margin-right: -8px; object-fit: cover; }

/* Same photo, same box, masked to its bottom: the clouds pass in front of the phone. */
.hero__clouds {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: var(--photo-hero) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 7%, rgba(0, 0, 0, 0.75) 13%, transparent 24%);
  mask-image: linear-gradient(to top, #000 0%, #000 7%, rgba(0, 0, 0, 0.75) 13%, transparent 24%);
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
}
.hero__foot p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__foot img { width: 18px; height: 18px; border-radius: 5px; }

.hero__copy > * { animation: copy-in 1s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes copy-in {
  from { opacity: 0; transform: translateY(18px); }
}
@keyframes phone-rise {
  from { opacity: 0; transform: translateY(24%); }
}
@keyframes phone-float {
  50% { transform: translateY(-8px); }
}
@keyframes card-fan {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(90px) translateZ(-400px) rotateY(0deg);
  }
}

@media (max-width: 1180px) {
  .float-card--l3,
  .float-card--r3 { display: none; }
}
@media (max-width: 760px) {
  .stage { --pw: min(78vw, 330px); --cw: 150px; height: min(112vw, 460px); }
  .float-card--l2,
  .float-card--r2 { display: none; }
  .float-card--l1 { --x: calc(-1 * (var(--pw) * 0.5 + 8px)); --y: 120px; --z: -120px; --r: -16deg; }
  .float-card--r1 { --x: calc(var(--pw) * 0.5 + 8px); --y: 30px; --z: -120px; --r: 16deg; }
  .hero { margin: 8px; border-radius: var(--r-l); }
}
@media (max-width: 480px) {
  .float-card--l1 { --x: calc(-1 * (var(--pw) * 0.5 - 18px)); }
  .float-card--r1 { --x: calc(var(--pw) * 0.5 - 18px); }
}

/* ---------- Marquee ---------- */

.marquee {
  padding: 30px 0 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__caption {
  margin-bottom: 18px;
  color: var(--mist);
  font-size: 13px;
  text-align: center;
}
.marquee__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 56px;               /* spacing lives on the item so the loop has no seam */
  color: #74848f;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__track img { width: 26px; height: 26px; border-radius: 50%; filter: grayscale(1) contrast(1.1); opacity: 0.7; }
.marquee__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 12px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.h2 {
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 36em;
  color: var(--slate);
  font-size: clamp(16px, 1.5vw, 18px);
  text-wrap: pretty;
}
.muted { color: var(--slate); }

/* Statement with inline icon pills */
.statement {
  max-width: 17.5em;
  margin-inline: auto;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}
.statement__soft { color: #9aa8b3; }
.ipill {
  display: inline-grid;
  place-items: center;
  width: 1.18em;
  height: 0.9em;
  margin: 0 0.06em;
  border-radius: 999px;
  vertical-align: -0.1em;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
}
.ipill svg { width: 0.5em; height: 0.5em; }
.ipill--sky { background: var(--sky); color: var(--white); }
.ipill--mint { background: var(--mint); color: var(--ink); }
.ipill--ink { background: var(--ink); color: var(--mint); }
.ipill--ink span,
.ipill--mint span { font-size: 0.5em; }

/* Bento of facts */
.bento {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 24px;
  border-radius: var(--r-l);
  overflow: hidden;
}
.tile__big {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.tile__label { font-size: 14px; }
.tile p { max-width: 24em; font-size: 15px; line-height: 1.5; }

.tile--photo {
  grid-row: span 2;
  min-height: 460px;
  justify-content: flex-end;
  background: var(--sky) var(--photo-person) center 20% / cover no-repeat;
}
.tile--photo .tile__card {
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--white);
}
.tile--photo .tile__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}
.tile--photo .tile__badge img { width: 22px; height: 22px; border-radius: 6px; }

.tile--cloud {
  grid-row: span 2;
  justify-content: space-between;
  gap: 28px;
  background: var(--cloud);
}
.pin-dots { display: flex; gap: 12px; }
.pin-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
}
.pin-dots i:nth-child(n + 5) { background: transparent; border: 1.5px solid var(--mist); }
.quote-line {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 15px;
}

.tile--mint { justify-content: space-between; background: var(--mint); }
.tile--ink { justify-content: space-between; gap: 16px; background: var(--ink); color: var(--white); }
.tile--ink p { color: rgba(255, 255, 255, 0.7); }
.tile--ink .tile__big { color: var(--mint); white-space: nowrap; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--photo { grid-row: span 1; grid-column: span 2; min-height: 420px; }
  .tile--cloud { grid-row: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile--photo { grid-column: auto; }
  .tile--cloud { grid-row: auto; }
}

/* Split: phone on sky + feature tiles */
.split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.phone-card {
  position: relative;
  aspect-ratio: 5 / 5.6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--sky-soft) var(--photo-soft) center / cover no-repeat;
}
.phone-card img.phone-card__phone {
  position: absolute;
  left: 50%;
  bottom: -26%;
  width: 62%;
  translate: -50% 0;
  filter: drop-shadow(0 30px 40px rgba(0, 50, 110, 0.3));
}
.phone-card__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  line-height: 1.3;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.phone-card__chip img { width: 34px; height: 34px; border-radius: 50%; }
.phone-card__chip small { display: block; color: var(--slate); font-size: 11px; }
.phone-card__chip--a { top: 10%; left: 6%; }
.phone-card__chip--b { top: 30%; right: 5%; }
.phone-card__chip .plus { color: var(--mint-deep); }

.split__copy { display: grid; gap: 22px; }
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.features li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--white);
}
.features h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.02em; }
.features p { color: var(--slate); font-size: 14px; line-height: 1.5; }
.ficon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sky-wash);
  color: var(--sky-deep);
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .phone-card { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
}

/* Everything you can do: an index, not a card grid */
.catalog {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.catalog__intro {
  position: sticky;
  top: 40px;
  display: grid;
  gap: 20px;
}
.catalog__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.catalog__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.catalog__list h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; }
.catalog__list p { grid-column: 1; max-width: 32em; color: var(--slate); font-size: 15px; line-height: 1.55; }
.path {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cloud);
  color: var(--sky-deep);
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__intro { position: static; }
}
@media (max-width: 560px) {
  .catalog__list li { grid-template-columns: 1fr; }
  .path { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 6px; }
}

/* Two highlight panels */
.duo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 460px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.panel p { max-width: 26em; font-size: 15px; line-height: 1.55; }
.panel--market {
  color: var(--white);
  background: var(--ink) var(--photo-market) center / cover no-repeat;
}
.panel--market::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 32, 0.92) 0%, rgba(11, 22, 32, 0.72) 30%, rgba(11, 22, 32, 0.08) 62%, rgba(11, 22, 32, 0.45) 100%);
}
.panel--market > * { position: relative; }
.panel--market p { color: rgba(255, 255, 255, 0.82); }

.linkcard {
  align-self: flex-start;
  width: min(100%, 330px);
  padding: 16px;
  border-radius: var(--r-m);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}
.linkcard__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.linkcard__meta { margin: 4px 0 14px; color: var(--slate); font-size: 12px; }
.linkcard__btn {
  display: block;
  padding: 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--white);
  font-size: 13px;
  text-align: center;
}
.linkcard__fine { margin-top: 10px; color: var(--slate); font-size: 11px; text-align: center; }

.panel--circle { background: var(--sky-wash); }
.ring {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px dashed rgba(0, 126, 168, 0.35);
}
.ring__center {
  position: absolute;
  inset: 31%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 30px -12px rgba(0, 72, 120, 0.35);
}
.ring__center b { font-size: 20px; letter-spacing: -0.04em; }
.ring__center small { color: var(--slate); font-size: 11px; }
.ring img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--white);
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-181%) rotate(calc(-1 * var(--a)));
}
.ring img.is-next { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(1, 255, 166, 0.35); }

@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .panel { min-height: 420px; }
}

/* Safety */
.safety {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--white);
}
.safety .lead { color: rgba(255, 255, 255, 0.68); }
.safety__head { display: grid; align-content: start; gap: 20px; }
.shield {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--mint);
  color: var(--ink);
}
.safety__list { margin: 0; padding: 0; list-style: none; }
.safety__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.safety__list li:first-child { padding-top: 0; }
.safety__list svg { grid-row: span 2; margin-top: 2px; color: var(--mint); }
.safety__list h3 { font-size: 19px; letter-spacing: -0.02em; }
.safety__list p { color: rgba(255, 255, 255, 0.66); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) {
  .safety { grid-template-columns: 1fr; }
}

/* Faucet */
.faucet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  padding: clamp(16px, 3vw, 32px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--sky-soft) var(--photo-above) center / cover no-repeat;
}
.faucet__card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 14px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font-size: 14px;
}
.steps b { font-size: 17px; letter-spacing: -0.02em; }
.steps span { color: var(--slate); font-size: 15px; line-height: 1.5; }
.fine { color: var(--slate); font-size: 13px; line-height: 1.5; }
.faucet__token {
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px 8px 0;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-float);
  font-size: 14px;
}
.faucet__token img { width: 36px; height: 36px; border-radius: 50%; }
.faucet__token small { display: block; color: var(--slate); font-size: 12px; }
@media (max-width: 860px) {
  .faucet { grid-template-columns: 1fr; gap: 16px; }
  .faucet__token { justify-self: start; margin: 0; }
}

/* Read more: docs + manual */
.reads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.read {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
}
.read__body { display: grid; align-content: start; gap: 12px; }
.read__body p { color: var(--slate); font-size: 15px; line-height: 1.55; }
.read__body .cta-row { margin-top: 8px; }
.read__facts { color: var(--mist); font-size: 13px; }

/* Miniature of the PDF cover */
.cover-mini {
  position: relative;
  aspect-ratio: 210 / 297;
  padding: 14px 12px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(170deg, #0a8fe0 0%, var(--sky) 45%, #bfeaff 100%);
  color: var(--white);
  box-shadow: 0 18px 30px -18px rgba(0, 60, 110, 0.6);
  transform: rotate(-3deg);
}
.cover-mini::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: var(--photo-above) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent);
  mask-image: linear-gradient(to top, #000 40%, transparent);
}
.cover-mini img { width: 22px; height: 22px; border-radius: 6px; }
.cover-mini b { display: block; margin-top: 18px; font-size: 14px; line-height: 1.15; letter-spacing: -0.03em; }
.cover-mini small { display: block; margin-top: 6px; font-size: 8px; opacity: 0.8; }
.cover-mini--ink { background: linear-gradient(170deg, var(--ink) 0%, #12324a 55%, #5fc9f5 100%); }

@media (max-width: 960px) {
  .reads { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .read { grid-template-columns: 1fr; }
  .cover-mini { width: 130px; }
}

/* Closing */
.closing {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  margin: 0 12px;
  padding: clamp(96px, 14vw, 180px) var(--gutter);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
  color: var(--white);
  background: #1a86d0 var(--photo-closing) center / cover no-repeat;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 60, 120, 0.35), rgba(0, 60, 120, 0) 65%);
}
.closing > * { position: relative; }
.closing h2 {
  font-size: clamp(64px, 13vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.closing p { max-width: 30em; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.92); }
.closing .cta-row { justify-content: center; }
@media (max-width: 760px) {
  .closing { margin: 0 8px; border-radius: var(--r-l); }
}

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 40px;
  color: var(--slate);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer__brand { display: grid; align-content: start; gap: 16px; }
.footer__brand .brand { color: var(--ink); }
.footer__brand p { max-width: 24em; line-height: 1.55; }
.footer h2 { margin-bottom: 14px; color: var(--ink); font-size: 14px; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

.ext { display: inline-block; vertical-align: -1px; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}
