/* Norix funnel — dark Norix Ink theme, Signal Cyan accent. Tokens from colors_and_type.css */
@import url('../colors_and_type.css');

/* Dark theme: repoint the shared semantic tokens so base h1–h4/p rules read light */
:root {
  --bg: var(--norix-ink-950);
  --fg: var(--paper-50);
  --fg-muted: var(--slate-400);
  --fg-subtle: var(--slate-500);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--norix-ink-950);
  color: var(--paper-50);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px; /* room for sticky bar */
  overflow-x: hidden;
}
body.fx-locked { overflow: hidden; }
a { color: inherit; }

.fx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.fx-wrap--narrow { max-width: 780px; }
.fx-center { text-align: center; }
.fx-accent { color: var(--signal-500); }

/* ---------- Buttons ---------- */
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; letter-spacing: -0.01em;
  background: var(--signal-500); color: var(--norix-ink-950);
  border: 1px solid transparent; border-radius: var(--radius-full);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease-out);
}
.fx-btn:hover { background: var(--signal-400); }
.fx-btn:active { transform: scale(0.97); }
.fx-btn--block:active { transform: scale(0.98); } /* wide buttons: same feel, fewer pixels of travel */
/* Phones flash a grey box on tap; the press scale is the feedback, so drop the flash */
.fx-btn, .fx-opt, .fx-faq__q, .fx-back, .fx-modal__close { -webkit-tap-highlight-color: transparent; }
.fx-btn:focus-visible, .fx-opt:focus-visible, .fx-faq__q:focus-visible, .fx-modal__close:focus-visible {
  outline: 2px solid var(--signal-400); outline-offset: 3px;
}
.fx-btn--sm { padding: 10px 18px; font-size: 14px; }
.fx-btn--md { padding: 12px 22px; font-size: 15px; }
.fx-btn--lg { padding: 18px 34px; font-size: 17px; }
.fx-btn--hero {
  padding: 22px 44px; font-size: 19px; margin-top: 8px;
  box-shadow: 0 14px 44px -12px rgba(31, 169, 187, 0.55);
}
.fx-btn--block { width: 100%; }
.fx-btn--ghost { background: transparent; color: var(--paper-50); border-color: var(--norix-ink-600); }
.fx-btn--ghost:hover { background: var(--norix-ink-800); }

/* ---------- Nav ---------- */
.fx-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  /* No edge at the very top so the hero glow runs up seamlessly; it appears once content scrolls under */
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.fx-nav.is-scrolled { border-bottom-color: var(--norix-ink-800); }
.fx-nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.fx-nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.fx-nav__word { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--paper-50); }
.fx-nav__word em { font-style: normal; color: var(--signal-500); }
.fx-nav__links { display: flex; gap: 32px; }
.fx-nav__links a { text-decoration: none; color: var(--slate-400); font-size: 15px; font-weight: 500; transition: color 150ms ease; }
.fx-nav__links a:hover { color: var(--paper-50); }

/* ---------- Hero ---------- */
.fx-hero { position: relative; padding: 72px 0 96px; text-align: center; overflow: hidden; }
.fx-hero__glow {
  position: absolute; left: 50%; top: 260px; width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(31, 169, 187, 0.16), rgba(31, 169, 187, 0) 70%);
  pointer-events: none;
}
.fx-hero__glow--low { top: 0; height: 500px; }
.fx-hero__inner { position: relative; }
.fx-pill {
  display: inline-block; padding: 8px 18px; margin-bottom: 28px;
  border: 1px solid var(--signal-600); border-radius: var(--radius-full);
  color: var(--signal-400); font-size: 14px; font-weight: 600;
  background: rgba(31, 169, 187, 0.06);
}
.fx-hero__title {
  font-size: clamp(34px, 6vw, 66px); line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 auto 22px; max-width: 980px; text-wrap: balance;
}
.fx-hero__sub {
  font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--slate-400);
  max-width: 640px; margin: 0 auto 30px; text-wrap: pretty;
}
.fx-micro { color: var(--slate-500); font-size: 14px; margin: 16px 0 0; }
.fx-micro--left { text-align: left; }

