/*
 * MARKETING SITE (2026-10-07): the painted consumer home. The /partners
 * band rules left on 2026-10-07 when /partners became a redirect.
 *
 * Served from /public and linked by the pages that use it
 * (src/app/(public)/_marketing/assets.ts: bump the `v` query on every edit).
 *
 * Its own system (DESIGN.md "Marketing site"), ported from the R3 "Painted"
 * direction (~/.gstack/projects/brain/designs/ezauto-marketing-research-20261006/
 * directions/R3/assets/site.css + the hero A block of index-a.html). Every rule
 * is scoped under `.mk`, the wrapper only these pages render, so nothing here
 * can reach the funnel, the compliance pages or ops, and nothing here may name
 * a brand (tests/marketing-assets.test.ts greps it).
 *
 * The funnel's globals.css + theme.css still load first (same route group), so
 * the first block neutralises the few element-level rules they set that this
 * system does not want: the 24px body gutter, the 640px column on
 * header/main/footer, and `img, svg { max-width: 100%; height: auto }`.
 */

body:has(> .mk) {
  padding: 0;
}

.mk {
  --green: #0f4c3a; /* banker's green: logo, CTA, lane, footer */
  --green-2: #14513f; /* hover */
  --ink: #0b3a2c; /* text on light grounds (11.9:1 on cream) */
  --muted: #3f5f53; /* secondary text on cream (6.6:1) */
  --cream: #f7f2e9; /* the page ground, from the logo lane */
  --cream-2: #efe6d6; /* quiet panels on cream */
  --sage: #dce8da; /* soft green panel (application preview) */
  --marigold: #f4b740; /* the little car and small highlights only, never text */
  --marigold-soft: #fbe6b5;
  --line: rgba(11, 58, 44, 0.14);
  --font: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 5.6vw, 88px);
  --max: 1240px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.mk :is(header, main, footer) {
  max-width: none;
  margin-inline: 0;
}

.mk img,
.mk svg {
  display: block;
  max-width: none;
}

.mk a {
  color: inherit;
}

.mk p {
  margin: 0;
}

.mk :focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.mk .wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- brand + nav ---------- */
.mk .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.mk .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mk .brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.mk .brand span {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.mk .call {
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 2px;
}

/* ---------- headline ---------- */
.mk h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(46px, 8.1vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.mk h1 span {
  display: block;
}

.mk h1 .down {
  padding-left: 1.32em;
}

.mk .lede {
  margin: clamp(16px, 2.4vh, 26px) 0 0;
  max-width: 36ch;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- the hook: a fragment of the application ---------- */
.mk .hook {
  margin-top: clamp(22px, 3.4vh, 38px);
  width: min(100%, 640px);
  background: #fff;
  border-radius: 22px;
  padding: 20px 20px 16px;
  box-shadow:
    0 1px 0 rgba(11, 58, 44, 0.06),
    0 26px 60px -26px rgba(11, 58, 44, 0.5);
  border: 1px solid rgba(15, 76, 58, 0.1);
  color: var(--ink);
}

.mk .hook label {
  display: block;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 0 0 12px 2px;
}

.mk .row {
  display: flex;
  gap: 10px;
}

.mk .money {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 60px;
  padding: 0 16px;
  border-radius: 14px;
  background: #f8f5ee;
  border: 1.5px solid rgba(15, 76, 58, 0.24);
}

.mk .money:focus-within {
  border-color: var(--green);
  background: #fff;
}

.mk .money span {
  font-weight: 600;
  font-size: 24px;
  color: var(--green);
}

.mk .money .per {
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
}

.mk .money input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font: 600 24px/1 var(--font);
  color: var(--ink);
  letter-spacing: -0.01em;
  outline: none;
}

.mk .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-height: 0;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: var(--cream);
  font: 600 17px/1 var(--font);
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.mk .go:hover {
  background: var(--green-2);
  filter: none;
}

.mk .go:active {
  transform: translateY(1px);
}

.mk .assure {
  margin: 12px 2px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

/* ================= HERO, "Painted" =================
   A Gemini painting (no people, no text, no badges; bytes untouched, so its
   SynthID watermark survives). White type sits on the clear sky with a soft,
   sky-coloured veil (the scrim) behind it; every line is measured against
   the rendered pixels at eight viewports (contrast rule: headline >= 3:1,
   sentence >= 4.5:1). */
.mk .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(760px, min(100svh, 980px));
  background: #1f5bbb;
  color: #fff;
}

.mk .hero .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% 100%;
  z-index: -2;
}

.mk .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 24% 17% at 88% 0%, rgba(14, 48, 128, 0.72) 0%, rgba(14, 48, 128, 0.58) 55%, rgba(14, 48, 128, 0) 100%),
    linear-gradient(180deg, rgba(14, 48, 128, 0.26) 0%, rgba(14, 48, 128, 0) 16%),
    radial-gradient(
      ellipse 72% 66% at 26% 38%,
      rgba(14, 48, 128, 0.56) 0%,
      rgba(14, 48, 128, 0.38) 50%,
      rgba(14, 48, 128, 0) 84%
    );
}

