/* MacLatch — Open Workshop. Warm ivory, dark ink serif, forest actions, hairline rules. */

:root {
  color-scheme: light;
  --bg: #faf9f6;
  --ink: #10191f;
  --ink-2: #545e66;
  --primary: #19332c;
  --primary-hover: #234a3f;
  --rule: #d5d8d5;
  --panel: #f1efea;
  --footer: #e5e6e6;
  --focus: #19332c;
  --serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  caret-color: var(--primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #cfe0d6; color: var(--ink); }
html { scrollbar-color: #b9bdb9 var(--bg); }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--primary); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.btn-primary:focus-visible { outline-color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); text-wrap: balance; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 20; background: var(--primary); color: #fff; padding: 0.55rem 0.9rem; border-radius: 6px; }
.skip:focus { left: 0.75rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  margin: 0 0 0.9rem;
  font: 600 0.8rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary, .btn-outline { background: #fff; color: var(--ink); border-color: #bfc4c0; }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; }
.btn.is-pending { background: #ebeae6; color: #6b7379; border-color: #ebeae6; cursor: default; pointer-events: none; }
.btn.is-pending .btn-icon { opacity: 0.55; }
.release { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.release .btn { min-height: 3.1rem; padding: 0.5rem 1.1rem 0.5rem 0.9rem; }
.release .btn-icon { width: 1.35rem; height: 1.35rem; }
.btn-lg { min-height: 3.6rem; padding: 0.65rem 1.4rem 0.65rem 1.1rem; }
.btn-icon { width: 1.6rem; height: 1.6rem; fill: currentColor; flex: none; }
.btn-text { display: grid; gap: 0.1rem; text-align: left; white-space: nowrap; }
.btn-title { font-size: 1rem; }
.btn-sub { font-size: 0.8rem; font-weight: 400; opacity: 0.85; }

/* TestFlight uses a custom badge treatment inspired by platform download badges.
   This is not Apple-provided badge artwork. */
.testflight-badge {
  min-width: 10.4rem;
  min-height: 3.25rem;
  padding: 0.42rem 0.95rem 0.46rem 0.78rem;
  gap: 0.62rem;
  justify-content: flex-start;
  border: 1px solid #a6a6a6;
  border-radius: 8px;
  background: #000;
  color: #fff;
}
.testflight-badge:hover {
  background: #151515;
  border-color: #d6d6d6;
}
.testflight-badge .btn-icon {
  width: 1.7rem;
  height: 1.7rem;
  opacity: 1;
}
.testflight-badge .btn-text {
  gap: 0;
  line-height: 1;
}
.testflight-badge .btn-title {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.testflight-badge .btn-sub {
  order: -1;
  font-size: 0.62rem;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0.015em;
  opacity: 1;
}
.testflight-badge.is-pending {
  background: #2d2d2d;
  color: #bdbdbd;
  border-color: #5e5e5e;
}

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

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 249, 246, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font: 600 1.45rem/1 var(--serif); letter-spacing: -0.01em; }
.brand img { object-fit: contain; }
.nav { display: flex; gap: 1.8rem; margin-left: 1.5rem; font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--ink); padding: 0.4rem 0; }
.nav a:hover { text-decoration: underline; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.icon-link { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; }
.icon-link svg { width: 1.7rem; height: 1.7rem; fill: var(--ink); }
.icon-link:hover { background: var(--panel); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 8px; cursor: pointer; border: 1px solid var(--rule); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); display: grid; min-width: 13rem; padding: 0.5rem; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 28px rgba(16, 25, 31, 0.12); }
.menu-panel a { padding: 0.75rem 0.85rem; text-decoration: none; border-radius: 6px; }
.menu-panel a:hover { background: var(--panel); }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.4rem;
}
.lede { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.55; color: #2c363d; margin: 0 0 1.9rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin: 1.1rem 0 0; font-size: 0.93rem; color: var(--ink-2); }
.film-link { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.3rem; min-height: 2.25rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.film-link svg { width: 1.7rem; height: 1.7rem; }
.film-link circle { fill: var(--primary); }
.film-link path { fill: #fff; }
.film-link:hover > span { text-decoration: underline; }
.film-link--step { margin: 0.9rem 0 0 calc(1rem + (2.6rem - 1.7rem) / 2); }
.film-length { margin-left: 0.3rem; font-weight: 400; color: var(--ink-2); }

.hero-art { margin: 0; }
.hero-art figcaption, .demo-stage figcaption { margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-2); }
.hero-art figcaption { text-align: right; }

/* A Mac and an iPhone showing the same task. */
.scene { position: relative; padding: 0 13% 5% 0; }
.laptop { position: relative; }
.laptop-screen {
  background: #0b0d0f;
  border-radius: 16px 16px 4px 4px;
  padding: 2.2% 2.2% 3%;
  box-shadow: 0 0 0 1px #2b2f33 inset;
}
.laptop-screen img { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; }
.laptop-base {
  height: 0.9rem;
  margin: 0 -6%;
  background: linear-gradient(180deg, #d9dbdd, #b7babe);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 30px -12px rgba(16, 25, 31, 0.35);
  position: relative;
}
.laptop-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 35%; background: #a9adb2; border-radius: 0 0 8px 8px; }
/* A current iPhone: titanium band, thin even black border, Dynamic Island, side buttons.
   Proportions follow a 6.3" Pro (71.5 × 149.6 mm body, ~1.4 mm border). */
.phone {
  --phone-band-width: clamp(1.5px, 0.22vw, 3px);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
  border: var(--phone-band-width) solid transparent;
  border-radius: 17% / 8%;
  background:
    linear-gradient(#050607, #050607) padding-box,
    linear-gradient(135deg, #9a9ea3, #4c5156 30%, #7d8288 55%, #3e4246 80%, #8d9196) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 2px rgba(16, 25, 31, 0.25),
    0 24px 40px -14px rgba(16, 25, 31, 0.45);
}
/* Action button and volume buttons on the left, side button on the right. */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: clamp(1.5px, 0.25vw, 3px);
  background: linear-gradient(90deg, #3e4246, #8d9196);
}
.phone::before {
  right: calc(100% + var(--phone-band-width));
  top: 17%;
  height: 21%;
  border-radius: 2px 0 0 2px;
  background:
    linear-gradient(90deg, #3e4246, #8d9196) 0 0 / 100% 17% no-repeat,
    linear-gradient(90deg, #3e4246, #8d9196) 0 44% / 100% 30% no-repeat,
    linear-gradient(90deg, #3e4246, #8d9196) 0 100% / 100% 30% no-repeat;
}
.phone::after {
  left: calc(100% + var(--phone-band-width));
  top: 25%;
  height: 11%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #8d9196, #3e4246);
}
.phone-screen { position: relative; margin: 2.4%; aspect-ratio: 390 / 844; border-radius: 14% / 6.5%; overflow: hidden; background: #f2f2f7; }
.phone-screen img { width: 100%; height: 100%; object-fit: fill; }
/* Dynamic Island, sized to the 390 × 844 pt capture: 126 × 37 pt, 11 pt from the top. */
.phone-screen::after {
  content: "";
  position: absolute;
  top: 1.3%;
  left: 50%;
  width: 32.3%;
  height: 4.4%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* ---------- feature strip ---------- */

.features { border-bottom: 1px solid var(--rule); }
.feature-strip { list-style: none; margin: 0; padding: 2.4rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-strip li { padding: 0.2rem clamp(1rem, 2.4vw, 2.2rem); border-left: 1px solid var(--rule); }
.feature-strip li:first-child { border-left: 0; padding-left: clamp(0.5rem, 2vw, 2.4rem); }
.f-icon { width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 1rem; }
.feature-strip li:first-child .f-icon { fill: var(--ink); }
.feature-strip h2 { font-size: 1.38rem; margin: 0 0 0.35rem; letter-spacing: -0.005em; }
.feature-strip p { margin: 0; font-size: 1rem; color: var(--ink-2); max-width: 24ch; }

/* ---------- see it work ---------- */

.demo { padding-block: clamp(2.5rem, 5vw, 3.6rem) clamp(2rem, 4vw, 3rem); }
.section-head { margin-bottom: 1.8rem; }
.section-head h2, .demo h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.section-sub { margin: 0; color: var(--ink-2); max-width: 60ch; }

.demo-grid { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); gap: clamp(1.5rem, 3.5vw, 3.2rem); align-items: center; }
.demo-stage { margin: 0; }
.demo-stage .scene {
  background: var(--panel);
  border-radius: 12px;
  padding: 7% 17% 7% 8%;
  border: 1px solid #e2dfd8;
}
.scene--demo .phone { right: 6%; bottom: 7%; width: 24%; }
.tag { display: inline-block; margin-right: 0.4rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: #e3ebe6; color: var(--primary); font-weight: 600; font-size: 0.78rem; }
[data-stage] { transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1); }
[data-stage].is-swapping { opacity: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.step:hover { background: rgba(241, 239, 234, 0.7); }
.step[aria-pressed="true"] { background: rgba(255, 255, 255, 0.7); border-color: #e3e4e1; }
.step-no {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #ecebe6;
  font: 600 1.1rem/1 var(--serif);
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.step[aria-pressed="true"] .step-no { background: var(--primary); color: #fff; }
.step-text { display: grid; gap: 0.2rem; }
.step-title { font: 600 1.15rem/1.25 var(--serif); }
.step-body { font-size: 0.93rem; color: var(--ink-2); }

/* ---------- film (opened from the hero) ---------- */

.film { width: min(70rem, 100vw - 2rem); max-width: none; max-height: calc(100dvh - 2rem); overflow: auto; padding: 1rem 1.2rem 1.2rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); color: var(--ink); }
.film::backdrop { background: rgba(16, 25, 31, 0.72); }
.film-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.film-head h2 { margin: 0; font-size: clamp(1.15rem, 4vw, 1.4rem); letter-spacing: -0.01em; }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; background: #0b0d0f; }
.film-description { margin: 0.8rem 0 0; max-width: 72ch; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- get the app / source ---------- */

.get { padding-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.get-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fdfcfa;
}
.get-col { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.get-col + .get-col { border-left: 1px solid var(--rule); }
.get-mark { width: 4rem; height: 4rem; border-radius: 14px; }
.get-mark--gh { fill: var(--ink); border-radius: 0; }
.get-col h2 { font-size: 1.7rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.get-col p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 44ch; }
.get-col .terms { margin: -0.5rem 0 1.1rem; font-size: 0.88rem; color: var(--ink-2); }

/* ---------- maker band ---------- */

.maker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.2rem) clamp(2.5rem, 5vw, 3.5rem);
}
.maker-photo { margin: 0; width: clamp(7.5rem, 11vw, 10.5rem); aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--panel); }
.maker-photo img { width: 100%; height: 100%; object-fit: cover; }
.maker-photo[hidden] { display: none; }
.maker:not(:has(.maker-photo:not([hidden]))) { grid-template-columns: minmax(0, 1fr) auto; }
.maker h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin: 0 0 0.45rem; letter-spacing: -0.01em; }
.maker-main p { margin: 0 0 1.3rem; color: #2c363d; }
.maker-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.maker-links .btn { font: 500 1rem/1.2 var(--serif); padding-inline: 1.3rem; }
.maker-aside {
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--rule);
  font-size: 0.72rem;
  line-height: 2.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- footer (every page, normal flow) ---------- */

.site-footer { background: var(--footer); margin-top: 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; padding-block: 2.2rem 1rem; }
.brand--footer { font-size: 1.3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; margin-inline: auto; }
.footer-legal { display: flex; gap: 1.6rem; font-size: 0.9rem; }
.footer-nav a, .footer-legal a { text-decoration: none; color: var(--ink); display: inline-block; padding-block: 0.35rem; }
.footer-fine a { display: inline-block; padding-block: 0.3rem; }
.footer-nav a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-fine { padding-block: 0 2rem; }
.footer-fine p { margin: 0; font-size: 0.85rem; color: #4d575e; }

/* ---------- document pages ---------- */

.doc { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.doc-inner { max-width: 68ch; }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; }
.doc .updated { margin: 0 0 2rem; color: var(--ink-2); font-size: 0.92rem; }
.doc h2 { font-size: 1.55rem; line-height: 1.2; margin: 2.6rem 0 0.7rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.doc p, .doc li, .doc dd { font-size: 1.04rem; }
.doc ul { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.45rem; }
.doc dt { font-weight: 650; margin-top: 1.3rem; }
.doc dd { margin: 0.3rem 0 0; color: #2c363d; }
.doc code { font: 500 0.92em/1 ui-monospace, 'SF Mono', Menlo, monospace; background: var(--panel); padding: 0.1em 0.35em; border-radius: 4px; }
.fine { font-size: 0.92rem; color: var(--ink-2); }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav { gap: 1.2rem; margin-left: 0.5rem; }
  .header-row { gap: 1.2rem; }
  .hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); }
  .lede { font-size: 1.02rem; }
  .btn-lg { min-height: 3.2rem; padding: 0.55rem 1rem 0.55rem 0.85rem; }
  .btn-title { font-size: 0.95rem; }
  .step { padding: 0.65rem 0.7rem; gap: 0.85rem; }
  .step-no { width: 2.3rem; height: 2.3rem; }
  .hero-actions { flex-wrap: nowrap; gap: 0.6rem; }
  .hero-actions .btn { flex: 0 1 auto; padding: 0.5rem 0.9rem 0.5rem 0.75rem; gap: 0.55rem; }
  .hero-actions .btn-title { font-size: 0.9rem; }
  .btn-icon { width: 1.3rem; height: 1.3rem; }
  .btn-sub { font-size: 0.72rem; }
  .feature-strip h2 { font-size: 1.2rem; }
  .feature-strip p { font-size: 0.93rem; }
  .f-icon { width: 2.1rem; height: 2.1rem; }
  .maker-links { gap: 0.55rem; }
  .maker-links .btn { padding-inline: 0.95rem; font-size: 0.95rem; }
  .maker-aside { padding-left: 1.4rem; letter-spacing: 0.16em; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
}

@media (max-width: 820px) {
  .hero-actions { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 46rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .maker, .maker:not(:has(.maker-photo:not([hidden]))) { grid-template-columns: 1fr; }
  .maker-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1rem; line-height: 1.9; }
}

@media (max-width: 760px) {
  .header-row { gap: 0.75rem; min-height: 4rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-sm { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.75rem); }
  .hero-actions .btn { width: 100%; }
  .hero-art figcaption { text-align: left; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; padding-block: 2rem; }
  .feature-strip li, .feature-strip li:first-child { padding: 0 1rem 0 0; border-left: 0; }
  .feature-strip li:nth-child(even) { padding: 0 0 0 1rem; border-left: 1px solid var(--rule); }
  .feature-strip h2 { font-size: 1.1rem; }
  .feature-strip p { font-size: 0.9rem; }
  .get-grid { grid-template-columns: 1fr; }
  .get-col { grid-template-columns: 1fr; gap: 1rem; }
  .get-col + .get-col { border-left: 0; border-top: 1px solid var(--rule); }
  .get-mark { width: 3.2rem; height: 3.2rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-inline: 0; gap: 0.6rem 1.4rem; }
  .step { padding: 0.7rem 0.6rem; gap: 0.85rem; }
}

@media (max-width: 340px) {
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip li:nth-child(even) { padding: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
