/* Encore marketing site. Built from the Figma file 5w7lFKF65AS1OjnktwKKGa, page "Homepage", frame 4:13 (1440 wide). */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #09090F;
  --cream: #FFF9F1;
  --lolly: #FC978F;
  --buzz: #FF6E95;
  --brown: #673039;
  --blue: #4E61FE;
  --fog: #616161;
  --shade: 8, 8, 18;
  --cream-rgb: 255, 249, 241;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --gutter: 48px;
  --max: 1344px;
  --section-y: 128px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.125em; line-height: .9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--buzz); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 14px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons: Button/Primary 4:5 and Button/Ghost 4:9 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 19px; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, box-shadow .4s var(--ease);
}
.btn__icon { flex: none; transition: transform .4s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn--primary { background: var(--cream); color: var(--ink); }
.btn--primary:hover { box-shadow: 0 10px 30px -10px rgba(var(--cream-rgb), .45); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(var(--cream-rgb), .06); color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), .45); padding: 12px 21px;
}
.btn--ghost:hover { background: rgba(var(--cream-rgb), .14); border-color: rgba(var(--cream-rgb), .7); transform: translateY(-1px); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buzz); flex: none; }
.eyebrow--ink { color: var(--ink); }

/* Display headings */
.display {
  font-weight: 300; font-size: clamp(36px, 3.889vw, 56px); line-height: 1.107; letter-spacing: -.02em;
}
.display--md { font-size: clamp(34px, 3.333vw, 48px); line-height: 1.125; }
.line { display: block; }
.lede { font-size: 17px; line-height: 26px; color: var(--fog); }
.lede--dark { color: rgba(var(--cream-rgb), .72); }