/* ---------- VSL ---------- */
.fx-vsl { margin: 64px auto 0; max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.fx-vsl__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--norix-ink-700);
  background: var(--norix-ink-900);
  box-shadow: 0 0 0 1px rgba(31, 169, 187, 0.08), 0 30px 90px -20px rgba(31, 169, 187, 0.35);
}
.fx-vsl__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fx-vsl__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0E1424; }
.fx-vsl__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background:
    radial-gradient(circle at 50% 45%, rgba(31, 169, 187, 0.14), transparent 60%),
    linear-gradient(160deg, var(--norix-ink-800), var(--norix-ink-950));
  padding: 24px;
}
.fx-vsl__play {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px;
  background: var(--signal-500); color: var(--norix-ink-950);
  box-shadow: 0 0 0 12px rgba(31, 169, 187, 0.14);
}
.fx-vsl__label { font-size: clamp(16px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.fx-vsl__soon { font-size: 13px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Sections ---------- */
.fx-section { position: relative; padding: 96px 0; border-top: 1px solid var(--norix-ink-800); }
.fx-section--alt { background: var(--norix-ink-900); }
.fx-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal-500); margin-bottom: 14px;
}
.fx-eyebrow--center { text-align: center; }
.fx-h2 {
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 700; margin: 0 0 18px; max-width: 820px; text-wrap: balance;
}
.fx-h2--center { margin-left: auto; margin-right: auto; text-align: center; }
.fx-lead { font-size: 18px; line-height: 1.6; color: var(--slate-400); max-width: 680px; margin: 0 0 40px; text-wrap: pretty; }
.fx-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Pain cards */
.fx-pain { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.fx-card {
  background: var(--norix-ink-900); border: 1px solid var(--norix-ink-700);
  border-radius: var(--radius-lg); padding: 24px;
}
.fx-card__x {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(194, 74, 74, 0.12); color: #E07A7A; font-size: 20px; margin-bottom: 16px;
}
.fx-card__t { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.015em; }
.fx-card__b { font-size: 15px; line-height: 1.55; color: var(--slate-400); margin: 0; }

/* Filter */
.fx-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fx-filter__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--norix-ink-950); border: 1px solid var(--norix-ink-700);
  border-radius: var(--radius-lg); padding: 20px;
}
.fx-filter__n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(31, 169, 187, 0.12); color: var(--signal-400); font-weight: 700; font-size: 14px;
}
/* "Tick all five boxes": once a card has landed, its number turns into a tick, one box after another.
   --tick-delay is set once per card by the reveal observer in index.html. */