.mk .hero .brand,
.mk .hero .call {
  color: #fff;
}

.mk .hero .call {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
}

.mk .hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(10, 40, 110, 0.35);
}

.mk .hero .lede {
  color: #fff;
  text-shadow: 0 1px 12px rgba(10, 40, 110, 0.45);
}

.mk .hero-copy {
  padding-top: clamp(20px, 4.5vh, 60px);
  max-width: 1000px;
}

.mk .hero .lip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 56px;
  z-index: 0;
}

/* ================= BELOW THE FOLD ================= */
.mk section {
  position: relative;
}

.mk h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.mk .sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 19px);
  max-width: 44ch;
}

/* how it works: the lane runs through the steps and drops a lane at step 3 */
.mk .how {
  overflow-x: clip;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
}

.mk .steps {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  --g: clamp(24px, 4vw, 64px);
  --c3: calc((100% - 2 * var(--g)) * 2 / 3 + 2 * var(--g)); /* left edge of step 3 */
  --x0: calc(var(--c3) - var(--g) - 12px); /* the lane drops inside the gap before step 3 */
}

.mk .lane-a,
.mk .lane-b,
.mk .lane-s,
.mk .lane-ghost {
  position: absolute;
  pointer-events: none;
}

.mk .lane-a {
  top: 41px;
  height: 10px;
  left: calc(50% - 50vw);
  width: calc(var(--x0) - 50% + 50vw + 1px);
  background: var(--green);
}

.mk .lane-s {
  top: 41px;
  left: var(--x0);
  width: 84px;
  height: 92px;
  overflow: visible;
}

.mk .lane-b {
  top: 123px;
  height: 10px;
  left: calc(var(--x0) + 83px);
  right: calc(50% - 50vw);
  background: var(--green);
}

.mk .lane-ghost {
  top: 45px;
  height: 0;
  left: calc(var(--x0) + 6px);
  right: calc(50% - 50vw);
  border-top: 2.5px dashed rgba(15, 76, 58, 0.28);
}

.mk .minicar {
  position: absolute;
  width: 112px;
  height: auto;
  left: calc(var(--c3) + 82px);
  top: 83px;
  z-index: 0;
  pointer-events: none;
}

.mk .steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  position: relative;
}

.mk .steps li {
  position: relative;
  padding-top: 86px;
}

.mk .steps li:nth-child(3) {
  padding-top: 168px;
}

.mk .steps .n {
  position: absolute;
  top: 22px;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 5px var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 19px;
  z-index: 1;
}

.mk .steps li:nth-child(3) .n {
  top: 104px;
  background: var(--green);
  color: var(--cream);
}

.mk .steps h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.mk .steps p {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
}

/* what we ask for, with a peek at the application */
.mk .ask {
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 128px);
}

.mk .ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.mk .list {
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: 0;
}

.mk .item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1.5px solid var(--line);
}

.mk .item:last-child {
  border-bottom: 1.5px solid var(--line);
}

.mk .item dt {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.mk .item dd {
  margin: 0;
  color: var(--muted);
}

.mk .item.ssn {
  background: #fff;
  border: 0;
  border-radius: 22px;
  padding: 22px;
  margin: 12px 0;
  box-shadow:
    0 1px 0 rgba(11, 58, 44, 0.05),
    0 18px 44px -28px rgba(11, 58, 44, 0.55);
}

.mk .item.ssn + .item {
  border-top: 0;
}

.mk .item.ssn dd strong {
  color: var(--ink);
  font-weight: 600;
}

.mk .mask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1.5px solid rgba(15, 76, 58, 0.22);
  border-radius: 14px;
  background: #f8f5ee;
  padding: 10px 14px;
}

.mk .mask b {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.mk .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--marigold-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 5px 11px;
  white-space: nowrap;
}

.mk .chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.mk .peek {
  position: sticky;
  top: 32px;
  margin: 0;
  background: var(--sage);
  border-radius: 32px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px) 0;
  overflow: hidden;
  isolation: isolate;
}

