/* Dosscall AI — premium clinical editorial redesign */
:root {
  --paper: #f7f8f6;
  --white: #ffffff;
  --mist: #eef2f5;
  --ink: #071420;
  --ink-soft: #172938;
  --copy: #40515d;
  --blue: #1748d2;
  --green: #92de2c;
  --light-line: #d9e0e4;
  --dark-line: rgba(255, 255, 255, .14);
  --radius: 22px;
  --shadow: 0 22px 70px rgba(20, 43, 61, .10);
}

html { scroll-behavior: smooth; background: var(--paper); }
body { background: var(--paper); color: var(--ink); }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.chapter { border-bottom: 1px solid var(--light-line); overflow: clip; }
.eyebrow { color: #61717c; font-weight: 700; }
.display { color: var(--ink); }
.display em { color: var(--blue); }
.lead { color: var(--copy); }

/* Header remains legible as it travels from the dark hero into light sections. */
.header { padding: 8px 0; color: #fff; }
.header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 12, 19, .72), transparent); pointer-events: none; z-index: -1; }
.header.is-scrolled { background: rgba(5, 18, 28, .90); border-bottom-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 40px rgba(5, 18, 28, .12); }
.header__inner { min-height: 48px; }
.brand img { width: 116px; }
.desktop-nav a { color: rgba(255, 255, 255, .78); font-weight: 600; }
.desktop-nav a:hover { color: #fff; }
.menu-button { background: rgba(255, 255, 255, .08); }

/* Hero: retain the requested film, simplify everything around the message. */
.hero { min-height: 100svh; padding: 104px 0 52px; color: #fff; align-items: center; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .15); z-index: 4; }
.hero__video { opacity: .90; }
.hero__video-shade { background: linear-gradient(90deg, rgba(3, 12, 20, .94) 0%, rgba(3, 12, 20, .74) 47%, rgba(3, 12, 20, .20) 100%), linear-gradient(180deg, rgba(3, 12, 20, .22), rgba(3, 12, 20, .40) 58%, rgba(3, 12, 20, .86)); }
.hero__video-grain { opacity: .035; }
.hero__grid { display: block; }
.hero__copy { max-width: 900px; }
.hero-roll { max-width: 850px; margin-top: 0; }
.hero-roll__viewport { height: var(--hero-roll-height, 350px); min-height: 0; transition: height .45s cubic-bezier(.16, 1, .3, 1); }
.hero-roll h1 { max-width: 820px; font-size: clamp(50px, 5.6vw, 78px); line-height: 1; margin-bottom: 14px; text-wrap: balance; }
.hero-roll h1 span { white-space: normal; }
.hero-roll__question { max-width: 730px; font-size: clamp(18px, 1.55vw, 22px); }
.hero-roll__support { max-width: 720px; font-size: clamp(15px, 1.2vw, 18px); }
.hero__actions { margin-top: 18px; }
.signal-row { margin-top: 18px; color: rgba(255, 255, 255, .72); }
.button--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .30); }
.button--glass:hover { background: rgba(255, 255, 255, .15); }

/* The missed-moment sequence becomes a precise patient-journey editorial line. */
.story { background: var(--mist); padding: 124px 0 104px; }
.story__intro { max-width: 970px; padding-bottom: 72px; }
.story__moments { counter-reset: moment; position: relative; gap: 0; max-width: 1020px; margin-left: auto; padding: 0 0 0 72px; }
.story__moments::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 22px; width: 2px; background: linear-gradient(var(--blue), var(--green)); }
.story__moment { counter-increment: moment; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: end; padding: 34px 38px; margin-bottom: 14px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(23, 72, 210, .10); border-radius: 18px; box-shadow: 0 10px 35px rgba(20, 43, 61, .045); }
.story__moment::before { content: counter(moment, decimal-leading-zero); position: absolute; left: -72px; top: 38px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); border: 7px solid var(--mist); font: 700 10px/1 'Space Mono', monospace; }
.story__moment .story__statement { color: var(--ink); font-size: clamp(25px, 3vw, 43px); line-height: 1.08; }
.story__moment .story__detail { color: var(--blue); font-size: 15px; font-weight: 700; margin: 0; }

