/* ==========================================================================
   Ken Melbourne Websites — design system
   Palette taken from the logo: deep navy, slate-teal, warm cream.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #081b2d;
  --navy-800: #0d2740;
  --navy-700: #143a5e;
  --navy-600: #1c5183;
  --teal-600: #2d7d94;
  --teal-500: #3d95ad;
  --teal-400: #62b4c8;
  --teal-300: #9ad3e0;

  /* Neutrals */
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --sand: #ebe4d6;
  --ink: #10202e;
  --ink-soft: #3d5163;
  --muted: #6b7f90;
  --line: rgba(20, 58, 94, 0.14);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;

  /* Elevation */
  --shadow-s: 0 1px 2px rgba(8, 27, 45, 0.06), 0 4px 14px rgba(8, 27, 45, 0.06);
  --shadow: 0 2px 6px rgba(8, 27, 45, 0.06), 0 18px 44px rgba(8, 27, 45, 0.1);
  --shadow-l: 0 4px 12px rgba(8, 27, 45, 0.08), 0 40px 90px rgba(8, 27, 45, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-color: rgba(28, 81, 131, 0.35); text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--navy-800); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 0 0 12px 12px; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 800px; }

section { position: relative; }
.band { padding-block: clamp(4rem, 9vw, 7.5rem); }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band--cream { background: var(--cream); }
.band--dark { background: var(--navy-900); color: #dce7ef; }
.band--dark h2, .band--dark h3 { color: #fff; }

.stack > * + * { margin-top: 1rem; }

/* ------------------------------------------------------------ eyebrow -- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-400), transparent);
}
.band--dark .eyebrow { color: var(--teal-300); }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.band--dark .section-head p { color: #a7bcce; }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ------------------------------------------------------------ buttons -- */

.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(8, 27, 45, 0.16), 0 10px 24px rgba(8, 27, 45, 0.16);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(8,27,45,.18), 0 18px 38px rgba(8,27,45,.22); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy-700);
  border-color: rgba(20, 58, 94, 0.24); box-shadow: none;
}
.btn--ghost:hover { background: rgba(20, 58, 94, 0.05); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35); box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn--wide { width: 100%; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.site-header.is-stuck {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(8, 27, 45, 0.06);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -0.015em; color: var(--navy-800);
}
.brand__sub {
  font-size: 0.62rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--navy-800); background: rgba(20, 58, 94, 0.06); }
.nav a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn { padding: 0.7rem 1.25rem; font-size: 0.92rem; }

/* Over the dark hero the header is transparent, so it wears light type.
   Once it sticks to a pale background it flips back to ink. */
