/* ==========================================================================
   DocPoc marketing site
   Monochrome system, one accent (the product's own primary #5750F1),
   near-black pill CTAs, atmospheric sky only in the hero and pricing panel.
   ========================================================================== */

:root {
  /* Neutrals */
  --ink: #0b0b14;
  --text: #16161f;
  --muted: #5f6070;
  --slate: #8b8c99;
  --line: #e9e9f0;
  --line-2: #d8d8e2;
  --cloud: #f5f5f7;
  --cloud-2: #efeff3;
  --paper: #ffffff;

  /* Accent: DocPoc product primary */
  --accent: #5750f1;
  --accent-ink: #4038d6;
  --accent-soft: #efeefe;
  --accent-tint: #dedcfc;

  /* Functional (product mockups only) */
  --ok: #1d9a55;
  --ok-soft: #e7f6ee;
  --warn: #b7791f;
  --warn-soft: #fdf4e3;

  /* Sky */
  --sky: linear-gradient(180deg, #666dc0 0%, #8a91d6 38%, #b3b9ea 70%, #dfe2f7 100%);
  --sky-soft: linear-gradient(180deg, #7a80cb 0%, #a1a7e2 55%, #d3d7f4 100%);

  /* Type */
  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 100px;

  /* Elevation */
  --sh-btn: 0 1px 2px rgba(20, 20, 40, .14), 0 3px 3px rgba(20, 20, 40, .09), 0 6px 4px rgba(20, 20, 40, .05), 0 11px 4px rgba(20, 20, 40, .01);
  --sh-card: 0 17px 37px rgba(34, 30, 120, .04), 0 67px 67px rgba(34, 30, 120, .03), 0 150px 90px rgba(34, 30, 120, .02);
  --sh-float: 0 1px 1px rgba(40, 36, 150, .06), 0 4px 10px rgba(40, 36, 150, .07), 0 18px 40px rgba(40, 36, 150, .10);
  --sh-ui: 0 0 0 1px rgba(20, 20, 50, .05), 0 1px 2px rgba(20, 20, 50, .05), 0 8px 24px rgba(40, 36, 150, .06);
  --sh-accent: 0 1px 1px rgba(87, 80, 241, .10), 0 3px 3px rgba(87, 80, 241, .08);

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(84px, 11vw, 136px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; stroke-width: 2; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
main { overflow-x: clip; }

/* ---------- Type ---------- */
.display {
  font-weight: 700;
  font-size: clamp(44px, 8.2vw, 88px);
  line-height: .94;
  letter-spacing: -0.045em;
}
.h2 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: var(--ink);
}
.h3 {
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h4 { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--muted); }
.body { color: var(--muted); line-height: 1.55; }
.small { font-size: 14px; line-height: 1.45; }
.muted { color: var(--muted); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* Inline brand chip inside headings (like an emoji, but ours) */
.inline-mark {
  display: inline-grid;
  place-items: center;
  width: .92em; height: .92em;
  vertical-align: -0.1em;
  margin: 0 .06em;
  border-radius: .24em;
  background: var(--paper);
  box-shadow: var(--sh-float);
  transform: rotate(-6deg);
  transition: transform .5s var(--ease-out);
}
.inline-mark img { width: 62%; height: auto; }
.inline-mark:hover { transform: rotate(6deg) scale(1.08); }

/* ---------- Buttons & chips ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h);
  padding: 0 22px;
  border-radius: var(--pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-btn); }
.btn-dark:hover { background: #22222e; }
.btn-dark .icon { transition: transform .25s var(--ease); }
.btn-dark:hover .icon { transform: translateX(3px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--slate); background: rgba(255, 255, 255, .6); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--sh-btn); }
.btn-white:hover { background: #f4f4fb; }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px 0 11px;
  border-radius: var(--pill);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 20, 40, .04);
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.tag .icon { color: var(--accent); width: 17px; height: 17px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--pill);
  font-size: 14px; font-weight: 500;
}
.eyebrow-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); }

.link-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px 0 18px;
  border-radius: var(--pill);
  background: var(--paper);
  font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: var(--sh-ui);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.link-pill:hover { transform: translateY(-1px); box-shadow: var(--sh-float); }
.link-pill .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-pill:hover .icon { transform: translateX(2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 12px 12px auto 12px;
  z-index: 50;
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px;
  padding: 0 10px 0 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 30px rgba(40, 36, 120, .08);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled .nav-bar { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(20, 20, 50, .06), 0 10px 30px rgba(40, 36, 120, .08); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; color: #2a2a36;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: rgba(20, 20, 50, .05); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.nav-toggle:hover { background: rgba(20, 20, 50, .05); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav.is-open .nav-toggle .i-open { display: none; }
.nav.is-open .nav-toggle .i-close { display: block; }

.mobile-menu {
  pointer-events: auto;
  display: none;
  max-width: 1240px; margin: 8px auto 0;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 20, 50, .06), 0 20px 50px rgba(40, 36, 120, .14);
  transform-origin: top center;
}
.mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; border-radius: 12px; font-weight: 500; font-size: 17px; color: var(--ink); }
.mobile-menu a:not(.btn):hover { background: var(--cloud); }
.mobile-menu a:not(.btn) .icon { color: var(--slate); width: 16px; height: 16px; }
.mobile-menu .mm-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 4px 4px; }
.nav.is-open .mobile-menu { display: block; animation: menuIn .35s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 420px) {
  .nav-cta .btn-dark { display: none; }
  .nav-logo img { height: 27px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 8px;
  border-radius: var(--r-xl);
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: clamp(132px, 17vw, 176px) var(--gutter) 0; }
.hero .eyebrow { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero h1 { margin: 22px auto 0; max-width: 900px; text-shadow: 0 2px 30px rgba(50, 40, 140, .18); }
.hero h1 .line { display: block; }
.hero-sub { margin: 22px auto 0; max-width: 560px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .92); font-weight: 500; text-shadow: 0 1px 12px rgba(50, 40, 140, .25); }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-ctas { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .85); display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 14px; height: 14px; stroke-width: 2.2; }

/* stars + clouds */
.sky-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sky-stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  opacity: .0; animation: twinkle var(--d, 5s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: var(--o, .8); transform: scale(1); } }
.cloud {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0));
  filter: blur(6px);
  animation: drift var(--t, 60s) linear infinite alternate;
}
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

/* Hero stage: handwritten → digital */
.stage {
  position: relative; z-index: 2;
  width: min(940px, 100%);
  height: clamp(340px, 40vw, 440px);
  margin: clamp(48px, 7vw, 72px) auto 0;
}
.tray-back {
  position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
  width: min(640px, 88%); height: 62%;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .25));
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.tray-front {
  position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  z-index: 4;
  width: min(700px, 94%); height: 34%;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6fd 100%);
  box-shadow: 0 -12px 40px rgba(50, 40, 140, .16), inset 0 1px 0 #fff;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 22px;
}
.tray-front::before { /* folder notch */
  content: ""; position: absolute; top: -1px; left: 50%; width: 120px; height: 10px; transform: translateX(-50%);
  border-radius: 0 0 12px 12px; background: rgba(87, 80, 241, .08);
}
.convert-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: var(--pill);
  background: #fff; box-shadow: var(--sh-ui);
  font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.convert-pill .spark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.convert-pill .spark .icon { width: 15px; height: 15px; }
