:root {
  --motion-out: cubic-bezier(.22, 1, .36, 1);
}
.route-header .desktop-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.route-header .desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--motion-out);
}
.route-header .desktop-nav a[aria-current]::after,
.route-header .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.route-header .header-cta[aria-current] { color: white; background: var(--ink); }
.section-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 5vw, 80px);
  margin-top: clamp(40px, 6vw, 90px);
}
.section-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .9em 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(23px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -.045em;
}
.inner-page main { min-height: 65vh; padding-bottom: clamp(40px, 7vw, 100px); }
.inner-page .section-block:first-child { padding-top: clamp(44px, 6vw, 90px); }
.inner-page main h1 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 82px);
  letter-spacing: -.055em;
  line-height: 1.04;
  font-weight: 550;
}
.inner-page .section-intro { position: static; margin: 16px 0 0; max-width: 60ch; }
.inner-page .site-footer { border-top: 1px solid var(--line); }
.route-actions { margin-top: 32px; }
.inner-page #app {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  column-gap: clamp(25px, 7vw, 100px);
  align-content: center;
}
.inner-page #app .section-heading { margin-bottom: 28px; align-self: end; }
.inner-page #app .hero-actions, .inner-page #app .hero-note { grid-column: 1; }
.app-emblem {
  grid-area: 1 / 2 / span 3; align-self: center; justify-self: end;
  width: min(100%, 300px);
}
.app-emblem img { width: 100%; height: auto; }
.account-shell .login-aside img { mix-blend-mode: normal; }
.steps-grid h3 { margin-top: 0; }

@media (max-width: 860px) {
  .route-header.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding-block: 12px 5px;
  }
  .route-header .brand { justify-self: start; }
  .route-header .header-cta { grid-area: 1 / 2; }
  .route-header .desktop-nav {
    grid-column: 1 / -1;
    display: flex; flex-wrap: wrap;
    justify-content: space-between; gap: 0 8px;
    font-size: clamp(11px, 2.9vw, 14px);
  }
}
@media (max-width: 600px) {
  .section-directory { grid-template-columns: 1fr; }
  .inner-page #app { grid-template-columns: 1fr; }
  .app-emblem { grid-area: 1 / 1; width: 92px; justify-self: start; margin-bottom: 24px; }
  .trial-strip > div { flex-basis: 100%; }
  .trial-strip .text-link { margin-left: 0; }
}

@media screen {
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes mark-in {
    from { opacity: 0; transform: translateY(14px) rotate(-7deg) scale(.9); }
    to { opacity: 1; transform: none; }
  }
  @keyframes float-mark {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }
  .hero-copy > *, .inner-page .section-heading, .account-heading {
    animation: rise-in 570ms var(--motion-out) backwards;
  }
  .hero-copy h1 { animation-delay: 55ms; }
  .hero-description { animation-delay: 100ms; }
  .hero-copy .hero-actions { animation-delay: 140ms; }
  .hero-copy .hero-note { animation-delay: 170ms; }
  .app-emblem { animation: mark-in 900ms var(--motion-out) backwards; }
  .hero-mark { animation: float-mark 5.5s ease-in-out infinite; }
  .hero-art.motion-paused .hero-mark { animation-play-state: paused; }
  .entered { animation: rise-in 520ms var(--motion-out) backwards; }
  .entered:nth-child(2) { animation-delay: 45ms; }
  .entered:nth-child(3) { animation-delay: 85ms; }
  :where(a, button, summary, .offer, .plan-item) {
    transition: translate 160ms var(--motion-out), scale 160ms var(--motion-out);
  }
  :is(.btn-primary,.btn-light,.btn-glass,.btn-outline,.header-cta,.plan-item) {
    transition: transform 180ms var(--motion-out), scale 160ms var(--motion-out),
                background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  }
  :is(a,button,summary,.offer):active:not(:disabled):not(:focus-visible) { scale: .97; }
  details[open] > p { animation: rise-in 230ms var(--motion-out); }
  @media (hover: hover) and (pointer: fine) {
    .route-header .desktop-nav a:hover::after { transform: scaleX(1); }
    .section-directory a:hover { translate: 3px 0; }
    :is(button:not(:disabled), .offer, .text-link, .support-link, summary):hover { translate: 0 -1px; }
  }
}