.section { padding: var(--section-y) 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--light em { color: var(--brown); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark em { color: var(--lolly); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 24px 0;
  color: var(--cream);
  transition: padding .45s var(--ease), background-color .45s var(--ease), border-color .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  padding: 12px 0;
  background: rgba(9, 9, 15, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(var(--cream-rgb), .08);
}
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.nav__logo img { width: 150.4px; height: 30px; }
.nav__links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 36px; font-size: 14px; line-height: 18px; color: rgba(var(--cream-rgb), .82);
}
.nav__links a, .nav__signin { transition: color .25s; }
.nav__links a:hover, .nav__signin:hover { color: var(--cream); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__signin { font-size: 14px; line-height: 18px; color: rgba(var(--cream-rgb), .82); }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(var(--cream-rgb), .3); position: relative; }
.nav__menu span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__menu span:first-child { top: 17px; }
.nav__menu span:last-child { top: 25px; }
.nav__menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { display: none; }

/* ---------- Hero (4:14) ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 680px; max-height: 1200px;
  color: var(--cream); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__poster, .hero__video, .hero__media picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; object-position: 50% 50%; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--shade), 0) 0%, rgba(var(--shade), 0) 55%, rgba(var(--shade), .95) 100%),
    linear-gradient(90deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .15) 55%, rgba(var(--shade), 0) 100%);
}

.glass {
  position: absolute; top: 132px; right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  width: 360px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(var(--cream-rgb), .08);
  border: 1px solid rgba(var(--cream-rgb), .22); border-radius: 20px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.glass__row { display: flex; align-items: center; justify-content: space-between; }
.glass__who { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 18px; }
.glass__avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.glass__badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px;
  background: rgba(107, 217, 140, .16); color: #6BD98C; font-family: var(--mono); font-size: 11px; line-height: 14px;
}
.glass__dot { width: 6px; height: 6px; border-radius: 50%; background: #6BD98C; }
.glass__quote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 26px; max-width: 320px; }
.glass__rule { width: 100%; height: 1px; border: 0; margin: 0; background: rgba(var(--cream-rgb), .16); }
.glass__steps { display: flex; flex-direction: column; gap: 14px; }
.glass__steps li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.glass__steps svg { flex: none; }
.glass__steps b { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 15px; letter-spacing: .04em; text-transform: uppercase; }
.glass__steps span { font-size: 13px; line-height: 16px; color: rgba(var(--cream-rgb), .7); }

.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 28px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px; align-items: end;
}
.hero__lead .eyebrow { color: rgba(var(--cream-rgb), .85); margin-bottom: 16px; }
.hero__title {
  margin-left: -4px;
  font-weight: 300; font-size: clamp(48px, 6.667vw, 96px); line-height: 1; letter-spacing: -.03em;
}
.hero__title em { color: var(--lolly); white-space: nowrap; }
.vidctl {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 70px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(var(--cream-rgb), .1); border: 1px solid rgba(var(--cream-rgb), .2);
  font-family: var(--mono); font-size: 11px; line-height: 14px; color: rgba(var(--cream-rgb), .8);
  transition: background-color .3s;
}
.vidctl.is-waiting { visibility: hidden; }
html:not(.js) .vidctl { display: none; }
.vidctl:hover { background: rgba(var(--cream-rgb), .18); }
.vidctl__play { display: none; }
.vidctl[data-state="paused"] .vidctl__play { display: block; }
.vidctl[data-state="paused"] .vidctl__pause { display: none; }
.hero__copy p { font-size: 17px; line-height: 26px; color: rgba(var(--cream-rgb), .86); margin-bottom: 24px; }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .eyebrow, .js .hero__title, .js .hero__copy, .js .glass, .js .vidctl {
    animation: rise 1.2s var(--ease) both;
  }
  .js .hero__title { animation-delay: .08s; }
  .js .hero__copy { animation-delay: .22s; }
  .js .glass { animation-delay: .4s; }
  .js .vidctl { animation-delay: .5s; }
  .js .hero__poster { animation: settle 2.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal].is-done { transition-delay: 0s; }
  .js .card.is-done { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
  .js .way.is-done { transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
}

/* ---------- The shift (5:16) ---------- */
.shift__title { margin: 56px 0; max-width: 1180px; line-height: 64px; line-height: 1.143; }
.truths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.truth { border-top: 1px solid rgba(9, 9, 18, .14); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.truth__num { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--fog); margin-top: 1px; }
.truth__title { font-size: 22px; line-height: 28px; font-weight: 500; }
.truth__body { font-size: 16px; line-height: 24px; color: var(--fog); max-width: 427px; }

/* ---------- Four moves (5:38) ---------- */
.moves__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.moves__title { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.moves__lede { width: 400px; flex: none; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  height: 520px; padding: 28px; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  color: var(--cream); background: #15141c;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease);
}
.card picture, .card__img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.card__img { object-fit: cover; transition: transform 1.4s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--shade), 0) 25%, rgba(var(--shade), .92) 100%);
}
.card__num { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; color: var(--lolly); }
.card__title { font-weight: 300; font-size: 40px; line-height: 44px; letter-spacing: -.02em; }
.card__body { font-size: 15px; line-height: 22px; color: rgba(var(--cream-rgb), .82); }
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px -24px rgba(252, 151, 143, .35); }
  .card:hover .card__img { transform: scale(1.045); }
  .js .card[data-reveal].is-in:hover { transform: translateY(-8px); }
}

/* ---------- Product (5:63) ---------- */
.product__wrap { display: flex; align-items: center; gap: 72px; }
.product__copy { width: 460px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.product__copy .eyebrow { margin-bottom: 0; }
.points { display: flex; flex-direction: column; gap: 24px; }
.points li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 20px; }
.points svg { flex: none; }

