/* TravauxScan IA presentation site.
   Brand colours come from the logo: navy robot, bright blue eyes and orange
   scan corners. Orange stays an accent (scan corners, markers, the IA badge);
   actions use the mascot's navy so their text keeps a strong contrast. */
@font-face {
  font-family: 'Inter';
  src: url('/assets/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0a1f4d;
  --navy-brand: #022454;
  --navy-raised: #0b3574;
  --navy-deep: #03153a;
  --blue: #1683ff;
  --blue-ink: #0060d6;
  --blue-soft: #eaf3ff;
  --orange: #ff6b0a;
  --orange-ink: #b54700;
  --orange-soft: #fff1e7;
  --text: #0a1f4d;
  --text-2: #33415c;
  --muted: #56647e;
  --on-dark: #b8c7e3;
  --line: #e2e8f0;
  --line-strong: #cfd8e5;
  --line-hover: #b3c1d5;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef3fa;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgb(10 31 77 / 0.06);
  --shadow-md: 0 1px 2px rgb(10 31 77 / 0.05), 0 12px 28px -10px rgb(10 31 77 / 0.18);
  --shadow-lg: 0 2px 6px rgb(10 31 77 / 0.05), 0 32px 72px -20px rgb(10 31 77 / 0.32);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
  --section: 120px;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
html:has(dialog[open]) {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: #cfe3ff;
  color: var(--navy);
}
.container {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}
[hidden] {
  display: none !important;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy-brand);
  color: #fff;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn-primary {
  background: var(--navy-brand);
  color: #fff;
  box-shadow:
    0 1px 2px rgb(2 36 84 / 0.3),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.btn-primary:hover {
  background: var(--navy-raised);
  box-shadow:
    0 10px 22px -8px rgb(2 36 84 / 0.55),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.btn-primary .icon {
  color: #ffa66b;
}
.btn-primary:hover .icon-arrow {
  transform: translateX(3px);
}
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--line-hover);
  background: var(--bg-soft);
}
.btn-secondary .icon {
  color: var(--blue-ink);
}
.btn-quiet {
  background: transparent;
  color: var(--text-2);
}
.btn-quiet:hover {
  background: var(--bg-tint);
  color: var(--navy);
}
.btn-sm {
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.btn-sm .icon {
  width: 17px;
  height: 17px;
}
.btn-lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.link-button {
  padding: 6px;
  border: 0;
  background: none;
  color: var(--blue-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.icon-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.icon-button:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

/* Scan brackets, the logo's signature: a rounded outline masked down to its
   four corners. Each user sets --arm, the length of the bracket arms. */
.scan-corners,
.eyebrow::before,
.qr-frame::before {
  -webkit-mask:
    linear-gradient(#000 0 0) top left / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) top right / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) bottom left / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) bottom right / var(--arm) var(--arm) no-repeat;
  mask:
    linear-gradient(#000 0 0) top left / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) top right / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) bottom left / var(--arm) var(--arm) no-repeat,
    linear-gradient(#000 0 0) bottom right / var(--arm) var(--arm) no-repeat;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(255 255 255 / 0.84);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgb(10 31 77 / 0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.wordmark {
  color: var(--navy);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.wm-blue {
  color: var(--blue);
}
.wm-ia {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.74em;
  line-height: 1.4;
  letter-spacing: 0;
  vertical-align: 0.14em;
}
.nav {
  grid-column: 2;
  display: flex;
  gap: 2px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover {
  color: var(--navy);
  background: var(--bg-tint);
}
.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu-button {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.menu-button:hover {
  border-color: var(--line-hover);
  background: var(--bg-soft);
}
.menu {
  position: fixed;
  inset: calc(var(--header-h) + 8px) 12px auto auto;
  width: min(340px, 100% - 24px);
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.menu::backdrop {
  background: rgb(3 21 58 / 0.28);
}
.menu-links,
.menu-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-links a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.menu-links a:hover {
  background: var(--bg-tint);
}
.menu-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 6px;
  padding: 14px 14px 8px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.menu-legal a {
  color: var(--muted);
}
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 112px;
  background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(10 31 77 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(10 31 77 / 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 74% 40%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 72% at 74% 40%, #000 15%, transparent 72%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgb(22 131 255 / 0.15), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 72px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 550;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
}
.hero h1 {
  margin-top: 26px;
  color: var(--navy);
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.038em;
}
.accent {
  color: var(--blue);
}
.lead {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  stroke-width: 2.5;
}
.hero-visual {
  position: relative;
  padding-bottom: 32px;
}
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: inherit;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(10 31 77 / 0.08);
  pointer-events: none;
}
.scan-corners {
  --arm: 34px;
  position: absolute;
  inset: 18px;
  border: 3px solid var(--orange);
  border-radius: 14px;
  pointer-events: none;
}
.scan-line {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #9ad2ff 18%, #9ad2ff 82%, transparent);
  box-shadow: 0 0 16px 2px rgb(22 131 255 / 0.5);
  opacity: 0;
  pointer-events: none;
}
.marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: var(--shadow-md);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transform: translate(-12px, -50%);
}
.marker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgb(255 107 10 / 0.25);
}
.marker-left {
  flex-direction: row-reverse;
  padding: 6px 8px 6px 12px;
  transform: translate(calc(-100% + 12px), -50%);
}
.marker-mouldings {
  left: 50%;
  top: 9%;
}
.marker-walls {
  left: 66%;
  top: 38%;
}
.marker-floor {
  left: 90%;
  top: 91%;
}
.hero-card {
  position: absolute;
  left: -32px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: var(--navy-brand);
  color: #fff;
  box-shadow: 0 28px 50px -18px rgb(2 36 84 / 0.6);
}
.hero-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.hero-card p {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.4;
}
.hero-card strong {
  font-size: 15px;
  font-weight: 650;
}
.hero-card p span {
  color: #a9bbdc;
}
.hero-card-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgb(22 131 255 / 0.22);
  color: #8ecbff;
}
.hero-card-check .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.8;
}

/* Launch strip */
.launch {
  border-block: 1px solid var(--line);
  background: #fff;
}
.launch-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding: 22px 0;
}
.launch-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.launch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.launch-list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 600;
}
.launch-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-tint);
  color: var(--blue-ink);
}
.launch-icon .icon {
  width: 19px;
  height: 19px;
}
.launch-list li:last-child .launch-icon {
  background: var(--orange-soft);
  color: var(--orange-ink);
}

/* Section headings */
.section-head {
  margin-bottom: 56px;
}
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px 72px;
}
.section-head-split > p {
  max-width: 32rem;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 18px;
}
.section-head h2,
.signup h2,
.share h2,
.faq h2 {
  color: var(--navy);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.036em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow::before {
  --arm: 38%;
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange);
  border-radius: 4px;
}
.section-head-dark h2 {
  color: #fff;
}
.section-head-dark .eyebrow {
  color: #c9d6ee;
}
.section-head-dark.section-head-split > p {
  color: var(--on-dark);
}

/* Demo */
.demo {
  overflow: hidden;
  padding: var(--section) 0;
  background:
    radial-gradient(900px 520px at 12% 0%, rgb(22 131 255 / 0.2), transparent 70%),
    var(--navy-deep);
  color: #fff;
}
.demo-app {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.01)), var(--navy-brand);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6);
}
.demo-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.demo-rooms li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #8ea4c8;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}
.demo-rooms li.is-active {
  color: #fff;
}
.demo-rooms i {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.12);
  overflow: hidden;
}
.demo-rooms b {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(0);
}
.demo-rooms li.is-done b {
  transform: scaleX(1);
  background: rgb(255 255 255 / 0.45);
}
.demo-rooms li.is-active b {
  animation: room-progress linear both;
  animation-duration: var(--room-duration, 13s);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 24px;
}
.demo-stage {
  position: relative;
  min-width: 0;
}
.stage-photos {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  background: #0b2c60;
}
.stage-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.2s ease;
}
.stage-photos img.is-active {
  opacity: 1;
  transform: scale(1);
}
.stage-overlay {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 3 / 2;
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 0 solid #fff;
  border-radius: 4px;
  opacity: 0.85;
  transition: border-color 0.3s, opacity 0.3s;
}
.corner.tl {
  left: 16px;
  top: 16px;
  border-left-width: 3px;
  border-top-width: 3px;
}
.corner.tr {
  right: 16px;
  top: 16px;
  border-right-width: 3px;
  border-top-width: 3px;
}
.corner.bl {
  left: 16px;
  bottom: 16px;
  border-left-width: 3px;
  border-bottom-width: 3px;
}
.corner.br {
  right: 16px;
  bottom: 16px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}