.mk .peek .cap {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 500;
  max-width: 30ch;
}

.mk .peek .lane-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  width: 100%;
  height: 120px;
  z-index: -1;
}

.mk .formcard {
  background: #fffdf8;
  border-radius: 22px 22px 0 0;
  padding: 22px 22px 26px;
  transform: rotate(-1.6deg) translateY(6px);
  transform-origin: 50% 100%;
  box-shadow:
    0 1px 0 rgba(11, 58, 44, 0.06),
    0 28px 60px -20px rgba(11, 58, 44, 0.45);
}

.mk .fc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.mk .fc-bar {
  height: 8px;
  border-radius: 8px;
  background: #ece5d7;
  margin-bottom: 20px;
  overflow: hidden;
}

.mk .fc-bar i {
  display: block;
  height: 100%;
  width: 32%;
  background: var(--green);
  border-radius: 8px;
}

.mk .formcard .fc-title {
  font: 600 22px/1.2 var(--font);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.mk .fc-field {
  margin-bottom: 14px;
}

.mk .fc-field .l {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 6px;
}

.mk .fc-field .v {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  border: 1.5px solid #d4ccbc;
  border-radius: 13px;
  padding: 0 14px;
  font-size: 17px;
  color: #6b7a72;
  background: #fff;
}

.mk .fc-field .v.filled {
  color: var(--ink);
  font-weight: 600;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.12);
}

.mk .fc-next {
  margin-top: 18px;
  height: 50px;
  border-radius: 13px;
  background: var(--green);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 600;
}

/* no fee */
.mk .fee {
  padding: clamp(56px, 7vw, 104px) 0;
  border-top: 1.5px solid var(--line);
}

.mk .fee-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.mk .fee .big {
  margin: 0;
  font-weight: 600;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--green);
}

.mk .fee .big span {
  display: block;
}

.mk .fee .big .down {
  padding-left: 1.1em;
}

.mk .fee .small {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 36ch;
}

/* FAQ */
.mk .faq {
  padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px);
  border-top: 1.5px solid var(--line);
}

.mk .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}

.mk .contact {
  margin-top: 28px;
  background: var(--cream-2);
  border-radius: 22px;
  padding: 20px 22px;
}

.mk .contact p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.mk .contact a {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--green);
}

.mk details {
  border-top: 1.5px solid var(--line);
}

.mk details:last-child {
  border-bottom: 1.5px solid var(--line);
}

.mk summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.mk summary::-webkit-details-marker {
  display: none;
}

.mk summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M9 15h12M15 9v12' stroke='%230F4C3A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 30px no-repeat;
}

.mk details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M9 15h12' stroke='%230F4C3A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mk details .a {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 58ch;
}

.mk details .a p {
  margin: 0 0 10px;
}

.mk details .a strong {
  color: var(--ink);
  font-weight: 600;
}

.mk details .a a {
  color: var(--green);
}

/* closing */
.mk .close {
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 9vw, 128px) 0 clamp(230px, 24vw, 330px);
  background: linear-gradient(180deg, var(--cream) 0%, #eaf2ec 55%, #e2eee4 100%);
}

.mk .close h2 {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.mk .close h2 span {
  display: block;
}

.mk .close h2 .down {
  padding-left: 1.32em;
}

.mk .close .scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1440 / 300;
  z-index: -1;
}

.mk .close .scene svg {
  width: 100%;
  height: 100%;
}

.mk .close .scene-car {
  position: absolute;
  left: 70.139%;
  top: 69%;
  width: 9.028%;
  height: auto;
}

/* footer: the brand block, then the standing disclosure (LegalFooter,
   unchanged copy) recoloured for the green ground */
.mk .mk-foot {
  background: var(--green);
  color: var(--cream);
  padding: 64px 0 48px;
  font-size: 15px;
}

.mk .foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.mk .mk-foot .brand {
  color: var(--cream);
}

.mk .mk-foot p {
  margin: 0 0 6px;
  color: #cfe0d7;
}

.mk .mk-foot a {
  text-decoration: none;
}

.mk .mk-foot a:hover {
  text-decoration: underline;
}

.mk .mk-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mk .mk-foot .ez-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 233, 0.18);
}

.mk .mk-foot .ez-legal-links {
  display: flex;
  gap: 8px 24px;
}