.convert-bar { width: 72px; height: 5px; border-radius: 4px; background: var(--accent-soft); overflow: hidden; }
.convert-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--accent); animation: convertBar 2.6s var(--ease) infinite; }
@keyframes convertBar { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(260%); } }

.doc {
  position: absolute; bottom: 0;
  width: clamp(250px, 31vw, 320px);
  min-height: 330px;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 1px 2px rgba(20, 20, 60, .06), 0 20px 50px rgba(40, 30, 130, .18);
  z-index: 3;
  transition: transform 1s var(--ease-out);
}
.doc-before { left: calc(50% - clamp(250px, 31vw, 320px) + 14px); transform: translateY(var(--lift, 0px)) rotate(-5deg); transform-origin: bottom right; }
.doc-after { left: calc(50% - 14px); transform: translateY(var(--lift, 0px)) rotate(4deg); transform-origin: bottom left; z-index: 3; }
.doc-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px 0 9px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(40, 30, 130, .10);
  font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.doc-tag .icon { width: 15px; height: 15px; color: var(--accent); }

/* Before: handwritten */
.rx-paper { position: absolute; }
.scan-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.rx-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #d9d4c5; padding-bottom: 8px; margin: 8px 0 10px; }
.rx-head b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9a927c; font-weight: 700; }
.rx-head span { font-size: 11px; color: #b0a88f; }
.hand { font-family: var(--hand); font-size: 21px; line-height: 1.22; color: #26306b; }
.hand p { white-space: nowrap; transform: rotate(-.6deg); }
.hand p:nth-child(2n) { transform: rotate(.5deg) translateX(3px); }
.hand .rx { font-size: 27px; font-weight: 700; margin-right: 4px; }
.hand .indent { padding-left: 30px; }
.hand .ul { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 64px;
  background: linear-gradient(180deg, rgba(87, 80, 241, 0) 0%, rgba(87, 80, 241, .10) 70%, rgba(87, 80, 241, .55) 100%);
  border-bottom: 2px solid rgba(87, 80, 241, .8);
  animation: scan 3.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes scan { 0% { transform: translateY(-70px); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(320px); opacity: 0; } }

/* After: structured record */
.rec-top { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
.rec-title { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--ink); }
.rec-saved { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ok); font-weight: 500; }
.rec-saved i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.rec-patient { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--cloud); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.rec-patient b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.rec-patient span { font-size: 12px; color: var(--muted); }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.vital { padding: 7px 8px; border-radius: 10px; border: 1px solid var(--line); }
.vital small { display: block; font-size: 10px; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.vital b { font-size: 13px; font-weight: 700; color: var(--ink); }
.rec-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); font-weight: 700; margin: 12px 0 6px; }
.med { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.med:first-of-type { border-top: 0; }
.med b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.med span { font-size: 11.5px; color: var(--muted); }
.slots { display: flex; gap: 3px; }
.slots i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700; background: var(--cloud); color: var(--slate); }
.slots i.on { background: var(--accent); color: #fff; }
.review { margin-top: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 500; }
.review .icon { width: 14px; height: 14px; }

/* reveal lines inside the "after" card */
.fill > * { opacity: 0; transform: translateY(6px); filter: blur(3px); }
.is-live .fill > * { animation: lineIn .6s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 140ms + 700ms); }
@keyframes lineIn { to { opacity: 1; transform: none; filter: none; } }

/* floating chips */
.float-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--sh-float);
  color: var(--ink); text-align: left;
  font-size: 13px; line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
