:root {
  --navy: #0b1437;
  --ink: #1a2347;
  --muted: #5b6485;
  --faint: #8d95b3;
  --line: #e4e8f2;
  --line-strong: #cfd6e8;
  --blue: #0a6cff;
  --violet: #7b13ff;
  --sky: #06a0ff;
  --soft: #f5f8ff;
  --bg: #ffffff;
  --bg-2: #f7f9fd;
  --surface: #ffffff;
  --primary: #0b1437;
  --primary-hover: #0a6cff;
  --primary-fg: #ffffff;
  --grad: linear-gradient(110deg, #7b13ff, #0a6cff 55%, #06a0ff);
  --ok: #137a4b;
  --ok-bg: #e3f7ec;
  --dot: rgba(11, 20, 55, 0.12);
  --display: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 18px;
  --shadow: 0 4px 12px -2px rgba(11, 20, 55, 0.1), 0 2px 4px rgba(11, 20, 55, 0.05);
  --shadow-lg: 0 24px 48px -20px rgba(11, 20, 55, 0.3), 0 8px 16px -8px rgba(11, 20, 55, 0.12);
  --ring: 0 0 0 3px rgba(10, 108, 255, 0.28);
  --nav-h: 64px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.12;
}
h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}
h3 {
  font-size: 19px;
}
p {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r);
}
.i {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec {
  padding-block: clamp(56px, 8vw, 110px);
}
.sec-head {
  display: grid;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
  justify-items: center;
}
.sec-head p {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 50ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.12s,
    border-color 0.12s,
    color 0.12s,
    transform 0.12s;
  background: var(--surface);
  color: var(--navy);
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn-accent {
  background: var(--grad);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px -10px rgba(10, 108, 255, 0.7);
}
.btn-accent:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: #fff;
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.btn .i {
  width: 17px;
  height: 17px;
}

/* launch offer bar */
.promo {
  background: var(--navy);
  color: #e6eaf6;
  font-size: 14px;
}
.promo .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  min-height: 42px;
  padding-block: 8px;
  text-align: center;
}
.promo b {
  color: #fff;
  font-weight: 600;
}
.promo .pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}
.promo a {
  color: #8fb6ff;
  font-weight: 600;
  white-space: nowrap;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}
.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--navy);
  text-decoration: none;
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.nav-signin {
  display: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .nav .wrap {
    gap: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-cta .btn {
    padding: 0 12px;
  }
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta {
    margin-left: 0;
  }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px max(16px, env(safe-area-inset-left, 0px)) 18px;
    gap: 4px;
    margin: 0;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links .nav-signin {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 15px;
  }
  .nav.open .nav-links a {
    display: block;
    padding: 11px 6px;
    font-size: 16px;
    color: var(--navy);
    border-radius: var(--r);
  }
}

/* 1 · hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.hero-copy {
  display: grid;
  gap: 22px;
}
.hero-copy p.lead {
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: var(--muted);
  max-width: 46ch;
}
.hero-copy h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-note {
  font-size: 13.5px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-note .i {
  width: 15px;
  height: 15px;
  color: var(--ok);
}
.hero-pic {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 640 / 520;
  max-width: 100%;
  /* Sits a little lower than the headline, so the eye goes from the title, down and right to the
     picture, and on to the next section */
  margin-top: clamp(40px, 6vw, 92px);
}
.hero-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-pic {
    max-width: 560px;
    margin-top: 0;
  }
}

/* 2 · where it helps */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card .k {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--blue);
  border: 1px solid var(--line);
  margin-bottom: 4px;
}
.card .k .i {
  width: 22px;
  height: 22px;
}
/* The four jobs are centred: picture, heading and text */
#product .card {
  text-align: center;
}

