/* Asto — goasto.com — THE KEYNOTE, re-skinned in Asto teal. v2: the site of a software company (thesis, platform, modules, company).
   Black stage, one sentence per screen, one accent. Geist only. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2-variations'),
       url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-h: 120px;  /* single source of truth: .site-header height + .mobile-panel top */
  --stage: #000000;
  --white: #FFFFFF;
  --white-2: rgba(255,255,255,.64);
  --white-3: rgba(255,255,255,.56);
  --hairline: rgba(255,255,255,.12);

  /* the one accent: Asto teal. bright on black, sea teal on white */
  --teal: #4FC3B8;
  --teal-hover: #66CFC5;
  --teal-active: #3DB3A8;
  --teal-deep: #0F6F6A;
  --teal-deep-hover: #0C5F5B;
  --teal-night: #0A4E4A;
  --teal-tint: rgba(79,195,184,.16);

  /* white sections */
  --ink: #101B1A;
  --ink-2: #3D4E4C;
  --ink-3: #5F6E6C;
  --ground: #FFFFFF;
  --ground-2: #F1F4F3;
  --hairline-ink: rgba(16,27,26,.12);

  /* device */
  --device-body: #1C1C1E;
  --device-edge-lit: rgba(255,255,255,.22);
  --device-edge-dark: rgba(255,255,255,.06);
  --screen: #0A0A0A;
  --bubble-asto: #2C2C2E;

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }

::selection { background: var(--teal); color: var(--ink); }
.on-white ::selection { background: var(--teal-deep); color: var(--white); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #3A3A3C; border-radius: 6px; }
html { scrollbar-color: #3A3A3C #000; scrollbar-width: thin; }

body {
  margin: 0;
  background: var(--stage);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--teal);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
p, h1, h2, h3 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-white :focus-visible { outline-color: var(--teal-deep); }

.tab { font-variant-numeric: tabular-nums; }
.accent { color: var(--teal); }
.on-white .accent { color: var(--teal-deep); }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
a.vh:focus-visible {
  width: auto; height: auto;
  clip: auto;
  top: 12px; left: 12px;
  padding: 10px 14px;
  background: var(--teal);
  color: var(--ink);
  z-index: 1000;
}

/* ---------- layout ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.hairline-top { border-top: 1px solid var(--hairline); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(0,0,0,.92);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand-lockup { display: flex; align-items: center; gap: 22px; flex: none; }
.brand-lockup img.mark { height: 88px; width: auto; }
.brand-lockup img.wordmark { height: 72px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.primary-nav ul a {
  font-size: 15px;
  color: var(--white-2);
  padding: 6px 2px;
  position: relative;
}
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { color: var(--white); }
.primary-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--teal);
  transition: right .25s var(--ease);
}
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current="page"]::after { right: 0; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  transition: transform .2s var(--ease), background-color .2s ease, color .2s ease;
}
.btn-teal {
  background: var(--teal);
  color: var(--ink);
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
  flex: none;
}
.btn-teal:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn-teal:active { background: var(--teal-active); transform: translateY(0); }
.btn-teal.large { height: 52px; padding: 0 32px; font-size: 17px; }
.on-white .btn-teal { background: var(--teal-deep); color: var(--white); }
.on-white .btn-teal:hover { background: var(--teal-deep-hover); }
.on-white .btn-teal:active { background: var(--teal-night); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: var(--teal); gap: 12px; }
.link-arrow svg { transition: transform .2s var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(3px); color: var(--teal); }
.on-white .link-arrow { color: var(--ink); border-bottom-color: rgba(16,27,26,.28); }
.on-white .link-arrow:hover { border-color: var(--teal-deep); }
.on-white .link-arrow:hover svg { color: var(--teal-deep); }

/* mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-right: -8px;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

.mobile-panel {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: #000;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.mobile-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-panel ul a {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--white);
}
.mobile-panel ul a[aria-current="page"] { color: var(--teal); }
.mobile-panel .btn-teal { margin-top: 28px; width: 100%; height: 56px; font-size: 17px; }

/* ---------- type scale ---------- */
.statement {          /* hero */
  font-size: 120px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.sentence {           /* one slide, one sentence */
  font-size: 88px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  text-wrap: balance;
}
.sentence-md {        /* two-column beats */
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.line {               /* terms / credibility */
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.lead {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white-2);
  max-width: 38ch;
}
.on-white .lead { color: var(--ink-2); }
.sub {
  font-size: 20px;
  line-height: 1.45;
  color: var(--white-2);
  max-width: 34ch;
}
.on-white .sub { color: var(--ink-2); }
.caption {
  font-size: 13px;
  color: var(--white-3);
}
.on-white .caption { color: var(--ink-3); }

/* ---------- THE REVEAL (first viewport) ---------- */
.reveal-stage { position: relative; height: 340vh; }
.reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.reveal-floor {
  position: absolute;
  left: 50%; bottom: -220px;
  transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%);
  opacity: var(--floor-o, .3);
  will-change: opacity;
  pointer-events: none;
}
.reveal-hero {
  position: absolute;
  left: 50%; top: 34%;
  transform: translate(-50%, -50%) translateY(var(--stmt-y, 0px)) scale(var(--stmt-s, 1));
  opacity: var(--stmt-o, 1);
  width: min(1180px, 92vw);
  text-align: center;
  z-index: 4;
  will-change: transform, opacity;
}
.reveal-hero .statement { margin-bottom: 28px; }
.reveal-hero .lead { margin: 0 auto 40px; }
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.hero-proof { margin-top: 32px; font-size: 17px; color: var(--white-2); }

.reveal-band-label {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 40vw);
  z-index: 3;
}
.reveal-band-sentence {
  font-size: 80px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  opacity: var(--band-o, 0);
  transform: translateY(calc(14px * (1 - var(--band-o, 0))));
  will-change: transform, opacity;
}
.reveal-band-sentence + .reveal-band-sentence { position: absolute; top: 0; left: 0; right: 0; }

.reveal-caption {
  position: absolute;
  left: 6%;
  bottom: 36px;
  z-index: 3;
  opacity: var(--cap-o, 0);
  max-width: min(560px, 40vw);
  will-change: opacity;
}
.reveal-phone-wrap {
  position: absolute;
  left: 50%;
  top: 71%;
  z-index: 2;
  transform:
    translate(-50%, -50%)
    translateX(var(--phone-x, 0px))
    translateY(var(--phone-y, 240px))
    perspective(1800px)
    rotateX(var(--phone-rx, 38deg))
    scale(var(--phone-s, .92));
  transform-style: preserve-3d;
  will-change: transform;
}
.phone {
  width: 420px;
  height: 860px;
  background: var(--device-body);
  border-radius: 54px;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--device-edge-dark), -1px 0 0 0 var(--device-edge-lit);
  padding: 14px;
}
.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 54px;
  background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 30%);
  pointer-events: none;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--screen);
  border-radius: 40px;
  overflow: hidden;
  transition: background-color .6s ease;
}
.phone-screen.is-lit { background: #101012; }
.screen-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  will-change: opacity;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #000;
  border-radius: 16px;
  z-index: 5;
}
.widget-header {
  padding: 56px 20px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-tint);
  flex: none;
}
.widget-header-text { display: flex; flex-direction: column; gap: 2px; }
.widget-header-text .biz { font-size: 15px; font-weight: 600; color: var(--white); }
.widget-header-text .who { font-size: 12px; color: var(--white-2); }
.widget-body {
  flex: 1;
  min-height: 0;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
}
.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 17px;
  line-height: 1.35;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js .reveal-stage .msg { opacity: 0; transform: translateY(16px); }