.float-chip b { display: block; font-weight: 700; font-size: 13px; }
.float-chip span { color: var(--muted); font-size: 12px; }
.chip-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.chip-ico .icon { width: 17px; height: 17px; }
.chip-ico.ok { background: var(--ok-soft); color: var(--ok); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-1 { left: 0; top: 58%; }
.fc-2 { right: 0; top: 8%; --bd: -2s; }
.fc-3 { right: 0; top: 40%; --bd: -4s; }

.hero-enter { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: heroIn 1s var(--ease-out) forwards; animation-delay: var(--hd, 0ms); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }
.stage .doc, .stage .float-chip, .stage .tray-front, .stage .tray-back { animation-fill-mode: both; }
.stage-enter { opacity: 0; translate: 0 60px; animation: stageIn 1.2s var(--ease-out) forwards; animation-delay: var(--hd, 400ms); }
@keyframes stageIn { to { opacity: 1; translate: 0 0; } }

@media (max-width: 980px) {
  .fc-3 { display: none; }
  .fc-1 { left: -6px; top: 4%; }
  .fc-2 { right: -6px; top: 0; }
}
@media (max-width: 720px) {
  .float-chip { display: none; }
  .stage { height: 380px; margin-top: 44px; }
  .doc { width: 236px; min-height: 320px; padding: 16px; }
  .doc-before { left: calc(50% - 236px + 44px); }
  .doc-after { left: calc(50% - 44px); }
  .hand { font-size: 18px; }
  .hand .rx { font-size: 23px; }
  .tray-front { height: 30%; }
}
@media (max-width: 420px) {
  .doc { width: 214px; }
  .doc-before { left: calc(50% - 214px + 56px); }
  .doc-after { left: calc(50% - 56px); }
  .convert-pill { font-size: 12.5px; }
  .convert-bar { width: 48px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Product cards (big two-up) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.p-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 600px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--cloud);
  overflow: hidden;
}
.p-card > .tag { align-self: flex-start; }
.p-card .h3 { margin-top: 18px; max-width: 420px; }
.p-card .body { margin-top: 10px; max-width: 440px; }
.p-card-ui { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 0; }
.p-card-foot { display: flex; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .p-card { min-height: 0; }
}

/* Doku chat */
.chat {
  width: 100%; max-width: 440px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-ui);
  overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.doku-ava { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #6a63ff, #8e4fe0); color: #fff; display: grid; place-items: center; flex: none; }
.doku-ava .icon { width: 16px; height: 16px; }
.chat-head b { font-size: 14px; font-weight: 700; display: block; line-height: 1.2; }
.chat-head span { font-size: 12px; color: var(--muted); }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.msg-me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg-doku { align-self: flex-start; background: var(--cloud); color: var(--text); border-bottom-left-radius: 6px; }
.msg-doku b { font-weight: 700; color: var(--ink); }
.msg-src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.msg-src span { font-size: 11px; padding: 3px 8px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--muted); }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.chat-suggest span { font-size: 12px; padding: 6px 10px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--ink); background: #fff; display: inline-flex; align-items: center; gap: 5px; }
.chat-suggest .icon { width: 13px; height: 13px; color: var(--accent); }
.chat-input { margin: 0 12px 12px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--slate); }
.chat-input .ph { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chat-input .ph.typed { color: var(--ink); }
.chat-input .caret { display: inline-block; width: 1.5px; height: 16px; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.send { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.send .icon { width: 16px; height: 16px; }
.pop { animation: pop .5s var(--ease-out) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* Dictation */
.dictate { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 92px; padding: 14px 10px; border-radius: 14px;
  border: 1px dashed #c6c6d4; background: rgba(255, 255, 255, .6);
  font-size: 12.5px; font-weight: 500; color: var(--ink); text-align: center;
  transition: border-color .2s, background-color .2s;
}
.drop .icon { color: var(--accent); width: 22px; height: 22px; }
.drop span { color: var(--slate); font-weight: 400; font-size: 11.5px; }
.drop:hover { border-color: var(--slate); background: #fff; }
.recorder { padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh-ui); }
.rec-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: #f3f2ff; }
.rec-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; position: relative; }
.rec-btn .icon { width: 16px; height: 16px; }
.rec-btn::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ring 1.8s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .5; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 2.5px; overflow: hidden; }
.wave i { flex: 1; min-width: 2px; max-width: 3px; border-radius: 2px; background: var(--accent); height: calc(var(--h) * 1%); opacity: .9; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -70ms); transform-origin: center; }
.wave i.dim { background: #c7c4fb; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.rec-time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--accent-ink); font-weight: 500; }
.rec-hint { margin-top: 8px; font-size: 11.5px; color: var(--slate); text-align: center; }
.notes { padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh-ui); font-size: 13px; line-height: 1.5; }
.notes-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.notes-h b { font-size: 13.5px; font-weight: 700; }
.notes p { color: var(--muted); }
.notes p b { color: var(--ink); font-weight: 700; }
.notes .review { margin-top: 10px; }
.typed-line::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.step {
  position: relative; text-align: left;
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 18px 18px 20px; border-radius: 20px;
  transition: background-color .3s;
}
.step:hover { background: var(--cloud); }
.step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cloud); color: var(--slate); transition: background-color .3s, color .3s; }
.step-num .icon { width: 19px; height: 19px; }
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate); transition: color .3s; line-height: 1.25; padding-top: 9px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s, margin .4s; }
.step-bar { position: absolute; left: 72px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .3s; }
.step-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.step.is-active { background: var(--cloud); }
.step.is-active .step-num { background: var(--ink); color: #fff; }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }
.step.is-active .step-bar { opacity: 1; }
.step.is-active .step-bar i { animation: stepFill var(--dur, 7s) linear forwards; }
.steps.is-paused .step.is-active .step-bar i { animation-play-state: paused; }
@keyframes stepFill { to { transform: scaleX(1); } }

.how-stage {
  position: relative;
  aspect-ratio: 7 / 6;
  border-radius: var(--r-xl);
  background: var(--sky-soft);
  overflow: hidden;
  display: grid; place-items: center;
  padding: clamp(16px, 3vw, 36px);
}
.how-stage .cloud { opacity: .7; }
.panel {
  position: absolute; inset: clamp(16px, 3vw, 36px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s .6s;
  z-index: 2;
}
.panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.win {
  width: 100%; max-width: 560px;
  border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 60, .06), 0 24px 60px rgba(40, 30, 130, .20);
  overflow: hidden;
  font-size: 13px;
}
.win-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e3e3ea; }
.win-title { font-weight: 700; font-size: 13px; color: var(--ink); }
.win-tabs { margin-left: auto; display: flex; gap: 4px; }
.win-tabs span { font-size: 11.5px; padding: 4px 9px; border-radius: var(--pill); color: var(--muted); }
.win-tabs span.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.win-body { padding: 14px; }