.mock {
  flex: 1 1 0; min-width: 0;
  background: var(--ink); color: var(--cream);
  padding: 32px; border-radius: 24px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 30px 60px rgba(51, 26, 38, .25);
}
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mock__kicker { font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(var(--cream-rgb), .6); margin-bottom: 4px; }
.mock__title { font-weight: 300; font-size: 26px; line-height: 34px; }
.mock__range { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(var(--cream-rgb), .08); font-size: 12px; line-height: 16px; color: rgba(var(--cream-rgb), .8); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: rgba(var(--cream-rgb), .06); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.kpi__label { font-size: 12px; line-height: 16px; color: rgba(var(--cream-rgb), .6); }
.kpi__value { font-weight: 300; font-size: 32px; line-height: 42px; margin-top: -2px; margin-bottom: -2px; }
.kpi__delta { font-family: var(--mono); font-size: 11px; line-height: 14px; color: var(--lolly); white-space: nowrap; }
.bars { background: rgba(var(--cream-rgb), .04); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bars__title { font-size: 13px; line-height: 17px; font-weight: 500; }
.bar { display: flex; align-items: center; gap: 12px; }
.bar__label { width: 96px; flex: none; font-size: 13px; line-height: 17px; color: rgba(var(--cream-rgb), .75); }
.bar__track { flex: 1 1 0; height: 8px; border-radius: 4px; background: rgba(var(--cream-rgb), .08); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--lolly); transform-origin: left center; }
.bar__value { font-family: var(--mono); font-size: 12px; line-height: 15px; width: 22px; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .js .mock .bar__fill { transform: scaleX(0); transition: transform 1.4s var(--ease); }
  .js .mock.is-in .bar__fill { transform: none; }
  .js .mock.is-in .bar:nth-of-type(2) .bar__fill { transition-delay: .35s; }
  .js .mock.is-in .bar:nth-of-type(3) .bar__fill { transition-delay: .45s; }
  .js .mock.is-in .bar:nth-of-type(4) .bar__fill { transition-delay: .55s; }
  .js .mock.is-in .bar:nth-of-type(5) .bar__fill { transition-delay: .65s; }
  .js .mock.is-in .bar:nth-of-type(6) .bar__fill { transition-delay: .75s; }
}
.wrong {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 110, 149, .12); border: 1px solid rgba(255, 110, 149, .4);
}
.wrong__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 20px; }
.wrong__label { font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; color: var(--lolly); }
.wrong__fix { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13px; line-height: 17px; font-weight: 500; }

/* ---------- Install (6:28) ---------- */
.install__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.install__title { max-width: 900px; }
.install__lede { max-width: 620px; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.way {
  background: rgba(var(--cream-rgb), .05); border: 1px solid rgba(var(--cream-rgb), .12); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .6s var(--ease), border-color .4s, background-color .4s, opacity 1s var(--ease);
}
@media (hover: hover) {
  .way:hover { border-color: rgba(var(--cream-rgb), .24); background: rgba(var(--cream-rgb), .07); }
  .way:hover, .js .way[data-reveal].is-in:hover { transform: translateY(-6px); }
}
.way__tag { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; color: var(--lolly); }
.way__title { font-weight: 300; font-size: 28px; line-height: 32px; }
.way__body { font-size: 15px; line-height: 22px; color: rgba(var(--cream-rgb), .7); }
.code {
  margin: 0; background: rgba(0, 0, 0, .45); border-radius: 12px; padding: 14px 16px;
  font-family: var(--mono); font-size: 12px; line-height: 19px; color: rgba(var(--cream-rgb), .9);
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
}
.code code { font: inherit; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chips__label { font-size: 13px; line-height: 17px; color: rgba(var(--cream-rgb), .55); }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--cream-rgb), .18); font-size: 13px; line-height: 17px; color: rgba(var(--cream-rgb), .85); }