/* System */
.system { background: var(--white); padding: 124px 0; }
.section-head { margin-bottom: 64px; }
.system__hero-card { color: #fff; background: linear-gradient(135deg, #0b2233, #123a55); border: 0; box-shadow: var(--shadow); }
.system__hero-card::after { background: radial-gradient(circle at 77% 45%, rgba(146, 222, 44, .15), transparent 34%); }
.system__hero-copy p { color: rgba(255, 255, 255, .70); }
.system__visual { border-left-color: rgba(255, 255, 255, .13); background: radial-gradient(circle at center, rgba(146, 222, 44, .18), transparent 58%); }
.calendar-orb { border-color: rgba(255, 255, 255, .28); }
.calendar-orb__ring { border-color: rgba(255, 255, 255, .24); }
.feature-grid { border: 1px solid var(--light-line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.feature { border-color: var(--light-line); background: #fff; }
.feature:hover { background: #f3f7fb; }
.feature__num { color: var(--blue); }
.feature h3 { color: var(--ink); }
.feature p { color: var(--copy); }
.flow { border-top-color: var(--light-line); }
.flow__item { border-left-color: var(--light-line); }
.flow__item b { color: var(--blue); }
.flow__item strong { color: var(--ink); }
.flow__item span { color: var(--copy); }
.system-pulse { color: var(--ink); border-color: var(--light-line); background: #f3f6f8; }
.system-pulse:hover { border-color: #b6c3ca; background: #eef3f6; }
.system-pulse__label { color: #667883; border-bottom-color: var(--light-line); }
.system-pulse__grid > div { border-color: var(--light-line); }
.system-pulse__grid span { color: var(--blue); }
.system-pulse__grid p { color: var(--copy); }
.pulse-status { color: #29404e; }

/* A single dark intermission creates contrast in the long light page. */
.economics { color: #fff; background: var(--ink); padding: 124px 0; border-color: var(--dark-line); }
.economics .display, .economics .lead { color: #fff; }
.economics .display em { color: #a7e94f; }
.economics .eyebrow { color: rgba(255, 255, 255, .65); }
.compare { border-color: var(--dark-line); box-shadow: 0 28px 80px rgba(0, 0, 0, .24); }
.compare__side--muted { background: rgba(255, 255, 255, .035); }
.compare__side--bright { background: linear-gradient(140deg, rgba(23, 72, 210, .35), rgba(255, 255, 255, .08)); }
.compare__rows div { border-color: rgba(255, 255, 255, .10); }
.compare__rows span { color: rgba(255, 255, 255, .52); }
.compare__rows b { color: #fff; }
.economics__line { border-color: var(--dark-line); }

/* Demonstrations */
.demo { background: var(--white); padding: 124px 0 0; border-bottom: 0; }
.demo__head { display: grid; grid-template-columns: 1fr .72fr; column-gap: 80px; align-items: end; margin-bottom: 56px; }
.demo__head .eyebrow { grid-column: 1 / -1; }
.demo__head .display { margin-bottom: 0; }
.demo__head .lead { margin: 0 0 8px; }
.demo-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.demo-card { min-width: 0; overflow: hidden; color: #fff; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.demo-card__media { position: relative; aspect-ratio: 16 / 9; background: #02080d; overflow: hidden; }
.demo-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 20%; background: linear-gradient(transparent, rgba(0, 0, 0, .24)); pointer-events: none; }
.demo-card video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.demo-card__copy { min-height: 132px; padding: 24px 26px 28px; }
.demo-card__copy .mono { color: #9fd9ff; }
.demo-card__copy h3 { max-width: 520px; margin: 13px 0 0; font-size: clamp(21px, 2vw, 29px); line-height: 1.1; letter-spacing: -.035em; }
.demo-controls { display: none; }
.demo__cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 54px; padding: 32px 0 38px; border-bottom: 1px solid var(--light-line); }
.demo__cta p { margin: 0; color: var(--ink); font-size: clamp(22px, 2.4vw, 34px); font-weight: 650; letter-spacing: -.04em; }
.button--ink { color: #fff; background: var(--ink); white-space: nowrap; }
.button--ink:hover { background: var(--blue); }

/* Pricing */
.pricing { background: var(--paper); padding: 112px 0 124px; }
.price-card { color: var(--ink); background: #fff; border-color: var(--light-line); box-shadow: 0 14px 45px rgba(20, 43, 61, .06); backdrop-filter: none; }
.price-card:hover { background: #fff; border-color: rgba(23, 72, 210, .55) !important; box-shadow: 0 24px 70px rgba(23, 72, 210, .12); }
.price-card--featured { color: #fff; background: linear-gradient(155deg, #091c2c, #102f47); border-color: #1748d2; }
.price-card--featured:hover { background: linear-gradient(155deg, #091c2c, #102f47); }
.price-card__top > .mono { color: var(--blue); }
.price-card--featured .price-card__top > .mono { color: #9fd9ff; }
.badge { color: #071420; background: var(--green); border-color: rgba(255, 255, 255, .42); box-shadow: 0 0 24px rgba(146, 222, 44, .24); }
.price-card > p, .price span { color: #5e707b; }
.price-card li { color: #334650; }
.price-card li::before { color: var(--blue); }
.price-card--featured > p, .price-card--featured .price span, .price-card--featured li { color: rgba(255, 255, 255, .74); }
.price-card--featured li::before { color: var(--green); }
.price-card .button--glass { color: var(--ink); border-color: #b9c5cb; background: #f6f8f8; }
.price-card .button--glass:hover { background: var(--mist); }
.pricing-note { color: var(--copy); }
.pricing-note span { color: var(--blue); }

/* FAQ and final decision */
.decision { color: var(--ink); background: var(--white); padding: 124px 0 0; }
.decision .display { color: var(--ink); }
.faq-list, details { border-color: var(--light-line); }
summary { color: var(--ink); font-weight: 650; }
summary span { color: var(--blue); }
details[open] summary span { color: var(--blue); }
details p { color: var(--copy); }
.final-cta { color: #fff; border: 0; background: linear-gradient(120deg, #071420 0%, #0e3048 78%, #1748d2 150%); box-shadow: var(--shadow); }
.final-cta::after { background: radial-gradient(circle, rgba(146, 222, 44, .22), transparent 65%); }
.final-cta .eyebrow { color: rgba(255, 255, 255, .66); }
.final-cta .display { color: #fff; }
.final-cta .display em { color: #b8ee70; }
.final-cta__copy > p:last-child { color: rgba(255, 255, 255, .68); }
.final-cta__contact { color: rgba(255, 255, 255, .55); }

.footer { background: #050f17; border-top-color: rgba(255, 255, 255, .10); }

@media (min-width: 901px) {
  .demo-track { transform: none !important; }
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .hero-roll h1 { font-size: clamp(48px, 6.1vw, 69px); }
  .story__moment { grid-template-columns: 1fr 180px; }
  .demo__head { column-gap: 44px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero__copy { max-width: 760px; }
  .story__moments { margin-left: 0; }
  .story__moment { grid-template-columns: 1fr; gap: 12px; }
  .demo__head { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
}

@media (max-width: 767px) {
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .header { padding: 6px 0; }
  .header__inner { min-height: 42px; }
  .brand img { width: 98px; }
  .menu-button { width: 36px; height: 36px; }
  .hero { min-height: 100svh; padding: 84px 0 38px; align-items: center; }
  .hero__video { object-position: 58% center; }
  .hero__video-shade { background: linear-gradient(180deg, rgba(3, 12, 20, .67), rgba(3, 12, 20, .71) 45%, rgba(3, 12, 20, .94)); }
  .hero-roll h1 { font-size: clamp(35px, 10vw, 49px); line-height: 1.02; letter-spacing: -.05em; }
  .hero-roll h1 span { white-space: normal; }
  .hero-roll__question { font-size: 16px; line-height: 1.35; }
  .hero-roll__support { font-size: 14px; line-height: 1.42; }
  .hero__actions { margin-top: 14px; }
  .hero__actions .button { flex: 1 1 calc(50% - 6px); padding: 12px 13px; }
  .signal-row { display: grid; grid-template-columns: repeat(3, auto); align-items: center; gap: 8px 12px; margin-top: 14px; font-size: 9px; }
  .signal-row span { gap: 5px; white-space: nowrap; }

  .story, .system, .economics, .demo, .decision { padding-top: 86px; }
  .story, .system, .economics, .pricing { padding-bottom: 86px; }
  .display--medium { font-size: clamp(39px, 12vw, 58px); }
  .story__intro { padding-bottom: 48px; }
  .story__moments { padding-left: 44px; }
  .story__moments::before { left: 13px; }
  .story__moment { padding: 24px 22px; border-radius: 15px; }
  .story__moment::before { left: -48px; top: 26px; width: 36px; height: 36px; border-width: 6px; }
  .story__moment .story__statement { font-size: clamp(23px, 7.5vw, 32px); }
  .story__moment .story__detail { font-size: 13px; }

  .system__hero-card { border-radius: 20px; }
  .system__hero-copy { padding: 30px 26px; }
  .system__visual { min-height: 230px; border-top-color: rgba(255, 255, 255, .13); }
  .feature-grid { border-radius: 18px; }
  .system-pulse__grid > div { border-color: var(--light-line) !important; }
  .compare { border-radius: 18px; }
  .compare__side { padding: 25px 22px; }

  .demo { padding-bottom: 0; }
  .demo__head { margin-bottom: 34px; }
  .demo-carousel { overflow: hidden; margin-inline: -17px; padding-inline: 17px; }
  .demo-track { display: flex; gap: 0; width: 100%; transition: transform .45s cubic-bezier(.16, 1, .3, 1); touch-action: pan-y; }
  .demo-card { flex: 0 0 100%; border-radius: 18px; }
  .demo-card__copy { min-height: 118px; padding: 21px 22px 24px; }
  .demo-card__copy h3 { font-size: 22px; }
  .demo-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 22px; }
  .demo-arrow { width: 43px; height: 43px; display: grid; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--light-line); border-radius: 50%; cursor: pointer; }
  .demo-dots { display: flex; align-items: center; gap: 9px; }
  .demo-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b7c1c7; cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
  .demo-dot.is-active { width: 26px; border-radius: 99px; background: var(--blue); }
  .demo__cta { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 36px; padding-bottom: 32px; }
  .demo__cta .button { width: 100%; }

  .pricing { padding-top: 78px; }
  .price-card { border-radius: 20px; }
  .decision { padding-bottom: 0; }
  .decision__grid { padding-bottom: 84px; }
  .final-cta { padding: 35px 26px; border-radius: 20px; margin-bottom: 84px; }
}

/* Refinement pass: quieter header, richer clinical surfaces, and native-feeling motion. */
.eyebrow {
  gap: 0;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .095em;
}
.eyebrow::before { display: none; content: none; }

.header { padding: 3px 0; }
.header__inner { min-height: 42px; }
.brand img { width: 100px; }
.header .button--small { padding: 7px 12px; font-size: 11px; }
.menu-button { width: 38px; height: 38px; }

.story {
  background-color: #edf2f5;
  background-image:
    radial-gradient(circle at 8% 4%, rgba(23, 72, 210, .08), transparent 27%),
    radial-gradient(circle at 94% 82%, rgba(146, 222, 44, .08), transparent 24%);
}
.system {
  background-color: #f8fafb;
  background-image:
    linear-gradient(rgba(7, 20, 32, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 20, 32, .025) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(23, 72, 210, .08), transparent 25%);
  background-size: 56px 56px, 56px 56px, auto;
}
.demo {
  background-color: #f3f7f8;
  background-image:
    radial-gradient(ellipse at 12% 10%, rgba(23, 72, 210, .09), transparent 34%),
    radial-gradient(ellipse at 88% 88%, rgba(146, 222, 44, .08), transparent 29%),
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(238, 244, 246, .62));
}
.pricing {
  background-color: #edf1f3;
  background-image: radial-gradient(circle at 50% 0, rgba(23, 72, 210, .07), transparent 34%);
}
.decision {
  background-color: #f8faf9;
  background-image:
    radial-gradient(circle at 5% 28%, rgba(146, 222, 44, .055), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(238, 244, 246, .68));
}

.demo__head { display: block; max-width: 980px; margin-bottom: 56px; }
.demo__head .eyebrow { margin-bottom: 18px; }
.demo__head .display { margin: 0 0 24px; }
.demo__head .lead { max-width: 820px; margin: 0; font-size: 18px; }

@media (max-width: 900px) {
  .demo-carousel { overflow: hidden; margin-inline: -17px; padding-inline: 17px; }
  .demo-track { display: flex; grid-template-columns: none; gap: 0; width: 100%; transition: transform .32s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
  .demo-card { flex: 0 0 100%; width: 100%; }
  .demo-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 22px; }
  .demo-arrow { width: 44px; height: 44px; min-width: 44px; display: grid; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--light-line); border-radius: 50%; cursor: pointer; touch-action: manipulation; }
  .demo-arrow:active { transform: scale(.96); background: var(--mist); }
  .demo-dots { display: flex; align-items: center; gap: 9px; }
  .demo-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #aab7bf; cursor: pointer; touch-action: manipulation; transition: transform .2s ease, background .2s ease; }
  .demo-dot::before { content: ""; position: absolute; inset: -17px -8px; }
  .demo-dot { position: relative; }
  .demo-dot.is-active { width: 10px; border-radius: 50%; background: var(--blue); transform: scale(1.25); }
}

@media (max-width: 767px) {
  .eyebrow { font-size: 12px; }
  .header { padding: 2px 0; }
  .header__inner { min-height: 42px; }
  .brand img { width: 91px; }
  .menu-button { width: 40px; height: 40px; }
  .demo__head .lead { font-size: 16px; line-height: 1.55; }
}

@media (max-width: 390px) {
  .hero { padding-top: 74px; }
  .hero-roll h1 { font-size: clamp(32px, 9.5vw, 39px); }
  .hero-roll__question { font-size: 15px; }
  .hero-roll__support { font-size: 13px; }
  .signal-row { grid-template-columns: 1fr 1fr; }
  .signal-row span:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-roll__viewport, .demo-track { transition: none; }
}

/* Legal page */
.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: rgba(5, 18, 28, .96); border-bottom: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(16px); }
.container { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.site-header .nav { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.nav-logo img { display: block; width: 100px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; }
.legal-page { min-height: 80vh; padding: 86px 0 110px; background: var(--paper); }
.legal-page .h2 { max-width: 920px; margin: 20px 0 24px; color: var(--ink); font-size: clamp(40px, 6vw, 78px); line-height: 1; letter-spacing: -.06em; }
.legal-meta { max-width: 900px; color: var(--copy); font-size: 13px; }
.legal-meta a, .legal-body a { color: var(--blue); text-decoration: underline; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 58px; }
.legal-toc a { padding: 10px 14px; color: var(--ink); background: #fff; border: 1px solid var(--light-line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.legal-body { max-width: 850px; }
.legal-body section { padding: 30px 0; border-top: 1px solid var(--light-line); }
.legal-body h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(23px, 3vw, 31px); letter-spacing: -.035em; }
.legal-body p, .legal-body li { color: var(--copy); font-size: 15px; line-height: 1.75; }
.legal-page + .footer { color: #fff; }

@media (max-width: 767px) {
  .container { width: min(calc(100% - 34px), 1120px); }
  .site-header .nav { min-height: 52px; }
  .nav-logo img { width: 90px; }
  .legal-page { padding: 64px 0 80px; }
  .legal-toc { margin: 30px 0 44px; }
}

/* Premium control-room layer: intentional contrast, operational icons and restrained motion. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.feature {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--light-line) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 36px rgba(20, 43, 61, .055);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature:nth-child(1), .feature:nth-child(5) { grid-column: span 2; }
.feature:nth-child(1) { background: linear-gradient(135deg, #fff, #edf4ff); }
.feature:nth-child(5) { background: linear-gradient(135deg, #f4f8ff, #eff7ec); }
.feature__top { display: flex; justify-content: space-between; align-items: center; }
.feature__icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--blue);
  border: 1px solid rgba(23, 72, 210, .16);
  border-radius: 13px;
  background: rgba(23, 72, 210, .06);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin: 64px 0 10px; }
.feature:nth-child(1) h3, .feature:nth-child(5) h3 { font-size: 25px; }
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 72, 210, .30) !important;
  box-shadow: 0 22px 55px rgba(20, 43, 61, .10);
}

.flow__track { position: relative; }
.flow__track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(23, 72, 210, .12) 76%, var(--green));
}
.flow__track::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 18%;
  height: 8px;
  border-radius: 99px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--green));
  filter: drop-shadow(0 0 7px rgba(146, 222, 44, .72));
}
.flow.is-active .flow__track::after { animation: receptionSignal 1.45s cubic-bezier(.2, .75, .2, 1) .18s both; }
@keyframes receptionSignal {
  0% { opacity: 0; transform: translateX(0) scaleX(.2); }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(455%) scaleX(1); }
}

.demo {
  color: #fff;
  background-color: #071420;
  background-image:
    linear-gradient(rgba(125, 182, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 182, 255, .055) 1px, transparent 1px),
    linear-gradient(135deg, #071420 0%, #092344 62%, #0d3158 100%);
  background-size: 64px 64px, 64px 64px, auto;
  border-bottom-color: rgba(255, 255, 255, .12);
}
.demo .eyebrow { color: #a5c9e9; }
.demo .display { color: #fff; }
.demo .display em { color: #a7e94f; }
.demo .lead { color: rgba(255, 255, 255, .72); }
.demo-card {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(4, 15, 24, .88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.demo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 182, 255, .42);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .40), 0 0 0 1px rgba(125, 182, 255, .08);
}
.demo-card__media { border-bottom: 1px solid rgba(255, 255, 255, .10); }
.demo-card__copy .mono { color: #a5c9e9; }
.demo__cta { border-bottom-color: rgba(255, 255, 255, .16); }
.demo__cta p { color: #fff; }
.demo__cta .button--ink { color: var(--ink); background: #fff; }
.demo__cta .button--ink:hover { color: #fff; background: var(--blue); }

.pricing {
  background-color: #e9eff3;
  background-image: linear-gradient(180deg, #e7eef3 0%, #f4f6f6 100%);
}
.decision {
  background-color: #edf2eb;
  background-image: linear-gradient(180deg, #edf2eb 0%, #f6f8f5 70%, #fff 100%);
}
.faq-list { display: grid; gap: 10px; border-top: 0; }
.faq-list details {
  padding: 0 22px;
  border: 1px solid #d6dfd3;
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  transition: border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.faq-list details[open] {
  border-color: rgba(23, 72, 210, .22);
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 43, 61, .07);
}

.button:active, .demo-arrow:active { transform: translateY(0) scale(.97); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(1), .feature:nth-child(5) { grid-column: span 2; }
  .demo-card:hover { transform: none; }
}

@media (max-width: 767px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(1), .feature:nth-child(5) { grid-column: auto; min-height: 220px; }
  .feature:nth-child(1) h3, .feature:nth-child(5) h3 { font-size: 22px; }
  .feature h3 { margin-top: 48px; }
  .flow__track::before, .flow__track::after { display: none; }
  .demo-arrow { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .10); }
  .demo-arrow:active { background: rgba(255, 255, 255, .18); }
  .demo-dot { background: rgba(255, 255, 255, .38); }
  .demo-dot.is-active { background: #a7e94f; }
  .faq-list details { padding: 0 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow.is-active .flow__track::after { animation: none; }
}