html.js .reveal-stage .msg.is-in { opacity: 1; transform: translateY(0); }
.msg-time { display: block; font-size: 11px; color: var(--white-3); margin-top: 5px; }
.msg.customer {
  align-self: flex-end;
  background: var(--teal-deep);
  color: var(--white);
  border-bottom-right-radius: 6px;
}
.msg.customer .msg-time { color: rgba(255,255,255,.86); text-align: right; }
.msg.asto {
  align-self: flex-start;
  background: var(--bubble-asto);
  color: var(--white);
  border-bottom-left-radius: 6px;
}
.lock-screen {
  position: absolute;
  inset: 0;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 110px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.lock-screen.is-in { pointer-events: auto; }
.lock-time { font-size: 64px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.lock-date { font-size: 15px; color: var(--white-2); margin-top: 8px; }
.lock-notification {
  margin-top: 46px;
  width: calc(100% - 32px);
  background: rgba(44,44,46,.92);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.lock-notification + .lock-notification { margin-top: 10px; }
.lock-notification .nmark { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.lock-notification .ntext { font-size: 13px; line-height: 1.4; color: var(--white); }
.lock-notification .ntitle { font-weight: 600; display: block; margin-bottom: 2px; }

/* ---------- slides ---------- */
.slide { position: relative; padding: 160px 40px; }

/* the call */
.slide-call .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  max-width: 1160px;
}
.call-copy { max-width: 520px; }
.call-copy .sentence { margin-bottom: 24px; }
.call-device { width: 360px; flex: none; }
.call-panel {
  background: var(--device-body);
  border-radius: 40px;
  padding: 44px 28px 32px;
  box-shadow: inset 0 0 0 1px var(--device-edge-dark), -1px 0 0 0 var(--device-edge-lit);
}
.call-caption {
  font-size: 17px;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 28px;
  min-height: 78px;
}
.waveform { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.waveform span { width: 5px; background: var(--teal); border-radius: 3px; display: block; }
.illus-label { font-size: 12px; color: var(--white-3); margin-top: 14px; }

/* ---------- HOW IT WORKS (D2 widget + D3 steps, white) ---------- */
.on-white { background: var(--ground); color: var(--ink); }
.how-section { padding: 160px 40px; }
.how-section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
}
.how-copy .sentence-md { margin-bottom: 40px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.how-step {
  position: relative;
  padding: 22px 0 22px 28px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-3);
  transition: color .4s ease;
  border-top: 1px solid var(--hairline-ink);
}
.how-step:last-child { border-bottom: 1px solid var(--hairline-ink); }
.how-step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: -1px;
  width: 2px;
  background: var(--teal-deep);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease);
}
.how-step.is-on, .how-step.is-done { color: var(--ink); }
.how-step.is-on::before, .how-step.is-done::before { transform: scaleY(1); }
.how-step small { display: block; font-size: 16px; color: var(--ink-3); margin-top: 4px; }
html:not(.js) .how-step, .how-steps.is-static .how-step { color: var(--ink); }
.how-cta { margin-top: 40px; }

/* the browser frame */
.browser {
  position: relative;
  background: var(--ground-2);
  border: 1px solid var(--hairline-ink);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -30px rgba(16,27,26,.35);
}
.browser-bar {
  height: 40px;
  background: var(--white);
  border-bottom: 1px solid var(--hairline-ink);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-ink); display: block; }
