/* =========================================================
   CostMetriX — landing page
   Mobile-first. Tablet layout 600–1099px, desktop layout ≥1100px.
   Keep in sync with DESKTOP_MQ in main.js.
   ========================================================= */

:root {
  --c-dark: #111213;
  --c-ink: #111213;
  --c-ink-2: #1b1b1b;
  --c-muted: #7f7f7f;
  --c-white: #fff;
  --c-teal: #13d9bf;
  --c-teal-text: #12a894;
  --c-cyan: #2ae7ce;
  --c-check: #0ec8b0;
  --c-blue: #1359d3;
  --c-hover-primary: #2b69bf;
  --c-hover-secondary: #a098e5;
  --c-light: #f5f5f5;

  --ff-head: "Montserrat", system-ui, sans-serif;
  --ff-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --nav-h: 70px;
  --gutter: 30px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--c-light); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; }

/* line breaks: no orphans in body copy, even lines in headlines and subheadlines */
p, li, dd, figcaption { text-wrap: pretty; }
h1, h2, h3, h4,
.hero__text, .body-l, .pricing__sub, .files__text, .price-card__trial, .price-card__more, .cta__text,
.capability__text, .step__text, .who-card__text, .why-card__text, .product-card__text { text-wrap: balance; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  background: var(--c-teal); color: var(--c-ink); padding: 10px 16px; border-radius: 100px;
  font-weight: 600; transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; }

.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.d-only { display: none; }
.m-only { display: inline; }

.container { width: 100%; max-width: 680px; margin-inline: auto; padding-inline: var(--gutter); }

/* page backdrop used for the light ⇄ dark theme transition */
.theme-backdrop { position: fixed; inset: 0; z-index: -1; background: var(--c-light); pointer-events: none; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.body-l { font-size: 14px; line-height: 1.5; }
.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 12px;
  line-height: normal;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--c-white); }
.text-teal { color: var(--c-teal-text); }
.section-head__title .text-teal { display: block; }

/* =========================================================
   BUTTONS — radial (ripple) fill on hover
   ========================================================= */
.btn {
  --fill: var(--c-hover-primary);
  --x: 50%; --y: 50%; --d: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-ink);
  transition: color .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--x);
  top: var(--y);
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .55s var(--ease-out);
  pointer-events: none;
}
.btn.is-filled::before { transform: translate(-50%, -50%) scale(1); }
.btn.is-filled { color: var(--c-white); }

.btn--primary { background: var(--c-teal); }
.btn--secondary { background: var(--c-white); --fill: var(--c-hover-secondary); }
.btn--outline {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-muted);
  --fill: var(--c-hover-secondary);
}
.btn--outline.is-filled { box-shadow: inset 0 0 0 1px transparent; }
.btn--secondary.is-filled, .btn--outline.is-filled { color: var(--c-ink); }
.btn--lg { height: 47px; min-width: 200px; font-size: 18px; padding: 0 20px; }
/* Book a Demo + Sign Up side by side */
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599.98px) {
  .btn-pair { flex-wrap: nowrap; }
  .btn-pair .btn--lg { flex: 0 1 150px; min-width: 0; height: 42px; padding-inline: 12px; font-size: 16px; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-dark);
  filter: drop-shadow(0 2px 4px rgba(60, 56, 141, .3));
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px 0 28px;
}
.nav__logo img { width: 126px; height: auto; }
.nav__links, .nav__actions { display: none; }
.nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.nav__toggle img { width: 26px; height: auto; }

