/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
  --paper: #F5F7FF;
  --white: #FFFFFF;
  --ink: #0B1437;
  --ink-2: #44507A;
  --line: #DCE2F6;

  --nord: #3E5FFF;       /* from the official logo file */
  --nord-deep: #2B45D6;
  --nord-tint: #E8EDFF;

  --bad: #CF3A1F;        /* "Not connected" red in the app */
  --bad-tint: #FFEDE8;
  --good: #0B7A4B;       /* "Connected" green in the app */
  --good-tint: #E2F5EB;

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --head-h: 68px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 30px; height: 30px; }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--nord); color: #fff;
  font: 600 16px/1 var(--f-body);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(62,95,255,.7);
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--nord-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 18px; font-size: 15px; border-radius: 10px; }
.btn--lg { padding: 19px 36px; font-size: 18px; border-radius: 14px; }
.btn--white { background: #fff; color: var(--nord); box-shadow: 0 10px 30px -10px rgba(5,15,80,.5); }
.btn--white:hover { background: var(--paper); }

.linklike { background: none; border: 0; padding: 0; color: var(--nord); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: var(--head-h); width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.top__logo { display: block; line-height: 0; margin-right: auto; }
.top__logo img { height: 26px; width: auto; }
.top__nav { display: flex; gap: 28px; }
.top__nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.top__nav a:hover { color: var(--ink); }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  --tone: var(--bad);
  --tone-tint: var(--bad-tint);
  display: grid;
  grid-template-columns: minmax(380px, 500px) minmax(0, 1fr);
  column-gap: clamp(32px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - var(--head-h));
  padding: 32px 0 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero[data-state="secured"] { --tone: var(--good); --tone-tint: var(--good-tint); }

.hero__title {
  font-weight: 800;
  font-size: clamp(3rem, 4.7vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero__sub { margin-top: 26px; font-size: 19px; line-height: 1.55; max-width: 30em; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 36px; }
.hero__guarantee { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.hero__guarantee .ico { color: var(--good); }
.hero__note { margin-top: 22px; font-size: 13px; line-height: 1.5; color: #6A759B; max-width: 34em; }

/* the blue stage the app window sits on */
.stage {
  position: relative;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 3.4vw, 56px) 28px clamp(24px, 3vw, 48px);
  background: var(--nord);
  border-radius: 48px 0 0 48px;
  overflow: visible;
}
.stage__window { position: relative; width: 100%; max-width: 880px; margin-inline: auto; }

.app {
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(7,16,80,.18), 0 40px 80px -20px rgba(7,16,80,.55);
  background: #f3f3f3;
  overflow: hidden;
  isolation: isolate;
}
.app__img { width: 100%; height: auto; }
.app__img--on { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.hero[data-state="connecting"] .app__img--on,
.hero[data-state="secured"] .app__img--on { clip-path: inset(0 0 0 0); }
.hero[data-state="connecting"] .app__img--on { transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1); }

.app__scan {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: var(--nord);
  box-shadow: 0 0 0 6px rgba(62,95,255,.12), 0 0 28px 6px rgba(62,95,255,.55);
  opacity: 0; pointer-events: none;
}
.hero[data-state="connecting"] .app__scan { animation: scan 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes scan { 0% { left: 0; opacity: 1; } 96% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* hotspot laid over the "Secure my connection" button of the screenshot */
.hot {
  position: absolute; left: 8.6%; top: 19.67%; width: 17.7%; height: 4.86%;
  min-width: 96px; min-height: 28px;
  padding: 0; border: 0; border-radius: 5px;
  background: transparent; cursor: pointer;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  0%   { box-shadow: 0 0 0 0 rgba(62,95,255,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(62,95,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,95,255,0); }
}
.hot:hover { background: rgba(255,255,255,.12); }
.hero:not([data-state="idle"]) .hot { display: none; }

.hot__tip {
  position: absolute; left: 28.4%; top: calc(19.67% + 2.43%); transform: translateY(-50%);
  padding: 7px 12px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 600 13px/1 var(--f-body); white-space: nowrap;
  pointer-events: none;
}
.hot__tip::before {
  content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px;
  background: var(--ink); transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.hero:not([data-state="idle"]) .hot__tip { display: none; }

.stage__cap { margin-top: 56px; text-align: right; font-size: 13px; color: rgba(255,255,255,.78); }
.stage__cap .linklike { color: #fff; font-weight: 600; }

/* status card that overlaps the window edge */
.expose {
  position: absolute; left: clamp(-56px, -3.6vw, -24px); bottom: -34px;
  width: min(300px, 62%);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(7,16,80,.1), 0 24px 48px -12px rgba(7,16,80,.45);
  overflow: hidden;
}
.expose__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--tone-tint); color: var(--tone); transition: background-color .5s, color .5s; }
.expose__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent); transition: background-color .5s; }
.expose__title { font: 700 15px/1.2 var(--f-body); letter-spacing: -.005em; }
.expose__list { padding: 6px 18px 10px; }
.expose__list li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; border-top: 1px solid var(--line); }
.expose__list li:first-child { border-top: 0; }
.expose__list .ico { width: 18px; height: 18px; color: var(--ink-2); }
.expose__k { color: var(--ink); font-weight: 500; }
.expose__v { font-weight: 600; color: var(--tone); transition: color .5s; }

[data-when] { display: none; }
.hero[data-state="idle"] [data-when~="idle"],
.hero[data-state="connecting"] [data-when~="connecting"],
.hero[data-state="secured"] [data-when~="secured"] { display: block; }

/* one orchestrated entrance */
.hero__sub, .hero__cta, .hero__note { animation: rise .8s var(--ease) both; }
.hero__sub  { animation-delay: .08s; }
.hero__cta  { animation-delay: .16s; }
.hero__note { animation-delay: .24s; }
.stage { animation: slide-in 1s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.sec { padding-block: clamp(72px, 9vw, 132px); }
.sec__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.sec__head p { margin-top: 16px; font-size: 18px; max-width: 34em; }
.sec__head--row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 56px; align-items: end; max-width: none; }
.sec__head--row p { margin-top: 0; }

/* what changes — comparison */
.sec--changes { background: var(--white); border-block: 1px solid var(--line); }
.cmp { --row-pad: 22px; }
.cmp__row { display: grid; grid-template-columns: minmax(150px, .8fr) 1.2fr 1.2fr; align-items: center; border-top: 1px solid var(--line); }
.cmp__row--head { border-top: 0; font: 600 14px/1 var(--f-body); color: var(--ink-2); }
.cmp__row > span { padding: var(--row-pad) 24px; }
.cmp__row--head > span { padding-block: 18px; }
.cmp__what { font: 700 20px/1.25 var(--f-display); color: var(--ink); letter-spacing: -.01em; padding-left: 0 !important; }
.cmp__no, .cmp__yes { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.cmp__no { color: var(--ink-2); }
.cmp__yes { color: var(--ink); font-weight: 500; }
.cmp__no .ico, .cmp__yes .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.cmp__no .ico  { color: var(--bad);  background: var(--bad-tint); }
.cmp__yes .ico { color: var(--good); background: #fff; }
.cmp__row--head .cmp__yes { color: var(--good); }

.cmp__yes { background: linear-gradient(var(--good-tint), var(--good-tint)) left / 100% 100% no-repeat; }
.cmp__row--head .cmp__yes { border-radius: 16px 16px 0 0; }
.cmp__row:last-child .cmp__yes { border-radius: 0 0 16px 16px; }
.js .cmp__yes { background-size: 0% 100%; }
.js .cmp.in .cmp__yes { background-size: 100% 100%; transition: background-size .7s var(--ease) calc(var(--i, 0) * 110ms); }

.cta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 48px; font-size: 15px; font-weight: 500; color: var(--ink); }

/* public wi-fi picture */
.sec--wifi { padding-block: clamp(56px, 7vw, 104px) 0; }
.shot { position: relative; margin: 0; border-radius: 36px; overflow: hidden; background: #ddd; }
.shot img { width: 100%; aspect-ratio: 2 / 1; max-height: 620px; object-fit: cover; object-position: 50% 42%; }
.shot__card {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  max-width: 460px; padding: 30px 32px 32px;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 24px;
}
.shot__card h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -.025em; }
.shot__card p { margin-top: 12px; font-size: 16px; }

/* features */
.sec--features { padding-bottom: clamp(56px, 7vw, 96px); }
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; }
.feat li { padding-top: 28px; border-top: 2px solid var(--ink); }
.feat .ico { color: var(--nord); }
.feat h3 { margin-top: 22px; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.feat p { margin-top: 12px; font-size: 16px; }

/* devices */
.sec--devices { padding-top: clamp(32px, 4vw, 56px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento figure { margin: 0; border-radius: 24px; overflow: hidden; background: #e4e8f8; }
.bento img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.bento__a { grid-column: 1 / 3; grid-row: 1 / 3; }

/* steps */
.sec--steps { background: var(--ink); color: #B9C2E6; }
.sec--steps h2, .sec--steps h3 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { position: relative; }
.steps__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  font: 700 18px/1 var(--f-display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 60px; right: -28px; height: 0; border-top: 1.5px dashed rgba(255,255,255,.22); clip-path: inset(0 0 0 0); }
.steps h3 { margin-top: 26px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.steps p { margin-top: 12px; max-width: 24em; font-size: 16px; }
.pill-btn { display: inline-block; padding: 4px 11px 5px; border-radius: 6px; background: var(--nord); color: #fff; font: 500 .78em/1.3 var(--f-body); letter-spacing: 0; white-space: nowrap; vertical-align: .08em; }

/* faq */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.faq .sec__head { margin-bottom: 0; position: sticky; top: calc(var(--head-h) + 32px); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 19px/1.35 var(--f-body); color: var(--ink); letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background:
    linear-gradient(var(--nord), var(--nord)) center / 14px 2px no-repeat,
    linear-gradient(var(--nord), var(--nord)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list details p { padding: 0 48px 26px 0; font-size: 17px; max-width: 38em; }

/* final cta */
.final { padding: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.final__in {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(40px, 6vw, 88px);
  border-radius: 40px;
  background: var(--nord);
  color: #fff;
}
.final__logo { height: 30px; width: auto; margin-bottom: clamp(32px, 5vw, 72px); }
.final h2 { max-width: 15em; color: #fff; font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.final .btn { margin-top: 40px; }
.final__small { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--white); padding: 48px 0 56px; }
.foot__in { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.foot__logo { height: 24px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.foot__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.foot__links a:hover { color: var(--nord); text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { margin-top: 20px; max-width: 62em; font-size: 13px; line-height: 1.6; color: #6A759B; }
.foot__legal + .foot__legal { margin-top: 10px; }

/* ------------------------------------------------------------------
   Legal pages
------------------------------------------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 112px); }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1.05; }
.legal__meta { margin-top: 14px; font-size: 15px; color: #6A759B; }
.legal h2 { margin-top: 44px; font-size: 22px; letter-spacing: -.015em; }
.legal p, .legal li { margin-top: 12px; font-size: 16.5px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--nord); }
.legal__back { display: inline-block; margin-bottom: 28px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--nord); }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .feat { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 40px var(--gutter) 40px; row-gap: 40px; }
  .hero__title { font-size: clamp(2.6rem, 9vw, 4rem); }
  .stage { border-radius: 32px; padding: 28px 20px 24px; }
  .expose { position: static; width: 100%; margin-top: 16px; }
  .hot__tip { display: none; }
  .sec__head--row { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq .sec__head { position: static; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .cmp__row { grid-template-columns: 1fr 1fr; }
  .cmp__row--head .cmp__what { display: none; }
  .cmp__row > .cmp__what { grid-column: 1 / -1; padding: 22px 0 0 !important; }
  .cmp__row--head { grid-template-columns: 1fr 1fr; }
  .cmp__row > span { padding: 16px 12px; }
  .cmp__no, .cmp__yes { font-size: 14.5px; align-items: flex-start; }
  .cmp__no .ico, .cmp__yes .ico { width: 24px; height: 24px; }
  .shot img { aspect-ratio: 4 / 5; max-height: none; object-position: 38% 50%; }
  .shot__card { position: static; max-width: none; border-radius: 0 0 24px 24px; }
  .shot { background: #fff; }
  .feat { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento__a { grid-column: 1 / -1; grid-row: auto; }
  .bento figure { border-radius: 16px; }
  .final__in { border-radius: 28px; }
  .final__in::before { width: 70%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hot { animation: none; }
}

/* ------------------------------------------------------------------
   Motion layer
   (everything below is progressive: no JS / no support = static page)
------------------------------------------------------------------ */
:root { interpolate-size: allow-keywords; }

/* hero headline: words rise out of a mask, once */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .16em; margin: 0 -.05em -.16em; }
.hero__title .w > span { display: inline-block; transform: translateY(108%); animation: word-up 1s var(--ease) calc(var(--i, 0) * 80ms + 60ms) forwards; }
@keyframes word-up { to { transform: none; } }

/* scroll progress hairline under the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--nord); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* reveals */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* images settle in from a slight zoom (uses `scale`, so it never fights other transforms) */
.js .bento img, .js .shot img { scale: 1.14; transition: scale 1.6s var(--ease) var(--d, 0s); }
.js .bento .is-in img, .js .shot.is-in img { scale: 1; }
@supports (animation-timeline: view()) {
  .js .shot img { scale: 1.14; transition: none; animation: shot-pan linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes shot-pan { from { translate: 0 -5%; } to { translate: 0 5%; } }
}

/* features: icons pop in after their column */
.js .feat .ico { scale: .4; rotate: -24deg; transition: scale .8s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + .25s), rotate .8s var(--ease) calc(var(--d, 0s) + .25s); }
.js .feat .is-in .ico { scale: 1; rotate: 0deg; }

/* steps: numbers fill, connector draws */
.js .steps__n { transition: background-color .5s var(--ease) calc(var(--d, 0s) + .3s), border-color .5s var(--ease) calc(var(--d, 0s) + .3s); }
.js .steps .is-in .steps__n { background: var(--nord); border-color: var(--nord); }
.js .steps li:not(:last-child)::after { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) calc(var(--d, 0s) + .45s); }
.js .steps li.is-in:not(:last-child)::after { clip-path: inset(0 0 0 0); }

/* final block: emblem rises behind the headline */
.final__in::before {
  content: ""; position: absolute; z-index: -1; right: -4%; bottom: -18%;
  width: min(52%, 560px); aspect-ratio: 448 / 362;
  background: url("../img/mark.svg") center / contain no-repeat;
}
.js .final__in::before { opacity: 0; transform: translateY(16%) scale(.92); transition: opacity 1.2s var(--ease) .25s, transform 1.8s var(--ease) .25s; }
.js .final__in.is-in::before { opacity: 1; transform: none; }

/* buttons: a single light sweep on hover, and as a nudge after the demo */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-130%);
}
.btn--white::after { background: linear-gradient(105deg, transparent 35%, rgba(62,95,255,.16) 50%, transparent 65%); }
.btn:hover::after { animation: shine .9s var(--ease); }
.hero[data-state="secured"] .hero__cta .btn::after { animation: shine 1.2s var(--ease) .35s 1; }
.final__in.is-in .btn::after { animation: shine 1.3s var(--ease) 1.2s 1; }
@keyframes shine { to { transform: translateX(130%); } }

/* secured: the status card nudges once to say "it worked" */
.hero[data-state="secured"] .expose { animation: card-pop .7s var(--ease); }
@keyframes card-pop { 0% { transform: scale(.96); } 55% { transform: scale(1.025); } 100% { transform: none; } }

/* faq: smooth open/close where supported */
.faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

.stage__window { will-change: transform; }
.expose { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  .progress, .js .shot img { animation: none !important; }
}