.browser-bar .url {
  margin-left: 12px;
  height: 24px;
  flex: 1;
  max-width: 320px;
  background: var(--ground-2);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.site-skeleton { position: absolute; inset: 40px 0 0; padding: 32px 36px; }
.site-skeleton i { display: block; background: rgba(16,27,26,.08); border-radius: 4px; height: 12px; margin-bottom: 12px; }
.site-skeleton i.h { height: 26px; width: 46%; margin-bottom: 20px; }
.site-skeleton i.w1 { width: 72%; } .site-skeleton i.w2 { width: 58%; } .site-skeleton i.w3 { width: 64%; margin-bottom: 34px; }
.site-skeleton .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.site-skeleton .grid i { height: 70px; margin: 0; }
.scan {
  position: absolute;
  left: 0; right: 0; top: 40px;
  height: 2px;
  background: var(--teal-deep);
  opacity: 0;
  pointer-events: none;
}
.scan.is-on { animation: scan 1.6s var(--ease) forwards; }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(100% + 380px)); } }
.site-skeleton.is-read i { background: rgba(15,111,106,.14); }
.site-skeleton i { transition: background-color .6s ease; }

.widget {
  position: absolute;
  right: 22px; bottom: 22px;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--hairline-ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(16,27,26,.4);
  display: flex;
  flex-direction: column;
}
.widget-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline-ink);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.widget-head .online-dot { background: var(--teal-deep); box-shadow: 0 0 0 3px rgba(15,111,106,.16); }
.widget-head small { margin-left: auto; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.widget-thread {
  padding: 14px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.bubble {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
html.js .bubble { opacity: 0; transform: translateY(8px); }
html.js .bubble.show { animation: bubble-in .38s var(--ease) forwards; }
@keyframes bubble-in { to { opacity: 1; transform: translateY(0); } }
.bubble-visitor { align-self: flex-end; background: var(--teal-deep); color: var(--white); border-bottom-right-radius: 4px; }
.bubble-agent { align-self: flex-start; background: var(--ground-2); color: var(--ink); border-bottom-left-radius: 4px; }
.typing {
  align-self: flex-start;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: var(--ground-2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.typing.show { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: .35; animation: typing-blink 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: .9; } }
.widget-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--hairline-ink);
  color: var(--ink-3);
  font-size: 13px;
}
.widget-input span { flex: 1; }
.widget-input .send { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-deep); display: grid; place-items: center; }
.widget-input .send svg { width: 12px; height: 12px; color: var(--white); }

.owner-text {
  position: absolute;
  left: 22px; bottom: 22px;
  width: 270px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 24px 48px -20px rgba(16,27,26,.5);
}
html.js .owner-text { opacity: 0; transform: translateY(10px); }
html.js .owner-text.show { animation: bubble-in .45s var(--ease) forwards; }
.owner-text svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 1px; }
.owner-text strong { display: block; color: var(--teal); font-weight: 600; margin-bottom: 2px; }
.how-caption { margin-top: 14px; }

/* ---------- products ---------- */
.product-panel {
  padding: 120px 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.product-panel.pro { padding: 160px 40px; }
.product-panel img.pwordmark { height: 64px; width: auto; }
.product-panel.pro img.pwordmark { height: 88px; }
.product-sentence {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 34ch;
  text-wrap: balance;
}
.product-panel.pro .product-sentence { font-size: 40px; max-width: 30ch; }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
}
.price-line .setup { font-size: 17px; font-weight: 500; color: var(--white-2); }
.price-caption { font-size: 14px; color: var(--white-3); }

/* ---------- THE SLIP (B2, recoloured, under the light) ---------- */
.slip-section { position: relative; padding: 160px 40px; overflow: hidden; }
.slip-section .floor {
  position: absolute;
  left: 68%; top: 50%;
  transform: translate(-50%, -40%);
  width: 1200px; height: 900px;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.slip-section .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 96px;
  align-items: center;
}
.slip-copy .sentence { margin-bottom: 24px; }
.slip-copy .sub { max-width: 30ch; }