.fx-filter__n > * { grid-area: 1 / 1; }
.fx-filter__n, .fx-filter__num, .fx-filter__tick {
  transition: background-color 200ms var(--ease-out), opacity 200ms var(--ease-out), filter 200ms var(--ease-out);
  transition-delay: var(--tick-delay, 0ms);
}
.fx-filter__tick { width: 16px; height: 16px; opacity: 0; color: var(--norix-ink-950); }
.fx-filter__tick path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 300ms var(--ease-out) calc(var(--tick-delay, 0ms) + 80ms); }
.fx-filter__item.is-in .fx-filter__n { background-color: var(--signal-500); }
.fx-filter__item.is-in .fx-filter__num { opacity: 0; filter: blur(2px); }
.fx-filter__item.is-in .fx-filter__tick { opacity: 1; }
.fx-filter__item.is-in .fx-filter__tick path { stroke-dashoffset: 0; }
.fx-filter__t { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.fx-filter__b { font-size: 14px; color: var(--slate-400); line-height: 1.5; }

/* Steps */
.fx-steps {
  list-style: none; padding: 0; margin: 0 0 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.fx-step {
  background: var(--norix-ink-900); border: 1px solid var(--norix-ink-700);
  border-radius: var(--radius-lg); padding: 28px;
}
.fx-step__n { font-family: var(--font-mono); font-size: 14px; color: var(--signal-500); }
.fx-step__t { font-size: 20px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.fx-step__b { font-size: 15px; line-height: 1.55; color: var(--slate-400); margin: 0; }

/* Guarantee */
.fx-guarantee {
  text-align: center; padding: 64px 32px; border-radius: var(--radius-2xl);
  border: 1px solid rgba(31, 169, 187, 0.35);
  background: radial-gradient(circle at 50% 0%, rgba(31, 169, 187, 0.14), transparent 65%), var(--norix-ink-900);
}
.fx-checks { list-style: none; padding: 0; margin: 0 auto 40px; max-width: 520px; text-align: left; display: grid; gap: 14px; }
.fx-checks li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.5; }
.fx-checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--signal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A0E1A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* FAQ */
.fx-faq { margin-top: 40px; display: grid; gap: 12px; }
.fx-faq__item { border: 1px solid var(--norix-ink-700); border-radius: var(--radius-lg); background: var(--norix-ink-950); }
.fx-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; background: none; border: 0; color: var(--paper-50);
  font: inherit; font-size: 17px; font-weight: 600; text-align: left; cursor: pointer;
}
.fx-faq__icon { font-size: 24px; color: var(--signal-500); transition: transform 200ms var(--ease-out); }
.fx-faq__item.is-open .fx-faq__icon { transform: rotate(45deg); }
/* 0fr -> 1fr animates to the answer's natural height; visibility keeps a closed answer out of tab order and screen readers */
.fx-faq__a {
  display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s 200ms;
}
.fx-faq__item.is-open .fx-faq__a {
  grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s;
}
.fx-faq__a > div { overflow: hidden; min-height: 0; }
.fx-faq__a p { margin: 0; padding: 0 24px 22px; color: var(--slate-400); line-height: 1.6; font-size: 16px; }

.fx-final { overflow: hidden; }
.fx-final .fx-wrap { position: relative; }

/* Footer */
.fx-footer { border-top: 1px solid var(--norix-ink-800); padding: 40px 0; }
.fx-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.fx-footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.fx-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.fx-footer__links a { color: var(--slate-400); text-decoration: none; font-size: 14px; transition: color 150ms ease; }
.fx-footer__links a:hover { color: var(--paper-50); }
.fx-footer__legal { width: 100%; color: var(--slate-500); font-size: 13px; }

/* Sticky bar */
.fx-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(15, 20, 34, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--norix-ink-700);
  /* visibility flips after the slide-out, so the hidden bar's button can't be tabbed to */
  transform: translateY(110%); visibility: hidden;
  transition: transform 260ms var(--ease-out), visibility 0s 260ms;
  padding-bottom: env(safe-area-inset-bottom);
}
.fx-sticky.is-shown { transform: none; visibility: visible; transition: transform 260ms var(--ease-out), visibility 0s; }
.fx-sticky__inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.fx-sticky__text { color: var(--slate-300); font-size: 15px; }