.demo-app[data-step='2'] .corner {
  border-color: var(--orange);
  opacity: 1;
}
.sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s;
}
.demo-app[data-step='2'] .sweep {
  opacity: 1;
  background: rgb(3 21 58 / 0.25);
}
.sweep span {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  border-bottom: 3px solid #7cc4ff;
  background: linear-gradient(transparent, rgb(22 131 255 / 0.45));
  box-shadow: 0 6px 14px -6px #7cc4ff;
}
.boxes {
  position: absolute;
  inset: 0;
}
.box {
  position: absolute;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: rgb(255 107 10 / 0.08);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.box span {
  position: absolute;
  left: -2px;
  top: -2px;
  transform: translateY(-100%);
  padding: 3px 9px;
  border-radius: 8px 8px 8px 0;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.box.label-right span {
  left: auto;
  right: -2px;
  border-radius: 8px 8px 0 8px;
}
.box.label-inside span {
  left: 6px;
  top: 6px;
  transform: none;
  border-radius: 8px;
}
.demo-app[data-step='3'] .box,
.demo-app[data-step='4'] .box,
.demo-app[data-step='5'] .box,
.demo-app[data-step='6'] .box {
  opacity: 1;
  transform: scale(1);
}
.demo-app[data-step='3'] .box:nth-child(2) {
  transition-delay: 0.45s;
}
.demo-app[data-step='3'] .box:nth-child(3) {
  transition-delay: 0.9s;
}
.stage-caption {
  margin-top: 12px;
  color: #8ea4c8;
  font-size: 13px;
}
.demo-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head img {
  border-radius: 10px;
}
.panel-head div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.panel-head strong {
  font-size: 15px;
  font-weight: 650;
}
.panel-head div span {
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 600;
}
.sim-label {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.panel-steps li {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.panel-steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}
.panel-steps li.is-done {
  color: var(--blue-ink);
  background: var(--blue-soft);
}
.panel-steps li.is-done::before {
  content: '✓';
  background: var(--blue);
  color: #fff;
}
.panel-steps li.is-active {
  color: #fff;
  background: var(--orange);
}
.panel-steps li.is-active::before {
  color: var(--orange-ink);
}
.panel-progress {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.panel-progress-bar {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--bg-tint);
  overflow: hidden;
}
.panel-progress-bar b {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.panel-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 330px;
}
.panel-block {
  display: none;
}
.block-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.demo-app[data-step='3'] .block-elements,
.demo-app[data-step='4'] .block-elements,
.demo-app[data-step='4'] .block-description,
.demo-app[data-step='5'] .block-description,
.demo-app[data-step='5'] .block-questions,
.demo-app[data-step='6'] .block-ready {
  display: block;
  animation: fade-up 0.4s ease both;
}
.demo-app[data-step='1'] .panel-body::before,
.demo-app[data-step='2'] .panel-body::before {
  content: attr(data-waiting);
  margin: auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ffd2b3;
  background: var(--orange-soft);
  color: #a54100;
  font-size: 13px;
  font-weight: 650;
}
.description {
  font-size: 16px;
  line-height: 1.65;
}
.description .word {
  opacity: 0;
  animation: word-in 0.25s ease forwards;
}
.questions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.questions li {
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--bg-soft);
  font-size: 15px;
  font-weight: 600;
  animation: fade-up 0.4s ease both;
}
.questions li:nth-child(2) {
  animation-delay: 0.6s;
}
.ready-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef6ff, #fff6ef);
}
.ready-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.ready-title::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
}
.ready-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 16px 0;
  font-size: 14px;
}
.ready-card dt {
  color: var(--muted);
}
.ready-card dd {
  margin: 0;
  font-weight: 650;
}
.ready-next {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 650;
}
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  color: var(--on-dark);
  font-size: 13px;
}
.demo-foot strong {
  color: #fff;
}
.pause {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.pause:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.06);
}
.pause-icon {
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
.pause[aria-pressed='true'] .pause-icon {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-inline: 10px solid currentColor;
  border-right-width: 0;
}
.demo-app[data-paused='true'] *,
.demo-app[data-paused='true'] *::before {
  animation-play-state: paused !important;
}

/* How it works */
.how {
  padding: var(--section) 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
}
.timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 27px;
  left: 76px;
  right: -12px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.timeline-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--navy);
}
.timeline-icon .icon {
  width: 24px;
  height: 24px;
}
.timeline li:nth-child(2) .timeline-icon {
  color: var(--blue-ink);
}
.timeline li:nth-child(3) .timeline-icon {
  color: var(--orange-ink);
}
.timeline-step {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline h3 {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.timeline li > p:last-child {
  max-width: 22rem;
  margin-top: 10px;
  color: var(--muted);
}

/* Trades */
.trades {
  padding: 0 0 var(--section);
}
.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.trade-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
}
.trade-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.trade:hover .trade-media img {
  transform: scale(1.04);
}
.trade-body {
  position: relative;
  padding: 24px 4px 0;
}
.trade-icon {
  position: absolute;
  top: -28px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--navy);
}
.trade-icon .icon {
  width: 22px;
  height: 22px;
}
.trade h3 {
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.trade p {
  margin-top: 8px;
  color: var(--muted);
}

/* Signup */
.signup {
  padding: 0 0 var(--section);
}
.signup-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: center;
  gap: 64px;
  padding: 72px;
  border-radius: 32px;
  background:
    radial-gradient(720px 440px at 0% 0%, rgb(22 131 255 / 0.2), transparent 70%),
    radial-gradient(560px 380px at 100% 100%, rgb(22 131 255 / 0.1), transparent 70%),
    var(--navy-brand);
  color: #fff;
}
.signup-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 20% 30%, #000, transparent 75%);
}
.signup-mascot {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 18px 40px -12px rgb(0 0 0 / 0.5);
}
.signup .eyebrow {
  color: #c9d6ee;
}
.signup h2 {
  color: #fff;
}
.signup-copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 18px;
  color: var(--on-dark);
  font-size: 18px;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #e6edf9;
  font-weight: 550;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checks .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: rgb(22 131 255 / 0.25);
  color: #8ecbff;
  stroke-width: 2.8;
}
.signup-card {
  padding: 32px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 34px 70px -24px rgb(0 0 0 / 0.55);
}
.channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.channels legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 650;
}
.channel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.channel .icon {
  width: 18px;
  height: 18px;
}
.channel input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.channel:hover {
  border-color: var(--line-hover);
}
.channel:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-ink);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.channel:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
}
.field input {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder {
  color: #8a97ad;
}
.field input:hover {
  border-color: var(--line-hover);
}
.field input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgb(22 131 255 / 0.16);
}
.hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 12px;
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue-ink);
}
.consent a {
  color: var(--blue-ink);
  font-weight: 550;
}
.form-error {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff0ec;
  color: #a3280b;
  font-size: 14px;
  font-weight: 600;
}
.form-error.is-info {
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.preview-banner {
  padding: 9px 16px;
  background: var(--navy-brand);
  color: #dbe6f7;
  font-size: 13.5px;
  text-align: center;
}
.preview-banner strong {
  color: #fff;
  font-weight: 650;
}
.form-notice {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.form-notice a {
  color: var(--blue-ink);
  font-weight: 550;
}
.form-done {
  padding: 8px 0;
  text-align: center;
}
.form-done:focus {
  outline: none;
}
.form-done > .btn {
  margin-top: 22px;
}
.done-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.done-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}
.form-done h2,
.form-done h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 26px;
}
.form-done p {
  margin-top: 8px;
  color: var(--muted);
}
.done-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