/* ---------- mobile tray ---------- */
.tray { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.tray.is-open { visibility: visible; transition: none; }
.tray__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 9, 12, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.tray.is-open .tray__backdrop { opacity: 1; }
.tray__panel {
  position: absolute; inset: 0 auto 0 0;
  width: min(330px, 86vw);
  display: flex; flex-direction: column;
  padding: 0 28px calc(32px + env(safe-area-inset-bottom));
  background: var(--c-dark);
  box-shadow: 8px 0 40px rgba(0, 0, 0, .35);
  transform: translateX(-100%);
  transition: transform .5s var(--ease-out);
  overflow-y: auto;
}
.tray.is-open .tray__panel { transform: none; }
.tray__head {
  height: var(--nav-h); flex: none;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.tray__head img { width: 126px; height: auto; }
.tray__close { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.tray__close::before, .tray__close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22px; height: 2px; border-radius: 2px; background: var(--c-white);
}
.tray__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.tray__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tray__links { display: flex; flex-direction: column; padding: 18px 0 28px; }
.tray__links a {
  font-family: var(--ff-head); font-weight: 600; font-size: 20px; color: var(--c-white);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateX(-16px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .2s;
}
.tray__links a:hover, .tray__links a:focus-visible { color: var(--c-cyan); }
.tray.is-open .tray__links a { opacity: 1; transform: none; }
.tray.is-open .tray__links a:nth-child(1) { transition-delay: .12s; }
.tray.is-open .tray__links a:nth-child(2) { transition-delay: .16s; }
.tray.is-open .tray__links a:nth-child(3) { transition-delay: .20s; }
.tray.is-open .tray__links a:nth-child(4) { transition-delay: .24s; }
.tray.is-open .tray__links a:nth-child(5) { transition-delay: .28s; }
.tray.is-open .tray__links a:nth-child(6) { transition-delay: .32s; }
.tray__actions { margin-top: auto; display: grid; gap: 14px; }
.tray__actions .btn { width: 100%; }
.tray__login { justify-self: center; padding: 6px 12px; font-size: 18px; color: var(--c-white); transition: color .25s; }
.tray__login:hover, .tray__login:focus-visible { color: var(--c-cyan); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--c-dark);
  padding-bottom: 35px;
}
.hero__card {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
  padding: calc(var(--nav-h) + 32px) 22px 55px;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #111213 0%, #121519 12%, #101825 25%, #101a2c 33%, #111e35 40%, #11233f 48%, #172d4d 55%, #1a3459 63%, #1c3967 71%, #345485 78%, #5275a4 86%, #6f92c0 93%, #8aaed8 100%);
}
.hero__bg::before, .hero__bg::after { content: ""; position: absolute; inset: 0; }
.hero__bg::before { /* left: deeper blue */
  background: linear-gradient(180deg, #111213 0%, #131923 25%, #141c2d 33%, #152239 40%, #162744 48%, #152d50 55%, #1a3665 63%, #1c3c74 71%, #264b8c 78%, #3a64ac 86%, #4f7ac7 93%, #6a90d8 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 40%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 40%);
}
.hero__bg::after { /* right: teal */
  background: linear-gradient(180deg, #111213 0%, #131719 25%, #131c21 33%, #121f27 40%, #142a33 48%, #12303b 55%, #123d48 63%, #144c58 71%, #1b626d 78%, #2c7f8c 86%, #41a0a9 93%, #55b5b8 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 92%);
  mask-image: linear-gradient(90deg, transparent 45%, #000 92%);
}
.hero__content { position: relative; z-index: 1; }
.hero__title, .hero__text, .hero__actions { position: relative; z-index: 1; }
.hero__media { position: relative; mix-blend-mode: screen; }
.hero__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--c-white);
  max-width: 332px;
  margin-inline: auto;
}
.hero__text {
  margin: 12px auto 0;
  max-width: 292px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-white);
}
.hero__media {
  width: 333px; max-width: 100%;
  height: 327px;
  margin: 0 auto;
  display: grid; place-items: center;
}
.hero__video {
  width: 282px; height: 282px;
  object-fit: cover;
  /* key out the video's navy backdrop: colour-matrix pushes #00053f to black, screen drops black */
  filter: url("#video-key");
}
.hero__actions {
  display: flex; gap: 12px;
}
@media (max-width: 599.98px) {
  .hero__card { padding-bottom: 28px; }
  .hero__actions { justify-content: center; }
  .hero__actions .btn { flex: 0 1 150px; height: 42px; padding-inline: 12px; font-size: 16px; }
}
/* hero content order on mobile: title, text, buttons, video */
.hero__card { display: flex; flex-direction: column; }
.hero__content { display: contents; }
.hero__title { order: 1; }
.hero__text { order: 2; }
.hero__actions { order: 3; margin-top: 22px; }
.hero__media { order: 4; }

/* stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 33px 21px 0 22px;
  color: var(--c-white);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
.stats::before { /* vertical rule */
  content: ""; position: absolute; left: 50%; top: 0; height: 254px; width: 1px;
  background: rgba(255, 255, 255, .2);
}
.stats::after { /* horizontal rule */
  content: ""; position: absolute; left: 0; right: 0; top: 125px; height: 1px;
  background: rgba(255, 255, 255, .2);
}
.stats__item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 23px 6px 0;
  min-height: 125px;
}
.stats__item:nth-child(n+3) { padding-top: 24px; }
.stats__item > img, .stats__icon { width: 32px; height: 32px; flex: none; }
.stats__icon { display: grid; place-items: center; }
.stats__icon--pen img { width: 25.6px; height: auto; }
.stats__icon--edit img { width: 28.3px; height: auto; }
.stats__item:nth-child(2) > span:last-child { margin-top: 4px; }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 45%, #f5f5f5 100%);
  padding: 70px 0 104px;
  overflow: hidden;
}
.problem::after { /* curved light-blue base */
  content: ""; position: absolute; z-index: 0;
  left: 50%; bottom: 0; width: 596px; height: 236px; transform: translateX(-50%);
  background: url("../assets/icons/section-bg-curve.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.problem__inner { position: relative; z-index: 1; }
.problem__copy .h2 { max-width: 324px; margin-right: -10px; }
.problem__copy .body-l { margin-top: 15px; max-width: 316px; }
.problem__card {
  position: relative;
  margin-top: 32px;
  width: 291px;
  background: var(--c-white);
  border: .75px solid rgba(239, 130, 130, .8);
  border-radius: 10px;
  box-shadow: 0 2.3px 17px rgba(198, 35, 35, .25);
  padding: 20px 23px 19px 25px;
}
.problem__alert { position: absolute; width: 25px; height: 25px; right: -9px; top: -10px; }
.problem__card li {
  position: relative;
  padding: 0 0 0 17px;
  font-weight: 500; font-size: 14px; line-height: 18px;
}
.problem__card li + li { margin-top: 12px; padding-top: 12px; border-top: .57px solid #e5e5e5; }
.problem__card li::before {
  content: ""; position: absolute; left: 0; top: 5.5px; width: 7px; height: 7px; border-radius: 50%; background: #d15252;
}
.problem__card li + li::before { top: 17.5px; }

/* =========================================================
   SECTION HEAD (centered)
   ========================================================= */
.section-head { text-align: center; }
.section-head .h2 { margin-top: 12px; }
.section-head__text { margin: 16px auto 0; max-width: 322px; }

/* =========================================================
   PRODUCT + carousels
   ========================================================= */
.product { position: relative; padding: 71px 0 66px; }
/* themed text: follows the light / dark backdrop (main.js sets --theme-fg / --theme-accent) */
.product, .who { --tfg: var(--c-ink); --tacc: var(--c-teal-text); color: var(--tfg); }
html.js-theme :is(.product, .hiw, .who) { --tfg: var(--theme-fg, var(--c-ink)); --tacc: var(--theme-accent, var(--c-teal-text)); }
.product .text-teal, .who .text-teal { color: var(--tacc); }
.product-card, .who-card { color: var(--c-ink); }
html.js-theme :is(.product, .hiw, .who, .capability, .text-teal, .hiw__title, .hiw .eyebrow) { transition: color .4s ease; }
.product__eyebrow { text-align: center; }
.product__pin { padding-top: 12px; }
.product .section-head .h2 { margin-top: 0; }

.carousel { position: relative; }
.carousel__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: none; scroll-snap-align: start; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; }
.carousel__dot {
  width: 6px; height: 6px; padding: 0; border-radius: 50%;
  background: #d9d9d9;
  transition: background .3s, transform .3s;
}
.carousel__dot.is-active { background: var(--c-check); }

.product__viewport { margin-top: 11px; }
.product__track { gap: 15px; padding: 10px 30px 12px; scroll-padding-inline: 30px; }
.product .carousel__dots { margin-top: 19px; }

.product-card {
  position: relative;
  width: 314px; height: 364px;
  background: var(--c-white);
  border: .8px solid rgba(207, 196, 226, .3);
  border-radius: 12px;
  overflow: hidden;
}
.product-card__media {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 390 / 275;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.product-card__media img { position: absolute; max-width: none; object-fit: cover; }
.product-card__media::after {
  content: ""; position: absolute; left: 0; right: 0; top: 66.9%; height: 33.5%;
  background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, #fff 83.654%);
}
.pc-img-1, .pc-img-2, .pc-img-3 { width: 100.77%; height: 95.27%; left: -.26%; top: -.36%; }
.pc-img-4 { width: 122.82%; height: 116.36%; left: -11.28%; top: -10.91%; }
.pc-img-5 { width: 114.36%; height: 108%; left: -11.28%; top: -6.55%; }
.product-card__title, .product-card__text { position: relative; margin-left: 20px; margin-right: 16px; }
.product-card__title {
  margin-top: 217px;
  font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: normal;
}
.product-card__text { margin-top: 4px; font-size: 14px; line-height: 19.355px; max-width: 276px; }
.product-card:nth-child(2) .product-card__text { max-width: 267px; }
.product-card:nth-child(n+3) .product-card__text { max-width: 255px; }

/* capabilities */
.capabilities { margin-top: 70px; display: grid; gap: 21px; }
.capabilities__title { font-size: 24px; line-height: 31px; }
.capabilities__btn, .capabilities__divider { display: none; }
.capability { display: flex; gap: 11px; align-items: flex-start; color: var(--tfg); }
.capability + .capabilities__divider + .capability { margin-top: 9px; }
.capability img { width: 25px; height: 25px; flex: none; margin-top: 2px; }
.capability__title { font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: normal; }
.capability__text { margin-top: 5px; font-size: 14px; line-height: 1.5; }

/* =========================================================
   HOW IT WORKS (dark)
   ========================================================= */
.hiw {
  position: relative;
  --tfg: var(--c-white); --tacc: var(--c-cyan);
  background: var(--c-dark);
  color: var(--tfg);
  padding: 74px 0 77px;
  overflow: hidden;
}
html.js-theme .hiw { background: transparent; }
.hiw__decor { position: absolute; inset: 0; pointer-events: none; }
.hiw__grid {
  position: absolute; left: 50%; top: 15px; width: 784px; height: 254px; transform: translateX(-50%);
  background: url("../assets/icons/grid-pattern.svg") center top / 100% 100% no-repeat;
}
.hiw__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 9% at 50% 100%, rgba(205, 210, 228, .85) 0%, rgba(160, 175, 215, .35) 55%, rgba(140, 160, 210, 0) 100%),
    radial-gradient(70% 42% at 100% 100%, rgba(135, 125, 253, .9) 0%, rgba(80, 70, 190, .45) 45%, rgba(40, 35, 110, 0) 100%),
    radial-gradient(90% 55% at 0% 100%, rgba(26, 95, 225, 1) 0%, rgba(14, 55, 150, .55) 45%, rgba(12, 35, 80, 0) 100%);
}
.hiw__inner { position: relative; }
.hiw .eyebrow { color: var(--tfg); }
.hiw__title { color: var(--tacc); margin-top: 12px; line-height: 1.2; max-width: 288px; }
.hiw__text { margin-top: 15px; }
.hiw__btn { display: none; }
.hiw__steps { margin-top: 38px; display: grid; gap: 50px; }
.step__num {
  display: inline-block;
  font-family: var(--ff-body); font-weight: 300; font-size: 30px; line-height: 38px;
  background: linear-gradient(180deg, #5f8cff, #133280);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step__card {
  position: relative;
  margin-top: 15px;
  height: 427px;
  border-radius: 16px;
  background: rgba(27, 28, 30, .29);
  border: .8px solid rgba(255, 255, 255, .28);
  padding: 28px 28px 0 29px;
  overflow: hidden;
}
.step__title { font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: normal; }
.step__text { margin-top: 10.4px; font-size: 14px; line-height: 19.2px; max-width: 226px; }
.step__img { position: absolute; right: 0; bottom: 0; height: auto; }
.step__img--1 { width: 288px; }
.step__img--2 { width: 291px; }
.step__img--3 { width: 223px; }

/* =========================================================
   WHO IT'S FOR
   ========================================================= */
.who { position: relative; padding: 70px 0 60px; }
.who .h2 { max-width: 293px; margin-inline: auto; }
.who .section-head__text { max-width: 312px; }
.who__viewport { margin-top: 23px; }
.who__track { gap: 16px; padding: 0 28px 4px; scroll-padding-inline: 28px; }
.who .carousel__dots { margin-top: 26px; }
.who-card {
  position: relative;
  width: 279px; height: 318px;
  background: var(--c-white);
  border: .9px solid rgba(207, 196, 226, .3);
  border-radius: 14px;
  overflow: hidden;
}
.who-card img { width: 100%; height: auto; aspect-ratio: 306 / 219; object-fit: cover; }
.who-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 124px; height: 76px;
  background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, rgba(250, 250, 250, .5) 29.327%, #fff 100%);
}
.who-card__title, .who-card__text { position: relative; margin-inline: 18px; }
.who-card__title { margin-top: 21px; font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: normal; white-space: nowrap; }
.who-card__text { margin-top: 4.5px; font-size: 14px; line-height: 21.87px; max-width: 232px; }

/* =========================================================
   LIGHT FLOW (why → faq)
   ========================================================= */
.light-flow { position: relative; background: linear-gradient(180deg, #f5f5f5 0%, #f7f7f7 55%, #fff 100%); }

/* WHY */
.why { position: relative; padding: 90px 0 0; overflow: hidden; }
.why::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 596px; height: 236px; transform: translateX(-50%) scaleY(-1);
  background: url("../assets/icons/section-bg-curve.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.why__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.why__intro { text-align: center; }
.why__intro .h2 { margin-top: 12px; }
.why__intro .body-l { margin: 16px auto 0; max-width: 315px; }
.why__btn--d { display: none; }
.why__cards { width: 100%; margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.why-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 13px;
  align-items: center;
  padding: 19px 20px 19px 20px;
  border: 1px solid #c8dbf1;
}
.why-card img { width: 24px; height: 24px; }
.why-card__title { font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: normal; }
.why-card__text { grid-column: 1 / -1; margin-top: 12px; font-size: 14px; line-height: 19.5px; max-width: 295px; }
/* staggered, edge-bleeding cards */
.why-card:nth-child(odd) { margin: 0 calc(-1 * var(--gutter) - 11px) 0 0; border-right: 0; border-radius: 15px 0 0 15px; }
.why-card:nth-child(even) { margin: 0 29px 0 calc(-1 * var(--gutter) - 10px); border-left: 0; border-radius: 0 15px 15px 0; padding-left: calc(var(--gutter) + 16px); }
.why-card--teal { background: #d7f1ee; }
.why-card--blue { background: #d2e8ff; }
.why-card--lavender { background: #e7e7fc; order: 4; margin: 0 29px 0 calc(-1 * var(--gutter) - 27px) !important; border-left: 0 !important; border-right: 1px solid #c8dbf1 !important; border-radius: 0 15px 15px 0 !important; padding-left: calc(var(--gutter) + 16px) !important; }
.why-card--cyan { background: #d3f8f9; order: 3; margin: 0 calc(-1 * var(--gutter) - 11px) 0 0 !important; border-left: 1px solid #c8dbf1 !important; border-right: 0 !important; border-radius: 15px 0 0 15px !important; padding-left: 20px !important; }
.why__btn--m { width: 100%; justify-content: center; margin-top: 25px; }

/* PRICING */
.pricing { position: relative; padding: 70px 0 0; }
.pricing__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 20% at 50% 52%, rgba(70, 130, 245, .55) 0%, rgba(120, 165, 245, .25) 50%, rgba(150, 190, 250, 0) 100%),
    radial-gradient(45% 15% at 80% 20%, rgba(100, 235, 240, .45) 0%, rgba(150, 240, 240, 0) 100%);
}
.pricing__inner { position: relative; }
.pricing__title { text-align: center; font-family: var(--ff-head); font-weight: 600; font-size: 20px; line-height: 50px; }
.pricing__sub { margin-top: 4px; text-align: center; font-weight: 500; font-size: 15px; line-height: 22px; color: var(--c-muted); }
.price-card {
  display: flex; flex-direction: column;
  max-width: 1216px; margin: 24px auto 0;
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid #dfe8f4; border-radius: 20px;
  box-shadow: 0 12px 30px rgba(18, 51, 115, .1);
}
.price-card__plan {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  color: var(--c-white);
  background:
    radial-gradient(circle at 105% 100%, rgba(19, 217, 191, .42) 0%, rgba(19, 217, 191, 0) 60%),
    radial-gradient(circle at -10% -15%, rgba(19, 89, 211, .75) 0%, rgba(19, 89, 211, 0) 55%),
    var(--c-dark);
}
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-family: var(--ff-head); }
.price-card__amount { font-weight: 600; font-size: 46px; line-height: 54px; }
.price-card__per { font-weight: 500; font-size: 16px; color: #9aa3ae; }
.price-card__limits { margin: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.price-card__limits li {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-weight: 500; font-size: 15px; line-height: 21px; color: #e4e8ec;
}
.price-card__num { text-align: right; font-family: var(--ff-head); font-weight: 600; font-size: 34px; line-height: 40px; color: var(--c-cyan); }
.price-card__trial { margin-top: auto; font-size: 14px; line-height: 21px; color: #c3c9d1; }
.price-card__trial strong { display: block; font-weight: 600; color: var(--c-cyan); }
.price-card__actions { flex-wrap: nowrap; margin-top: 14px; }
.price-card__more { margin-top: 14px; font-size: 14px; line-height: 21px; color: #9aa3ae; }
.price-card__more a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.price-card__more a:hover { color: var(--c-white); }
.price-card__actions .btn { flex: 1; min-width: 0; height: 47px; padding-inline: 10px; font-size: 15px; }
.price-card__included { padding: 28px 24px; }
.price-card__title { font-family: var(--ff-head); font-weight: 600; font-size: 18px; line-height: 22px; color: var(--c-ink); }
.price-card__features { display: grid; gap: 14px; margin-top: 20px; }
.price-card__features li {
  position: relative; padding-left: 32px;
  font-size: 15px; line-height: 22px; color: var(--c-ink);
}
.price-card__features li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: url("../assets/icons/pricing-check.svg") center / contain no-repeat;
}
.price-card__features strong { display: block; font-weight: 600; }
.price-card__features span { display: none; margin-top: 4px; font-size: 14px; line-height: 20px; color: #6b7178; }

/* ABOUT */
.about { position: relative; padding: 100px 0 0; }
.about__inner { display: grid; }
.about__copy { display: contents; }
.about__copy .eyebrow { order: 1; }
.about__copy .h2 { order: 2; margin-top: 12px; max-width: 303px; }
.about__media { order: 3; margin-top: 21px; display: grid; grid-template-columns: 98fr 209fr; gap: 9px 8px; }
.about__copy p:not(.eyebrow) { order: 4; font-size: 14px; line-height: 1.5; max-width: 302px; }
.about__copy p:nth-of-type(2) { margin-top: 25px; }
.about__copy p:nth-of-type(3), .about__copy p:nth-of-type(4) { margin-top: 20px; }
.about__goal { font-weight: 600; }
.about__img-main { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }
.about__img-side { width: 100%; height: 100%; aspect-ratio: 209 / 122; object-fit: cover; border-radius: 8px; }
.about__years {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #d2e8ff; border: .5px solid #c8dbf1; border-radius: 8px;
  font-family: var(--ff-head); font-weight: 600; text-align: center; padding: 6px 4px;
}
.about__years-num { font-size: 26px; line-height: 29px; }
.about__years-label { font-size: 14px; line-height: 15px; }
.about__years-text { margin-top: 8px; max-width: 74px; font-family: var(--ff-body); font-weight: 400; font-size: 12px; line-height: 1.3; }

/* FILES STAY YOURS */
.files { position: relative; padding: 55px 0 0; }
.files__box {
  position: relative; overflow: hidden;
  min-height: 228px;
  border-radius: 20px;
  background: var(--c-dark);
  color: var(--c-white);
  text-align: center;
  padding: 51px 27px 30px;
}
.files__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    url("../assets/icons/grid-pattern.svg") center / 1440px 422px no-repeat,
    radial-gradient(55% 70% at 0% 100%, rgba(42, 100, 210, 1) 0%, rgba(30, 70, 150, .55) 45%, rgba(20, 40, 80, 0) 100%),
    radial-gradient(60% 75% at 100% 0%, rgba(43, 40, 160, 1) 0%, rgba(35, 32, 110, .55) 45%, rgba(25, 25, 60, 0) 100%);
  opacity: .95;
}
.files__title, .files__text { position: relative; }
.files__title { font-family: var(--ff-head); font-weight: 600; font-size: 24px; line-height: 20px; color: var(--c-cyan); }
.files__text { margin: 16px auto 0; max-width: 261px; font-size: 14px; line-height: 1.5; }

/* FAQ */
.faq { position: relative; padding: 55px 0 81px; }
.faq__inner { display: block; }
.faq__title { margin-top: 12px; max-width: 278px; }
.faq__line { margin-top: 15px; width: 134px; height: 4px; }
.faq__cta--d { display: none; }
.faq__list { margin-top: 27px; display: grid; gap: 18px; }
.faq-item {
  background: rgba(230, 245, 243, .7);
  border: 1px solid #c4ebe6;
  border-radius: 10px;
}
.faq-item__q button {
  width: 100%;
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 15px 13px 13px;
  text-align: left;
  font-family: var(--ff-head); font-weight: 600; font-size: 14px; line-height: 1.3;
}
.faq-item__q span { max-width: 277px; }
.faq-item__q img {
  flex: none; width: 14px; height: 14px; margin-right: 6px;
  transform: rotate(45deg);
  transition: transform .45s var(--ease-out);
}
.faq-item.is-open .faq-item__q img { transform: rotate(0deg); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; min-height: 0; }
.faq-item__a p {
  margin: 0 13px;
  padding: 8px 0 16px;
  border-top: .85px solid rgba(17, 18, 19, .12);
  font-size: 12px; line-height: 1.5;
  opacity: 0; transition: opacity .3s ease;
}
.faq-item.is-open .faq-item__a p { opacity: 1; transition-delay: .1s; }
.faq__cta { margin-top: 36px; text-align: center; }
.faq__cta p { font-size: 15px; line-height: 19px; }
.faq__cta .btn { margin-top: 14px; }

/* =========================================================
   FOOTER + CTA
   ========================================================= */
.footer { position: relative; background: var(--c-dark); color: var(--c-white); padding-top: 27px; }
.cta {
  position: relative; overflow: hidden;
  margin: 0 21px;
  min-height: 262px;
  border-radius: 0 0 30px 30px;
  padding: 24px 22px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.cta__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 30% at 45% 100%, rgba(175, 168, 255, .85) 0%, rgba(130, 125, 250, .4) 50%, rgba(110, 100, 240, 0) 100%),
    radial-gradient(65% 55% at 8% 100%, rgba(36, 85, 210, 1) 0%, rgba(25, 65, 170, .5) 50%, rgba(18, 40, 100, 0) 100%),
    radial-gradient(60% 75% at 100% 100%, rgba(85, 68, 205, 1) 0%, rgba(60, 50, 160, .5) 50%, rgba(40, 35, 100, 0) 100%),
    radial-gradient(45% 50% at 85% 35%, rgba(42, 38, 98, .9) 0%, rgba(30, 28, 60, 0) 100%),
    linear-gradient(180deg, #111213 0%, #121620 100%);
}
.cta__title, .cta__text, .cta__actions { position: relative; }
.cta__title { max-width: 289px; font-family: var(--ff-head); font-weight: 600; font-size: 22px; line-height: 1.3; }
.cta__text { margin-top: 10px; max-width: 300px; font-size: 15px; line-height: 22px; opacity: .85; }
.cta__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.cta__actions .btn { height: 47px; width: 200px; font-size: 18px; }

.footer__main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 15px 31px 0;
  padding-top: 19px;
}
.footer__logo img { width: 177px; height: auto; }
.footer__social { display: flex; gap: 12px; grid-row: 1; grid-column: 2; }
.footer__social img { width: 24px; height: 24px; }
.footer__social a { transition: opacity .2s; }
.footer__social a:hover { opacity: .75; }
.footer__links {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 155.5px 1fr;
  margin-top: 19px; padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.footer__links ul { display: grid; gap: 1px; padding-left: 2px; }
.footer__links a { font-size: 14px; line-height: 25px; transition: color .2s; }
.footer__links a:hover, .footer__legal a:hover, .footer__support a:hover { color: var(--c-cyan); }
.footer__support { grid-column: 1 / -1; margin-top: 16px; font-size: 13px; line-height: 20px; }
.footer__support p { color: rgba(255, 255, 255, .6); }
.footer__support a { font-size: 14px; line-height: 25px; transition: color .2s; }
.footer__bottom {
  margin: 21px 31px 0;
  padding: 26px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  text-align: center;
  font-size: 12px; line-height: normal;
}
.footer__legal { display: flex; justify-content: center; gap: 69px; font-weight: 300; }
.footer__copy { margin-top: 18px; }

/* =========================================================
   PHONES ONLY
   ========================================================= */
@media (max-width: 599.98px) {
  .problem__copy { text-align: center; }
  .problem__copy .h2 { max-width: none; margin-inline: -10px; }
  .problem__copy .body-l { margin-inline: auto; }
  .problem__card { margin-inline: auto; }
}

/* =========================================================
   TABLETS (600–1099): desktop layout for
   hero, problem and pricing; 2×2 "why" grid; full-width text
   ========================================================= */
@media (min-width: 600px) and (max-width: 1099.98px) {
  :root { --gutter: 40px; }
  .d-only { display: inline; }
  .m-only { display: none; }
  .container { max-width: none; }
  .h2 { font-size: 30px; line-height: 1.25; }
  .body-l { font-size: 16px; line-height: 1.5; }
  .section-head__text, .who .h2, .who .section-head__text, .hiw__title, .why__intro .body-l,
  .about__copy .h2, .about__copy p:not(.eyebrow), .faq__title, .files__text, .cta__title,
  .problem__copy .h2, .problem__copy .body-l, .step__text, .capability__text, .product-card__text { max-width: none; }

  /* hero — desktop composition */
  .hero { padding: calc(var(--nav-h) + 16px) 0 44px; }
  .hero__card { display: block; margin: 0 16px; padding: 0 0 48px; border-radius: 40px; text-align: left; }
  .hero__bg { background: linear-gradient(180deg, #111213 0%, #121519 20%, #121a2a 31%, #111e36 42%, #122549 54%, #122b5c 65%, #264780 76%, #5577af 88%, #94b4e2 100%); }
  .hero__bg::before { background: linear-gradient(180deg, #111213 0%, #13181f 31%, #151d2f 42%, #172741 54%, #1c335b 65%, #203f77 76%, #2b5095 88%, #5f89d6 100%); }
  .hero__bg::after { background: linear-gradient(180deg, #111213 0%, #131920 31%, #12232c 42%, #12333b 54%, #12464b 65%, #125c60 76%, #197a79 88%, #4fb3bd 100%); }
  .hero__content { display: block; width: calc(100% - 64px); margin: 0 auto; padding-top: 56px; }
  .hero__title { max-width: 60%; margin: 0; font-size: clamp(30px, 4.7vw, 40px); line-height: 1.3; letter-spacing: 0; }
  .hero__text { margin: 16px 0 0; max-width: 54%; font-size: 15px; }
  .hero__actions { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 24px; }
  .hero__actions .btn { height: 38px; width: auto; font-size: 15px; }
  .hero__media { position: absolute; top: 0; bottom: 0; right: 12px; width: 44%; height: auto; margin: 0; }
  .hero__video { width: 100%; height: auto; aspect-ratio: 1; }
  .stats { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 40px 24px 0; font-size: 14px; line-height: 20px; text-align: left; }
  .stats::before, .stats::after { display: none; }
  .stats__item { flex-direction: row; align-items: center; gap: 8px; min-height: 0; padding: 0 !important; }
  .stats__item + .stats__item { padding-left: 16px !important; border-left: 1px solid rgba(255, 255, 255, .3); min-height: 52px; }
  .stats__item:nth-child(2) > span:last-child { margin-top: 0; }

  /* problem — two columns */
  .problem { padding: 80px 0 120px; }
  .problem::after { width: 100%; height: 420px; }
  .problem__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .problem__copy .h2 { margin-right: 0; }
  .problem__card { margin-top: 0; width: auto; border-radius: 15px; padding: 28px; }
  .problem__alert { width: 32px; height: 32px; right: -10px; top: -11px; }
  .problem__card li { padding-left: 20px; font-size: 16px; line-height: 24px; }
  .problem__card li::before { width: 9px; height: 9px; top: 7.5px; }
  .problem__card li + li { margin-top: 18px; padding-top: 18px; }
  .problem__card li + li::before { top: 25.5px; }

  /* product / capabilities / how it works */
  .product .section-head .h2 { margin-inline: auto; }
  .capabilities__title { font-size: 30px; line-height: 1.25; }
  .step__card { height: 470px; }
  .step__img--1 { width: 349px; }
  .step__img--2 { width: 353px; }
  .step__img--3 { width: 270px; }

  /* why — 2×2 grid below the copy */
  .why { padding-top: 110px; }
  .why::before { width: 100%; height: 420px; }
  .why__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .why-card,
  .why-card:nth-child(odd), .why-card:nth-child(even),
  .why-card--lavender, .why-card--cyan {
    order: 0 !important; margin: 0 !important; display: block;
    padding: 28px 24px 26px !important;
    border: 1px solid #c8dbf1 !important; border-radius: 15px !important;
  }
  .why-card img { width: 40px; height: 40px; }
  .why-card__title { margin-top: 20px; font-size: 20px; }
  .why-card__text { margin-top: 6px; font-size: 15px; line-height: 22px; max-width: none; }

  /* pricing — one plan, two panels */
  .pricing { padding: 90px 0 0; }
  .pricing__title { font-size: 30px; }
  .pricing__sub { margin-top: 8px; font-size: 18px; line-height: 26px; }
  .price-card { flex-direction: row; margin-top: 40px; border-radius: 24px; }
  .price-card__plan { flex: 0 0 42%; padding: 40px 32px; }
  .price-card__amount { font-size: 42px; line-height: 50px; }
  .price-card__per { font-size: 18px; }
  .price-card__limits { margin: 22px 0 28px; }
  .price-card__actions { flex-direction: column; gap: 10px; }
  .price-card__actions .btn { flex: none; height: 40px; }
  .price-card__included { flex: 1; padding: 40px 32px; }
  .price-card__title { font-size: 20px; line-height: 24px; }
  .price-card__features { gap: 18px; margin-top: 24px; }
  .price-card__features li { font-size: 16px; }

  /* about / files / faq / cta */
  .about__media { grid-template-columns: 187fr 398fr; gap: 14px; }
  .about__years-num { font-size: 40px; line-height: 48px; }
  .about__years-label { font-size: 20px; line-height: 24px; }
  .about__years-text { font-size: 15px; max-width: 140px; }
  .about__copy p:not(.eyebrow) { font-size: 16px; }
  .files__box { padding: 56px 40px 44px; }
  .files__title { font-size: 30px; line-height: 1.2; }
  .files__text { font-size: 16px; }
  .faq-item__q span { max-width: none; }
  .faq-item__q button { font-size: 16px; padding-left: 20px; padding-right: 20px; }
  .faq-item__a p { margin: 0 20px; font-size: 14px; }
  .cta { margin-inline: 24px; padding: 40px 32px; }
  .cta__title { font-size: 30px; }
  .cta__text { max-width: none; font-size: 17px; line-height: 26px; }
  .cta__actions { flex-direction: row; gap: 15px; }
  .cta__actions .btn { height: 38px; width: auto; font-size: 15px; }

  /* footer: logo | link columns | social, legal row split left/right */
  .footer__main { margin: 0 var(--gutter); padding-top: 40px; grid-template-columns: minmax(150px, 1fr) auto; align-items: start; column-gap: clamp(28px, 5vw, 48px); }
  .footer__logo img { width: min(200px, 100%); }
  .footer__links { grid-column: auto; grid-template-columns: repeat(2, minmax(110px, 140px)); margin: 0; padding: 0; border: 0; }
  .footer__links ul { gap: 4px; padding: 0; }
  .footer__logo { grid-row: 1 / 4; }
  .footer__support { grid-column: 2; margin-top: 20px; font-size: 14px; line-height: 25px; }
  .footer__social { grid-row: 3; grid-column: 2; margin-top: 16px; }
  .footer__bottom { margin: 32px var(--gutter) 0; padding: 20px 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .footer__legal { gap: 40px; }
  .footer__copy { margin: 0; }
}

/* =========================================================
   DESKTOP (≥1100)
   ========================================================= */
@media (min-width: 1100px) {
  :root { --gutter: 40px; }
  .d-only { display: inline; }
  .m-only { display: none; }
  .container { max-width: calc(1220px + 2 * var(--gutter)); }

  .h2 { font-size: clamp(36px, 3.125vw, 45px); line-height: 1.2222; letter-spacing: 0; }
  .body-l { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }

  /* nav */
  /* edges line up with the hero card */
  .nav__inner { padding-inline: max(clamp(16px, 2.92vw, 42px), (100% - 1600px) / 2); gap: 24px; }
  .nav__logo { flex: none; }
  .nav__logo img { width: clamp(120px, 11vw, 158px); }
  .nav__links { display: flex; gap: clamp(14px, calc(4.4vw - 30px), 32px); margin-left: clamp(8px, calc(4.4vw - 30px), 32px); font-size: clamp(14px, 1.05vw, 15px); color: var(--c-white); }
  .nav__links a, .nav__login { position: relative; padding: 6px 0; white-space: nowrap; transition: color .25s; }
  .nav__links a::after, .nav__login::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--c-teal);
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
  }
  .nav__links a:hover, .nav__login:hover { color: var(--c-cyan); }
  .nav__links a:hover::after, .nav__links a.is-active::after, .nav__login:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__actions { display: flex; flex: none; align-items: center; gap: clamp(10px, 1.05vw, 15px); margin-left: auto; }
  .nav__login { margin-right: clamp(4px, .7vw, 10px); font-size: clamp(14px, 1.05vw, 15px); color: var(--c-white); }
  .nav__toggle, .tray { display: none; }

  /* hero */
  .hero { padding: calc(var(--nav-h) + 22px) 0 60px; }
  .hero__card {
    display: block;
    max-width: 1600px;
    margin: 0 auto;
    margin-inline: max(clamp(16px, 2.92vw, 42px), (100% - 1600px) / 2);
    min-height: clamp(520px, 46.2vw, 665px);
    padding: 0;
    border-radius: 50px;
    text-align: left;
  }
  .hero__bg { background: linear-gradient(180deg, #111213 0%, #121519 20%, #121a2a 31%, #111e36 42%, #122549 54%, #122b5c 65%, #264780 76%, #5577af 88%, #94b4e2 100%); }
  .hero__bg::before { background: linear-gradient(180deg, #111213 0%, #13181f 31%, #151d2f 42%, #172741 54%, #1c335b 65%, #203f77 76%, #2b5095 88%, #5f89d6 100%); }
  .hero__bg::after { background: linear-gradient(180deg, #111213 0%, #131920 31%, #12232c 42%, #12333b 54%, #12464b 65%, #125c60 76%, #197a79 88%, #4fb3bd 100%); }
  .hero__inner, .hero__card > .hero__content { position: relative; }
  .hero__content {
    display: block;
    position: relative; z-index: 2;
    width: min(1220px, 100% - 2 * clamp(24px, 4.7vw, 68px));
    margin: 0 auto;
    padding-top: clamp(56px, 5.76vw, 83px);
  }
  .hero__title {
    max-width: min(734px, 62%);
    margin: 0;
    font-size: clamp(38px, 3.89vw, 56px);
    line-height: 1.34;
    letter-spacing: 0;
  }
  .hero__text { margin: 17px 0 0; max-width: min(569px, 50%); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
  .hero__actions { flex-direction: row; gap: 15px; margin-top: 20px; }
  .hero__actions .btn { height: 38px; width: auto; font-size: 15px; }
  .hero__media {
    /* centre of the video sits at 80.8% of the 1220 content column (x≈1096 @1440) */
    --cw: min(1220px, 100% - 2 * clamp(24px, 4.7vw, 68px));
    --mw: min(678px, 50%);
    position: absolute;
    top: 0; bottom: 0;
    left: calc(50% + var(--cw) * .308 - var(--mw) / 2);
    width: var(--mw);
    height: auto;
    margin: 0;
  }
  .hero__video { width: min(640px, 94%); height: auto; aspect-ratio: 1; }

  .stats {
    display: flex; justify-content: center; align-items: center;
    gap: clamp(20px, 3.47vw, 50px);
    margin: 60px auto 0;
    max-width: 1440px;
    font-size: clamp(15px, 1.25vw, 18px); line-height: 25px;
    text-align: left;
  }
  .stats::before, .stats::after { display: none; }
  .stats__item { flex-direction: row; align-items: center; gap: 10px; min-height: 0; padding: 0 !important; }
  .stats__item + .stats__item { padding-left: clamp(20px, 3.47vw, 50px) !important; border-left: 1px solid rgba(255, 255, 255, .3); min-height: 67px; }
  .stats__item > img, .stats__icon { width: 40px; height: 40px; }
  .stats__icon--pen img { width: 32px; }
  .stats__icon--edit img { width: 35.3px; }
  .stats__item:nth-child(2) > span:last-child { margin-top: 0; }

  /* problem */
  .problem { padding: 110px 0 150px; }
  .problem::after { width: 100%; height: 572px; background-size: 100% 100%; }
  .problem__inner { display: grid; grid-template-columns: minmax(0, 606px) minmax(0, 525px); column-gap: clamp(32px, 4vw, 56px); justify-content: space-between; align-items: start; padding-left: calc(var(--gutter) + 8px); padding-right: calc(var(--gutter) + 18px); }
  .problem__copy .h2 { max-width: none; }
  .problem__copy .body-l { margin-top: 15px; max-width: 478px; }
  .problem__card {
    margin-top: 0; width: auto;
    border-width: .85px; border-radius: 15px;
    box-shadow: 0 4px 29.5px rgba(198, 35, 35, .25);
    padding: 40px 45px 40px 40px;
  }
  .problem__alert { width: 40px; height: 40px; right: -10px; top: -11px; }
  .problem__card li { padding-left: 22px; font-size: 18px; line-height: 27px; }
  .problem__card li + li { margin-top: 24px; padding-top: 25px; border-top-width: 1px; }
  .problem__card li::before { width: 11px; height: 11px; top: 8px; left: 0; }
  .problem__card li + li::before { top: 33px; }

  /* section heads */
  .section-head .h2 { margin-top: 15px; line-height: 50px; }
  .section-head__text { margin-top: 17px; max-width: 669px; }

  /* product (horizontal scroll pinned to page scroll) */
  .product { padding: 94px 0 82px; }
  .product .section-head .h2 { max-width: 677px; margin-inline: auto; margin-top: 0; }
  .product__pin { padding-top: 15px; }
  .product__pin { padding-bottom: 12px; }
  .product__viewport { margin-top: 12px; overflow: hidden; }
  .product__track {
    overflow: visible;
    scroll-snap-type: none;
    gap: 25px;
    width: max-content;
    padding: 12px max(var(--gutter), (100vw - 1220px) / 2) 12px;
    will-change: transform;
  }
  .product .carousel__dots { display: none; }
  /* --pc-media is tuned to the viewport height by main.js (275px = Figma) */
  .product-card { width: 390px; height: calc(var(--pc-media, 275px) + 177px); border-width: 1px; border-radius: 15px; }
  .product-card__media { aspect-ratio: auto; height: var(--pc-media, 275px); border-radius: 15px 15px 0 0; }
  .product-card__title { margin: calc(var(--pc-media, 275px) - 5px) 25px 0; font-size: 23px; }
  .product-card__text { margin: 5px 25px 0; font-size: 16px; line-height: 24px; max-width: 342px; }
  .product-card:nth-child(2) .product-card__text { max-width: 309px; }
  .product-card:nth-child(n+3) .product-card__text { max-width: 316px; }

  .capabilities {
    margin-top: 41px;
    grid-template-columns: minmax(0, 295fr) minmax(0, 373fr) 1px minmax(0, 335fr);
    column-gap: clamp(28px, 4.72vw, 68px);
    align-items: start;
    padding-left: calc(var(--gutter) + 19px);
  }
  .capabilities__title { font-size: clamp(36px, 3.125vw, 45px); line-height: 1.2222; }
  .capabilities__btn { display: inline-flex; margin-top: 17px; }
  .capabilities__divider { display: block; height: 128px; margin-top: -6px; background: #d9d9d9; }
  .capability { gap: 15px; }
  .capability + .capabilities__divider + .capability { margin-top: 0; }
  .capability img { width: 30px; height: 30px; margin-top: 3px; }
  .capability__title { font-size: 23px; }
  .capability__text { font-size: 18px; line-height: 27px; max-width: 335px; }

  /* how it works */
  .hiw { padding: 114px 0 86px; }
  .hiw__grid { width: 1440px; height: 422px; top: 0; }
  .hiw__glow {
    background:
      radial-gradient(30% 16% at 52% 100%, rgba(212, 214, 228, .95) 0%, rgba(175, 185, 215, .45) 50%, rgba(140, 160, 210, 0) 100%),
      radial-gradient(26% 40% at 92% 100%, rgba(140, 125, 255, 1) 0%, rgba(95, 80, 220, .5) 45%, rgba(40, 35, 110, 0) 100%),
      radial-gradient(48% 62% at 0% 100%, rgba(26, 95, 230, 1) 0%, rgba(14, 58, 160, .6) 40%, rgba(12, 35, 80, 0) 100%),
      radial-gradient(40% 30% at 30% 100%, rgba(60, 120, 220, .6) 0%, rgba(40, 90, 200, 0) 100%);
  }
  .hiw__head { text-align: center; }
  .hiw__title { max-width: none; font-size: clamp(36px, 3.125vw, 45px); line-height: normal; margin-top: 15px; }
  .hiw__text { margin-top: 15px; }
  .hiw__btn { display: inline-flex; gap: 15px; margin-top: 31px; }
  .hiw__steps { margin-top: -28px; grid-template-columns: repeat(3, minmax(0, 382px)); justify-content: space-between; gap: 37px; }
  .step:nth-child(2) { margin-top: 89px; }
  .step__num { font-size: 45px; line-height: 57px; background-image: linear-gradient(180deg, #245ae4, #142349); }
  .step__card { margin-top: 14px; height: 529px; border-width: 1px; border-radius: 20px; padding: 35px 35px 0; }
  .step__title { font-size: 23px; }
  .step__text { margin-top: 13px; font-size: 16px; line-height: 24px; max-width: 294px; }
  .step:nth-child(1) .step__text { max-width: 273px; }
  .step:nth-child(3) .step__text { max-width: 306px; }
  .step__img--1 { width: min(349px, 91%); }
  .step__img--2 { width: min(353px, 92%); }
  .step__img--3 { width: min(270px, 71%); }

  /* who */
  .who { padding: 111px 0 98px; }
  .who .h2 { max-width: 549px; }
  .who .section-head__text { max-width: 669px; }
  .who__viewport { margin-top: 31px; }
  .who__track {
    overflow: visible; scroll-snap-type: none;
    display: grid; grid-template-columns: repeat(4, minmax(0, 306px)); justify-content: center;
    gap: 20px; padding: 0 var(--gutter);
  }
  .who .carousel__dots { display: none; }
  .who-card { width: auto; height: auto; min-height: 349px; border-width: 1px; border-radius: 15px; padding-bottom: 28px; }
  .who-card::before { top: 136px; height: 83px; }
  .who-card__title, .who-card__text { margin-inline: 20px; }
  .who-card__title { margin-top: 23px; font-size: clamp(18px, 1.53vw, 22px); }
  .who-card__text { margin-top: 5px; font-size: 16px; line-height: 24px; max-width: 254px; }
  .who-card:nth-child(-n+2) .who-card__text { max-width: 248px; }

  /* why */
  .why { padding: 143px 0 80px; overflow: visible; }
  .why::before { width: 100%; height: 572px; }
  .why__inner { display: grid; grid-template-columns: minmax(0, 354px) minmax(0, 803px); justify-content: space-between; align-items: start; }
  .why__intro { text-align: left; }
  .why__intro .h2 { margin-top: 15px; line-height: 55px; max-width: 341px; font-size: clamp(36px, 3.125vw, 45px); }
  .why__intro .body-l { margin: 16px 0 0; max-width: 354px; }
  .why__btn--d { display: inline-flex; gap: 15px; margin-top: 16px; }
  .why__btn--m { display: none; }
  .why__cards { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 394px)); gap: 16px 15px; justify-content: end; }
  .why-card,
  .why-card:nth-child(odd), .why-card:nth-child(even),
  .why-card--lavender, .why-card--cyan {
    order: 0 !important;
    margin: 0 !important;
    display: block;
    height: 231px;
    padding: 34px 24px 24px 30px !important;
    border: 1px solid #c8dbf1 !important;
    border-radius: 15px !important;
  }
  .why-card img { width: 40px; height: 40px; }
  .why-card__title { margin-top: 25px; font-size: 23px; }
  .why-card__text { margin-top: 5px; font-size: 16px; line-height: 24px; max-width: 314px; }
  .why-card--cyan .why-card__title { margin-bottom: 5px; }
  .why-card--cyan .why-card__text { max-width: 339px; }

  /* pricing */
  .pricing { padding: 79px 0 116px; }
  .pricing__glow {
    background:
      radial-gradient(30% 42% at 32% 55%, rgba(60, 125, 245, .8) 0%, rgba(100, 155, 245, .4) 40%, rgba(150, 190, 250, 0) 100%),
      radial-gradient(20% 30% at 3% 50%, rgba(140, 180, 245, .45) 0%, rgba(150, 190, 250, 0) 100%),
      radial-gradient(24% 26% at 80% 18%, rgba(90, 232, 240, .7) 0%, rgba(140, 238, 242, .3) 45%, rgba(170, 245, 245, 0) 100%);
  }
  .pricing__title { font-size: clamp(36px, 3.125vw, 45px); line-height: 50px; }
  .pricing__sub { margin-top: 12px; font-size: 20px; line-height: 28px; }
  .price-card { flex-direction: row; margin-top: 40px; border-radius: 24px; box-shadow: 0 16px 40px rgba(18, 51, 115, .1); }
  .price-card__plan { flex: 0 0 476px; padding: 52px 48px; }
  .price-card__amount { font-size: 64px; line-height: 72px; }
  .price-card__per { font-size: 20px; }
  .price-card__limits { margin: 24px 0 32px; }
  .price-card__limits li { grid-template-columns: 58px 1fr; gap: 18px; padding: 18px 0; font-size: 17px; line-height: 24px; }
  .price-card__num { font-size: 44px; line-height: 52px; }
  .price-card__actions .btn { height: 38px; }
  .price-card__included { padding: 52px 48px; }
  .price-card__title { font-size: 22px; line-height: 27px; }
  .price-card__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-top: 44px; }
  .price-card__features li { font-size: 16px; }
  .price-card__features span { display: block; }

  /* about */
  .about { padding: 0; }
  .about__inner { grid-template-columns: minmax(0, 600px) minmax(0, 560px); justify-content: space-between; align-items: start; }
  .about__media { order: 0; margin-top: 0; grid-template-columns: 187fr 398fr; gap: 16px 15px; }
  .about__copy { display: block; padding-top: 39px; }
  .about__copy .eyebrow { padding-left: 5px; }
  .about__copy .h2 { margin-top: 15px; max-width: 555px; line-height: 55px; font-size: clamp(36px, 3.125vw, 45px); }
  .about__copy p:not(.eyebrow) { font-size: 16px; line-height: 27px; }
  .about__copy p:nth-of-type(2) { margin-top: 17px; max-width: 417px; }
  .about__copy p:nth-of-type(3) { margin-top: 30px; max-width: 431px; }
  .about__copy p:nth-of-type(4) { margin-top: 20px; max-width: 452px; }
  .about__img-main { aspect-ratio: 600 / 300; border-radius: 15px; }
  .about__img-side { aspect-ratio: 398 / 232; border-radius: 15px; }
  .about__years { border-width: 1px; border-radius: 15px; padding: 12px 8px; }
  .about__years-num { font-size: 45px; line-height: 55px; }
  .about__years-label { margin-top: -6px; font-size: 23px; line-height: 28px; }
  .about__years-text { margin-top: 24px; max-width: 140px; font-size: 16px; line-height: 27px; }

  /* files */
  .files { padding: 120px 0 0; }
  .files__box { max-width: 1216px; min-height: 291px; margin: 0 auto; border-radius: 30px; padding: 82px 40px 50px; }
  .files__bg {
    background:
      url("../assets/icons/grid-pattern.svg") center / 1440px 422px no-repeat,
      radial-gradient(38% 95% at 0% 100%, rgba(42, 100, 210, 1) 0%, rgba(30, 70, 150, .55) 40%, rgba(20, 40, 80, 0) 100%),
      radial-gradient(34% 95% at 100% 0%, rgba(43, 40, 160, 1) 0%, rgba(35, 32, 110, .55) 40%, rgba(25, 25, 60, 0) 100%);
  }
  .files__title { font-size: clamp(36px, 3.125vw, 45px); line-height: 55px; }
  .files__text { margin-top: 16px; max-width: 741px; font-size: clamp(17px, 1.39vw, 20px); line-height: 30px; }

  /* faq */
  .faq { padding: 100px 0 110px; }
  .faq__inner { padding-right: calc(var(--gutter) + 2px); display: grid; grid-template-columns: minmax(0, 408px) minmax(0, 742px); justify-content: space-between; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
  .faq__title { margin-top: 14px; max-width: 408px; line-height: 55px; font-size: clamp(36px, 3.125vw, 45px); }
  .faq__line { margin-top: 38px; }
  .faq__cta--d { display: block; margin-top: 29px; text-align: left; }
  .faq__cta--m { display: none; }
  .faq__cta p { padding-left: 0; font-size: 18px; line-height: 24px; }
  .faq__cta .btn { margin-top: 14px; }
  .faq__list { margin-top: 0; gap: 15px; }
  .faq-item { border-radius: 15px; }
  .faq-item__q button { min-height: 78px; padding: 18.5px 29px; font-size: 18px; line-height: 25px; }
  .faq-item__q span { max-width: 620px; }
  .faq-item:first-child .faq-item__q span { max-width: 454px; }
  .faq-item__q img { width: 13px; height: 13px; margin-right: 6px; }
  .faq-item__a p { margin: 0 33px 0 29px; padding: 10px 0 20px; font-size: 16px; line-height: 22px; border-top-width: 1px; }

  /* footer */
  .footer { padding-top: 40px; }
  .cta {
    margin: 0 auto; margin-inline: max(clamp(16px, 3.13vw, 45px), (100% - 1600px) / 2);
    min-height: 304px; border-radius: 50px; padding: 52px 40px 40px;
  }
  .cta__bg {
    background:
      radial-gradient(22% 34% at 44% 100%, rgba(170, 165, 255, .85) 0%, rgba(130, 124, 250, .4) 50%, rgba(110, 100, 240, 0) 100%),
      radial-gradient(36% 75% at 8% 100%, rgba(36, 85, 215, 1) 0%, rgba(28, 70, 185, .5) 45%, rgba(18, 40, 100, 0) 100%),
      radial-gradient(34% 90% at 98% 100%, rgba(85, 68, 210, 1) 0%, rgba(65, 55, 170, .5) 45%, rgba(40, 35, 100, 0) 100%),
      radial-gradient(30% 55% at 80% 40%, rgba(45, 40, 100, .9) 0%, rgba(30, 28, 60, 0) 100%),
      linear-gradient(180deg, #111213 0%, #11151c 60%, #141a2c 100%);
  }
  .cta__title { max-width: 760px; font-size: clamp(36px, 3.125vw, 45px); line-height: 60px; }
  .cta__text { margin-top: 6px; max-width: none; font-size: 18px; line-height: 27px; }
  .cta__actions { margin-top: 22px; flex-direction: row; gap: 15px; }
  .cta__actions .btn { height: 38px; width: auto; font-size: 15px; }

  .footer__main {
    max-width: calc(1220px + 2 * var(--gutter));
    margin: 0 auto; padding: 29px var(--gutter) 0 calc(var(--gutter) + 83px);
    grid-template-columns: minmax(0, 1fr) 190px 190px auto; column-gap: 40px;
    align-items: start;
  }
  .footer__logo img { width: 240px; }
  .footer__logo { grid-row: 1 / 3; }
  .footer__links { grid-column: 2 / 4; grid-row: 1 / 3; grid-template-columns: 190px 190px; margin: 0; padding: 0; border: 0; }
  .footer__links ul { gap: 5px; padding: 0; }
  .footer__support { grid-column: 4; grid-row: 1; }
  .footer__social { grid-column: 4; grid-row: 2; align-self: end; margin: 0 0 4px; }
  .footer__social img { width: 25px; height: 25px; }
  .footer__support { margin-top: 0; font-size: 15px; line-height: 27px; }
  .footer__support a { font-size: 15px; line-height: 27px; }
  .footer__bottom {
    max-width: calc(1220px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
    border: 0;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer__bottom::before { display: none; }
  .footer__bottom {
    position: relative;
    margin-top: 24px;
    padding-top: 17px;
    padding-bottom: 20px;
  }
  .footer__bottom::after {
    content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .2);
  }
  .footer__legal { gap: 0; padding-left: 83px; }
  .footer__legal a + a { margin-left: 68px; }
  .footer__copy { margin: 0; font-weight: 300; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
