/* Kornerstone marketing site */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__menu {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav__menu svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 920px) {
  .nav__links {
    display: none;
  }
  .nav__menu {
    display: inline-grid;
  }
  .nav__actions .btn--login {
    display: none;
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px clamp(20px, 4vw, 32px) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a {
    font-size: 17px;
    padding: 12px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links .nav__mobile-login {
    display: block;
  }
}
.nav__mobile-login {
  display: none;
}

/* ---------- Shared section pieces ---------- */
.section {
  padding-block: clamp(80px, 11vw, 144px);
  position: relative;
}
.section--tight {
  padding-block: clamp(56px, 7vw, 96px);
}
.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}
.section-head {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 62ch;
}

/* Grid paper backdrop, faded at the edges */
.gridpaper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
}

/* Corner-bracket accent (the brand mark's L), on cards */
.cornered {
  position: relative;
}
.cornered::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--text);
  border-left: 2px solid var(--text);
  border-top-left-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.25s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}
.cornered:hover::before {
  opacity: 1;
  width: 34px;
  height: 34px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(32px, 4vw, 48px);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero h1 .soft {
  color: var(--faint);
}
.hero .lead {
  margin-top: 24px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--text);
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* Portal preview mock in the hero */
.preview {
  position: relative;
  padding: 28px 8px 76px 28px;
}
.preview__window {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.preview__bar .mark {
  width: 16px;
  height: 16px;
}
.preview__bar .lock {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.preview__bar .lock svg {
  width: 13px;
  height: 13px;
}
.preview__body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 18px;
}
.preview__hello {
  font-family: var(--font-display);
  font-size: 22px;
}
.preview__hello small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.preview__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg-2);
}
.preview__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 500;
}
.preview__row span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 400;
}
.progress {
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  margin-top: 12px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--text);
  transition: width 1.4s var(--ease) 0.3s;
}
.is-visible .progress i,
.no-js .progress i {
  width: 80%;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}
.checklist .tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: var(--ok-bg);
  color: var(--ok);
}
.checklist .tick svg {
  width: 11px;
  height: 11px;
}
.checklist .todo {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  border: 1.5px dashed var(--line-strong);
}
.checklist .due {
  margin-left: auto;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--warn-bg);
  color: var(--warn);
  white-space: nowrap;
}
.float {
  position: absolute;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-size: 13px;
  max-width: 270px;
  animation: bob 7s ease-in-out infinite;
}
.float--msg {
  left: -6px;
  bottom: 8px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}
.float--msg .avatar {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.float--msg b {
  font-weight: 600;
}
.float--msg small {
  color: var(--muted);
}
.float--msg p {
  color: var(--text-2);
  margin-top: 2px;
}
.float--hmrc {
  right: -4px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: -3s;
}
.float--hmrc .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-bg);
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (max-width: 560px) {
  .preview {
    padding: 24px 0 96px;
  }
  .float--hmrc {
    right: 8px;
    top: 0;
  }
  .float--msg {
    left: 8px;
    right: 8px;
    max-width: none;
  }
}

/* ---------- Pillars strip ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 28px 24px 30px;
  border-left: 1px solid var(--line);
}
.pillar:first-child {
  border-left: 0;
  padding-left: 0;
}
.pillar h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--muted);
}
.pillar svg {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .pillar:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar {
    border-left: 0;
    padding-left: 0;
  }
  .pillar + .pillar {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.service .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.service .icon svg {
  width: 20px;
  height: 20px;
}
.service h3 {
  font-size: 20px;
}
.service p {
  font-size: 14.5px;
  color: var(--muted);
}
.service .tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--faint);
}
@media (max-width: 1040px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ---------- MTD band (inverted) ---------- */
.band {
  background: var(--invert-bg);
  color: var(--invert-text);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.band .eyebrow {
  color: var(--invert-muted);
}
.band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 16px;
}
.band p {
  color: var(--invert-muted);
  margin-top: 16px;
  max-width: 46ch;
}
.band .btn {
  --btn-bg: var(--invert-text);
  --btn-fg: var(--invert-bg);
  margin-top: 28px;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--invert-text) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--invert-text) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.timeline {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--invert-line);
}
.timeline li:last-child {
  border-bottom: 1px solid var(--invert-line);
}
.timeline .when {
  font-family: var(--font-display);
  font-size: 18px;
}
.timeline .what {
  font-size: 15px;
}
.timeline .what b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.timeline .what span {
  color: var(--invert-muted);
}
.band small.note {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--invert-muted);
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .band {
    grid-template-columns: 1fr;
  }
  .timeline li {
    grid-template-columns: 96px 1fr;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding: 28px 28px 0 0;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--faint);
  margin-bottom: 40px;
}
.step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--text);
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Portal feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 920px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.features {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.features li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.features li:last-child {
  border-bottom: 1px solid var(--line);
}
.features svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.features b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 2px;
}
.features span {
  font-size: 14.5px;
  color: var(--muted);
}