/* Share */
.share {
  padding: 0 0 var(--section);
}
.share-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: center;
  gap: 80px;
}
.share-lead {
  max-width: 36rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}
.share-link {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: 32px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.share-link:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(22 131 255 / 0.16);
}
.share-link input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  text-overflow: ellipsis;
}
.share-link input:focus-visible {
  outline: none;
}
.share-link .btn {
  min-height: 44px;
}
.share-via {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}
.share-networks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.network {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.network:hover {
  border-color: var(--line-hover);
  background: var(--bg-soft);
}
.network .icon {
  width: 20px;
  height: 20px;
}
.network .icon:not(.icon-brand) {
  color: var(--blue-ink);
}
.share-status {
  min-height: 1.5em;
  margin-top: 14px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 600;
}
.qr-card {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.qr-frame {
  --arm: 30px;
  position: relative;
  padding: 16px;
}
.qr-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--orange);
  border-radius: 18px;
  pointer-events: none;
}
.qr-code {
  width: 100%;
  max-width: 272px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.qr-code svg {
  width: 100%;
  height: 100%;
}
.qr-card figcaption {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}
.qr-card figcaption strong {
  font-size: 15px;
  font-weight: 650;
}
.qr-url,
.dialog-url {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.qr-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.qr-local {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: #8a3a00;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

/* Share dialog */
.share-dialog {
  width: min(440px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgb(3 21 58 / 0.55);
  overflow: auto;
}
.share-dialog::backdrop {
  background: rgb(3 21 58 / 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dialog-inner {
  padding: 24px;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.dialog-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.share-dialog h2 {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.qr-frame-large .qr-code {
  max-width: 340px;
}
.dialog-url {
  margin-top: 14px;
  text-align: center;
}
.dialog-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.dialog-actions .btn {
  width: 100%;
}
.share-dialog .share-status {
  margin-top: 10px;
  text-align: center;
}

/* FAQ, privacy, footer */
.faq {
  padding: var(--section) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 80px;
}
.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.faq-head > p:not(.eyebrow) {
  max-width: 26rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background-color: #fff;
  background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy));
  background-size:
    12px 2px,
    2px 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.25s var(--ease), border-color 0.2s;
}
.faq-list summary:hover::after {
  border-color: var(--line-hover);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 56px 24px 0;
  color: var(--muted);
  font-size: 16.5px;
}
.privacy {
  padding: 72px 0;
}
.privacy-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.privacy-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.privacy h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.privacy p {
  max-width: 60rem;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.privacy .privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
}
.privacy-links a {
  color: var(--blue-ink);
  text-underline-offset: 3px;
}
.footer {
  padding: 72px 0 32px;
  background: var(--navy-deep);
  color: #a9bbdc;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer-brand p {
  max-width: 22rem;
  margin-top: 16px;
  font-size: 15px;
}
.brand-light .wordmark {
  color: #fff;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-title {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
.footer-nav ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  color: #a9bbdc;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  color: #8397bb;
  font-size: 13px;
}

/* Legal pages */
.legal-page {
  padding: 48px 0 104px;
}
.container.legal {
  width: min(780px, 100% - 64px);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumb a {
  color: var(--blue-ink);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.legal-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal h1 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 740;
  letter-spacing: -0.036em;
}
.legal-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}
.legal section {
  padding-top: 36px;
}
.legal h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal p,
.legal li {
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal section > p {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal li + li {
  margin-top: 8px;
}
.legal a {
  color: var(--blue-ink);
  text-underline-offset: 3px;
}
.legal strong {
  color: var(--navy);
  font-weight: 650;
}
.legal-facts {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}
.legal-facts div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.legal-facts dt {
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
}
.legal-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 550;
  overflow-wrap: anywhere;
}
.legal .legal-summary {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid #d5e6ff;
  background: var(--blue-soft);
}
.legal-summary h2 {
  font-size: 18px;
}
.legal-summary ul {
  padding: 0;
  list-style: none;
}
.legal-summary li {
  position: relative;
  padding-left: 30px;
}
.legal-summary li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--blue-ink);
  border-bottom: 2px solid var(--blue-ink);
  transform: rotate(-45deg);
}
.legal-toc {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.legal .legal-toc-title {
  color: var(--navy);
  font-weight: 650;
}
.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin-top: 8px;
}
.legal-toc li {
  break-inside: avoid;
  font-size: 15px;
}
.legal .legal-toc li + li {
  margin-top: 4px;
}
.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
}
.legal-table th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 650;
  text-align: left;
}
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
  vertical-align: top;
}
mark.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff1e7;
  box-shadow: inset 0 0 0 1px #ffd2b3;
  color: #8a3a00;
  font-weight: 600;
}
.container.unsubscribe {
  width: min(560px, 100% - 64px);
}
.unsubscribe-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.unsubscribe-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.unsubscribe-card h1 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 720;
  letter-spacing: -0.03em;
}
.unsubscribe-lead {
  margin: 12px 0 24px;
  color: var(--muted);
}
.unsubscribe-more {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}
.unsubscribe-more a {
  color: var(--blue-ink);
}
.not-found {
  max-width: 640px;
  padding: 48px 0 24px;
  text-align: center;
}
.not-found-code {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(88px, 16vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}
.not-found h1 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
}
.not-found p:not(.not-found-code) {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 18px;
}