.slip-stage { position: relative; padding: 18px 0 8px; }
.slip {
  position: relative;
  background: #F7FAF9;
  border-radius: 2px;
  color: var(--ink);
}
.slip-behind {
  position: absolute;
  inset: 26px -10px auto auto;
  width: 92%;
  height: 78%;
  transform: rotate(2deg);
  background: #CFE6E2;
  z-index: 1;
  border-radius: 2px;
}
.slip-behind .slip-headerbar { color: var(--teal-night); opacity: .5; padding: 20px 22px 0; border: 0; }
.slip-main {
  position: relative;
  z-index: 2;
  transform: rotate(-1.5deg);
  width: 100%;
  box-shadow: 0 30px 50px -22px rgba(0,0,0,.9);
}
.slip-perf { display: block; width: 100%; height: 14px; }
.slip-body { padding: 4px 26px 26px; }
.slip-headerbar {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--teal-night);
  padding: 10px 0 14px;
  border-bottom: 3px solid var(--teal-night);
  margin-bottom: 16px;
  position: relative;
}
.stamp-handled {
  position: absolute;
  top: -6px;
  right: -14px;
  width: 108px;
  transform: rotate(-8deg) scale(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}
.stamp-handled.landed { animation: stampLand 260ms cubic-bezier(.16,1,.3,1) forwards; }
@keyframes stampLand {
  0% { transform: rotate(-8deg) scale(1.35); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}
.stamp-handled svg { width: 100%; height: auto; overflow: visible; }
.stamp-handled rect { fill: none; stroke: var(--teal-deep); stroke-width: 3px; }
.stamp-handled text { fill: var(--teal-deep); font-family: var(--font); font-weight: 700; letter-spacing: 0.05em; }
.stamp-handled text:not(.stamp-sub) { font-size: 15px; }
.stamp-handled .stamp-sub { font-size: 10px; }

.slip-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 10px;
  margin-bottom: 18px;
}
.f {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid rgba(15,111,106,.4);
  padding-bottom: 3px;
  font-size: 15px;
  min-height: 24px;
}
.f .lbl { color: var(--teal-night); flex-shrink: 0; font-size: 13px; }
.f-to, .f-phone { grid-column: 1 / -1; }
.slip .val {
  font-weight: 500;
  color: var(--teal-deep);
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.slip-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 8px;
  margin-bottom: 18px;
  padding-top: 4px;
  border-top: 1px solid rgba(15,111,106,.4);
}
.chk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--teal-night);
}
.chk-row-asto { color: var(--teal-deep); }
.chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  flex-shrink: 0;
  border: 2px solid var(--teal-night);
  border-radius: 2px;
  background: rgba(255,255,255,.6);
}
.chk-row-asto .chk { border-color: var(--teal-deep); }
.chk svg { width: 11px; height: 11px; opacity: 0; transform: scale(0.4); }
.chk svg polyline { fill: none; stroke: var(--teal-night); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chk-row-asto .chk svg polyline { stroke: var(--teal-deep); }
.chk.ticked svg { animation: tickPop 240ms cubic-bezier(.16,1,.3,1) forwards; }
@keyframes tickPop {
  0% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}
.slip-message { margin-bottom: 16px; }
.slip-message-lbl { color: var(--teal-night); display: block; margin-bottom: 6px; font-size: 13px; }
.slip-message-text {
  font-weight: 500;
  color: var(--teal-deep);
  font-size: 16px;
  line-height: 2.1;
  background-image: repeating-linear-gradient(to bottom, rgba(15,111,106,.4) 0, rgba(15,111,106,.4) 1px, transparent 1px, transparent 2.1em);
  background-position: 0 1.85em;
  min-height: 10.5em;
}
.slip-operator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,111,106,.4);
  font-size: 15px;
}
.slip-operator .lbl { color: var(--teal-night); font-size: 13px; }
.slip-operator .val { font-size: 16px; }
.operator-mark { margin-left: auto; width: 20px; height: 20px; }
.slip-caption { margin-top: 18px; text-align: center; max-width: 36ch; margin-left: auto; margin-right: auto; }
.val[data-typing]::after, .slip-message-text[data-typing]::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--teal-deep);
  vertical-align: -0.1em;
  animation: caretBlink 800ms steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* ---------- PRICING (D7 structure in F's system) ---------- */
.pricing-section { padding: 160px 40px 96px; border-top: 1px solid var(--hairline); }
.pricing-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 96px; }
.pricing-head .sub { max-width: 40ch; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.price-col { padding: 0 64px; display: flex; flex-direction: column; }
.price-col + .price-col { border-left: 1px solid var(--hairline); }
.price-col img.pwordmark { height: 30px; width: auto; margin-bottom: 30px; }
.amount {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.amount small { font-size: 20px; font-weight: 500; color: var(--white-2); letter-spacing: -0.01em; }
.amount .plus { font-size: 28px; font-weight: 500; color: var(--white-2); }
.amount .setup { font-size: 28px; font-weight: 600; }
.price-note { margin-top: 14px; font-size: 15px; color: var(--teal); font-weight: 500; min-height: 22px; }
.price-note.quiet { color: var(--white-2); font-weight: 400; }
.amount-2 { margin-top: 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; color: var(--white); min-height: 34px; }
.amount-2 strong { font-weight: 600; }
.price-list { list-style: none; margin: 40px 0 0; padding: 0; }
.price-list li {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  font-size: 18px;
  line-height: 1.4;
  color: var(--white);
}
.price-list li:last-child { border-bottom: 1px solid var(--hairline); }
.price-fine { margin-top: 24px; font-size: 14px; line-height: 1.5; color: var(--white-3); }
.price-cta { margin-top: auto; padding-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.pricing-terms {
  max-width: 1080px;
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}
.pricing-terms p { font-size: 22px; line-height: 1.4; max-width: 34ch; text-wrap: balance; }
.clock-row {
  max-width: 1080px;
  margin: 64px auto 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.clock-row img { height: 24px; width: auto; }
.clock-row p { font-size: 17px; color: var(--white-2); flex: 1; min-width: 200px; }
.clock-row p strong { color: var(--white); font-weight: 600; }

/* ---------- credibility / close / footer ---------- */
.credibility-slide {
  padding: 96px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.credibility-slide img { height: 80px; width: auto; }
.credibility-slide .line { max-width: 26ch; }
.credibility-slide .link-arrow { margin-top: -8px; }

.close-slide {
  padding: 96px 40px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 44px;
}
.close-ctas { display: flex; align-items: center; gap: 32px; }

.site-footer { padding: 64px 40px 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 15px; color: var(--white-2); }
.footer-col a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-brand img { height: 18px; width: auto; }
.footer-bottom {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--white-3);
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--white-3); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- sub-pages ---------- */
.page-hero {
  padding: 140px 40px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.page-hero .pwordmark { height: 40px; width: auto; }
.page-hero .statement { font-size: 96px; max-width: 14ch; }
.page-hero .lead { margin: 0 auto; }
.page-hero .hero-ctas { margin-top: 12px; }

.list-slide { padding: 140px 40px; border-top: 1px solid var(--hairline); }
.list-slide .wrap { max-width: 1080px; }
.list-slide .sentence { margin-bottom: 64px; }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
}
.fact-list li:last-child { border-bottom: 1px solid var(--hairline); }
.fact-list strong { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fact-list span { font-size: 19px; color: var(--white-2); line-height: 1.45; }
.fact-list .t { font-size: 26px; font-weight: 600; color: var(--teal); letter-spacing: -0.01em; }

.price-slide { padding: 140px 40px; border-top: 1px solid var(--hairline); }
.price-slide .wrap { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
.price-slide .sentence { margin-bottom: 24px; }

.memory-slide { padding: 140px 40px; border-top: 1px solid var(--hairline); }
.memory-slide .wrap { max-width: 1080px; }
.memory-slide .sentence { margin-bottom: 64px; }
.memory-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.memory-steps li { border-top: 1px solid var(--hairline); padding-top: 24px; }
.memory-steps .when { font-size: 20px; font-weight: 600; color: var(--teal); display: block; margin-bottom: 14px; }
.memory-steps p { font-size: 20px; line-height: 1.45; color: var(--white); }

.contact-slide { padding: 120px 40px 160px; }
.contact-slide .wrap { max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 24px 0; border-top: 1px solid var(--hairline); }
.contact-list li:last-child { border-bottom: 1px solid var(--hairline); }
.contact-list a, .contact-list span { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.contact-list a:hover { color: var(--teal); }
.contact-list small { display: block; font-size: 15px; color: var(--white-3); margin-bottom: 6px; }
.contact-ctas { list-style: none; margin: 0; padding: 0; }
.contact-ctas li { padding: 24px 0; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-ctas li:last-child { border-bottom: 1px solid var(--hairline); }
.contact-ctas li span { font-size: 20px; color: var(--white-2); }

/* legal documents on white */
.doc-section { padding: 120px 40px 160px; }
.doc { max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: 64px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 12px; }
.doc .updated { font-size: 15px; color: var(--ink-3); margin-bottom: 56px; }
.doc h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 56px 0 14px; }
.doc p, .doc li { font-size: 18px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--teal-deep); border-bottom: 1px solid rgba(15,111,106,.35); }
.doc a:hover { border-color: var(--teal-deep); }
.doc strong { color: var(--ink); font-weight: 600; }

.notfound { padding: 200px 40px 240px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.notfound-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-stage { height: auto; }
  .reveal-sticky {
    position: static;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
    padding: 120px 40px 160px;
  }
  .reveal-floor { display: none; }
  .reveal-hero { position: static; transform: none !important; opacity: 1 !important; width: min(1180px, 92vw); }
  .hero-proof { display: block; }
  .reveal-band-label {
    position: static; transform: none;
    width: min(640px, 88vw);
    display: flex; flex-direction: column; gap: 28px; text-align: center;
  }
  .reveal-band-sentence { position: static !important; opacity: 1 !important; transform: none !important; font-size: 40px; }
  .reveal-phone-wrap { position: static; transform: none !important; }
  /* static flow: the phone grows to fit the whole conversation (a %-height screen
     inside an auto-height phone would collapse to 0) */
  .phone { height: auto; }
  .phone-screen { height: auto; background: #101012 !important; }
  .screen-content { position: static; }
  .widget-body { overflow: visible; flex: none; padding-bottom: 32px; }
  html.js .reveal-stage .msg { opacity: 1 !important; transform: none !important; }
  .lock-screen, .reveal-caption { display: none; }
  html.js .bubble, html.js .owner-text { animation: none !important; opacity: 1 !important; transform: none !important; }
  .typing { display: none !important; }
  .how-step { color: var(--ink); }
  .how-step::before { transform: scaleY(1); transition: none; }
  .scan { display: none; }
  .chk svg, .stamp-handled { transition: none !important; animation: none !important; }
  .stamp-handled { transform: rotate(-8deg) scale(1); opacity: 1; }
  .chk.ticked svg { opacity: 1; transform: scale(1); }
  .btn, .link-arrow, .link-arrow svg, .primary-nav ul a::after { transition: none; }
}

/* ---------- v2: company-site sections ---------- */
/* the thesis, one sentence centred on the stage */
.thesis-slide {
  padding: 160px 40px 140px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.thesis-slide .sentence { max-width: 17ch; }
.thesis-slide .sub { max-width: 44ch; }

/* the platform: sentence, sub, hairline facts */
.platform-section { padding: 140px 40px 160px; border-top: 1px solid var(--hairline); }
.platform-section .wrap { max-width: 1080px; }
.platform-section .sentence { margin-bottom: 24px; }
.platform-section .sub { margin-bottom: 64px; }

/* products: a head like pricing's, then the panels; the kind line says what each one is */
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 140px 40px 40px; border-top: 1px solid var(--hairline); }
.section-head .sentence { max-width: 20ch; }
.section-head .sub { max-width: 40ch; }
.product-panel .kind { font-size: 17px; color: var(--white-2); margin-top: -8px; }
.product-panel.pro .kind { font-size: 19px; }
.product-panel .pname {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.product-panel.next { padding: 72px 40px 88px; }
.product-panel.next .kind { color: var(--teal); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.product-panel.next .pname { font-size: 40px; }
.product-panel.next .product-sentence { font-size: 24px; color: var(--white-2); max-width: 40ch; }
.pname-sm { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.clock-row.booking-row { border-top: none; margin-top: 0; }
.footer-col .soon { font-size: 12px; color: var(--white-3); margin-left: 4px; }

/* sub-page "part of the platform" line under the wordmark */
.page-hero .part { font-size: 17px; color: var(--white-2); margin-top: -8px; }

/* company page prose */
.prose-slide { padding: 120px 40px; border-top: 1px solid var(--hairline); }
.prose-slide.short { padding: 96px 40px; }
.prose-slide .wrap { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.prose p { font-size: 24px; line-height: 1.4; color: var(--white); max-width: 52ch; text-wrap: pretty; }
.prose p + p { margin-top: 28px; }
.prose em { font-style: italic; }
.status-list span b { color: var(--teal); font-weight: 600; }
.contact-slide .sentence + .sub { max-width: 30ch; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .reveal-band-label { width: min(480px, 38vw); }
  .reveal-band-sentence { font-size: 64px; }
  .how-section .wrap { grid-template-columns: 1fr; gap: 56px; }
  .how-copy { max-width: 640px; }
  .browser { aspect-ratio: 16 / 10; }
  .slip-section .wrap { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
  .price-col { padding: 0 40px; }
}

@media (max-width: 980px) {
  .primary-nav ul { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .primary-nav > .btn-teal { display: none; }

  .statement { font-size: 56px; }
  .lead { font-size: 19px; }
  .hero-ctas { flex-direction: column; gap: 20px; }

  .reveal-stage { height: 420vh; }
  .reveal-hero { top: 36%; width: 92vw; }
  .hero-proof { display: none; }
  .reveal-band-label {
    left: 50%; right: auto;
    top: 15%; width: 88vw;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .reveal-band-sentence { font-size: 44px; letter-spacing: -0.03em; line-height: 1.05; }
  .reveal-phone-wrap { top: 64%; }
  .reveal-caption { left: 50%; transform: translateX(-50%); top: calc(15% + 52px); bottom: auto; max-width: 92vw; white-space: nowrap; font-size: 12px; text-align: center; }
  .phone { width: 78vw; max-width: 320px; height: calc(78vw * 2.05); max-height: 656px; }
  .slip-headerbar { padding-right: 104px; }
  .stamp-handled { top: -4px; right: -6px; width: 96px; }
  .reveal-sticky { padding-left: 24px; padding-right: 24px; }

  .slide { padding: 96px 24px; }
  .sentence { font-size: 44px; }
  .sentence-md { font-size: 36px; }
  .line { font-size: 30px; }
  .slide-call .wrap { flex-direction: column; gap: 48px; }
  .call-device { width: 100%; max-width: 320px; }

  .how-section { padding: 96px 24px 72px; }
  .how-section .wrap { grid-template-columns: 1fr; gap: 48px; }
  .how-step { font-size: 19px; padding: 18px 0 18px 22px; }
  .lock-time { font-size: 52px; }
  .lock-screen { padding-top: 90px; }

  .product-panel { padding: 80px 24px; }
  .product-panel.pro { padding: 96px 24px; }
  .product-panel img.pwordmark { height: 40px; max-width: 84vw; }
  .product-panel.pro img.pwordmark { height: 48px; max-width: 84vw; }
  .product-sentence { font-size: 24px; }
  .product-panel.pro .product-sentence { font-size: 28px; }

  .slip-section { padding: 96px 24px; }
  .slip-section .wrap { grid-template-columns: 1fr; gap: 48px; }
  .slip-stage { max-width: 480px; margin: 0 auto; width: 100%; }
  .slip-fields { grid-template-columns: 1fr; }
  .f-to, .f-phone { grid-column: auto; }
  .slip-body { padding: 4px 18px 20px; }

  .pricing-section { padding: 96px 24px; }
  .pricing-head { margin-bottom: 64px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 72px; }
  .price-col { padding: 0; }
  .price-col + .price-col { border-left: none; border-top: 1px solid var(--hairline); padding-top: 64px; }
  .amount { font-size: 48px; }
  .pricing-terms { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
  .pricing-terms p { font-size: 20px; }
  .clock-row { margin-top: 48px; }

  .credibility-slide { padding: 80px 24px; }
  .thesis-slide { padding: 96px 24px; }
  .platform-section { padding: 96px 24px; }
  .platform-section .sub { margin-bottom: 40px; }
  .section-head { padding: 96px 24px 24px; }
  .product-panel .pname { font-size: 40px; }
  .product-panel .kind, .product-panel.pro .kind { font-size: 16px; }
  .prose-slide { padding: 88px 24px; }
  .prose-slide .wrap { grid-template-columns: 1fr; gap: 32px; }
  .prose p { font-size: 19px; }
  .close-slide { padding: 80px 24px 120px; }
  .close-ctas { flex-direction: column; gap: 20px; }

  .site-footer { padding: 56px 24px 40px; }
  .site-footer .wrap { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  .page-hero { padding: 96px 24px 80px; }
  .page-hero .statement { font-size: 48px; }
  .page-hero .pwordmark { height: 30px; }
  .list-slide, .price-slide, .memory-slide { padding: 88px 24px; }
  .list-slide .sentence, .memory-slide .sentence { margin-bottom: 40px; }
  .fact-list li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .fact-list strong, .fact-list .t { font-size: 22px; }
  .fact-list span { font-size: 17px; }
  .price-slide .wrap { grid-template-columns: 1fr; gap: 48px; }
  .memory-steps { grid-template-columns: 1fr; gap: 32px; }
  .contact-slide { padding: 80px 24px 120px; }
  .contact-slide .wrap { grid-template-columns: 1fr; gap: 56px; }
  .contact-list a, .contact-list span { font-size: 24px; }
  .doc-section { padding: 80px 24px 120px; }
  .doc h1 { font-size: 40px; }
  .doc h2 { font-size: 24px; margin-top: 40px; }
  .doc p, .doc li { font-size: 17px; }
  .notfound { padding: 140px 24px 160px; }
  .wrap { padding: 0 24px; }
}

@media (max-width: 640px) {
  /* logo steps down with the header; --header-h keeps the mobile panel glued to it */
  :root { --header-h: 80px; }
  .brand-lockup img.mark { height: 52px; }
  .brand-lockup { gap: 14px; }
  .brand-lockup img.wordmark { height: 42px; }
  /* phones: the browser frame becomes a column — site sliver, widget, owner's text — nothing overlaps */
  .browser { aspect-ratio: auto; height: auto; display: flex; flex-direction: column; }
  .site-skeleton { position: relative; inset: auto; height: 124px; overflow: hidden; padding: 20px 20px 0; flex: none; }
  .site-skeleton .grid { display: none; }
  .widget { position: relative; right: auto; bottom: auto; width: auto; margin: 0 12px 12px; }
  .owner-text { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: 0 12px 12px; }
}

@media (max-width: 420px) {
  .statement { font-size: 50px; }
  .reveal-band-sentence { font-size: 40px; }
  .widget-head small { display: none; }
  .amount { font-size: 44px; }
}

/* header pill specificity (nav a rules must not restyle the pill) */
.primary-nav a.btn-teal { padding: 0 20px; color: var(--ink); }
.mobile-panel a.btn-teal { display: flex; justify-content: center; padding: 0 20px; color: var(--ink); border-bottom: none; }

/* single-cell fact rows */
.fact-list li.one { grid-template-columns: 1fr; }
.fact-list li.one strong { max-width: 30ch; }

/* reduced motion on small screens: the responsive phone height above must not re-fix it */
@media (prefers-reduced-motion: reduce) and (max-width: 980px) {
  .phone { height: auto; max-height: none; }
}

/* custom builds section (#custom on home): services line under the module family.
   Scoped to #custom only -- .sub/.fact-list/.btn come from the shared rules above. */
#custom .sentence { margin-bottom: 28px; }
#custom .custom-sub { max-width: 62ch; margin-bottom: 56px; }
#custom .custom-cta { display: flex; align-items: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
@media (max-width: 720px) {
  #custom .custom-sub { margin-bottom: 40px; }
  #custom .custom-cta { gap: 20px; }
}

/* ---------- /instagram-replies/ (part of Asto Pro): the comment + DM illustration ----------
   Scoped to .ig-* and #ig-how; the steps reuse .how-steps, the handoff card reuses .owner-text. */
.page-hero .ig-statement { max-width: 15ch; }
#ig-how .how-figure { margin: 0; }
.ig-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.ig-card {
  background: var(--white);
  border: 1px solid var(--hairline-ink);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px -26px rgba(16,27,26,.4);
}
.ig-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline-ink);
  font-size: 13px;
  line-height: 1.25;
}
.ig-card-head strong { display: block; font-weight: 600; color: var(--ink); }
.ig-card-head small { display: block; font-size: 12px; color: var(--ink-3); }
.ig-avatar {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px rgba(15,111,106,.4);
}
.ig-post {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(79,195,184,.55), transparent 60%),
    linear-gradient(160deg, #1B3A37 0%, #0A4E4A 55%, #101B1A 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.ig-comments { list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.ig-comments strong { font-weight: 600; margin-right: 4px; }
.ig-reply { margin-left: 18px; padding-left: 12px; border-left: 1px solid var(--hairline-ink); }
.ig-reply small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--teal-deep); }
.ig-dm { padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; }
.ig-in, .ig-out { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.ig-in { align-self: flex-start; background: var(--ground-2); color: var(--ink); border-bottom-left-radius: 4px; }
.ig-out { align-self: flex-end; background: var(--teal-deep); color: var(--white); border-bottom-right-radius: 4px; }
.ig-board .ig-owner { position: relative; left: auto; bottom: auto; width: auto; grid-column: 1 / -1; }
html.js .ig-line { opacity: 0; transform: translateY(8px); }
html.js .ig-line.show { animation: bubble-in .4s var(--ease) forwards; }
.fact-list span a { color: var(--teal); border-bottom: 1px solid rgba(79,195,184,.4); }
.fact-list span a:hover { border-color: var(--teal); }
.close-ctas .link-arrow { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html.js .ig-line { animation: none !important; opacity: 1 !important; transform: none !important; }
}
.page-hero .ig-part { text-wrap: balance; }
@media (max-width: 640px) {
  .ig-board { grid-template-columns: 1fr; gap: 12px; }
  .ig-in, .ig-out { max-width: 90%; }
  .ig-reply { margin-left: 8px; }
}

/* home: the Asto Pro panel points to its Instagram replies page */
.product-panel .also { font-size: 17px; color: var(--white-2); max-width: 44ch; }
.product-panel .panel-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; }

/* ---------- one family in every menu (Ben msg:2860; the seat's answer, Oct 18) ----------
   Header: Products opens a panel listing all seven, each the same size, in the home page's order.
   Phone menu: the same seven as tiles. Footer: the same seven, then the company links. */
.primary-nav > ul { align-items: center; }
.primary-nav > ul > li { display: flex; align-items: center; }
.nav-prod { position: relative; }
.nav-prod-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 15px; line-height: 1.5; color: var(--white-2);
  background: none; border: 0; padding: 6px 2px; margin: 0; cursor: pointer;
}
.nav-prod-btn svg { width: 10px; height: 10px; flex: none; transition: transform .25s var(--ease); }
.nav-prod-btn:hover, .nav-prod[data-open="true"] .nav-prod-btn, .nav-prod-btn[aria-current="true"] { color: var(--white); }
.nav-prod[data-open="true"] .nav-prod-btn svg { transform: rotate(180deg); }
.nav-prod-menu {
  position: absolute; z-index: 101;
  top: calc(100% + 30px); left: 50%;
  width: 600px; margin-left: -300px;
  padding: 10px;
  background: #0B2726;
  border: 1px solid rgba(79,195,184,.2);
  border-radius: 22px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-prod-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -32px; height: 32px; } /* keeps hover alive across the gap */
.nav-prod[data-open="true"] .nav-prod-menu,
.no-js .nav-prod:focus-within .nav-prod-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .nav-prod:hover .nav-prod-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-prod:hover .nav-prod-btn { color: var(--white); }
}
.primary-nav .np-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav .np-list a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 15px 18px 16px; border-radius: 14px;
  font-size: 15px; color: var(--white);
  transition: background-color .15s ease;
}
.primary-nav .np-list a::after { content: none; }
.primary-nav .np-list a:hover, .primary-nav .np-list a:focus-visible { background: rgba(79,195,184,.1); color: var(--white); }
.np-name { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.np-job { font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.6); }
.np-ai { font-size: 10px; font-weight: 600; letter-spacing: .08em; line-height: 1; color: var(--teal); border: 1px solid rgba(79,195,184,.45); border-radius: 999px; padding: 3px 6px 2px; }
.primary-nav .np-list a[aria-current="page"] .np-name, .mobile-panel .mp-prods a[aria-current="page"] .np-name { color: var(--teal); }
.primary-nav .np-list .np-all a { justify-content: center; color: var(--teal); }
.np-all .np-name { gap: 10px; font-weight: 500; }
.np-all svg { width: 15px; height: 15px; flex: none; transition: transform .2s var(--ease); }
.np-all a:hover svg { transform: translateX(3px); }

.mobile-panel { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 24px; padding-bottom: 40px; }
.mp-label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white-3); }
.mobile-panel .mp-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.mobile-panel .mp-prods a {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%;
  padding: 13px 14px 14px; border: 1px solid rgba(79,195,184,.18); border-radius: 16px;
  background: #0B2726; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--white);
}
.mobile-panel .mp-prods .np-job { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.mobile-panel .mp-prods .np-all a { background: transparent; border-style: dashed; color: var(--teal); }
.mobile-panel .mp-prods .np-all .np-name { font-size: 15px; }
.mobile-panel .mp-links a { font-size: 24px; padding: 13px 0; }
.mobile-panel .btn-teal { flex: none; margin-top: 24px; }

.footer-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white-3); }
.footer-col a[aria-current="page"] { color: var(--white); }
@media (max-width: 640px) {
  .site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer .wrap > .footer-col:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-prod-menu, .nav-prod-btn svg, .np-all svg { transition: none; }
}
