/* ===================== FONTS (self-hosted) =====================
   Inter: variable (opsz + wght 400-700), subset to Latin + Romanian/Danish/German characters. Phosphor: subset with only the icons the site uses;
   after adding a new ph-* icon, rebuild the subset, add its rule below and bump ?v= here and in the preload. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/inter-normal.woff2?v=1) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(assets/fonts/inter-italic.woff2?v=1) format('woff2'); }
@font-face { font-family: 'Phosphor'; font-style: normal; font-weight: normal; font-display: block; src: url(assets/fonts/phosphor-subset.woff2?v=3) format('woff2'); }
.ph { font-family: 'Phosphor' !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; letter-spacing: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ph.ph-android-logo:before { content: "\e008"; }
.ph.ph-apple-logo:before { content: "\e516"; }
.ph.ph-arrow-right:before { content: "\e06c"; }
.ph.ph-arrow-up-right:before { content: "\e092"; }
.ph.ph-bell:before { content: "\e0ce"; }
.ph.ph-calendar-check:before { content: "\e712"; }
.ph.ph-chart-line-up:before { content: "\e156"; }
.ph.ph-chats-circle:before { content: "\e17e"; }
.ph.ph-check:before { content: "\e182"; }
.ph.ph-clock:before { content: "\e19a"; }
.ph.ph-code:before { content: "\e1bc"; }
.ph.ph-credit-card:before { content: "\e1d2"; }
.ph.ph-device-mobile:before { content: "\e1e0"; }
.ph.ph-globe:before { content: "\e288"; }
.ph.ph-google-play-logo:before { content: "\e294"; }
.ph.ph-key:before { content: "\e2d6"; }
.ph.ph-lifebuoy:before { content: "\e63a"; }
.ph.ph-lightbulb:before { content: "\e2dc"; }
.ph.ph-lock-simple:before { content: "\e308"; }
.ph.ph-magnifying-glass:before { content: "\e30c"; }
.ph.ph-megaphone:before { content: "\e324"; }
.ph.ph-pencil-ruler:before { content: "\e906"; }
.ph.ph-plus:before { content: "\e3d4"; }
.ph.ph-rocket-launch:before { content: "\e3fe"; }
.ph.ph-sparkle:before { content: "\e6a2"; }
.ph.ph-storefront:before { content: "\e470"; }
.ph.ph-tag:before { content: "\e478"; }
.ph.ph-users:before { content: "\e4d6"; }
.ph.ph-x:before { content: "\e4f6"; }

/* ===================== TOKENS ===================== */
:root {
  --bg: #f1f1f0;
  --bg-alt: #ececeb;
  --card: #f7f7f6;
  --card-hi: #fdfdfc;
  --ink: #1f1b16;          /* brand Ink */
  --ink-soft: #626261;
  --ink-faint: #8d8d8a;
  --line: rgba(0, 0, 0, 0.07);
  --accent: #4c8dff;       /* brand Orbit blue */
  --radius: 22px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(20,20,18,.04), 0 18px 40px -22px rgba(20,20,18,.22);
  --shadow-card: 8px 8px 24px rgba(20,20,18,.06), -8px -8px 22px rgba(255,255,255,.85);
  --shadow-press: inset 2px 2px 6px rgba(20,20,18,.06), inset -2px -2px 6px rgba(255,255,255,.9);
  --glass-bg: rgba(250,250,249,.62);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.55);
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: #fafaf9; box-shadow: 0 12px 26px -10px rgba(20,20,18,.55); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(20,20,18,.6); }
.btn--light { background: var(--card-hi); color: var(--ink); box-shadow: var(--shadow-card); }
.btn--light:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--block { width: 100%; justify-content: center; padding: 16px; }
.arrow { font-size: 15px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(2px,-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 26px; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover i { transform: translateX(4px); }

/* ===================== NAV (floating glass pill) ===================== */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding: 0 16px; pointer-events: none;
}
.nav__inner {
  pointer-events: auto; position: relative;
  max-width: 1100px; margin: 0 auto; height: 62px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 8px 0 20px; border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-edge), 0 14px 40px -24px rgba(20,20,18,.35);
  transition: background .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled .nav__inner { background: rgba(250,250,249,.82); box-shadow: var(--glass-edge), 0 16px 44px -20px rgba(20,20,18,.32); }
/* primary logo: 120px minimum width per the brand guidelines */
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.brand--footer img { height: 30px; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__cta { padding: 11px 20px; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 12px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__progress {
  position: fixed; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 0 150px; overflow: hidden;
  background: #fdfdfc;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
/* veil weighted to the left keeps the headline legible over the motion */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(253,253,252,.9) 0%, rgba(253,253,252,.62) 42%, rgba(253,253,252,.08) 78%),
    radial-gradient(ellipse at 20% 50%, rgba(253,253,252,.6) 0%, rgba(253,253,252,0) 60%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(241,241,240,0), var(--bg));
}
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 980px; }
.hero__title {
  font-size: clamp(40px, 4.9vw, 68px); font-weight: 600;
  letter-spacing: -.045em; line-height: 1.05;
  margin: 0 0 22px; max-width: 1000px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--accent); padding-right: .04em; }
