/* Desktop proportions follow the 1440 × 2682 Figma frame. */
:root {
  color-scheme: dark;
  --ink: #0c0c11;
  --paper: #fff;
  --muted: #cdcdcd;
  --red: #fd1d24;
  --cyan: #50dffa;
  --header-height: 5rem;
  --anchor-gap: 1.25rem;
  --sticky-offset: var(--header-height);
  --ease: cubic-bezier(.2,.75,.25,1);
  font-size: clamp(80%, 1.11111vw, 100%);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-offset) + var(--anchor-gap));
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.55 'Montserrat', 'Noto Sans Devanagari', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
/* Mark the heading at a keyboard landing point instead of outlining an entire section. */
:is(body, main, section, .contact-panel)[tabindex="-1"]:focus { outline: none; }
:is(.program, .models, .how, .contact-panel):focus-visible h2 {
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: .16em;
}
::selection { background: #89464d; color: white; }
.container {
  width: min(88.3333%, 79.5rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 12;
  padding: .75rem 1rem;
  background: white;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 3px 20px #0006; }
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
}
.brand { flex: none; width: 8.94rem; }
.desktop-nav, .header-actions, .hero-actions { display: flex; align-items: center; }
.desktop-nav {
  margin-left: auto;
  gap: 2.56rem;
}
.desktop-nav a, .disclosure summary {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
}
.desktop-nav a {
  position: relative;
  padding-block: .9rem;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 .55rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.desktop-nav a:is(:hover, :focus-visible, [aria-current="location"])::after { transform: scaleX(1); }
.header-actions { gap: 2.375rem; margin-left: 6.55rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: max(44px, 3rem);
  border: 2px solid transparent;
  border-radius: 100vmax;
  padding: .65rem 1.25rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
  font-size: .75rem;
  text-transform: uppercase;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.header-actions .button { min-width: 9.69rem; }
.button-primary { background-color: #e31826; }
.button-outline { border-color: currentColor; }
.button:active { transform: scale(.96); }
.disclosure { position: relative; }
.disclosure summary {
  min-height: 44px;
  min-width: 44px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
}
.disclosure summary::-webkit-details-marker { display: none; }
.languages { margin-left: 3.8rem; }
.chevron {
  width: .5rem;
  height: .5rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s var(--ease);
}
.languages[open] .chevron { transform: translateY(2px) rotate(225deg); }
.language-list, .menu-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + .25rem);
  right: 0;
  padding: .4rem;
  background: #1a1a23;
  border: 1px solid #ffffff26;
  border-radius: .85rem;
  box-shadow: 0 12px 32px #0006;
}
.language-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: .5rem .85rem;
  border-radius: .5rem;
  font-size: .85rem;
  white-space: nowrap;
}
.language-list a b { min-width: 1.5rem; }
.language-list a:is([aria-current], :hover, :focus-visible), .menu-panel nav a:hover { background: #ffffff12; }
.mobile-menu { display: none; }

main { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
main::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--header-height)) 0 0;
  background: url("assets/landing-background.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.hero { position: relative; display: grid; align-items: start; min-height: 46.06rem; }
.hero-copy { position: relative; z-index: 1; padding-top: 8.92rem; width: 49%; }
h1 { font-size: 3.1625rem; line-height: 1.22; font-weight: 700; }
h1 span { display: block; }
h1 span + span { margin-top: .53rem; }
.intro { max-width: 31.6rem; margin-top: 1.55rem; line-height: 1.6; }
.hero-actions { gap: 2.125rem; margin-top: 3.35rem; flex-wrap: wrap; }
.hero-actions .button { min-width: 13.375rem; }
.hero-note, .stats { font-size: .9075rem; }
.hero-note { margin-top: .86rem; }
.hero-art {
  position: absolute;
  top: -.26rem;
  left: 49.14%;
  width: 55.66%;
  max-width: 44.25rem;
  transform: rotate(1.854deg);
  transform-origin: 0 0;
  pointer-events: none;
}
h2 { font-size: 2.5rem; line-height: 1.225; }
/* An editorial introduction keeps longer copy readable beside the benefits. */
.program {
  position: relative;
  isolation: isolate;
  scroll-margin-top: calc(-1 * clamp(4rem, 7vw, 7rem));
  padding-block: clamp(4rem, 7vw, 7rem) clamp(6rem, 10vw, 9rem);
  border-top: 1px solid #ffffff26;
}
.program::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top left, #10232d, transparent 65%), var(--ink);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 4rem), transparent);
  mask-image: linear-gradient(#000 calc(100% - 4rem), transparent);
  pointer-events: none;
}
.program-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  margin-top: 2.25rem;
}
.program-lead {
  max-width: 30ch;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}
.program-description {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--muted);
  line-height: 1.8;
}
.program-benefits > h3 { font-size: 1.15rem; line-height: 1.5; }
.compare-models {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  margin-top: .9rem;
  color: var(--cyan);
  font-weight: 700;
  text-underline-offset: .22em;
}
.compare-models:is(:hover, :focus-visible) { text-decoration: underline; }
.benefit-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.benefit {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid #ffffff26;
}
.benefit-icon { width: 1.65rem; height: 1.65rem; margin-top: .1rem; color: var(--cyan); }
.benefit h4 { font-size: 1rem; line-height: 1.5; }
.benefit p { margin-top: .3rem; color: var(--muted); font-size: .92rem; line-height: 1.65; }
@media (max-width: 760px) {
  .program { margin-top: 1.5rem; }
  .program-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .program-lead { max-width: 30ch; font-size: 1.3rem; }
  .program-description { margin-top: 1.15rem; }
}
.models { padding-bottom: clamp(4rem, 7vw, 6.5rem); }
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(min-content, auto);
  gap: clamp(1.25rem, 3vw, 2.625rem);
  margin-top: 2.25rem;
}
.model {
  min-width: 0;
  min-height: 25.5rem;
  padding: 2rem 1.5rem;
  border-radius: 2.25rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, rgb(33 33 45 / 48%) 18%, rgb(24 24 34 / 91%) 72%);
  box-shadow: inset 0 1px 0 #ffffff0c;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.model-icon {
  width: min(100%, 12.125rem);
  margin: 0 auto 1rem;
  transition: transform .45s var(--ease);
}
.model:nth-child(3) .model-icon {
  scale: -1 1;
}
.model h3 { color: var(--paper); font-size: 1.815rem; line-height: 1.2; }
.model p { max-width: 19rem; margin: 0 auto; font-size: 1rem; line-height: 1.55; }
.model p::before {
  content: '';
  display: block;
  height: 1px;
  width: min(8rem, 65%);
  margin: 1rem auto;
  background: currentColor;
}
.how { position: relative; padding-bottom: 6rem; }
.how::before, .how::after {
  position: absolute;
  top: 4.125rem;
  left: 50%;
  width: min(100%, 90rem);
  height: 12.44rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.how::before {
  content: '';
  background: url("assets/steps-line.svg") center / 100% 100% no-repeat;
}
.step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-top: 3.625rem;
  list-style: none;
}
.step { min-width: 0; text-align: center; }
.step-number {
  display: grid;
  place-items: center;
  width: 9.94rem;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 50%;
  margin: auto;
  background: linear-gradient(#21212d, #21212d) padding-box,
              linear-gradient(135deg,#360708,var(--red)) border-box;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--red);
}
.step-copy { max-width: 17.6rem; margin: 2.42rem auto 0; padding-inline: .25rem; }
.step h3 { font-size: 1.335rem; line-height: 1.4; text-wrap: balance; }
.step p { max-width: 14.7rem; margin: .35rem auto 0; font-size: .86rem; line-height: 1.6; text-wrap: balance; }
.stats { margin-top: 3.15rem; }
.footer {
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid #ffffff16;
  background:
    radial-gradient(ellipse at top right, #09334299, transparent 53%),
    radial-gradient(ellipse at bottom left, #30141c80, transparent 56%), var(--ink);
}
.contact-panel {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}
.contact-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.contact-heading p { max-width: 28rem; color: var(--muted); line-height: 1.6; }
.contact-channels {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 2.25rem);
}
.contact-channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.8rem, 1.6vw, 1.6rem);
  min-height: 6.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ffffff29;
  border-radius: 1.5rem;
  background: #181821c9;
  transition: background-color .2s, border-color .2s;
}
.channel-icon { width: 1.9rem; height: 1.9rem; color: var(--cyan); }
.channel-copy { display: grid; gap: .3rem; }
.channel-label { font-size: .92rem; color: var(--muted); }
.channel-copy strong { font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.3; overflow-wrap: anywhere; }
.channel-arrow { align-self: start; color: var(--cyan); font-size: 1.5rem; line-height: 1; }
.contact-channel:is(:hover, :focus-visible) { border-color: #50dffa99; background: #17252d; }
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  border-top: 1px solid #ffffff30;
  padding-top: 1.75rem;
}
.footer-brand { width: 7rem; }
.footer-nav nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer-nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-underline-offset: .25em;
}
.footer-nav nav a:hover { color: var(--paper); text-decoration: underline; }
.footer-nav .button { margin-left: auto; }
.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: .55rem;
  min-width: 48px;
  min-height: 48px;
  padding: .65rem 1rem;
  color: white;
  background: #1d202b;
  border: 1px solid #75ced779;
  border-radius: 99px;
  font-weight: 500;
  font-size: .85rem;
}
.back-top svg { width: 20px; height: 20px; }
.back-top:is(:hover, :focus-visible) { border-color: var(--cyan); }
.js-navigation .back-top {
  position: fixed;
  z-index: 5;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.js-navigation.back-top-visible .back-top, .back-top:focus-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: #d91624; box-shadow: 0 5px 22px #fd1d2433; transform: translateY(-2px); }
  .button-outline:hover { background: #ffffff13; transform: translateY(-2px); }
  .button:active { transform: scale(.96); }
  .model:hover .model-icon { transform: translateY(-.4rem) rotate(-2deg); }
}
@keyframes enter {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes arrive {
  from { opacity: 0; translate: 10px 8px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .65s var(--ease) both; }
  .hero-art img { animation: arrive .85s var(--ease) both; }
  .reveal.entered { animation: enter .6s var(--ease) both; }
  .benefit-icon.reveal.entered { animation: benefit-accent .26s ease-out; }
  @keyframes benefit-accent {
    50% { color: #d4f9ff; filter: drop-shadow(0 0 3px #50dffa99); }
  }
  .entered:nth-child(2) { animation-delay: .05s; }
  .entered:nth-child(3) { animation-delay: .1s; }
  .entered:nth-child(4) { animation-delay: .15s; }
}

@media (min-width: 1500px) {
  .how::before { mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); }
}
@media (max-width: 1079px) {
  :root { font-size: 93.75%; --header-height: 4.6rem; }
  .container { width: calc(100% - 6vw); }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: .8rem; }
  .header-actions .button { min-width: 8rem; }
  .languages { margin-left: 1.25rem; }
  .mobile-menu { display: block; margin-left: .4rem; }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .2s;
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ''; position: absolute; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .mobile-menu[open] .menu-icon { background: transparent; }
  .mobile-menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    width: min(20rem, 94vw);
    max-height: calc(100vh - var(--header-height) - .5rem);
    max-height: calc(100dvh - var(--header-height) - .5rem);
    overflow: auto;
    padding: .9rem;
  }
  .menu-panel nav { display: grid; grid-column: 1 / -1; }
  .menu-panel nav a {
    position: relative;
    padding: .8rem;
    padding-inline-start: 1.9rem;
    border-radius: .5rem;
  }
  .menu-panel nav a[aria-current="location"]::before {
    content: '';
    position: absolute;
    inset-inline-start: .7rem;
    top: 50%;
    width: .7rem;
    border-top: 2px solid var(--red);
    transform: translateY(-50%);
  }
  .hero { min-height: max(37rem, 52vw); }
  .hero-copy { padding-top: clamp(4rem, 8vw, 8rem); width: 51%; }
  h1 { font-size: clamp(2.35rem, 3.9vw, 3.15rem); }
  .intro { margin-top: 1.2rem; }
  .hero-actions { gap: .85rem; margin-top: 2.15rem; }
  .hero-actions .button { min-width: 0; flex: 1; max-width: 13rem; }
  .hero-art { left: 51.5%; width: 50%; top: 1.1rem; }
  h2 { font-size: clamp(1.95rem, 3.6vw, 2.5rem); }
  .model-grid { gap: 1.3rem; }
  .model { min-height: 22.5rem; padding: 1.5rem 1rem; border-radius: 2rem; }
  .model-icon { width: min(100%, 10.5rem); }
  .step-number { width: 7.8rem; font-size: 3.15rem; }
  .step h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
  .how::before, .how::after { top: 4rem; height: 10rem; }
  .how { padding-bottom: 5rem; }
}
@media (max-width: 760px) {
  :root { font-size: 100%; --header-height: 4.125rem; }
  .container { width: calc(100% - 2.5rem); }
  .brand { width: 6.5rem; }
  .header-actions { gap: .65rem; }
  .header-actions .button { min-width: 0; padding: .6rem .85rem; font-size: .68rem; }
  .languages { margin-left: .55rem; }
  .mobile-menu { margin-left: 0; }
  main::before { background-size: auto 100%; }
  .hero { min-height: auto; padding-block: 3rem 1rem; }
  .hero-copy { width: 100%; padding: 0; }
  h1 { font-size: clamp(2.05rem, 6.45vw, 3rem); }
  h1 span + span { margin-top: .18rem; }
  .intro { max-width: 31rem; font-size: .98rem; }
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
    max-width: 26rem;
    margin-top: 1.55rem;
  }
  .hero-actions .button { max-width: none; overflow-wrap: anywhere; }
  .hero-note { font-size: .81rem; }
  .hero-art {
    position: relative;
    inset: auto;
    width: clamp(16.7rem, 83vw, 28rem);
    max-width: 100%;
    margin: .9rem auto 0;
    transform-origin: center;
  }
  h2 { font-size: clamp(1.65rem, 4.8vw, 2.15rem); }
  .models { padding-block-start: 1.5rem; }
  .model-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
  .model {
    display: grid;
    grid-template-columns: minmax(5.5rem, 29%) 1fr;
    grid-template-rows: auto auto;
    column-gap: .75rem;
    align-content: center;
    text-align: left;
    min-height: 10.5rem;
    padding: 1.15rem;
    border-radius: 1.6rem;
  }
  .model .model-icon { width: 100%; margin: auto; grid-row: 1 / 3; }
  .model h3 { align-self: end; font-size: 1.35rem; }
  .model p { max-width: 30rem; margin: 0; font-size: .92rem; }
  .model p::before { width: 3rem; margin: .55rem 0; }
  .how { padding-bottom: 3rem; }
  .how::before { display: none; }
  .step-list { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 1.8rem; }
  .step-list::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 2.065rem;
    width: 2px;
    background: linear-gradient(#63161d, var(--red), #63161d);
    box-shadow: 0 0 8px #ff1c2844;
  }
  .step { position: relative; display: flex; align-items: center; gap: 1.2rem; text-align: left; }
  .step-number { flex: none; width: 4.25rem; margin: 0; font-size: 1.65rem; }
  .step-copy { margin: 0; padding: 0; max-width: 26rem; }
  .step h3 { font-size: 1.1rem; text-wrap: initial; }
  .step p { max-width: 100%; margin: .25rem 0 0; text-wrap: initial; }
  .stats { margin-top: 2rem; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel { min-height: 6rem; padding: 1rem 1.15rem; border-radius: 1rem; }
  .footer-brand { width: 7rem; }
  .footer-nav { gap: .85rem 1.5rem; }
  .js-navigation .back-top { padding: 0; }
  .js-navigation .back-top span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 500px) {
  .header-login { display: none; }
  .container { width: calc(100% - 2rem); }
  .brand { width: 5.6rem; }
  .header-actions .button { font-size: .625rem; padding-inline: .68rem; }
  .languages { margin-left: .25rem; }
  .footer-nav .button { margin-left: 0; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 1.5rem); }
  .brand { width: 4.85rem; }
  .hero-actions .button { padding-inline: .55rem; font-size: .7rem; }
  .model { grid-template-columns: 4.8rem 1fr; padding: 1rem .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .model:hover .model-icon, .button:is(:hover, :active), .js-navigation .back-top { transform: none; }
}