/* Sticky signup bar (phones, home page) */
.sticky-cta {
  display: none;
}

/* Motion */
@keyframes room-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes word-in {
  to {
    opacity: 1;
  }
}
@keyframes sweep {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(430%);
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes hero-scan {
  0% {
    top: 22px;
    opacity: 0;
  }
  12%,
  48% {
    opacity: 0.9;
  }
  60%,
  100% {
    top: calc(100% - 24px);
    opacity: 0;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .demo-app[data-step='2'] .sweep span {
    animation: sweep 1.1s ease-in-out infinite alternate;
  }
  .pulse::after {
    animation: pulse 2s ease-out infinite;
  }
  .scan-line {
    animation: hero-scan 6s var(--ease) 1s infinite;
  }
  .share-dialog[open] {
    animation: dialog-in 0.28s var(--ease);
  }
  .menu:popover-open {
    animation: menu-in 0.2s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before {
    transition-duration: 0.01ms !important;
  }
  .description .word,
  .questions li,
  .panel-block {
    animation: none !important;
    opacity: 1 !important;
  }
  .sweep span {
    top: 35%;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner {
    gap: 48px;
  }
  .signup-panel {
    gap: 48px;
    padding: 56px;
  }
  .share-inner {
    gap: 56px;
  }
}
@media (max-width: 960px) {
  :root {
    --section: 96px;
  }
  .nav {
    display: none;
  }
  .menu-button {
    display: grid;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-inner,
  .section-head-split,
  .signup-panel,
  .share-inner,
  .faq-inner,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    max-width: 680px;
  }
  .hero-card {
    left: 16px;
  }
  .section-head-split {
    align-items: start;
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .panel-body {
    min-height: 300px;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 22px;
    padding-bottom: 40px;
  }
  .timeline li:last-child {
    padding-bottom: 0;
  }
  .timeline-icon {
    grid-row: 1 / span 3;
  }
  .timeline li > :not(.timeline-icon) {
    grid-column: 2;
  }
  .timeline-step {
    margin-top: 2px;
  }
  .timeline li:not(:last-child)::after {
    top: 72px;
    bottom: 16px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
  }
  .trade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trade {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
  }
  .trade-body {
    padding: 0;
  }
  .trade-icon {
    position: static;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
  }
  .signup-copy > p:not(.eyebrow) {
    max-width: none;
  }
  .qr-card {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }
  .faq-inner {
    gap: 24px;
  }
  .faq-head {
    position: static;
  }
}
@media (max-width: 720px) {
  .header-share-label,
  .header-cta {
    display: none;
  }
  .header-share {
    width: 40px;
    padding: 0;
  }
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(10 31 77 / 0.08);
    background: rgb(255 255 255 / 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 -12px 30px -14px rgb(10 31 77 / 0.25);
    transform: translateY(110%);
    transition: transform 0.3s var(--ease);
  }
  .sticky-cta.is-visible {
    transform: none;
  }
  .sticky-cta .btn-primary {
    flex: 1;
  }
  .sticky-share {
    width: 48px;
    padding: 0;
  }
  .legal-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .legal-toc ol {
    columns: 1;
  }
}
@media (max-width: 600px) {
  :root {
    --header-h: 64px;
    --section: 72px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .wordmark {
    font-size: 18px;
  }
  .header-inner {
    gap: 12px;
  }
  .hero {
    padding: 40px 0 72px;
  }
  .hero h1 {
    margin-top: 22px;
  }
  .lead {
    font-size: 17px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-inner {
    gap: 40px;
  }
  .scan-corners {
    --arm: 24px;
    inset: 12px;
    border-width: 2.5px;
    border-radius: 10px;
  }
  .marker {
    padding: 4px 10px 4px 6px;
    font-size: 12px;
  }
  .marker-left {
    padding: 4px 6px 4px 10px;
  }
  .marker-mouldings {
    display: none;
  }
  .hero-visual {
    padding-bottom: 44px;
  }
  .marker-floor {
    top: 80%;
  }
  .hero-card {
    left: 12px;
    right: 12px;
  }
  .hero-card-check {
    margin-left: auto;
  }
  .launch-inner {
    gap: 14px;
    padding: 20px 0;
  }
  .launch-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    width: 100%;
  }
  .launch-list li {
    font-size: 14.5px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .section-head-split > p,
  .share-lead,
  .signup-copy > p:not(.eyebrow) {
    font-size: 17px;
  }
  .demo-app {
    padding: 12px;
    border-radius: 20px;
  }
  .demo-grid {
    gap: 12px;
  }
  .demo-rooms {
    gap: 8px;
    margin-bottom: 14px;
  }
  .stage-caption {
    display: none;
  }
  .demo-rooms li {
    font-size: 12px;
  }
  .box span {
    padding: 2px 7px;
    font-size: 11px;
  }
  .demo-panel {
    padding: 14px 16px 16px;
  }
  /* The status line sometimes wraps: always keep room for two lines. */
  .panel-head div span {
    min-height: 2.6em;
  }
  .panel-progress {
    margin: 10px 0 12px;
  }
  .panel-steps {
    display: none;
  }
  .panel-progress {
    display: flex;
  }
  /* A fixed height with one result at a time: the demo never changes the
     page's length, so nothing moves under the reader's finger. */
  .panel-body {
    flex: none;
    height: 250px;
    min-height: 0;
    overflow: hidden;
  }
  .demo-app[data-step='4'] .block-elements,
  .demo-app[data-step='5'] .block-description {
    display: none;
  }
  .ready-card {
    padding: 14px;
  }
  .ready-title {
    font-size: 17px;
  }
  .ready-title::before {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .ready-card dl {
    gap: 6px 14px;
    margin: 12px 0;
    font-size: 13.5px;
  }
  .ready-next {
    padding-top: 10px;
    font-size: 13px;
  }
  .demo-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .trade-grid {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .trade-grid::-webkit-scrollbar {
    display: none;
  }
  .trade {
    display: block;
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  .trade-body {
    padding: 18px 2px 0;
  }
  .trade-media img {
    aspect-ratio: 16 / 10;
  }
  .signup-panel {
    gap: 32px;
    padding: 32px 20px 20px;
    border-radius: 24px;
  }
  .signup-mascot {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
  }
  .signup-card {
    padding: 22px;
    border-radius: 18px;
  }
  .share-link {
    flex-direction: column;
    padding: 8px;
  }
  .share-link input {
    min-height: 44px;
    text-align: center;
  }
  .share-networks li {
    display: flex;
    flex: 1 1 calc(50% - 5px);
  }
  .network {
    flex: 1;
    justify-content: center;
  }
  .qr-card {
    padding: 20px;
    border-radius: 22px;
  }
  .faq-list summary {
    padding: 20px 0;
    font-size: 17px;
  }
  .faq-list details p {
    padding-right: 0;
  }
  .privacy {
    padding: 56px 0;
  }
  .privacy-inner {
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }
  .footer {
    padding-top: 56px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    flex-direction: column;
  }
  .legal-page {
    padding: 32px 0 80px;
  }
  .container.legal,
  .container.unsubscribe {
    width: calc(100% - 32px);
  }
  .legal .legal-summary,
  .legal-toc {
    padding: 20px;
  }
  .unsubscribe-card {
    padding: 24px 20px;
  }
  .dialog-inner {
    padding: 20px;
  }
}