.mk .mk-foot .ez-legal-links a,
.mk .mk-foot .ez-disclosure a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk .mk-foot .ez-disclosure {
  margin: 16px 0 0;
  color: #cfe0d7;
  max-width: 92ch;
  font-size: 14px;
  line-height: 21px;
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .mk {
    font-size: 16px;
  }

  .mk .hero {
    min-height: max(844px, 100svh);
  }

  .mk .hero::before {
    background: linear-gradient(
      180deg,
      rgba(16, 58, 140, 0.28) 0%,
      rgba(16, 58, 140, 0.1) 40%,
      rgba(16, 58, 140, 0) 60%
    );
  }

  .mk .hero-copy {
    padding-top: 8px;
  }

  .mk .hero .lip {
    height: 28px;
  }

  .mk .nav {
    height: 64px;
  }

  .mk .brand svg {
    width: 32px;
    height: 32px;
  }

  .mk .brand span {
    font-size: 18px;
  }

  .mk .call {
    font-size: 15px;
  }

  .mk h1 {
    font-size: clamp(40px, 11.4vw, 58px);
  }

  .mk h1 .down {
    padding-left: 0.62em;
  }

  .mk .lede {
    font-size: 16.5px;
    max-width: 30ch;
  }

  .mk .hook {
    padding: 16px 16px 14px;
    border-radius: 20px;
    margin-top: 20px;
  }

  .mk .hook label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .mk .row {
    flex-direction: column;
    gap: 10px;
  }

  .mk .money,
  .mk .go {
    height: 54px;
  }

  .mk .row .go {
    width: 100%;
  }

  .mk .assure {
    font-size: 14px;
    text-align: center;
  }

  .mk .lane-a,
  .mk .lane-b,
  .mk .lane-s,
  .mk .lane-ghost,
  .mk .minicar {
    display: none;
  }

  .mk .steps ol {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-left: 66px;
  }

  .mk .steps li,
  .mk .steps li:nth-child(3) {
    padding-top: 0;
  }

  .mk .steps .n,
  .mk .steps li:nth-child(3) .n {
    top: -8px;
    left: -66px;
  }

  .mk .steps ol::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 24px;
    width: 10px;
    background: var(--green);
    border-radius: 6px;
  }

  .mk .ask-grid,
  .mk .fee-grid,
  .mk .faq-grid {
    grid-template-columns: 1fr;
  }

  .mk .item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mk .item.ssn {
    padding: 18px;
  }

  .mk .mask {
    flex-wrap: wrap;
  }

  .mk .peek {
    position: relative;
    top: 0;
    border-radius: 26px;
  }

  .mk .fee .big .down {
    padding-left: 0.6em;
  }

  .mk .foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mk .close h2 .down {
    padding-left: 0.7em;
  }

  /* the 48px tap box would push a border far below the number: underline instead */
  .mk .call,
  .mk .hero .call {
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
  }

  /* phone tap areas (>= 48px) on every text link */
  .mk .call,
  .mk .mk-foot .ez-legal-links a,
  .mk .mk-foot ul a,
  .mk .contact a {
    display: inline-flex;
    align-items: center;
    min-block-size: 48px;
  }

  .mk .mk-foot .ez-legal-links {
    column-gap: 32px;
    row-gap: 0;
  }

  .mk .mk-foot ul {
    gap: 0;
  }

  .mk details .a a,
  .mk .mk-foot .ez-disclosure a,
  .mk .mk-foot p a {
    display: inline-block;
    padding-block: 13px;
    margin-block: -13px;
  }
}

/* The one motion: below the fold, a small copy of the car drives the
   How it works lane and changes lane before step 3 (CSS scroll-driven,
   desktop only). Without support, or with reduced motion, it is parked on
   the lower lane. */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  @supports (animation-timeline: view()) {
    .mk .minicar {
      animation: mk-drive linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 58%;
    }

    @keyframes mk-drive {
      0% {
        left: calc(-1 * var(--gutter) - 130px);
        top: 1px;
        rotate: 0deg;
      }
      58% {
        left: calc(var(--x0) - 70px);
        top: 1px;
        rotate: 0deg;
      }
      64% {
        left: calc(var(--x0) - 46px);
        top: 10px;
        rotate: 20deg;
      }
      70% {
        left: calc(var(--x0) - 18px);
        top: 42px;
        rotate: 38deg;
      }
      76% {
        left: calc(var(--x0) + 10px);
        top: 74px;
        rotate: 16deg;
      }
      82% {
        left: calc(var(--x0) + 40px);
        top: 83px;
        rotate: 0deg;
      }
      100% {
        left: calc(var(--c3) + 82px);
        top: 83px;
        rotate: 0deg;
      }
    }
  }
}