/* Short, single-pass accents. The original artwork and labels stay visible. */
@media (prefers-reduced-motion: no-preference) {
  .hero-art::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 3% 1% 5% 4%;
    pointer-events: none;
    background: radial-gradient(ellipse at 58% 48%, rgb(80 223 250 / 30%), transparent 66%);
    opacity: 0;
    animation: partner-halo 1s ease-out;
  }

  .button-primary {
    position: relative;
    overflow: hidden;
  }

  /* The glint stays on the upper rim, clear of the button label. */
  .button-primary::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 1px;
    left: 0;
    width: 38%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 75%), transparent);
    opacity: 0;
  }

  .button-primary:focus-visible::after {
    animation: partner-glint .34s ease-out;
  }

  @keyframes partner-halo {
    0%, 100% { opacity: 0; }
    42% { opacity: 1; }
  }

  @keyframes partner-glint {
    from { opacity: 0; transform: translateX(-105%); }
    18%, 75% { opacity: 1; }
    to { opacity: 0; transform: translateX(280%); }
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .button-primary:hover::after {
    animation: partner-glint .34s ease-out;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  @supports (mask-image: linear-gradient(black, black)) or (-webkit-mask-image: linear-gradient(black, black)) {
    /* Match .how::before and use its original Figma curve as the light mask. */
    .how.trace-in::after {
      content: '';
      background: linear-gradient(90deg, transparent, #ffc3bf 50%, transparent) no-repeat;
      background-size: 18% 100%;
      -webkit-mask: url("assets/steps-line.svg") center / 100% 100% no-repeat;
      mask: url("assets/steps-line.svg") center / 100% 100% no-repeat;
      opacity: 0;
      animation: partner-trace 1.2s ease-in-out;
    }

    .how.trace-in .step-list { z-index: 1; }

    @keyframes partner-trace {
      from { opacity: 0; background-position: -23% 50%; }
      15%, 85% { opacity: .9; }
      to { opacity: 0; background-position: 123% 50%; }
    }
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .step.entered .step-number { position: relative; }

  .step.entered .step-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 1px solid #ff797d;
    border-radius: 50%;
    box-shadow: 0 0 8px rgb(253 29 36 / 40%);
    pointer-events: none;
    opacity: 0;
    animation: partner-step-rim .65s .12s ease-out;
  }

  @keyframes partner-step-rim {
    0%, 100% { opacity: 0; }
    45% { opacity: .85; }
  }
}