.docs-mock {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.docs-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.docs-mock__head h4 {
  font-size: 18px;
}
.docs-mock__drop {
  margin: 18px 20px 6px;
  padding: 22px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-2);
}
.docs-mock__drop b {
  color: var(--text);
  font-weight: 600;
}
.doc-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.doc-row:first-of-type {
  border-top: 0;
}
.doc-row .ftype {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.doc-row small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip--ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: transparent;
}
.docs-mock__list {
  padding: 8px 0 6px;
}

/* ---------- Platform teaser ---------- */
.platform {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  background: var(--surface);
}
.platform .gridpaper {
  mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 20%, transparent 70%);
}
.platform__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.platform h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 16px;
}
.platform .lead {
  margin-top: 18px;
}
.platform .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.platform .badge i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--text);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.platform__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.platform__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.platform__list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid var(--text);
  border-top: 1.5px solid var(--text);
  transform: translateY(-1px);
}
.waitlist {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.waitlist h3 {
  font-size: 20px;
}
.waitlist p {
  font-size: 14px;
  color: var(--muted);
}
.waitlist__row {
  display: flex;
  gap: 8px;
}
.waitlist__row .input {
  flex: 1;
  border-radius: 999px;
  padding-inline: 18px;
}
@media (max-width: 920px) {
  .platform__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .waitlist__row {
    flex-direction: column;
  }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.about__statement .soft {
  color: var(--faint);
}
.about__body {
  display: grid;
  gap: 18px;
  color: var(--text-2);
  font-size: 16.5px;
}
.name-play {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 20px;
}
.name-play .k {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.name-play .arrow {
  color: var(--faint);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.stats div {
  padding: 18px 0 0;
}
.stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stats span {
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 920px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}
.faq summary .plus::after {
  transform: rotate(90deg);
}
.faq details[open] .plus::after {
  transform: rotate(0deg);
}
.faq details p {
  padding: 0 48px 24px 0;
  color: var(--text-2);
  max-width: 70ch;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact__info {
  display: grid;
  gap: 28px;
}
.contact__info h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}
.contact__ways {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact__ways > a,
.contact__ways > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 15px;
}
.contact__ways svg {
  width: 18px;
  height: 18px;
}
.contact__ways small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 920px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
}
.choices legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
  padding: 0;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.choice span:hover {
  border-color: var(--text);
}
.choice input:checked + span {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  color: var(--muted);
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--text);
}
.consent a {
  color: var(--text-2);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form__foot small {
  color: var(--faint);
  font-size: 12.5px;
}
.form-success {
  display: grid;
  gap: 12px;
  place-items: start;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.form-success h3 {
  font-size: 28px;
}
.form-success p {
  color: var(--muted);
}
.form-success .check {
  width: 44px;
  height: 44px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: var(--ok-bg);
  color: var(--ok);
}
.form-success .check svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer__grid a {
  text-decoration: none;
}
.footer__grid a:hover {
  color: var(--text);
}
.footer__brand p {
  margin-top: 16px;
  max-width: 34ch;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.js [data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
.js [data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
.js [data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- Simple content pages (privacy, 404) ---------- */
.prose {
  max-width: 760px;
  padding-block: clamp(48px, 8vw, 96px);
}
.prose h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 12px;
}
.prose h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}
.prose p,
.prose li {
  color: var(--text-2);
  margin-bottom: 12px;
}
.prose ul {
  padding-left: 20px;
}
.prose .updated {
  color: var(--muted);
  font-size: 14px;
}
.prose a {
  text-underline-offset: 3px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 12px 0 20px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.prose th {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Small utilities (no inline styles: CSP) ---------- */
.band__copy { position: relative; z-index: 1; }
.section-head--flush { margin: 18px 0 0; }
.soft-text { color: var(--faint); }
.small-muted { color: var(--muted); font-size: 15px; }
.opt { color: var(--faint); font-weight: 400; }
.u-mt-20 { margin-top: 20px; }
.u-mt-32 { margin-top: 32px; }
.hero__ctas .btn .i, .btn .i { width: 16px; height: 16px; }
.btn .i-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.hero__meta .i, .contact__ways .i { width: 17px; height: 17px; }
.pillar .i { width: 22px; height: 22px; margin-bottom: 18px; }
.features .i { width: 20px; height: 20px; margin-top: 3px; }
.chip .i { width: 12px; height: 12px; }

.contact__ways small a { text-underline-offset: 3px; }

/* ---------- Premium details ---------- */
/* Cursor spotlight over the hero grid */
.hero__spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), color-mix(in srgb, var(--text) 7%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.hero:hover .hero__spot {
  opacity: 1;
}

/* Card glow that follows the pointer */
.service {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), color-mix(in srgb, var(--text) 6%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.service:hover::after {
  opacity: 1;
}
.service .icon {
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service:hover .icon {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* MTD countdown */
.countdown {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--invert-line);
}
.countdown b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  color: var(--invert-muted);
  font-size: 14px;
  max-width: 24ch;
}
.countdown[hidden] {
  display: none;
}

/* Themed photography */
.img-dark {
  display: none;
}
[data-theme="dark"] .img-dark {
  display: block;
}
[data-theme="dark"] .img-light {
  display: none;
}
.photo {
  margin: 36px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.photo.is-visible img {
  transform: scale(1);
}
.platform__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.platform__art img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 62%;
  object-fit: cover;
  object-position: right center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  opacity: 0.9;
}
.platform .waitlist {
  position: relative;
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 920px) {
  .platform__art img {
    width: 100%;
    height: 55%;
    top: auto;
    bottom: 0;
    mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
    opacity: 0.5;
  }
}

/* Oversized footer wordmark */
.footer__giant {
  margin-top: 56px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.footer__giant .logo {
  width: 100%;
  height: auto;
}
.footer__giant .logo .logo-sub {
  fill: currentColor;
}

/* ---------- Marquee of services ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  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;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--text);
}
.marquee__track span:nth-of-type(even) {
  color: var(--faint);
}
.marquee__mark .mark {
  width: clamp(18px, 2vw, 26px);
  height: clamp(18px, 2vw, 26px);
  color: var(--text);
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Step illustrations ---------- */
.step__art {
  margin: 0 0 22px;
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.step__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.step:hover .step__art img {
  transform: scale(1.05);
}
.step {
  padding-right: 24px;
}
@media (max-width: 520px) {
  .step__art {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Full-bleed statement band ---------- */
.statement {
  position: relative;
  min-height: clamp(380px, 52vw, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b0b0c;
  color: #f4f4f2;
}
.statement__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.statement__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.05) 0%, rgba(11, 11, 12, 0.25) 45%, rgba(11, 11, 12, 0.85) 100%);
}
.statement__inner {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
}
.statement .eyebrow {
  color: rgba(244, 244, 242, 0.7);
}
.statement__text {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.statement__text span {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1.5;
  color: rgba(244, 244, 242, 0.72);
  max-width: none;
}

/* Contact photo */
.photo--wide {
  margin-top: 8px;
  aspect-ratio: 16 / 10;
}