.site-header:not(.is-stuck) .brand__name { color: #fff; }
.site-header:not(.is-stuck) .brand__sub { color: #8fa9bd; }
.site-header:not(.is-stuck) .nav a { color: #c6dae8; }
.site-header:not(.is-stuck) .nav a:hover,
.site-header:not(.is-stuck) .nav a[aria-current="page"] { color: #fff; }
.site-header:not(.is-stuck) .nav a:hover { background: rgba(255, 255, 255, 0.1); }
.site-header:not(.is-stuck) .nav-toggle { border-color: rgba(255, 255, 255, 0.3); }
.site-header:not(.is-stuck) .nav-toggle span,
.site-header:not(.is-stuck) .nav-toggle span::before,
.site-header:not(.is-stuck) .nav-toggle span::after { background: #fff; }
.site-header:not(.is-stuck) .nav-toggle[aria-expanded="true"] span { background: transparent; }

.nav .btn { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px;
  position: relative; transition: background-color 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--navy-800); border-radius: 2px; transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem var(--gutter) 1.6rem;
    background: rgba(255, 253, 248, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(8, 27, 45, 0.12);
    transform: translateY(-140%); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.85rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { display: inline-flex; margin-top: 1rem; border-bottom: 0; justify-content: center; }

  /* The open panel is pale even when the header is still over the hero. */
  .site-header:not(.is-stuck) .nav.is-open a { color: var(--ink-soft); }
  .site-header:not(.is-stuck) .nav.is-open a:hover,
  .site-header:not(.is-stuck) .nav.is-open a[aria-current="page"] { color: var(--navy-800); background: transparent; }
  .site-header:not(.is-stuck) .nav.is-open .btn { color: #fff; }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative; isolation: isolate;
  background: var(--navy-900); color: #e4eef5;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem);
  margin-top: -76px; padding-top: calc(76px + clamp(3rem, 7vw, 5.5rem));
  overflow: hidden;
}
.hero__aurora {
  position: absolute; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 44% at 18% 22%, rgba(61, 149, 173, 0.5), transparent 62%),
    radial-gradient(34% 40% at 82% 12%, rgba(28, 81, 131, 0.62), transparent 64%),
    radial-gradient(46% 46% at 68% 82%, rgba(98, 180, 200, 0.28), transparent 66%),
    radial-gradient(40% 40% at 8% 88%, rgba(20, 58, 94, 0.7), transparent 62%);
  filter: blur(20px);
  animation: drift 26s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.07); }
  100% { transform: translate3d(-2.5%, 2.5%, 0) scale(1.03); }
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(154, 211, 224, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 211, 224, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 88% at 50% 12%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 88% at 50% 12%, #000 25%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(8, 27, 45, 0.85));
  pointer-events: none;
}

.hero__layout {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 980px) { .hero__layout { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .shine {
  background: linear-gradient(105deg, var(--teal-300) 12%, #fff 42%, var(--teal-400) 72%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 9s linear infinite;
  font-style: italic;
}
@keyframes shine { to { background-position: -220% 0; } }

.hero__lede { font-size: clamp(1.08rem, 1.7vw, 1.24rem); color: #b6cbdb; max-width: 33ch; }

.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(154, 211, 224, 0.28); border-radius: 999px;
  background: rgba(154, 211, 224, 0.08);
  font-size: 0.83rem; color: #cfe3ee; backdrop-filter: blur(6px);
}
.pill b { color: #fff; font-weight: 600; }
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #5fd39a;
  box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.18);
  margin-left: 0.35rem;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(95, 211, 154, 0); }
}

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(154, 211, 224, 0.16);
}
.hero__proof div { min-width: 96px; }
.hero__proof dt {
  font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: #fff; line-height: 1;
}
.hero__proof dd {
  margin: 0.4rem 0 0; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8fa9bd;
}

/* --------------------------------------------- hero device showcase --- */

.showcase { position: relative; perspective: 1600px; }
.showcase__stage {
  position: relative;
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  50% { transform: rotateY(-6deg) rotateX(2deg) rotateZ(-0.5deg) translateY(-14px); }
}

.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), 0 50px 110px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.browser__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; background: #eef1f4; border-bottom: 1px solid #dfe4e9;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6dd; }
.browser__dots i:nth-child(1) { background: #f0a4a0; }
.browser__dots i:nth-child(2) { background: #f2ceA0; }
.browser__dots i:nth-child(3) { background: #a8d9b4; }
.browser__url {
  flex: 1; background: #fff; border-radius: 6px; padding: 0.24rem 0.6rem;
  font-size: 0.68rem; color: #7b8794; border: 1px solid #e2e7ec;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.browser__viewport { position: relative; aspect-ratio: 16 / 11; background: #fff; }
.slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.03);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  display: flex; flex-direction: column;
}
.slide.is-active { opacity: 1; transform: scale(1); }

.slide__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem; font-size: 0.6rem; letter-spacing: 0.04em;
}
.slide__logo { font-weight: 800; font-size: 0.72rem; letter-spacing: -0.01em; }
.slide__links { display: flex; gap: 0.7rem; opacity: 0.75; }
.slide__hero { flex: 1; padding: 0 1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.slide__kicker { font-size: 0.55rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.slide__title { font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.5rem); line-height: 1.05; margin: 0; }
.slide__copy { font-size: 0.62rem; opacity: 0.75; margin: 0; max-width: 26ch; }
.slide__cta {
  display: inline-flex; align-self: flex-start; padding: 0.35rem 0.85rem;
  border-radius: 999px; font-size: 0.6rem; font-weight: 700;
}
.slide__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; padding: 0.8rem 1rem 1rem; }
.slide__card { border-radius: 7px; padding: 0.5rem; font-size: 0.55rem; line-height: 1.35; }
.slide__card b { display: block; font-size: 0.6rem; margin-bottom: 0.15rem; }

/* Slide themes — deliberately different from each other */
.slide--trade { background: #12222f; color: #e9f1f6; }
.slide--trade .slide__cta { background: #ffb02e; color: #12222f; }
.slide--trade .slide__card { background: rgba(255, 255, 255, 0.07); }
.slide--trade .slide__logo { color: #ffb02e; }

.slide--cafe { background: #fbf6ef; color: #3a2a20; }
.slide--cafe .slide__cta { background: #3a2a20; color: #fbf6ef; }
.slide--cafe .slide__card { background: #f1e7d9; }
.slide--cafe .slide__title { font-style: italic; }

.slide--clinic { background: #fff; color: #17313f; }
.slide--clinic .slide__nav { border-bottom: 1px solid #e8eef2; }
.slide--clinic .slide__cta { background: #1f8a70; color: #fff; }
.slide--clinic .slide__card { background: #f2f7fa; }
.slide--clinic .slide__logo { color: #1f8a70; }

.phone {
  position: absolute; right: -6%; bottom: -14%; width: 27%; min-width: 130px;
  border-radius: 22px; padding: 6px; background: #0e1a24;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 34px 70px rgba(0, 0, 0, 0.45);
  transform: translateZ(70px) rotate(4deg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.phone__screen {
  border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 17.5;
  background: #fff; position: relative;
}
.phone__notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 5px; background: #0e1a24; border-radius: 99px; z-index: 3;
}
.phone .slide__nav { padding: 0.8rem 0.5rem 0.3rem; }
.phone .slide__links { display: none; }
.phone .slide__hero { padding: 0 0.55rem; gap: 0.35rem; }
.phone .slide__title { font-size: 0.85rem; }
.phone .slide__copy { font-size: 0.5rem; }
.phone .slide__cards { grid-template-columns: 1fr; padding: 0.5rem; gap: 0.3rem; }
.phone .slide__card:nth-child(3) { display: none; }

@media (max-width: 620px) {
  .phone { right: -4%; bottom: -10%; width: 30%; }
  .showcase__stage { transform: none; animation: none; }
}

/* ------------------------------------------------------------ marquee -- */

.marquee {
  position: relative; overflow: hidden; padding-block: 1.15rem;
  border-block: 1px solid var(--line); background: var(--paper);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.6rem; padding-inline: 1.6rem;
  font-size: 0.87rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
}
.marquee__item svg { color: var(--teal-500); flex: none; }

/* --------------------------------------------------- content + aside -- */

.layout-aside {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
}
@media (max-width: 940px) { .layout-aside { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(61, 149, 173, 0.35); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.card__icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1.1rem;
  display: grid; place-items: center; color: var(--navy-700);
  background: linear-gradient(150deg, rgba(98, 180, 200, 0.24), rgba(28, 81, 131, 0.12));
  border: 1px solid rgba(61, 149, 173, 0.22);
}
.band--dark .card {
  background: rgba(255, 255, 255, 0.045); border-color: rgba(154, 211, 224, 0.16);
}
.band--dark .card p { color: #a7bcce; }
.band--dark .card__icon { color: var(--teal-300); background: rgba(154, 211, 224, 0.12); }

/* ------------------------------------------------------------- steps -- */

.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  color: var(--teal-600);
}
.step::after {
  content: ""; position: absolute; top: 10px; left: 2.6rem; right: -1.25rem; height: 1px;
  background: linear-gradient(90deg, rgba(61, 149, 173, 0.45), rgba(61, 149, 173, 0.05));
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
@media (max-width: 620px) { .step::after { display: none; } }

/* ------------------------------------------------------------ pricing -- */

.price-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  border-radius: var(--radius-l); padding: clamp(1.75rem, 3vw, 2.6rem);
  border: 1px solid var(--line); background: var(--paper);
}
.price-card--feature {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900) 62%);
  border-color: rgba(154, 211, 224, 0.2); color: #cfe0eb;
  box-shadow: var(--shadow-l);
}
.price-card--feature::before {
  content: ""; position: absolute; inset: -40% 40% 55% -30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(98, 180, 200, 0.4), transparent 70%);
  pointer-events: none;
}
.price-card--feature > * { position: relative; }
.price-card--feature h3 { color: #fff; }

.price-tag { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.4rem 0 0.2rem; flex-wrap: wrap; }
.price-tag__amount {
  font-family: var(--display); font-size: clamp(3rem, 7vw, 4.4rem);
  font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #fff;
}
.price-card:not(.price-card--feature) .price-tag__amount { color: var(--navy-800); font-size: clamp(2.1rem, 4vw, 2.6rem); }
.price-tag__per { font-size: 0.95rem; color: var(--muted); }
.price-card--feature .price-tag__per { color: #9fb8ca; }

.once-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.4rem;
  background: rgba(95, 211, 154, 0.14); color: #7de3b0;
  border: 1px solid rgba(95, 211, 154, 0.3);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.once-badge--ink { background: rgba(61, 149, 173, 0.1); color: var(--teal-600); border-color: rgba(61, 149, 173, 0.28); }

.ticks { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks--2col { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ticks li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.45; }
.ticks svg { flex: none; margin-top: 3px; color: var(--teal-400); }
.price-card:not(.price-card--feature) .ticks svg { color: var(--teal-600); }

.note { font-size: 0.85rem; color: var(--muted); }
.price-card--feature .note { color: #8ea8ba; }

/* --------------------------------------------------------- demo cards -- */

.demo-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(61, 149, 173, 0.4); color: inherit; }
.demo-card__thumb {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  display: grid; place-items: center; padding: 1.5rem; text-align: center;
  border-bottom: 1px solid var(--line);
}
.demo-card__thumb span {
  font-family: var(--display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15;
}
.demo-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.demo-card__meta {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-600); font-weight: 600;
}
.demo-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.demo-card p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.demo-card__link { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--navy-600); display: inline-flex; gap: 0.4rem; }
.demo-card:hover .demo-card__link .arrow { transform: translateX(4px); }

.empty-state {
  border: 1px dashed rgba(20, 58, 94, 0.25); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: var(--cream);
}

/* --------------------------------------------------------------- FAQ -- */

.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] { border-color: rgba(61, 149, 173, 0.4); box-shadow: var(--shadow-s); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 600; font-size: 1.02rem; color: var(--navy-800); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 1.4rem 1.35rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ------------------------------------------------------------ CTA band -- */

.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
  color: #d7e5ef;
}
.cta-band::before {
  content: ""; position: absolute; inset: -50% -10% 20%;
  background: radial-gradient(45% 55% at 50% 40%, rgba(61, 149, 173, 0.42), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------------------------------------- forms -- */

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-s);
}

.fieldset { border: 0; margin: 0 0 2.25rem; padding: 0; }
.fieldset:last-of-type { margin-bottom: 1.5rem; }
.fieldset > legend {
  font-family: var(--display); font-size: 1.3rem; font-weight: 600;
  color: var(--navy-800); padding: 0; margin-bottom: 0.35rem;
}
.fieldset__hint { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.4rem; }

.field { margin-bottom: 1.15rem; }
.field > label, .field__label {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: var(--navy-800); margin-bottom: 0.4rem;
}
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.84rem; margin-top: 0.15rem; }
.req { color: #c2544c; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem;
  background: #fff; border: 1px solid rgba(20, 58, 94, 0.2); border-radius: var(--radius-s);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(61, 149, 173, 0.18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2544c; }

.row { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-block; padding: 0.6rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(20, 58, 94, 0.2); background: #fff;
  font-size: 0.92rem; cursor: pointer; user-select: none;
  transition: all 0.2s var(--ease);
}
.choice span:hover { border-color: var(--teal-500); }
.choice input:checked + span {
  background: var(--navy-700); border-color: var(--navy-700); color: #fff;
  box-shadow: 0 6px 16px rgba(20, 58, 94, 0.22);
}
.choice input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-s); font-size: 0.94rem; display: none; }
.form-status.is-error { display: block; background: #fdeceb; color: #8f342d; border: 1px solid #f0c4c0; }
.form-status.is-busy { display: block; background: #eef6f9; color: var(--navy-700); border: 1px solid #cfe4ec; }

/* ------------------------------------------------------ domain picker -- */

.dom-search {
  display: grid; gap: 0.75rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) auto;
  align-items: end;
}
@media (max-width: 700px) { .dom-search { grid-template-columns: 1fr; } }
.dom-search .field { margin-bottom: 0; }

.dom-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }

.dom {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.dom--out { opacity: 0.62; }
.dom.is-chosen {
  border-color: var(--teal-500); background: rgba(61, 149, 173, 0.07);
  box-shadow: 0 0 0 2px rgba(61, 149, 173, 0.2);
  opacity: 1;
}
.dom__name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.dom__name b {
  font-size: 1.03rem; font-weight: 600; color: var(--navy-800);
  overflow-wrap: anywhere;
}
.dom__note { font-size: 0.8rem; color: var(--muted); }

.dom__status {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
}
.dom__status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.dom__status--available { color: #1d7a52; }
.dom__status--taken { color: #a6483f; }
.dom__status--unknown { color: var(--muted); }
.dom__status--checking { color: var(--muted); }
.dom__status--checking i { animation: pulse-dot 1.1s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: 0.25; } }

.dom__pick { flex: none; padding: 0.5rem 1.15rem; font-size: 0.88rem; }

.dom-group-title {
  display: flex; align-items: center; gap: 0.6rem; margin: 1.75rem 0 0;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.dom-group-title::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.dom-optin { margin-top: 1.5rem; }
.dom-optin__row {
  display: flex; gap: 0.85rem; align-items: flex-start; cursor: pointer;
  padding: 1rem 1.15rem; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--cream);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.dom-optin__row:hover { border-color: rgba(61, 149, 173, 0.4); }
.dom-optin__row:has(input:checked) {
  border-color: var(--teal-500); background: rgba(61, 149, 173, 0.08);
}
.dom-optin__row input { margin-top: 0.28rem; width: 18px; height: 18px; flex: none; accent-color: var(--teal-600); }
.dom-optin__row > span { display: flex; flex-direction: column; gap: 0.25rem; }
.dom-optin__row b { font-size: 0.98rem; color: var(--navy-800); font-weight: 600; }
.dom-optin__note { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.5; }
.dom-optin code, .dom-callout code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em; background: rgba(20, 58, 94, 0.07);
  padding: 0.05em 0.32em; border-radius: 4px;
}

.dom-callout {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: var(--radius-s);
  background: rgba(61, 149, 173, 0.08); border: 1px solid rgba(61, 149, 173, 0.22);
  font-size: 0.92rem; color: var(--ink-soft);
}
.dom-callout svg { flex: none; margin-top: 2px; color: var(--teal-600); }
.dom-callout b { color: var(--navy-800); }

.dom-done {
  border: 1px solid rgba(29, 122, 82, 0.35); background: rgba(29, 122, 82, 0.07);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center;
}
.dom-done h3 { color: #14603f; }
.dom-done__name {
  display: inline-block; margin: 0.5rem 0 1rem;
  font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600; color: var(--navy-800); overflow-wrap: anywhere;
}

/* ------------------------------------------------------------- footer -- */

.site-footer { background: var(--navy-900); color: #96b0c4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.94rem; }
.site-footer a { color: #c2d6e4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
/* Explicit tracks, not auto-fit: mixing auto-fit with a sized first column
   collapsed to two tracks on a phone and spilled the brand text across the
   nav links. */
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1.3fr);
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(154, 211, 224, 0.14);
}
.footer-grid > * { min-width: 0; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #7893a8; }
.footer-col h4 {
  font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #7893a8; margin-bottom: 0.9rem; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
/* The contact email is long enough to overflow a narrow column. */
.footer-col li, .site-footer a { overflow-wrap: anywhere; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  padding-top: 1.6rem; font-size: 0.86rem; color: #7893a8;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }

/* ------------------------------------------------------- page header -- */

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #d7e5ef;
  margin-top: -76px; padding-top: calc(76px + clamp(3rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: -60% -20% 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 22% 40%, rgba(61, 149, 173, 0.4), transparent 66%),
    radial-gradient(40% 60% at 80% 20%, rgba(28, 81, 131, 0.55), transparent 66%);
  filter: blur(10px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero p { color: #adc4d5; max-width: 58ch; font-size: 1.08rem; }

.breadcrumb { font-size: 0.85rem; color: #8fa9bd; margin-bottom: 1rem; }
.breadcrumb a { color: #b9d2e2; text-decoration: none; }

/* ------------------------------------------------------------- prose -- */

.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }
.prose p { color: var(--ink-soft); }

/* ------------------------------------------------------------ reveal -- */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .showcase__stage { transform: none; }
}

/* --------------------------------------------------------- utilities -- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