/* ---------- Security (6:79) ---------- */
.security__wrap { display: flex; align-items: flex-start; gap: 96px; }
.security__head { width: 480px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.security__head .lede { max-width: 460px; }
.controls { flex: 1 1 0; min-width: 0; }
.control { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(9, 9, 18, .12); }
.control dt { width: 280px; flex: none; font-size: 18px; line-height: 23px; font-weight: 500; }
.control dd { flex: 1 1 0; font-size: 15px; line-height: 22px; color: var(--fog); margin-top: 1px; }

/* ---------- Final CTA (6:102) ---------- */
.final { position: relative; overflow: hidden; height: 760px; color: var(--cream); background: var(--ink); display: flex; align-items: flex-end; }
.final__media, .final__media picture, .final__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final__media img { object-fit: cover; object-position: 50% 50%; }
.final__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 50%),
    linear-gradient(180deg, rgba(var(--shade), .35) 0%, rgba(var(--shade), 0) 45%, rgba(var(--shade), .92) 100%);
}
.final__copy { position: relative; padding-bottom: 73px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.final__title { font-weight: 300; font-size: clamp(52px, 7.222vw, 104px); line-height: 1; letter-spacing: -.03em; }
.final__title em { display: block; font-size: 1.115em; line-height: .897; color: var(--cream); }
.final__sub { font-size: 18px; line-height: 22px; color: rgba(var(--cream-rgb), .88); }

/* ---------- Footer (6:115) ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 80px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { width: 169.2px; height: 33.75px; }
.footer__brand p { font-size: 14px; line-height: 18px; color: rgba(var(--cream-rgb), .6); }
.footer__cols { display: flex; gap: 80px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; white-space: nowrap; }
.footer__head { font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(var(--cream-rgb), .5); }
.footer__col a { font-size: 14px; line-height: 18px; color: rgba(var(--cream-rgb), .85); transition: color .25s; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgba(var(--cream-rgb), .1); color: rgba(var(--cream-rgb), .5);
}
.footer__bottom p:first-child { font-size: 13px; line-height: 17px; }
.footer__agents { font-family: var(--mono); font-size: 11px; line-height: 14px; text-align: right; }
.footer__agents a { text-decoration: underline; text-decoration-color: rgba(var(--cream-rgb), .25); text-underline-offset: 3px; }
.footer__agents a:hover { color: var(--cream); }

/* ---------- Film dialog ---------- */
.film {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #000; color: var(--cream);
}
.film::backdrop { background: rgba(0, 0, 0, .9); }
.film[open] { display: flex; align-items: center; justify-content: center; animation: fade .5s var(--ease); }
.film__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.film__close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(var(--cream-rgb), .12); border: 1px solid rgba(var(--cream-rgb), .25);
}
.film__close:hover { background: rgba(var(--cream-rgb), .22); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  :root { --section-y: 112px; }
  .nav__links { gap: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { height: 480px; }
  .moves__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .moves__lede { width: auto; max-width: 520px; }
  .product__wrap { flex-direction: column; align-items: stretch; gap: 56px; }
  .product__copy { width: auto; max-width: 560px; }
  .ways { grid-template-columns: 1fr; }
  .security__wrap { flex-direction: column; gap: 48px; }
  .security__head { width: auto; max-width: 560px; }
  .footer__top { flex-direction: column; }
  .footer__cols { gap: 56px; flex-wrap: wrap; }
}
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .hero__bottom { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__lead { display: contents; }
  .hero__lead .eyebrow { order: 1; }
  .hero__title { order: 2; margin-bottom: 28px; }
  .hero__copy { order: 3; max-width: 480px; }
  .vidctl { order: 4; margin-top: 28px; }
}

/* ---------- Mobile (390) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: 88px; }
  html { scroll-padding-top: 72px; }
  .nav { padding: 12px 0; }
  .nav.is-solid { padding: 8px 0; }
  .nav__logo img { width: 120px; height: 24px; }
  .nav__signin, .nav__actions > .btn { display: none; }
  .nav__menu { display: block; }
  .nav.is-open { background: var(--ink); }
  .menu {
    display: block; position: fixed; inset: 72px 0 0 0; z-index: 49;
    background: var(--ink); padding: 24px 16px 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .menu[hidden] { display: none; }
  .nav.is-open { padding: 12px 0; }
  .nav.is-open .menu { opacity: 1; transform: none; }
  @starting-style { .nav.is-open .menu { opacity: 0; transform: translateY(-8px); } }
  .menu nav { display: flex; flex-direction: column; border-top: 1px solid rgba(var(--cream-rgb), .1); }
  .menu nav a {
    font-weight: 300; font-size: 32px; line-height: 40px; letter-spacing: -.02em;
    padding: 14px 0; border-bottom: 1px solid rgba(var(--cream-rgb), .1);
  }
  .menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
  .menu__actions .btn { justify-content: center; }

  .hero {
    height: auto; min-height: 100vh; min-height: 100svh; max-height: none;
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    padding: 84px var(--gutter) 20px;
  }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), .05) 30%, rgba(var(--shade), .45) 55%, rgba(var(--shade), .96) 100%),
      linear-gradient(90deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), 0) 100%);
  }
  .hero__poster, .hero__video { object-position: 70% 50%; }
  .glass { position: relative; top: auto; right: auto; width: 100%; max-width: 380px; padding: 16px; gap: 12px; }
  .glass__quote { font-size: 18px; line-height: 24px; }
  .glass__steps { gap: 10px; }
  .glass__steps li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); column-gap: 10px; align-items: start; white-space: normal; }
  .glass__steps b { line-height: 16px; }
  .glass__steps span { font-size: 12.5px; }
  .hero__bottom { position: relative; bottom: auto; padding: 0; row-gap: 24px; }
  .hero__title { font-size: 48px; line-height: 50px; margin-left: -2px; }
  .hero__title .line { display: inline; }
  .hero__copy p { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
  .vidctl { margin-top: 20px; }

  .display { font-size: 36px; line-height: 42px; }
  .display--md { font-size: 34px; line-height: 40px; }
  .display .line { display: inline; }
  .lede { font-size: 16px; line-height: 24px; }
  .shift__title { margin: 32px 0 48px; line-height: 44px; }
  .truths { grid-template-columns: 1fr; gap: 28px; }
  .truth { gap: 10px; padding-top: 20px; }
  .truth__title { font-size: 20px; }

  .moves__head { margin-bottom: 36px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { height: 440px; padding: 24px; }
  .card__title { font-size: 36px; line-height: 40px; }

  .product__wrap { gap: 40px; }
  .points { gap: 16px; }
  .points li { align-items: flex-start; }
  .mock { padding: 18px; border-radius: 20px; gap: 14px; margin: 0 -4px; }
  .mock__head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .mock__title { font-size: 20px; line-height: 26px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi { padding: 12px 14px; }
  .kpi__value { font-size: 28px; line-height: 36px; }
  .bars { padding: 14px; gap: 10px; }
  .bar { gap: 8px; }
  .bar__label { width: 82px; font-size: 12px; }
  .bar__value { width: 26px; font-size: 11px; }
  .wrong { flex-direction: column; align-items: flex-start; }

  .install__head { margin-bottom: 36px; }
  .ways { gap: 12px; margin-bottom: 36px; }
  .way { padding: 22px; gap: 14px; }
  .way__title { font-size: 26px; }
  .chips { gap: 8px; }
  .chips__label { width: 100%; }

  .control { flex-direction: column; gap: 6px; padding: 20px 0; }
  .control dt { width: auto; font-size: 17px; }

  .final { height: auto; min-height: 640px; }
  .final__media img { object-position: 42% 50%; }
  .final__copy { padding-top: 260px; padding-bottom: 56px; gap: 22px; }
  .final__title { font-size: 52px; }
  .final__sub { font-size: 16px; line-height: 22px; }

  .footer { padding: 64px 0 32px; }
  .footer__top { gap: 40px; margin-bottom: 40px; }
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .footer__agents { text-align: left; white-space: normal; line-height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__video, .vidctl { display: none; }
}