.hero__sub { color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; line-height: 1.55; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
/* dock: one icon per app, magnifies under the pointer */
.dock-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.dock {
  position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 10px;
  padding: 10px 12px; border-radius: 26px;
  max-width: calc(100vw - 32px);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
          backdrop-filter: blur(16px) saturate(170%);
  box-shadow: var(--glass-edge), 0 20px 50px -26px rgba(20,20,18,.45);
}
.dock:empty { display: none; }
.dock__item {
  position: relative; display: block; width: 52px; height: 52px;
  border: none; padding: 0; background: none; cursor: pointer;
  transform-origin: 50% 100%; transition: transform .25s var(--ease);
}
.dock__item .app-ico { width: 100%; height: 100%; border-radius: 14px; font-size: 22px; }
.dock__item::after {
  content: attr(data-name);
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  background: var(--ink); color: #fafaf9; font-size: 12px; font-weight: 700; white-space: nowrap;
  padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.dock__item:hover::after, .dock__item:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
html:not(.has-fx) .dock__item:hover { transform: translateY(-6px) scale(1.15); }
.dock__add {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 1.5px dashed rgba(20,20,18,.2); color: var(--ink-soft); font-size: 20px;
  transition: color .2s, border-color .2s;
}
.dock__add:hover { color: var(--accent); border-color: var(--accent); }
.dock__sep { width: 1px; align-self: stretch; margin: 6px 2px; background: rgba(20,20,18,.12); }

/* ===================== PERKS TICKER ===================== */
.perks { padding: 28px 0 64px; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; align-items: center; width: max-content; animation: scroll 40s linear infinite; }
.perk { display: inline-flex; align-items: center; gap: 10px; margin-right: 56px; white-space: nowrap; color: var(--ink-soft); font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.perk i { font-size: 20px; color: var(--ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===================== SECTIONS ===================== */
.section { padding: 112px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 900px; margin: 0 0 56px; }
.section__head--center { text-align: center; margin: 0 auto 56px; }
.section__head h2, .benefits__intro h2 {
  font-size: clamp(36px, 4.8vw, 62px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04;
}
.section__head p, .benefits__intro p { color: var(--ink-soft); font-size: 18px; margin-top: 18px; max-width: 58ch; }
.section__head--center p { margin-left: auto; margin-right: auto; }

/* ===================== CARDS / GRID ===================== */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.app-icon {
  display: grid; place-items: center; width: 54px; height: 54px;
  background: linear-gradient(160deg, #303030 0%, #0a0a0a 100%);
  border-radius: 16px; margin-bottom: 22px; color: #fafaf9; font-size: 25px;
  box-shadow: 0 16px 26px -14px rgba(20,20,18,.65), inset 0 1px 1px rgba(255,255,255,.18);
}
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

.grid { display: grid; gap: 22px; }

/* ===================== APPS (portfolio) ===================== */
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }

.app-ico {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 13px; object-fit: cover;
  box-shadow: 0 10px 20px -12px rgba(20,20,18,.55), inset 0 0 0 1px rgba(20,20,18,.06);
}
img.app-ico { border-radius: 23%; background: none; }
.app-ico--mono {
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.02em;
  background: linear-gradient(160deg, color-mix(in srgb, var(--app) 82%, #fff) 0%, var(--app) 55%, color-mix(in srgb, var(--app) 70%, #000) 100%);
  box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--app) 70%, #000), inset 0 1px 1px rgba(255,255,255,.35);
}

.app-card {
  grid-column: span 3; position: relative;
  display: flex; flex-direction: column; padding: 14px 14px 26px;
}
/* hover feedback stays inside the card (devices move, shadow deepens), so the hit area never shifts */
.app-card:hover { box-shadow: 10px 14px 34px rgba(20,20,18,.09), -8px -8px 22px rgba(255,255,255,.85); }
.app-card__visual {
  position: relative; overflow: hidden; border-radius: 20px;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--app) 34%, transparent) 0%, transparent 62%),
    linear-gradient(165deg, color-mix(in srgb, var(--app) 9%, #fbfbfa) 0%, color-mix(in srgb, var(--app) 20%, #ecebe9) 100%);
  box-shadow: var(--shadow-press);
}
.app-card__visual .device {
  position: absolute; left: 50%; top: 14%; width: 38%;
  transform: translateX(-50%); transition: transform .6s var(--ease);
}
.app-card:hover .app-card__visual .device { transform: translateX(-50%) translateY(-10px) rotate(-1.5deg); }
.app-card__meta { display: flex; align-items: center; gap: 14px; padding: 22px 12px 0; }
.app-card__title { min-width: 0; flex: 1; }
.app-card h3 { font-size: 20px; margin: 0; line-height: 1.2; }
.app-card__cat { display: block; color: var(--ink-soft); font-size: 14px; }
.app-card__platforms { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 18px; }
.flag { flex: none; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(20,20,18,.12); }
.app-card__platforms .flag { margin-right: 4px; }
.tag .flag { width: 18px; height: 13.5px; }
.app-card__tagline { padding: 12px 12px 0; }

/* the whole card is the click target; the button lives in the heading for a11y */
.app-open {
  font: inherit; color: inherit; background: none; border: none; padding: 0;
  cursor: pointer; text-align: left; letter-spacing: inherit;
}
.app-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.app-open:focus-visible { outline: none; }
.app-open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }

.app-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; padding: 14px;
}
.app-card--featured .app-card__body { padding: 30px 26px; display: flex; flex-direction: column; }
.app-card--featured .app-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.app-card--featured .app-ico { width: 60px; height: 60px; border-radius: 16px; font-size: 26px; }
.app-card--featured h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 14px; }
.app-card--featured .app-card__desc { font-size: 17px; max-width: 44ch; }
.app-card--featured .app-card__visual { aspect-ratio: auto; min-height: 440px; }
.app-card--featured .app-card__foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.app-card__more i { transition: transform .25s var(--ease); }
.app-card:hover .app-card__more i { transform: translateX(4px); }
.chips-static { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card-hi); box-shadow: var(--shadow-soft);
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
}
.tag i { font-size: 15px; color: var(--ink); }

/* fanned trio of devices */
.devices-fan .device { position: absolute; top: 50%; left: 50%; width: 31%; transition: transform .7s var(--ease); }
.devices-fan .device:nth-child(1) { transform: translate(-128%, -44%) rotate(-7deg) scale(.9); }
.devices-fan .device:nth-child(2) { transform: translate(-50%, -50%); z-index: 2; }
.devices-fan .device:nth-child(3) { transform: translate(28%, -44%) rotate(7deg) scale(.9); }
.app-card:hover .devices-fan .device:nth-child(1) { transform: translate(-138%, -46%) rotate(-10deg) scale(.9); }
.app-card:hover .devices-fan .device:nth-child(2) { transform: translate(-50%, -54%); }
.app-card:hover .devices-fan .device:nth-child(3) { transform: translate(38%, -46%) rotate(10deg) scale(.9); }

/* device frame */
/* the screen is inset relative to the device itself (percentage padding would follow the parent's width);
   the 9/19.1 frame leaves a screen matching 924x2037 screenshots */
.device {
  display: block; position: relative; aspect-ratio: 9 / 19.1;
  border-radius: 15% / 7%;
  background: linear-gradient(160deg, #2a2a2a, #0b0b0b);
  box-shadow: 0 40px 60px -30px rgba(20,20,18,.55), inset 0 0 0 1px rgba(255,255,255,.12);
}
.device__screen {
  position: absolute; inset: 1.6% 3.4%; display: block; overflow: hidden;
  border-radius: 12.5% / 5.8%; background: #0b0b0b; /* dark, so rounded/transparent screenshot corners blend into the bezel */
}
/* mockups that already contain the phone and its soft shadow: no CSS bezel.
   the phone is ~87% of the image width, so these run ~15% wider to match the drawn frames */
.device--framed { aspect-ratio: 1170 / 2330; border-radius: 0; background: none; box-shadow: none; }
.device--framed img { width: 100%; height: 100%; object-fit: contain; }
.app-card__visual > .device--framed { width: 44%; top: 11%; } /* single phone only, not the featured fan */
.devices-fan .device--framed { width: 36%; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device__ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--app) 26%, #fff) 0%, transparent 60%),
    linear-gradient(180deg, #fbfbfa, color-mix(in srgb, var(--app) 14%, #f3f3f1));
}
.device__ph .app-ico { width: 34%; height: auto; aspect-ratio: 1; border-radius: 24%; font-size: clamp(14px, 1.6vw, 24px); }
.device__ph-name { font-size: clamp(9px, .9vw, 13px); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

/* slot for the next app */
.app-slot {
  grid-column: span 3;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 32px; border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(20,20,18,.16);
  min-height: 280px;
}
.app-slot__plus {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--card-hi); box-shadow: var(--shadow-soft); color: var(--accent); font-size: 24px;
}
.app-slot h3 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.app-slot p { color: var(--ink-soft); max-width: 42ch; }
.app-slot .btn { align-self: flex-start; margin-top: 6px; }
.app-slot--wide {
  grid-column: 1 / -1; min-height: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 24px; row-gap: 4px;
}
.app-slot--wide .app-slot__plus { grid-row: span 2; }
.app-slot--wide .btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; }

/* ===================== APP MODAL ===================== */
.app-modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  margin: auto; border: none; padding: 0; overflow: auto; overscroll-behavior: contain;
  border-radius: 30px; background: var(--card); color: var(--ink);
  box-shadow: 0 50px 140px -40px rgba(20,20,18,.55);
}
.app-modal::backdrop { background: rgba(24,24,22,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.app-modal[open] { animation: modalIn .55s var(--ease); }
.app-modal[open]::backdrop { animation: fade-plain .4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes fade-plain { from { opacity: 0; } }
.app-modal__close {
  position: absolute; top: 26px; right: 26px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 20px; color: var(--ink);
  background: var(--glass-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge), var(--shadow-soft);
  transition: transform .25s var(--ease);
}
.app-modal__close:hover { transform: rotate(90deg); }
.am__band {
  position: relative; height: 360px; margin: 14px; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--app) 34%, transparent) 0%, transparent 62%),
    linear-gradient(165deg, color-mix(in srgb, var(--app) 9%, #fbfbfa) 0%, color-mix(in srgb, var(--app) 20%, #ecebe9) 100%);
  box-shadow: var(--shadow-press);
}
.am__band .devices-fan .device { width: 17%; }
.am__screens {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 34px; height: 100%; align-items: center; justify-content: safe center; scrollbar-width: none;
}
.am__screens::-webkit-scrollbar { display: none; }
.am__screens .device { flex: none; height: 100%; width: auto; scroll-snap-align: center; }
.am__content { padding: 18px 40px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.am__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.am__head .app-ico { width: 64px; height: 64px; border-radius: 17px; font-size: 28px; }
.am__head h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.am__head div > span { color: var(--ink-soft); }
.am__head h3:focus { outline: none; }
.am__desc { color: var(--ink-soft); font-size: 17px; }
.am__features { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.am__features li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.am__features i { color: var(--accent); font-size: 16px; transform: translateY(2px); }
.am__side h4 { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: 0 0 10px; }
.am__side > * + h4 { margin-top: 24px; }
.am__links { display: flex; flex-direction: column; gap: 10px; }
.am__links .btn { justify-content: center; }
.am__soon { color: var(--ink-soft); font-size: 15px; }

/* ===================== SERVICES ===================== */
.grid--services { grid-template-columns: repeat(5, 1fr); }
.svc--a, .svc--d { grid-column: span 2; }
.svc--b, .svc--c { grid-column: span 3; }

.card--lg { padding: 28px; display: flex; flex-direction: column; }
.mock {
  position: relative; flex: 1; min-height: 280px; border-radius: 18px;
  background: var(--card-hi); box-shadow: var(--shadow-press);
  margin-bottom: 26px; overflow: hidden;
}
.card--lg h3 { margin-top: auto; }

.mock--orbit .node { position: absolute; display: grid; place-items: center; border-radius: 50%; background: var(--card-hi); box-shadow: var(--shadow-card); }
.mock--orbit .node img { width: 42%; height: auto; opacity: .85; }
.node--a { width: 84px; height: 84px; top: 44px; left: 20%; }
.mock--orbit .node--b { width: 112px; height: 112px; right: 20%; bottom: 44px; border-radius: 25%; background: none; box-shadow: 0 30px 50px -24px rgba(31,27,22,.6); }
.mock--orbit .node--b img { width: 100%; height: 100%; opacity: 1; }
.node--c { width: 56px; height: 56px; top: 64%; left: 13%; }
.mock--orbit .line { position: absolute; top: 44%; left: 33%; width: 36%; height: 2px; background: rgba(20,20,18,.14); transform: rotate(24deg); }

.mock--editor { padding: 24px; }
.editor__bar { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 12px 12px 12px 16px; box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.editor__ico { font-size: 18px; color: var(--ink); }
.editor__file { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.editor__caret { color: var(--ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.editor__gen { margin-left: auto; background: var(--ink); color: #fafaf9; border: none; border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 13px; font-family: var(--font); }
.editor__opt { display: flex; align-items: center; gap: 10px; color: var(--ink-faint); padding: 12px 16px; font-size: 15px; border-radius: 12px; }
.editor__opt i { font-size: 18px; }

.mock--push { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: linear-gradient(170deg, #fdfdfc, #ecebe9); }
.push {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--glass-edge), 0 14px 30px -18px rgba(20,20,18,.35);
}
.push--2 { transform: scale(.96); opacity: .85; }
.push__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fafaf9; font-size: 19px; }
.push__body { display: flex; flex-direction: column; min-width: 0; }
.push__body strong { font-size: 14.5px; font-weight: 700; }
.push__body span { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.push__time { align-self: start; font-size: 12px; color: var(--ink-soft); }

.mock--integrations .ico { position: absolute; display: grid; place-items: center; background: var(--card-hi); box-shadow: var(--shadow-card); border-radius: 16px; }
.mock--integrations .ico img { width: 46%; height: auto; opacity: .85; }
.mock--integrations .ico i { font-size: 26px; color: var(--ink); opacity: .85; }
.mock--integrations .ico--center { width: 92px; height: 92px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: none; border-radius: 25%; box-shadow: 0 26px 44px -22px rgba(31,27,22,.6); }
.mock--integrations .ico--center img { width: 100%; height: 100%; opacity: 1; }
.ico--1 { width: 58px; height: 58px; top: 30px; left: 30px; }
.ico--2 { width: 58px; height: 58px; top: 36px; right: 38px; }
.ico--3 { width: 58px; height: 58px; bottom: 34px; left: 48px; }
.ico--4 { width: 58px; height: 58px; bottom: 40px; right: 34px; }

/* ===================== BENEFITS ===================== */
.benefits { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.benefits__intro { position: sticky; top: 130px; }
.benefits__list { display: grid; gap: 22px; }
.benefit {
  display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center;
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 16px 28px 16px 16px;
}
.benefit h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); font-size: 15.5px; }
.benefit__art { position: relative; height: 170px; border-radius: 18px; background: var(--card-hi); box-shadow: var(--shadow-press); overflow: hidden; }
.benefit__art--clock::before { content:""; position: absolute; width: 110px; height: 110px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); box-shadow: var(--shadow-card); background: var(--card); }
.clock__hand { position: absolute; width: 4px; height: 44px; background: var(--ink); top: 50%; left: 50%; transform-origin: bottom center; transform: translate(-50%,-100%) rotate(38deg); border-radius: 4px; animation: tick 8s linear infinite; }
@keyframes tick { to { transform: translate(-50%,-100%) rotate(398deg); } }
.benefit__art--bars { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 28px; }
.benefit__art--bars .bar { width: 26px; background: var(--card); box-shadow: var(--shadow-card); border-radius: 8px; }
.benefit__art--bars .bar:nth-child(1) { height: 40%; }
.benefit__art--bars .bar:nth-child(2) { height: 62%; }
.benefit__art--bars .bar:nth-child(3) { height: 80%; }
.benefit__art--bars .bar:nth-child(4) { height: 100%; background: var(--ink); }
.benefit__art--done .done__mark { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; background: var(--ink); color: #fafaf9; border-radius: 50%; top: 24px; left: 50%; transform: translateX(-50%); font-size: 28px; box-shadow: 0 16px 30px -12px rgba(20,20,18,.5); }
.done__p { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-card); bottom: 22px; }
.done__p img { width: 46%; height: auto; opacity: .85; }
.done__p--1 { left: 24%; } .done__p--2 { right: 24%; }

.benefit__art--price { display: grid; place-items: center; }
.quote-card { width: 150px; padding: 18px 16px 14px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-card); display: grid; gap: 10px; }
.quote-card__line { height: 7px; border-radius: 4px; background: rgba(20,20,18,.1); }
.quote-card__line--short { width: 62%; }
.quote-card__total { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 8px 10px 8px 12px; border-radius: 999px; background: var(--ink); color: #fafaf9; font-size: 13px; font-weight: 700; }
.quote-card__total i { font-size: 15px; }

.benefit__art--chat { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.bubble--in { align-self: flex-start; background: var(--card); color: var(--ink); box-shadow: var(--shadow-soft); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--ink); color: #fafaf9; border-bottom-right-radius: 5px; box-shadow: 0 12px 24px -14px rgba(20,20,18,.55); }

.benefit__art--key { display: grid; place-items: center; }
.key__ring { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-card); }
.key__ring i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fafaf9; font-size: 26px; box-shadow: 0 14px 26px -12px rgba(20,20,18,.5); }

/* ===================== PARTNER ===================== */
.partner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 44px; }
.partner__lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.partner__lockup img { height: 30px; width: auto; } /* heselnet logo: 120px wide, the brand minimum */
.partner__lockup .partner__x + img { height: 22px; }
.partner__x { color: var(--ink-faint); font-size: 24px; font-weight: 300; line-height: 1; }
.partner__intro h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.partner__intro p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 28px; max-width: 46ch; }
.partner__list { list-style: none; display: grid; gap: 4px; padding: 10px; border-radius: 22px; background: var(--card-hi); box-shadow: var(--shadow-press); }
.partner__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px; }
.partner__list li + li { border-top: 1px solid var(--line); }
.partner__list .app-icon { width: 44px; height: 44px; margin: 0; border-radius: 13px; font-size: 21px; }
.partner__list strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.partner__list li > div > span { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }

/* ===================== PROCESS (CSS sticky deck) ===================== */
.grid--process { grid-template-columns: 1fr; gap: 26px; }
.card--step {
  position: sticky;
  display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto 1fr auto;
  column-gap: 36px; align-items: start;
}
.card--step:nth-child(1) { top: 100px; }
.card--step:nth-child(2) { top: 118px; }
.card--step:nth-child(3) { top: 136px; }
.card--step:nth-child(4) { top: 154px; }
.card--step > .app-icon, .card--step h3, .card--step p { grid-column: 1; }
.card--step h3 { font-size: 26px; letter-spacing: -.03em; }
.card--step p { font-size: 16.5px; max-width: 42ch; }
.step__num { display: block; font-size: 46px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.step__foot {
  grid-column: 1; align-self: end;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px;
}
.step__dots { display: inline-flex; gap: 7px; }
.step__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); opacity: .45; }
.step__dots i.is-on { background: var(--ink); opacity: 1; }
.step__media {
  grid-column: 2; grid-row: 1 / 5;
  position: relative; border-radius: 18px; overflow: hidden;
  height: 100%; min-height: 340px; box-shadow: var(--shadow-press);
}
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===================== QUOTE BAND ===================== */
.quoteband { padding: 96px 24px 120px; text-align: center; }
.quoteband blockquote {
  font-size: clamp(26px, 3.6vw, 44px); font-weight: 500; line-height: 1.25; letter-spacing: -.03em;
  color: var(--ink-soft); max-width: 920px; margin: 0 auto;
}
.quoteband blockquote strong { color: var(--ink); font-weight: 700; }
.quoteband__by { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; color: var(--ink-soft); font-weight: 500; }

/* ===================== TESTIMONIALS ===================== */
.testi-hero { display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; }
.testi-hero__quote { padding: 52px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.testi-hero__quote p { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.32; letter-spacing: -.02em; color: var(--ink); }
.hl { color: var(--ink-faint); }
.testi-hero__media { position: relative; min-height: 360px; background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.card--review p { color: var(--ink); font-size: 17px; margin-bottom: 24px; }
.review__by { display: flex; align-items: center; gap: 12px; }
.review__by strong { display: block; font-size: 15px; }
.review__by span { color: var(--ink-soft); font-size: 13.5px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(160deg,#3a3a3a,#0a0a0a); color: #fafaf9; font-weight: 700; box-shadow: var(--shadow-soft); flex: none; }
.avatar--founder { border-radius: 25%; box-shadow: none; }

/* ===================== FAQ ===================== */
.faq { max-width: 860px; }
.faq .section__head { text-align: center; margin: 0 auto 48px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-card); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; font-size: 18px; font-weight: 700; letter-spacing: -.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; font-size: 20px; color: var(--ink-soft); transition: transform .35s var(--ease), color .2s; }
.faq__item[open] summary i { transform: rotate(45deg); color: var(--accent); }
.faq__item p { padding: 0 26px 24px; color: var(--ink-soft); max-width: 64ch; }
/* smooth open where supported (::details-content); instant elsewhere */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ===================== CONTACT FORM ===================== */
.contact-form { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 40px; position: relative; }
.field { display: flex; flex-direction: column; gap: 8px; border: none; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: 8px; }
.field input:not([type="radio"]):not([type="range"]), .field textarea {
  font-family: var(--font); font-size: 15.5px; color: var(--ink);
  background: var(--card-hi); border: 1.5px solid transparent; border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-press); resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c4320a; }
.field__help { color: var(--ink-soft); font-size: 13.5px; }
.field__error { color: #b42d08; font-size: 13.5px; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.form__note { color: var(--ink-soft); font-size: 13.5px; text-align: center; margin-top: 12px; }
.form__note.is-error { color: #c0392b; }
.form__legal { color: var(--ink-soft); font-size: 12.5px; text-align: center; margin-top: 6px; }
.form__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; font-weight: 500; font-size: 15px;
  background: var(--card-hi); color: var(--ink); box-shadow: var(--shadow-soft);
  transition: background .25s, color .25s, transform .2s var(--ease);
}
.chip span i { font-size: 17px; }
.chip span:active { transform: scale(.97); }
.chip input:checked + span { background: var(--ink); color: #fafaf9; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.form__success { position: absolute; inset: 0; background: var(--card); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px; animation: fade .4s ease; }
.form__success[hidden] { display: none; }
.form__success .app-icon { margin-bottom: 12px; }
.form__success h3 { font-size: 24px; font-weight: 700; }
.form__success p { color: var(--ink-soft); max-width: 360px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-soft); font-size: 14px; font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-soft); font-size: 14px; }
.footer__legal {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 13px;
}
.footer__legal nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: var(--ink-soft); font: inherit; font-weight: 500; background: none; border: none; cursor: pointer; padding: 0; transition: color .2s; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--ink); }

/* ===================== COOKIE CONSENT ===================== */
.consent {
  position: fixed; left: 50%; bottom: 20px; z-index: 60;
  width: min(680px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 20px;
  padding: 14px 14px 14px 24px; border-radius: 22px;
  background: rgba(250,250,249,.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--glass-edge), 0 24px 60px -24px rgba(20,20,18,.45);
  opacity: 0; transform: translate(-50%, 24px);
  transition: opacity .3s, transform .3s var(--ease);
}
.consent.is-open { opacity: 1; transform: translate(-50%, 0); }
.consent[hidden] { display: none; }
.consent__text { flex: 1; color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.consent__text a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent .btn { padding: 11px 20px; font-size: 14px; }

/* ===================== LEGAL PAGES ===================== */
.legal { padding: 150px 0 112px; }
.legal__inner { max-width: 820px; }
.legal__head h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.legal__meta { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
.legal__card { margin-top: 36px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; font-size: 15px; }
.legal__card dt { color: var(--ink-soft); }
.legal__card dd { color: var(--ink); font-weight: 500; }
.legal__card a { text-decoration: underline; text-underline-offset: 3px; }
.legal__body h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 48px 0 12px; }
.legal__body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: 12px; }
.legal__body ul { padding-left: 22px; }
.legal__body li + li { margin-top: 6px; }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--accent); }
.legal__table-wrap { overflow-x: auto; margin-top: 14px; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table th { color: var(--ink); font-weight: 600; }
.legal__table td { color: var(--ink-soft); }
.legal__btn { margin-top: 16px; }
.legal__body .legal__btn + p { margin-top: 18px; }
.legal__inline-btn { font: inherit; color: var(--ink); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ===================== REVEAL ANIM ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .partner { grid-template-columns: 1fr; gap: 36px; }
  .app-card--featured { grid-template-columns: 1fr; }
  .app-card--featured .app-card__visual { min-height: 360px; order: -1; }
  .app-card--featured .app-card__body { padding: 22px 12px 12px; }
  .benefits { grid-template-columns: 1fr; gap: 40px; }
  .benefits__intro { position: static; }
  .am__content { grid-template-columns: 1fr; gap: 28px; padding: 12px 24px 32px; }
}
@media (max-width: 860px) {
  .nav__inner { gap: 12px; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 22px;
    border-radius: 24px; background: rgba(250,250,249,.94);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: var(--glass-edge), 0 20px 50px -24px rgba(20,20,18,.4);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; font-size: 17px; }
  .nav__links a + a { border-top: 1px solid var(--line); }
  .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .grid--services, .testi-hero, .testi-grid, .contact-form { grid-template-columns: 1fr; }
  .svc--a, .svc--b, .svc--c, .svc--d { grid-column: auto; }
  .mock { min-height: 230px; }
  .card--step { position: static; display: flex; flex-direction: column; }
  .step__media { height: auto; min-height: 240px; margin-top: 20px; }
  .testi-hero__media { min-height: 260px; }
  .testi-hero__quote { padding: 32px; }
  .quoteband { padding: 72px 24px 88px; }
}
@media (max-width: 720px) {
  .apps { grid-template-columns: 1fr; }
  .app-card, .app-slot, .app-slot--wide { grid-column: auto; }
  .app-slot--wide { display: flex; flex-direction: column; align-items: flex-start; }
  .app-slot--wide .btn { margin-top: 6px; }
  .benefit { grid-template-columns: 1fr; padding: 14px 14px 24px; gap: 20px; }
  .benefit__text { padding: 0 10px; }
  .am__band { height: 300px; }
  .am__band .devices-fan .device { width: 28%; }
}
@media (max-width: 560px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 18px; }
  .consent__actions .btn { flex: 1; justify-content: center; }
  .legal { padding: 120px 0 80px; }
  .legal__card { grid-template-columns: 1fr; gap: 2px; }
  .legal__card dd + dt { margin-top: 10px; }
  .legal__table { min-width: 0; }
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .legal__table td { display: block; padding: 3px 0; border: none; }
  .legal__table td::before { content: attr(data-label); display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
  .section { padding: 80px 0; }
  .hero { padding: 110px 0 130px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(253,253,252,.5) 0%, rgba(253,253,252,.85) 55%, rgba(253,253,252,.9) 100%); }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .dock { bottom: 22px; gap: 8px; padding: 8px 10px; border-radius: 22px; }
  .dock__item, .dock__add { width: 42px; height: 42px; }
  .dock__item .app-ico { border-radius: 12px; font-size: 18px; }
  .contact-form { padding: 26px 20px; }
  .partner { padding: 28px 20px; }
  .partner__lockup { gap: 10px; }
  .partner__lockup .partner__x + img { height: 17px; }
  .partner__x { font-size: 18px; }
  .partner__list li { padding: 12px 8px; gap: 14px; }
  .faq__item summary { padding: 20px; font-size: 16.5px; }
  .faq__item p { padding: 0 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__inner, .dock, .push, .app-modal__close { background: var(--card-hi); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ===================== FX LAYER (Lenis + GSAP) =====================
   Only takes visual effect when script.js adds .has-fx to <html>
   (libraries loaded + user does not prefer reduced motion). */
html.has-fx { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* GSAP owns the reveal; drop the CSS start offset so clearing the tween's inline transform can't snap back to it */
html.has-fx .reveal { transition: none; transform: none; }
html.has-fx .ticker__track { animation: none; }
html.has-fx .dock__item { transition: none; }

/* magnetic buttons: JS owns transforms, so CSS must not fight them */
.is-magnetic { transition: box-shadow .25s, background .25s; }
.is-magnetic:hover { transform: none; }

/* word-by-word reveals */
.qword, .hword { display: inline-block; will-change: filter, opacity, transform; }

/* photography inside media panels */
.testi-hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
}