/* The four jobs carry a picture: smaller, inside a soft circle */
.card .k.k-art {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
}
.card .k.k-art img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.card h3 {
  font-size: 20px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
/* 3 · what it does: a grid of the parts of a bid we take off the desk */
.features {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.feat .k {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--blue);
  border: 1px solid var(--line);
}
.feat .k .i {
  width: 20px;
  height: 20px;
}
.feat h3 {
  margin-top: 4px;
  font-size: 18px;
}
.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.feats-foot {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
/* The three that set us apart are picked out: a tinted card and a gradient icon */
.feat.lead {
  border-color: rgba(10, 108, 255, 0.28);
  background: linear-gradient(180deg, rgba(10, 108, 255, 0.07), var(--surface) 75%);
}
.feat.lead .k {
  border: 0;
  background: var(--grad);
  color: #fff;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.tag .i {
  width: 12px;
  height: 12px;
}
.tag-auto {
  background: rgba(10, 108, 255, 0.12);
  color: var(--blue);
}
.tag-on {
  background: var(--ok-bg);
  color: var(--ok);
}
@media (max-width: 960px) {
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .feats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* 3 · ask */
.ask {
  background: var(--bg);
}
.chat {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-log {
  display: grid;
  gap: 12px;
  padding: 22px 22px 8px;
  max-height: 360px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.chat-log {
  scrollbar-width: none;
}
.chat-log::-webkit-scrollbar {
  display: none;
}
.chat-log:empty {
  display: none;
}
.chat-log:not(:empty) + .chips {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
}
.msg {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  animation: pop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.msg.me {
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
}
.msg .av {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
}
.msg .av .i {
  width: 15px;
  height: 15px;
  stroke: #fff;
}
.bubble {
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 56ch;
}
.msg.bot .bubble {
  background: var(--soft);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.msg.bot .bubble a {
  font-weight: 600;
}
.msg.me .bubble {
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.typing .bubble {
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  animation: blink 1.1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.typing i:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 22px 6px;
}
.chips button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.chips button:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--soft);
}
.chips button:active {
  transform: scale(0.97);
}
.chips button[disabled] {
  opacity: 0.45;
  cursor: default;
}
.chat-form {
  position: relative;
  padding: 12px 22px 22px;
}
.chat-form input {
  font: inherit;
  font-size: 15.5px;
  width: 100%;
  min-height: 54px;
  padding: 0 62px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}
.chat-form input::placeholder {
  color: var(--faint);
}
.chat-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.chat-form .btn {
  position: absolute;
  right: 29px;
  top: 19px;
  min-height: 40px;
  width: 40px;
  padding: 0;
  border-radius: 11px;
}
@media (max-width: 560px) {
  .chat-log,
  .chips,
  .chat-form {
    padding-left: 14px;
    padding-right: 14px;
  }
  .chat-form .btn {
    right: 21px;
  }
  .bubble {
    font-size: 14.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .msg,
  .typing i {
    animation: none;
  }
}

/* 4 · contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.contact-copy {
  display: grid;
  gap: 16px;
}
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  max-width: 44ch;
}
.contact-copy ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.contact-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-copy li .i {
  color: var(--ok);
  margin-top: 3px;
  width: 17px;
  height: 17px;
}
.cform {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.cfields {
  display: grid;
  gap: 14px;
}
.cform .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.field input,
.field textarea {
  font: inherit;
  font-weight: 400;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field textarea {
  padding: 12px 14px;
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #b0234f;
}
.field .err {
  display: none;
  font-weight: 500;
  color: #b0234f;
  font-size: 12.5px;
}
.field.invalid .err {
  display: block;
}
.cform .done {
  display: none;
  text-align: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 0;
}
.cform .done .ok-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: grid;
  place-items: center;
}
.cform .done .ok-ring .i {
  width: 26px;
  height: 26px;
}
.cform .done p {
  color: var(--muted);
}
.cform.sent .cfields {
  display: none;
}
.cform.sent .done {
  display: grid;
}
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .cform .two {
    grid-template-columns: 1fr;
  }
  .cform {
    padding: 20px;
  }
}

/* 5 · start */
.cta {
  padding-block: clamp(56px, 8vw, 110px);
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0b1437;
  color: #e6eaf6;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123, 19, 255, 0.55), transparent);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: auto auto -50% -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 108, 255, 0.45), transparent);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-copy {
  display: grid;
  gap: 14px;
}
.cta-copy h2 {
  color: #fff;
}
.cta-copy p {
  color: #b7c0e0;
  font-size: 17px;
  max-width: 44ch;
}
.cta-copy .pill {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}
.cta-actions {
  display: grid;
  gap: 12px;
  min-width: 270px;
}
.cta-actions small {
  color: #8d95b3;
  font-size: 12.5px;
  text-align: center;
}
@media (max-width: 880px) {
  .cta-card {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    min-width: 0;
  }
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
footer .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer nav a {
  color: var(--muted);
}
footer nav a:hover {
  color: var(--navy);
}
footer .by {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .by img {
  height: 24px;
  width: auto;
  border-radius: 6px;
}
footer .legal {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
}
footer .ver {
  font-family: var(--mono);
  font-size: 11.5px;
}

/* ---------- motion: quiet, once, and off when the visitor asks ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
html.js .stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .stagger.in > * {
  opacity: 1;
  transform: none;
}
html.js .stagger.in > *:nth-child(1) {
  transition-delay: 0ms;
}
html.js .stagger.in > *:nth-child(2) {
  transition-delay: 90ms;
}
html.js .stagger.in > *:nth-child(3) {
  transition-delay: 180ms;
}
html.js .stagger.in > *:nth-child(4) {
  transition-delay: 270ms;
}
html.js .stagger.in > *:nth-child(5) {
  transition-delay: 360ms;
}
html.js .stagger.in > *:nth-child(6) {
  transition-delay: 450ms;
}
.nav {
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.nav.scrolled {
  box-shadow: 0 6px 24px -18px rgba(11, 20, 55, 0.35);
}
.btn {
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.15s;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
a,
summary {
  transition: color 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* hero entrance and a slow drift on the picture */
html.js .hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
html.js .hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}
html.js .hero-copy > *:nth-child(2) {
  animation-delay: 0.17s;
}
html.js .hero-copy > *:nth-child(3) {
  animation-delay: 0.29s;
}
html.js .hero-copy > *:nth-child(4) {
  animation-delay: 0.41s;
}
html.js .hero-pic {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation:
    rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards,
    drift 9s ease-in-out 1.4s infinite;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.card {
  transition:
    transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.2s,
    border-color 0.2s;
}
.tier {
  transition:
    transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.2s;
}
.tier:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero-copy > *,
  html.js .hero-pic {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* what the page needs now that nothing is written into the markup itself */
.sprite {
  position: absolute;
}
.d160 {
  --d: 160ms;
}
.d120 {
  --d: 120ms;
}
.link-sky {
  color: #8fb6ff;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-err {
  margin: 0;
  color: #b0234f;
  font-size: 14px;
}
.promo a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* the contact form's choice of what it is about */
.topics {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topics legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.topics label {
  position: relative;
}
.topics input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.topics span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}
.topics span:hover {
  border-color: var(--blue);
}
.topics input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.topics input:focus-visible + span {
  box-shadow: var(--ring);
}
