/* ASM website design system. Plain CSS, no framework, no external font. Colour tokens follow the app: deep teal-blue brand (the launcher icon) with the Material 3 blue as the action colour. */
:root {
  --bg: #f5f8fc;
  --bg-tint: #eaf2fb;
  --surface: #ffffff;
  --surface-2: #eef4fa;
  --surface-3: #e1ecf7;
  --text: #0d1b2a;
  --muted: #475a6e;
  --line: #d5e1ee;
  --brand: #17577e;
  --brand-deep: #0e3d5c;
  --primary: #1561b8;
  --primary-hover: #0f4f99;
  --on-primary: #ffffff;
  --accent: #0e8f7a;
  --accent-soft: #d9f3ec;
  --warn-soft: #fff1d6;
  --warn-text: #7a4a00;
  --focus: #ff9f1c;
  --shadow-s: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 8px rgba(13, 27, 42, .05);
  --shadow-m: 0 4px 12px rgba(13, 27, 42, .07), 0 16px 40px rgba(21, 97, 184, .10);
  --shadow-l: 0 10px 30px rgba(13, 27, 42, .12), 0 40px 90px rgba(21, 97, 184, .18);
  --grad-hero: radial-gradient(60rem 34rem at 85% -10%, rgba(66, 165, 245, .30), transparent 60%), radial-gradient(46rem 30rem at -10% 10%, rgba(14, 143, 122, .16), transparent 60%);
  --grad-brand: linear-gradient(135deg, #1f6f9f 0%, #124a6e 55%, #0e3d5c 100%);
  --grad-text: linear-gradient(100deg, #1561b8 0%, #0e8f7a 100%);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 24px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --step-3: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem);
  --step-4: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a141f;
    --bg-tint: #0d1c2b;
    --surface: #112131;
    --surface-2: #162a3d;
    --surface-3: #1c3550;
    --text: #e9f1f9;
    --muted: #a6b9cc;
    --line: #223a52;
    --brand: #7cc4f2;
    --brand-deep: #0e3d5c;
    --primary: #7ab8ff;
    --primary-hover: #a3cdff;
    --on-primary: #06203a;
    --accent: #53d6bd;
    --accent-soft: #11382f;
    --warn-soft: #3a2c0c;
    --warn-text: #ffd88a;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-m: 0 6px 18px rgba(0, 0, 0, .4);
    --shadow-l: 0 14px 40px rgba(0, 0, 0, .5), 0 40px 90px rgba(21, 97, 184, .20);
    --grad-hero: radial-gradient(60rem 34rem at 85% -10%, rgba(66, 165, 245, .20), transparent 60%), radial-gradient(46rem 30rem at -10% 10%, rgba(14, 143, 122, .16), transparent 60%);
    --grad-text: linear-gradient(100deg, #8cc4ff 0%, #53d6bd 100%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--text); background: var(--bg); background-image: var(--grad-hero); background-repeat: no-repeat; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }
small, .small { font-size: var(--step--1); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: var(--on-primary); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--r-s); z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tint { background: linear-gradient(180deg, transparent, var(--bg-tint) 12%, var(--bg-tint) 88%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { display: flex; justify-content: center; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; }
.section--flush { padding-top: 0; }
.rel { position: relative; z-index: 1; }
.mx-auto { margin-inline: auto; }
.download-more { margin-top: 24px; }
.btn-row.center { justify-content: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-s); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; padding: 9px 13px; border-radius: 999px; font-weight: 560; font-size: .97rem; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface-3); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
@media (max-width: 860px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 13px 14px; font-size: 1.05rem; }
  .js .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }
.btn--soon { background: var(--surface-2); color: var(--text); border-color: var(--line); box-shadow: none; cursor: default; }
.btn--soon:hover { transform: none; background: var(--surface-2); color: var(--text); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--step--1); }
.badge--warn { background: var(--warn-soft); color: var(--warn-text); }

/* icons */
.ico { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, var(--surface-3), var(--surface-2)); color: var(--primary); margin-bottom: 18px; border: 1px solid var(--line); }
.ico-tile .ico { width: 28px; height: 28px; }

/* hero */
.hero { padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1.05fr .95fr; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: var(--step--1); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-stage::before { content: ""; position: absolute; width: min(78%, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--grad-brand); opacity: .14; filter: blur(8px); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-m); padding: 10px 14px; font-weight: 600; font-size: .92rem; max-width: 220px; z-index: 3; }
.float-card .ico { color: var(--accent); }
.float-card--a { left: -2%; top: 14%; animation: bob 7s ease-in-out infinite; }
.float-card--b { right: -2%; top: 44%; animation: bob 8s ease-in-out -2s infinite; }
.float-card--c { left: 2%; bottom: 10%; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* phone mock-up (drawn in CSS) */
.phone { --pw: 290px; width: var(--pw); flex: none; border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .034); background: linear-gradient(150deg, #3a4a5c 0%, #101b27 55%, #263545 100%); box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgba(255, 255, 255, .14); position: relative; }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--pw) * .052); width: calc(var(--pw) * .028); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #05090d; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08); z-index: 3; }
.phone-screen { position: relative; overflow: hidden; border-radius: calc(var(--pw) * .118); aspect-ratio: 7 / 15; background: #fff; }
.phone-screen { background: #f7f8fc; }
.phone-screen img { position: absolute; inset: calc(var(--pw) * .06) 0 0 0; width: 100%; height: calc(100% - var(--pw) * .06); object-fit: cover; object-position: top; }
.phone--hero { --pw: min(310px, 72vw); }
.phone--sm { --pw: 230px; }
.phone-screen .slide { opacity: 0; transition: opacity .7s ease, transform .9s ease; transform: scale(1.03); }
.phone-screen .slide.is-active { opacity: 1; transform: none; }
.phone-screen .slide:first-child { opacity: 1; transform: none; }
.js .phone-screen .slide:first-child:not(.is-active) { opacity: 0; transform: scale(1.03); }
.slide-label { margin-top: 18px; text-align: center; font-weight: 650; min-height: 1.7em; color: var(--muted); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .3s ease, background .3s ease; }
.dots span.is-active { width: 26px; border-radius: 6px; background: var(--primary); }
.hero-phone-wrap { position: relative; z-index: 2; }

/* logos / who strip */
.who { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow-s); }
.chip .ico { color: var(--primary); width: 1.25em; height: 1.25em; }

/* cards and grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.grid + p { margin-top: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-s); }
.card--dark { background: var(--grad-brand); color: #eaf5fd; border-color: transparent; }
.card--dark h3, .card--dark strong { color: #fff; }
.card--dark .muted { color: #bcd6e8; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature-media { order: -1; }
.feature-media { display: grid; place-items: center; }
.feature-media .phone { --pw: min(250px, 66vw); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8f7a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* carousel */
.carousel-wrap { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.carousel { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 28px; scrollbar-width: thin; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.carousel figure { margin: 0; scroll-snap-align: center; flex: none; display: flex; flex-direction: column; align-items: center; width: 250px; }
.carousel figcaption { margin-top: 18px; text-align: center; font-size: .97rem; color: var(--muted); max-width: 230px; }
.carousel figcaption strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 2px; }
.carousel .phone { --pw: 230px; }
.carousel-ctl { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-s); }
.round-btn:hover { background: var(--surface-2); }
.round-btn .ico { width: 22px; height: 22px; }
.no-js-hide { display: none; }
.js .no-js-hide { display: flex; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 28px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: var(--step-3); letter-spacing: -.03em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; display: block; margin-top: 6px; }

/* band (dark) */
.band { background: var(--grad-brand); color: #e9f4fc; border-radius: clamp(20px, 4vw, 40px); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: auto -10% -45% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(120, 200, 255, .30), transparent 65%); pointer-events: none; }
.band h2, .band h3 { color: #fff; }
.band .lead, .band p { color: #cfe4f3; }
.band .eyebrow { color: #8fe3d0; }
.band .eyebrow::before { background: #8fe3d0; }
.band .btn { background: #fff; color: #0e3d5c; box-shadow: none; }
.band .btn:hover { background: #e6f2fb; color: #0e3d5c; }
.band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.band .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.band .ticks li::before { background-color: rgba(143, 227, 208, .2); }

/* sealed data diagram */
.sealed { display: grid; gap: 14px; }
.sealed-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); }
.sealed-row .ico { color: #8fe3d0; width: 28px; height: 28px; }
.sealed-row small { display: block; color: #bcd6e8; }
.sealed-row code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; color: #ffe6a8; word-break: break-all; }
.sealed-arrow { text-align: center; color: #8fe3d0; font-size: 1.3rem; line-height: 1; }

/* pricing */
.price-card { max-width: 520px; margin-inline: auto; text-align: center; padding: clamp(28px, 5vw, 44px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-m); position: relative; }
.price { font-size: clamp(2.8rem, 2rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .ticks { text-align: left; max-width: 360px; margin: 24px auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--surface-2); font-size: .92rem; }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r-m); }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 4px 22px; box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding-bottom: 14px; color: var(--muted); }

/* callouts */
.note { padding: 16px 20px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); border-left: 5px solid var(--primary); }
.note--soon { border-left-color: var(--focus); background: var(--warn-soft); color: var(--warn-text); }
.note p:last-child { margin: 0; }
.note { margin-block: 28px; }
.table-wrap + p { margin-top: 20px; }
.note + .card { margin-top: 24px; }

/* cta */
.cta { text-align: center; }
.cta .band { text-align: center; }
.cta .btn-row { justify-content: center; }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(16px, 3vw, 32px); }
.page-hero h1 { font-size: var(--step-4); max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }

/* prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); }
.updated { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.toc { padding: 18px 22px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); margin: 24px 0; columns: 2; column-gap: 28px; font-size: .95rem; }
.toc a { display: block; padding: 3px 0; }
.legal-tight li { margin-bottom: .5em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 56px 36px; margin-top: 40px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.foot-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--primary); text-decoration: underline; }
.foot-blurb { max-width: 26em; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }

/* scroll reveal: content is visible without JavaScript */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* animated icons: tiny, calm motions that start when the icon scrolls into view */
.js .ico-tile.is-in .ico * { stroke-dasharray: 80; animation: draw 1.2s ease forwards; }
@keyframes draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
.js .ico-tile.is-in .ico--call { animation: ring 2.4s ease-in-out 1.2s 2; transform-origin: 50% 60%; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 8%, 24% { transform: rotate(-12deg); } 16%, 32% { transform: rotate(12deg); } 40% { transform: rotate(0); } }
.js .ico-tile.is-in .ico--pin { animation: drop 1.4s ease 1.2s 1; }
@keyframes drop { 0% { transform: translateY(-6px); } 50% { transform: translateY(1px); } 100% { transform: none; } }
.js .ico-tile.is-in .ico--shield { animation: pulse 2.6s ease-in-out 1.2s 2; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.card:hover .ico--bin { animation: ring 1s ease-in-out 1; }

.error-code { font-size: clamp(5rem, 3rem + 14vw, 11rem); font-weight: 850; letter-spacing: -.06em; line-height: 1; }

@media (max-width: 980px) {
  .hero-grid, .band-grid, .feature { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; padding-top: 12px; }
  .feature--flip .feature-media { order: 0; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .card, .step { padding: 22px; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .phone-screen .slide:first-child:not(.is-active) { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .skip, .menu-btn { display: none; }
  body { background: #fff; color: #000; }
  .section { padding-block: 16px; }
}
/* real app screens: pairs and trios of phones, a compact picture, a picture strip, the example note (the pictures are made by MarketingScreensTest) */
.feature-media--pair, .feature-media--trio { display: flex; gap: clamp(10px, 2.2vw, 22px); justify-content: center; align-items: flex-start; }
.feature-media--pair .phone { --pw: min(205px, 42vw); }
.feature-media--pair .phone:nth-child(2) { margin-top: 34px; }
.feature-media--trio .phone { --pw: min(170px, 29vw); }
.feature-media--trio .phone:nth-child(2) { margin-top: 28px; }
.shot { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); max-width: 300px; background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.steps--pics .step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.steps--pics .step .phone { --pw: min(210px, 60vw); margin-top: 8px; }
.steps--pics .step h3, .steps--pics .step p { margin-bottom: 0; }
.example-note { font-size: .95rem; color: var(--muted); border-inline-start: 3px solid var(--accent); padding-inline-start: 14px; margin-top: 1.2em; max-width: 40em; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.more-grid figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.more-grid .phone { --pw: min(210px, 62vw); }
.more-grid figcaption { margin-top: 16px; color: var(--muted); font-size: .97rem; max-width: 15em; }
.more-grid figcaption strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 2px; }
.pair-wide { display: flex; justify-content: center; gap: clamp(10px, 4vw, 40px); }
.pair-wide .phone { --pw: min(230px, 44vw); }
@media (max-width: 980px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .feature-media--trio { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 24px; width: 100%; }
  .feature-media--trio .phone { --pw: 190px; flex: none; scroll-snap-align: center; }
  .feature-media--trio .phone:nth-child(2) { margin-top: 0; }
}
@media (max-width: 460px) {
  .more-grid { grid-template-columns: 1fr; }
  .pair-wide .phone { --pw: min(200px, 41vw); }
}
/* a feature whose picture is a row of three phones sits under its text, so the phones can be big enough to read */
.feature--wide { grid-template-columns: minmax(0, 1fr); }
.feature--wide > .reveal { max-width: 52em; }
.feature--wide .feature-media--trio .phone { --pw: min(250px, 29vw); }
.feature--wide .feature-media--trio .phone:nth-child(2) { margin-top: 36px; }
@media (max-width: 720px) {
  .feature--wide .feature-media--trio .phone { --pw: 190px; }
  .feature--wide .feature-media--trio .phone:nth-child(2) { margin-top: 0; }
}
.phone-screen img.app { inset: 0; height: 100%; }