/* calendar */
.cal { display: grid; grid-template-columns: 44px repeat(5, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cal > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 38px; position: relative; }
.cal > div:nth-child(6n) { border-right: 0; }
.cal .ch { min-height: 30px; display: grid; place-items: center; font-size: 11px; color: var(--muted); font-weight: 500; background: #fafafc; }
.cal .ch.today { color: var(--accent-ink); }
.cal .ch.today b { background: var(--accent); color: #fff; border-radius: 6px; padding: 1px 5px; margin-left: 3px; font-weight: 700; }
.cal .tm { font-size: 10.5px; color: var(--slate); padding: 4px 6px 0; }
.appt { position: absolute; inset: 3px; border-radius: 7px; padding: 4px 6px; font-size: 10.5px; line-height: 1.2; background: var(--accent-soft); color: var(--accent-ink); border-left: 2.5px solid var(--accent); overflow: hidden; }
.appt b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt.alt { background: #f1f1f5; color: #4b4b5a; border-left-color: #a6a6b8; }
.appt.new { background: var(--accent); color: #fff; border-left-color: var(--accent-ink); animation: dropIn .8s var(--ease-out) 1s both; }
.appt.tall { bottom: -36px; z-index: 1; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px) scale(.9); } }

.toast {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  max-width: 300px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: #fff; box-shadow: var(--sh-float);
  font-size: 12.5px; line-height: 1.3; color: var(--ink); text-align: left;
}
.toast b { display: block; font-weight: 700; }
.toast span { color: var(--muted); }
.panel.is-active .toast { animation: pop .6s var(--ease-out) 1.7s both; }
.toast-br { right: 4%; bottom: 7%; }
.toast-tl { left: 4%; top: 7%; }

/* prescription form */
.form-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.field { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.field small { display: block; font-size: 10.5px; color: var(--slate); }
.field b { font-size: 13px; font-weight: 700; color: var(--ink); }
.tbl { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl-h, .tbl-r { display: grid; grid-template-columns: 1.7fr .6fr .6fr 1.3fr; gap: 8px; align-items: center; padding: 8px 12px; }
.tbl-h { background: #fafafc; font-size: 10.5px; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tbl-r { border-top: 1px solid var(--line); font-size: 12.5px; }
.tbl-r b { font-weight: 700; color: var(--ink); }
.panel.is-active .tbl-r { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i) * 180ms + 300ms); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.form-foot p { font-size: 12px; color: var(--muted); }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; }
.mini-btn .icon { width: 14px; height: 14px; }

/* bill */
.bill { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.bill-lines { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.bl { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.bl:first-child { border-top: 0; }
.bl span { color: var(--muted); }
.bl b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bill-sum { border-radius: 12px; background: var(--cloud); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.bill-total small { font-size: 11px; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bill-total div { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.methods { display: flex; gap: 5px; flex-wrap: wrap; }
.methods span { font-size: 10.5px; font-weight: 700; padding: 4px 7px; border-radius: 7px; background: #fff; color: var(--muted); border: 1px solid var(--line); letter-spacing: .02em; }
.methods span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 4px 8px; border-radius: var(--pill); background: var(--ok-soft); color: var(--ok); width: fit-content; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* phone */
.phone {
  position: relative;
  width: min(290px, 78%);
  aspect-ratio: 9 / 18.6;
  border-radius: 42px;
  background: #0d0d14;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(30, 20, 110, .30), inset 0 0 0 1.5px #2b2b36;
}
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 76px; height: 21px; border-radius: 20px; background: #0d0d14; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.wa { display: flex; flex-direction: column; height: 100%; background: #efeae2; font-size: 11.5px; }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 40px 12px 10px; background: #f7f7f7; border-bottom: 1px solid #e3e3e3; }
.wa-head .avatar { width: 28px; height: 28px; }
.wa-head b { font-size: 12.5px; font-weight: 700; display: block; line-height: 1.1; }
.wa-head span { font-size: 10px; color: #6b6b6b; }
.wa-body { flex: 1; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; overflow: hidden; }
.wa-day { align-self: center; font-size: 9.5px; color: #555; background: #fff; padding: 3px 8px; border-radius: 6px; margin-bottom: 2px; }
.wa-msg { align-self: flex-start; max-width: 88%; background: #fff; border-radius: 10px; border-top-left-radius: 3px; padding: 7px 9px 5px; line-height: 1.38; color: #1c1c1c; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); }
.wa-msg b { font-weight: 700; }
.wa-msg .t { display: block; text-align: right; font-size: 9px; color: #8a8a8a; margin-top: 2px; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 6px -9px -5px; padding: 7px; border-top: 1px solid #eee; color: #1f7aec; font-weight: 500; }
.wa-link .icon { width: 12px; height: 12px; }
.panel.is-active .wa-msg { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i) * 650ms + 300ms); }

@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-stage { aspect-ratio: auto; height: 470px; order: -1; }
  .steps { flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(300px, 82%); scroll-snap-align: start; grid-template-columns: 36px 1fr; background: var(--cloud); }
  .step p { max-height: none; opacity: 1; margin-top: 6px; }
  .step-bar { left: 18px; }
}
@media (max-width: 560px) {
  .how-stage { height: 440px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .bill { grid-template-columns: 1fr; }
  .tbl-h, .tbl-r { grid-template-columns: 1.6fr .5fr .5fr 1.2fr; padding: 8px 10px; }
  .toast { max-width: 250px; }
  .cal .hide-sm { display: none; }
  .cal { grid-template-columns: 40px repeat(3, 1fr); }
  .cal > div:nth-child(6n) { border-right: 1px solid var(--line); }
  .cal > div:nth-child(4n) { border-right: 0; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--cloud);
  overflow: hidden;
  min-height: 340px;
}
.b-card .b-ui { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 22px; }
.b-card .h4 { margin-top: 14px; }
.b-card .body { font-size: 15px; margin-top: 6px; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }
.b-2 { grid-column: span 2; }
.b-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--sh-accent); }
.b-ico .icon { width: 19px; height: 19px; }
.ui-card { width: 100%; border-radius: 16px; background: #fff; box-shadow: var(--sh-ui); padding: 14px; font-size: 12.5px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.stat small { display: block; font-size: 11px; color: var(--muted); }
.stat b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--ok); }
.chart { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.chart-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chart-h b { font-size: 12.5px; font-weight: 700; }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; background: var(--accent); vertical-align: 0; }
.legend i.due { background: var(--accent-tint); }
.bars { height: 120px; display: flex; align-items: flex-end; justify-content: space-around; gap: clamp(6px, 1.4vw, 14px); padding: 0 2px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; max-width: 46px; display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; }
.bar i { display: block; border-radius: 4px; background: var(--accent); height: calc(var(--v) * 1%); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--k) * 60ms); }
.bar i.due { background: var(--accent-tint); }
.is-in .bar i { transform: scaleY(1); }
.bar-x { display: flex; justify-content: space-around; gap: clamp(6px, 1.4vw, 14px); padding: 6px 2px 0; }
.bar-x span { flex: 1; max-width: 46px; text-align: center; font-size: 10px; color: var(--slate); }

.toggles { display: flex; flex-direction: column; }
.tg { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.tg:first-child { border-top: 0; }
.switch { width: 32px; height: 19px; border-radius: 20px; background: #dcdce5; position: relative; flex: none; transition: background-color .35s var(--ease); transition-delay: calc(var(--k) * 180ms + 200ms); }
.switch::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); transition-delay: inherit; }
.is-in .switch.on { background: var(--accent); }
.is-in .switch.on::after { transform: translateX(13px); }

.plist .pr { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.plist .pr:first-of-type { border-top: 0; }
.pr b { display: block; font-weight: 700; color: var(--ink); font-size: 12.5px; }
.pr span { font-size: 11px; color: var(--muted); }
.bg-chip { font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: #fdecec; color: #c0392b; }
.bg-chip.b { background: var(--accent-soft); color: var(--accent-ink); }
.bg-chip.o { background: #eaf4fb; color: #1f6fa8; }
.plist-foot { display: flex; gap: 6px; margin-top: 8px; }
.plist-foot span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 5px 9px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--ink); }
.plist-foot .icon { width: 12px; height: 12px; color: var(--accent); }

.perm { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.perm:first-of-type { border-top: 0; }
.cbox { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #cfcfda; display: grid; place-items: center; flex: none; color: #fff; transition: background-color .3s, border-color .3s; transition-delay: calc(var(--k) * 150ms + 300ms); }
.cbox .icon { width: 11px; height: 11px; stroke-width: 3; opacity: 0; transition: opacity .3s; transition-delay: inherit; }
.is-in .cbox.on { background: var(--accent); border-color: var(--accent); }
.is-in .cbox.on .icon { opacity: 1; }
.emp { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.emp b { font-size: 13px; font-weight: 700; display: block; }
.emp span { font-size: 11px; color: var(--muted); }

.letterhead { width: 100%; border-radius: 14px; background: #fff; box-shadow: var(--sh-ui); padding: 14px 16px 16px; position: relative; overflow: hidden; }
.lh-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.lh-logo { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; letter-spacing: -0.02em; }
.lh-top b { display: block; font-size: 13px; font-weight: 700; }
.lh-top span { font-size: 10.5px; color: var(--muted); }
.lh-lines { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.lh-lines i { display: block; height: 7px; border-radius: 4px; background: var(--cloud-2); }
.lh-stamp { position: absolute; right: 14px; bottom: 12px; font-size: 10px; font-weight: 700; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 6px; padding: 3px 6px; transform: rotate(-8deg); letter-spacing: .04em; }

.branches { display: flex; flex-direction: column; gap: 6px; }
.branch { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.branch.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.branch b { display: block; font-size: 12.5px; font-weight: 700; }
.branch span { font-size: 11px; color: var(--muted); }
.branch .dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.branch.on .dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.b-ico-sm { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--cloud); color: var(--ink); flex: none; }
.b-ico-sm .icon { width: 15px; height: 15px; }

.rates .rt { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.rates .rt:first-of-type { border-top: 0; }
.rates .rt-h { font-size: 10.5px; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-bottom: 6px; }
.rt b { font-weight: 700; color: var(--ink); }
.rt .num { font-variant-numeric: tabular-nums; text-align: right; }
.rt .tax { font-size: 11px; color: var(--muted); min-width: 34px; text-align: right; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-4 { grid-column: span 2; }
  .b-3, .b-2 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .b-4, .b-3, .b-2 { grid-column: span 1; }
  .b-card { min-height: 0; padding: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { display: none; }
}

/* ---------- Patients / Vault ---------- */
.vault { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.vault-copy .h2 { margin-top: 18px; }
.vault-copy .lead { margin-top: 18px; }
.checks { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.4; }
.ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; margin-top: 1px; }
.ck .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.vault-ctas { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.vault-visual {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--cloud);
  min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
}
.vault-visual .phone { width: 250px; position: absolute; }
.vault-visual .phone-a { transform: translateX(-34%) rotate(-5deg); z-index: 1; }
.vault-visual .phone-b { transform: translateX(34%) translateY(24px) rotate(4deg); z-index: 2; }
.shot-label {
  position: absolute; z-index: 3; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, .85); padding: 6px 10px; border-radius: var(--pill);
  backdrop-filter: blur(6px);
}
.shot-label .icon { width: 13px; height: 13px; color: var(--accent); }

.vapp { height: 100%; display: flex; flex-direction: column; background: #f7f8fc; font-size: 11px; }
.vapp-top { padding: 42px 14px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.vapp-top small { color: var(--muted); font-size: 10.5px; }
.vapp-top b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.vapp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.vapp-stats div { padding: 8px; border-radius: 10px; background: var(--cloud); }
.vapp-stats small { display: block; font-size: 9.5px; }
.vapp-stats b { font-size: 16px; }
.vapp-search { margin: 10px 12px 4px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--slate); font-size: 10.5px; }
.vapp-search .icon { width: 12px; height: 12px; }
.vapp-filters { display: flex; gap: 4px; padding: 6px 12px; }
.vapp-filters span { font-size: 9.5px; padding: 4px 7px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.vapp-filters span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.vapp-group { padding: 6px 12px 0; }
.vapp-group h5 { margin: 4px 0 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); font-weight: 700; }
.vdoc { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.vdoc-ico { width: 26px; height: 30px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.vdoc-ico .icon { width: 14px; height: 14px; }
.vdoc b { display: block; font-weight: 700; font-size: 11px; color: var(--ink); }
.vdoc span { font-size: 9.5px; color: var(--muted); }
.vdoc em { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--accent-ink); font-weight: 700; }
.vault-visual.is-in .vdoc { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i) * 140ms + 400ms); }

@media (max-width: 960px) {
  .vault { grid-template-columns: 1fr; }
  .vault-visual { min-height: 560px; }
}
@media (max-width: 560px) {
  .checks { grid-template-columns: 1fr; }
  .vault-visual { min-height: 500px; padding: 28px 12px; }
  .vault-visual .phone { width: min(190px, 46vw); }
  .vault-visual .phone-a { transform: translateX(-30%) rotate(-5deg); }
  .vault-visual .phone-b { transform: translateX(30%) translateY(20px) rotate(4deg); }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-card), 0 0 0 1px var(--line);
}
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 48px; line-height: .6; height: 22px; color: var(--accent); font-weight: 700; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption .avatar { width: 40px; height: 40px; font-size: 14px; }
.quote figcaption b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) {
  .quotes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(360px, calc(100vw - 64px)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 40px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: center; }
}

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { padding: 26px; border-radius: var(--r-lg); background: var(--cloud); }
.trust-card .b-ico { margin-bottom: 38px; }
.trust-card .h4 { font-size: 17px; }
.trust-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1024px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } .trust-card .b-ico { margin-bottom: 22px; } }

/* ---------- Pricing ---------- */
.pricing-panel {
  position: relative;
  margin: 0 8px;
  border-radius: var(--r-xl);
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
  padding: var(--section) 0;
}
.pricing-panel .h2, .pricing-panel .section-head .lead { color: #fff; }
.pricing-panel .section-head .lead { color: rgba(255, 255, 255, .9); font-weight: 500; }
.pricing-panel .cloud { z-index: 0; }
.pricing-panel .container { position: relative; z-index: 2; }

.period {
  position: relative;
  display: inline-grid; grid-template-columns: repeat(3, auto);
  padding: 4px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.period-wrap { display: flex; justify-content: center; margin-bottom: 34px; }
.period button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: #fff; transition: color .3s; white-space: nowrap; }
.period button[aria-pressed="true"] { color: var(--ink); }
.period button em { font-style: normal; font-size: 12px; color: inherit; opacity: .75; margin-left: 4px; }
.period-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: var(--pill); background: #fff; box-shadow: var(--sh-btn); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 60, .06), 0 30px 60px rgba(40, 30, 130, .16);
  color: var(--text);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.plan-badge { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price .amt { font-size: clamp(44px, 5vw, 56px); font-weight: 700; letter-spacing: -0.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-meta { margin-top: 8px; min-height: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.save { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: var(--pill); background: var(--ok-soft); color: var(--ok); }
.plan-desc { margin-top: 14px; font-size: 15px; color: var(--muted); }
.plan-list { margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.plan-list li .icon { width: 17px; height: 17px; color: var(--ink); margin-top: 2px; stroke-width: 2.2; }
.plan-list li b { font-weight: 700; color: var(--ink); }
.plan-list li span { color: var(--muted); }
.plan-list .plus { font-weight: 700; color: var(--ink); }
.plan-list .plus .icon { color: var(--accent); }
.plan-fine { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--slate); display: flex; align-items: center; justify-content: center; gap: 6px; }
.plan-fine .icon { width: 13px; height: 13px; }
.flip { display: inline-block; }
.flip.is-flipping { animation: flip .45s var(--ease-out); }
@keyframes flip { 0% { opacity: 0; transform: translateY(12px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.pricing-note { display: table; margin: 36px auto 0; padding: 12px 20px; border-radius: 18px; text-align: center; color: var(--ink); background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 15px; font-weight: 500; }
.pricing-note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rzp-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: .01; pointer-events: none; left: -9999px; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .period button { padding: 0 13px; font-size: 13.5px; }
}

/* ---------- Blog ---------- */
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.blog-head .lead { margin-top: 12px; max-width: 520px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--cloud);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.post-body { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 300px; }
.post-cat { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--accent-ink); background: #fff; padding: 5px 11px; border-radius: var(--pill); box-shadow: var(--sh-accent); }
.post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.post-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background-color .25s, color .25s, transform .3s var(--ease-out); }
.post-go .icon { width: 16px; height: 16px; }
.post:hover .post-go { background: var(--ink); color: #fff; transform: translateX(3px); }
.post h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.post p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post time { font-size: 13px; color: var(--slate); }
.post-skel { border-radius: var(--r-lg); background: linear-gradient(90deg, var(--cloud) 0%, var(--cloud-2) 50%, var(--cloud) 100%); background-size: 200% 100%; animation: skel 1.4s linear infinite; min-height: 360px; }
@keyframes skel { to { background-position: -200% 0; } }
.posts-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 960px) {
  .posts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(340px, calc(100vw - 64px)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .posts::-webkit-scrollbar { display: none; }
  .post { scroll-snap-align: center; }
}
@media (max-width: 560px) { .blog-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Devices + final CTA ---------- */
.final { text-align: center; }
.final .lead { margin: 18px auto 0; max-width: 560px; }
.final-ctas { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.devices { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 980px; }
.laptop { position: relative; width: 86%; max-width: 820px; margin: 0 auto; }
.laptop-lid { border-radius: 18px 18px 6px 6px; background: #0d0d14; padding: 10px; box-shadow: 0 30px 80px rgba(40, 30, 130, .18); }
.laptop-screen { border-radius: 9px; overflow: hidden; background: #f3f4f6; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 22% 1fr; text-align: left; }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #d9d9e2, #b9b9c6); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 5px; border-radius: 0 0 8px 8px; background: #a9a9b6; }
.app-side { background: #fff; border-right: 1px solid #e6ebf1; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.app-side img { align-self: flex-start; height: 16px; width: auto; margin: 2px 6px 12px; }
.app-side small { font-size: 7.5px; letter-spacing: .08em; color: #9ca3af; padding: 4px 8px; font-weight: 700; }
.app-side span { display: flex; align-items: center; gap: 6px; font-size: 9px; padding: 6px 8px; border-radius: 6px; color: #4b5563; font-weight: 500; }
.app-side span .icon { width: 11px; height: 11px; }
.app-side span.on { background: rgba(87, 80, 241, .07); color: var(--accent); }
.app-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-main h6 { margin: 0; font-size: 12px; font-weight: 700; color: #111928; letter-spacing: -0.01em; }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-stats div { background: #fff; border-radius: 8px; padding: 8px; }
.app-stats small { display: block; font-size: 7.5px; color: #6b7280; }
.app-stats b { font-size: 13px; font-weight: 700; color: #111928; }
.app-grid { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; min-height: 0; }
.app-grid > div { background: #fff; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; min-height: 0; }
.app-grid b { font-size: 9px; font-weight: 700; color: #111928; }
.mini-bars { flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: 5px; margin-top: 8px; }
.mini-bars i { flex: 1; max-width: 14px; border-radius: 3px 3px 0 0; background: var(--accent); height: calc(var(--v) * 1%); }
.mini-bars i:nth-child(2n) { background: #c7c4fb; }
.upc { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.upc span { display: flex; justify-content: space-between; font-size: 8px; color: #4b5563; padding: 5px 6px; border-radius: 5px; background: #f9fafb; }
.upc span em { font-style: normal; color: var(--accent); font-weight: 700; }
.devices .phone { position: absolute; right: 2%; bottom: -18px; width: 22%; min-width: 130px; border-radius: 30px; padding: 6px; }
.devices .phone::before { top: 11px; width: 34%; height: 13px; }
.devices .phone-screen { border-radius: 25px; }
@media (max-width: 640px) {
  .laptop { width: 90%; margin-left: 0; }
  .devices .phone { width: 34%; right: 0; bottom: -30px; border-radius: 24px; }
  .devices .phone-screen { border-radius: 19px; }
  .app-side { display: none; }
  .laptop-screen { grid-template-columns: 1fr; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-grid > div:last-child { display: none; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; color: var(--muted); }
.share { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-label { font-size: 13px; color: var(--slate); margin-right: 4px; }
.share button, .share a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cloud); color: var(--ink); transition: background-color .2s, transform .2s var(--ease); }
.share button:hover, .share a:hover { background: var(--cloud-2); transform: translateY(-1px); }
.share .icon { width: 17px; height: 17px; }
.footer h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--slate); }
.toast-copy { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 10px 16px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none; }
.toast-copy.is-shown { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .hero-enter, .stage-enter, .fill > * { opacity: 1 !important; transform: none !important; filter: none !important; translate: none !important; }
  .scan, .sky-stars { display: none; }
}