/* ---------- Qualify modal ---------- */
.fx-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 7, 13, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: fx-fade 250ms var(--ease-out);
}
.fx-modal__panel {
  width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--norix-ink-900); border: 1px solid var(--norix-ink-700);
  border-radius: var(--radius-2xl); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
  animation: fx-pop 250ms var(--ease-out); /* centred modal: scales from centre, not the button */
}
/* Leaving is quicker than arriving: they've decided, get out of the way */
.fx-modal.is-closing { animation: fx-fade-out 180ms var(--ease-out) forwards; }
.fx-modal.is-closing .fx-modal__panel { animation: fx-pop-out 180ms var(--ease-out) forwards; }
.fx-modal__panel--wide { max-width: 1000px; }
.fx-modal__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid var(--norix-ink-800);
}
.fx-modal__title { font-weight: 700; font-size: 17px; }
.fx-modal__close {
  background: none; border: 0; color: var(--slate-400); cursor: pointer; padding: 4px; border-radius: 8px; display: grid;
  transition: color 150ms ease, transform 160ms var(--ease-out);
}
.fx-modal__close:active { transform: scale(0.97); }
.fx-modal__close:hover { color: var(--paper-50); }
.fx-progress { display: grid; grid-auto-flow: column; gap: 8px; padding: 22px 28px 0; }
.fx-progress span { position: relative; height: 6px; border-radius: 99px; overflow: hidden; background: var(--norix-ink-700); }
/* Each segment fills left to right as a step completes, and drains back the same way on Back */
.fx-progress span::after {
  content: ""; position: absolute; inset: 0; background: var(--signal-500);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.fx-progress span.is-done::after { transform: scaleX(1); }
.fx-modal__body { padding: 32px 28px 28px; }
/* Next slides in from the right, Back from the left, so the steps read as a row */
.fx-q { animation: fx-step-fwd 240ms var(--ease-out); }
.fx-q--back { animation-name: fx-step-back; }
.fx-q__title { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 26px; text-wrap: balance; }
.fx-q__title--sm { font-size: 22px; margin-bottom: 16px; }
.fx-q__options { display: grid; gap: 12px; }
.fx-opt {
  text-align: left; font: inherit; font-size: 17px; font-weight: 500; color: var(--slate-200);
  padding: 20px 22px; border-radius: var(--radius-lg);
  background: var(--norix-ink-800); border: 1px solid var(--norix-ink-700);
  cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms var(--ease-out);
}
.fx-opt:active { transform: scale(0.98); }
.fx-opt:hover { border-color: var(--signal-600); }
.fx-opt.is-selected { border-color: var(--signal-500); background: rgba(31, 169, 187, 0.08); color: var(--paper-50); }
.fx-field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--slate-400); font-weight: 500; }
.fx-field input {
  font: inherit; font-size: 17px; color: var(--paper-50);
  background: var(--norix-ink-800); border: 1px solid var(--norix-ink-700); border-radius: var(--radius-md);
  padding: 15px 16px; outline: none;
}
.fx-field input:focus { border-color: var(--signal-500); box-shadow: 0 0 0 3px rgba(31, 169, 187, 0.18); }
.fx-q .fx-btn--block { margin-top: 8px; }
.fx-back {
  margin-top: 26px; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--slate-500); font: inherit; font-size: 15px;
  transition: color 150ms ease, transform 160ms var(--ease-out);
}
.fx-back:active { transform: scale(0.97); }
.fx-back:hover { color: var(--paper-50); }
.fx-cal { min-width: 280px; height: 680px; border-radius: var(--radius-lg); overflow: hidden; }
.fx-cal .calendly-inline-widget { height: 100% !important; }
.fx-done { text-align: center; }
.fx-done .fx-lead { margin-left: auto; margin-right: auto; }
.fx-done__tick {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--signal-500); color: var(--norix-ink-950);
}
/* Booked: the one moment worth celebrating. Circle settles in, then the tick draws itself */
.fx-done__tick { animation: fx-pop 400ms var(--ease-out) backwards; }
.fx-done__tick path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fx-draw 420ms var(--ease-out) 160ms forwards; }

@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-fade-out { to { opacity: 0; } }
@keyframes fx-pop { from { opacity: 0; transform: scale(0.96); } }
@keyframes fx-pop-out { to { opacity: 0; transform: scale(0.96); } }
@keyframes fx-step-fwd { from { opacity: 0; transform: translateX(12px); } }
@keyframes fx-step-back { from { opacity: 0; transform: translateX(-12px); } }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }
@keyframes fx-enter { from { opacity: 0; transform: translateY(14px); } }

/* Hero: staggered load-in. CSS animation on purpose: Babel is still compiling on the main thread
   while this plays, and CSS animations keep running smoothly off it. */
.fx-hero__inner > * { animation: fx-enter 700ms var(--ease-out) backwards; }
.fx-hero__inner > :nth-child(2) { animation-delay: 60ms; }
.fx-hero__inner > :nth-child(3) { animation-delay: 120ms; }
.fx-hero__inner > :nth-child(4) { animation-delay: 180ms; }
.fx-hero__inner > :nth-child(5) { animation-delay: 220ms; }
.fx-hero__inner > :nth-child(6) { animation-delay: 280ms; }

/* Scroll reveal: items, not whole sections, so the alternating background bands never flicker.
   index.html tags items .fx-rv and adds .is-in (with a per-batch stagger) as they come into view. */
.fx-rv:not(.is-in) { opacity: 0; }
.fx-rv.is-in { animation: fx-enter 600ms var(--ease-out) backwards; }

@media (prefers-reduced-motion: reduce) {
  /* Fewer, gentler: keep the fades that explain what changed, drop the movement */
  html { scroll-behavior: auto; }
  .fx-hero__inner > *, .fx-rv.is-in, .fx-q, .fx-done__tick, .fx-modal__panel { animation-name: fx-fade; }
  .fx-modal.is-closing .fx-modal__panel { animation-name: fx-fade-out; }
  .fx-done__tick path { animation: none; stroke-dashoffset: 0; }
  .fx-progress span::after, .fx-faq__a, .fx-faq__item.is-open .fx-faq__a { transition-property: opacity, visibility; }
  .fx-btn:active, .fx-btn--block:active, .fx-opt:active, .fx-modal__close:active, .fx-back:active { transform: none; }
  .fx-filter__item.is-in .fx-filter__num { filter: none; }
  .fx-filter__tick path { transition: none; stroke-dashoffset: 0; } /* tick fades in whole, no drawing */
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .fx-wrap { padding: 0 16px; }
  .fx-nav__inner { padding: 12px 16px; }
  .fx-nav__links { display: none; }
  .fx-nav .fx-btn--sm { padding: 9px 14px; font-size: 13px; }
  .fx-hero { padding: 44px 0 64px; }
  .fx-pill { font-size: 12px; margin-bottom: 20px; }
  .fx-btn--hero { width: 100%; padding: 20px 24px; font-size: 18px; white-space: normal; }
  .fx-vsl { margin-top: 40px; gap: 24px; }
  .fx-vsl__placeholder { gap: 12px; }
  .fx-vsl__play { width: 60px; height: 60px; box-shadow: 0 0 0 8px rgba(31, 169, 187, 0.14); }
  .fx-vsl__soon { display: none; }
  .fx-vsl .fx-btn { width: 100%; }
  .fx-section { padding: 64px 0; }
  .fx-guarantee { padding: 44px 20px; }
  .fx-guarantee .fx-btn, .fx-final .fx-btn { width: 100%; white-space: normal; }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-sticky__inner { padding: 12px 16px; }
  .fx-sticky__text { display: none; }
  .fx-sticky .fx-btn { width: 100%; }
  .fx-modal { padding: 0; align-items: flex-end; }
  .fx-modal__panel { max-height: 94dvh; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
  /* On phones it's a bottom sheet, so it rises from and drops back to the bottom edge */
  .fx-modal__panel { animation: fx-sheet-in 450ms var(--ease-drawer); }
  .fx-modal.is-closing { animation-duration: 260ms; }
  .fx-modal.is-closing .fx-modal__panel { animation: fx-sheet-out 260ms var(--ease-drawer) forwards; }
  .fx-modal__head { padding: 18px 20px; }
  .fx-progress { padding: 18px 20px 0; }
  .fx-modal__body { padding: 26px 20px 24px; }
  .fx-opt { padding: 17px 18px; font-size: 16px; }
  .fx-cal { height: 620px; }
}

/* Wordmark: "Norix" with the teal full stop from the logo mark */
.fx-nav__dot { color: var(--signal-500); }

/* Honeypot: off-screen, so people never see it but naive bots fill it in */
.fx-trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

@keyframes fx-sheet-in { from { transform: translateY(100%); } }
@keyframes fx-sheet-out { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .fx-modal__panel { animation: fx-fade 250ms var(--ease-out); }
  .fx-modal.is-closing .fx-modal__panel { animation: fx-fade-out 180ms var(--ease-out) forwards; }
}
