/* IndieAppScale marketing site — neutral cream base, deep-purple ink as the
   single accent per section, crisp hairline borders and soft shadows. Alt
   sections invert to pure white so the rhythm reads as light-on-light rather
   than warm-on-warmer. Pastel fills are never used as backgrounds. */

:root {
  --mk-bg: #F7F6F2;
  --mk-bg-alt: #FFFFFF;
  --mk-surface: #FFFFFF;
  --mk-ink: #201A3A;
  --mk-ink-brand: #4E3A82;
  --mk-body: #4D4762;
  --mk-muted: #7A7590;
  --mk-line: #E9E6DE;
  --mk-line-strong: #D6D2C7;
  --mk-accent: #4E3A82;
  --mk-accent-deep: #3A2A66;
  --mk-dark: #14102A;

  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --maxw-narrow: 780px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 100px;

  --shadow-card: 0 1px 2px rgba(20, 16, 42, 0.04), 0 8px 24px -16px rgba(20, 16, 42, 0.12);
  --shadow-float: 0 2px 6px rgba(20, 16, 42, 0.06), 0 24px 60px -28px rgba(20, 16, 42, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--mk-ink);
  background: var(--mk-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(100%, var(--maxw)); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--mk-ink); color: #fff;
  padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Type scale */
.mono-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-muted);
  margin: 0 0 12px;
}

.section__title {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--mk-ink);
  max-width: 780px;
}
.section__lede {
  font-size: 18px;
  color: var(--mk-body);
  margin: 0 0 44px;
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--primary { background: var(--mk-ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 8px 20px -12px rgba(20,16,42,0.6); }
.btn--primary:hover { background: var(--mk-accent); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 12px 28px -14px rgba(78,58,130,0.55); }
.btn--outline { background: var(--mk-surface); color: var(--mk-ink); border-color: var(--mk-line-strong); }
.btn--outline:hover { background: #fff; border-color: var(--mk-ink); box-shadow: var(--shadow-card); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.link-strong { color: var(--mk-ink); font-weight: 600; }
.link-strong:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--mk-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__brand img { height: 26px; width: auto; }
.nav__links {
  display: flex; gap: 28px;
  color: var(--mk-body);
  font-size: 15px;
}
.nav__links a:hover { color: var(--mk-ink); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: none; padding: 8px;
  flex-direction: column; justify-content: space-between;
}
.nav__burger span { display: block; height: 2px; background: var(--mk-ink); border-radius: 2px; }
.nav__mobile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px clamp(16px, 4vw, 32px) 24px;
  border-top: 1px solid var(--mk-line);
  background: var(--mk-bg);
}
/* Author `display:flex` above overrides the UA `hidden` styling; re-hide
   explicitly so the mobile menu stays collapsed until the burger opens it. */
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 10px 4px; color: var(--mk-ink); font-weight: 500; }
.nav__mobile .btn { margin-top: 8px; align-self: flex-start; }

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 88px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 6px 0 18px;
  color: var(--mk-ink);
}
.hero__title span { color: var(--mk-ink-brand); }
.hero__dot { color: var(--mk-ink); }
.hero__sub {
  font-size: 18px;
  color: var(--mk-body);
  max-width: 520px;
  margin: 0 0 24px;
}
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.hero__link { color: var(--mk-ink); font-weight: 500; }
.hero__link:hover { text-decoration: underline; }
.hero__note { color: var(--mk-muted); font-size: 14px; margin: 0; }

.hero__visual {
  position: relative;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero__frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 90% at 30% 10%, #F1EFEA 0%, #E7E4DD 100%);
  border: 1px solid var(--mk-line);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
/* Fanned-deck of three slides inside the phone frame. Each card is smaller than
   the frame and offset/rotated so the stack visibly reads as three overlapping
   pieces rather than one solid rectangle. */
.hero__slide {
  position: absolute;
  left: 50%; top: 50%;
  width: 72%;
  aspect-ratio: 9 / 12;
  border-radius: 14px;
  overflow: hidden;
  background: #1E1A32;
  border: 1px solid var(--mk-line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.22;
  box-shadow: var(--shadow-card);
  transition: transform .5s ease, opacity .5s ease;
}
.hero__slideVideo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__slideScrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.hero__slide--1 { transform: translate(-72%, -58%) rotate(-8deg); z-index: 1; }
.hero__slide--2 { transform: translate(-50%, -50%) rotate(-1deg); z-index: 2; }
.hero__slide--3 { transform: translate(-28%, -42%) rotate(7deg);  z-index: 3; }
.hero__slideIndex {
  position: relative; z-index: 2;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(0,0,0,0.35);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.hero__slide p {
  position: relative; z-index: 2;
  margin: 12px 0 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero__caption {
  position: absolute; bottom: -34px; left: 0; right: 0;
  text-align: center;
  color: var(--mk-muted);
  font-size: 13px;
  margin: 0;
}

.hero__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(64px, 9vw, 104px);
  padding: 26px clamp(20px, 4vw, 36px);
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-lg);
  list-style: none;
  box-shadow: var(--shadow-card);
}
.hero__specs li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px clamp(12px, 2vw, 20px);
  border-left: 1px solid var(--mk-line);
}
.hero__specs li:first-child { border-left: none; padding-left: 0; }
.hero__specs span { color: var(--mk-muted); font-size: 13px; font-family: var(--mono); letter-spacing: 0.02em; }
.hero__specs strong { color: var(--mk-ink); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 24px; }
  .hero__specs { grid-template-columns: repeat(2, 1fr); }
}

/* Section rhythm */
.section { padding: clamp(72px, 10vw, 120px) 0; }

/* Showcase — dark section, three columns of 9:16 reels scrolling in
   alternating directions. Videos load and play only when in view; the
   fade mask on top/bottom hides the loop seam. */
.showcase {
  background: var(--mk-dark);
  color: #F0EBFB;
  padding: clamp(80px, 11vw, 140px) 0;
  overflow: hidden;
  position: relative;
}
.showcase::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 15% 0%, rgba(78,58,130,0.35), transparent 65%);
  pointer-events: none;
}
.showcase__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  position: relative;
}
.mono-label--bright { color: #A9A3C0; }
.showcase__title {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 16px;
}
.showcase__lede {
  font-size: 18px;
  color: #C4BEDB;
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.showcase__points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.showcase__point {
  display: flex; align-items: baseline; gap: 16px;
  color: #E4DFF3; font-size: 16px; font-weight: 500;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.showcase__point:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.showcase__point-index {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #A9A3C0;
  flex-shrink: 0;
}
.showcase__feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.feed__col {
  display: flex; flex-direction: column; gap: 16px;
  will-change: transform;
}
.feed__col--1 { animation: iasUp   26s linear infinite; }
.feed__col--2 { animation: iasDown 30s linear infinite; }
.feed__col--3 { animation: iasUp   34s linear infinite; }
@keyframes iasUp   { from { transform: translateY(0);    } to { transform: translateY(-50%); } }
@keyframes iasDown { from { transform: translateY(-50%); } to { transform: translateY(0);    } }

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(160deg, #2C2452 0%, #171232 100%);
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.6);
}
.reel__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.reel__hook {
  position: absolute;
  left: 12px; right: 12px; bottom: 14px;
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.reel__tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__feed { height: 480px; }
}
@media (max-width: 560px) {
  .showcase__feed { grid-template-columns: repeat(2, 1fr); gap: 12px; height: 440px; }
  .showcase__feed .feed__col--3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feed__col--1, .feed__col--2, .feed__col--3 { animation: none !important; }
}

/* How it works */
.how { background: var(--mk-bg-alt); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-2px); border-color: var(--mk-line-strong); box-shadow: var(--shadow-float); }
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mk-muted);
  letter-spacing: 0.12em;
}
.step__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: transparent;
  color: var(--mk-ink);
  border: 1px solid var(--mk-line-strong);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 8px;
  letter-spacing: -0.015em;
  color: var(--mk-ink);
}
.step p { color: var(--mk-body); margin: 0 0 16px; }
.step__time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mk-muted);
}

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

/* Features */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-2px); border-color: var(--mk-line-strong); box-shadow: var(--shadow-float); }
.feat__index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mk-muted);
  letter-spacing: 0.12em;
}
.feat h3 {
  font-size: 20px; font-weight: 600;
  margin: 16px 0 8px;
  letter-spacing: -0.015em;
  color: var(--mk-ink);
}
.feat p { color: var(--mk-body); margin: 0; }

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

/* Pricing */
.pricing { background: var(--mk-bg-alt); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.billing-toggle {
  display: inline-flex; gap: 4px;
  padding: 4px;
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-pill);
  margin: 12px 0 40px;
}
.billing-toggle__btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  color: var(--mk-body);
  font-weight: 600;
  font-size: 14px;
}
.billing-toggle__btn.is-active { background: var(--mk-ink); color: #fff; }
.billing-toggle__save {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.85;
}

.plan {
  position: relative;
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-2px); border-color: var(--mk-line-strong); box-shadow: var(--shadow-float); }
.plan--popular {
  border-color: var(--mk-ink);
  box-shadow: 0 2px 6px rgba(20,16,42,0.06), 0 22px 54px -22px rgba(78, 58, 130, 0.32);
}
.plan--popular:hover { border-color: var(--mk-ink); }
.plan__badge {
  position: absolute; top: -12px; left: 30px;
  background: var(--mk-ink); color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name { font-size: 22px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.plan__blurb { color: var(--mk-body); margin: 0 0 20px; font-size: 15px; }
.plan__price {
  display: flex; align-items: baseline; gap: 4px;
  margin: 0 0 20px;
}
.plan__currency { font-size: 22px; font-weight: 600; color: var(--mk-ink); }
.plan__num { font-size: 44px; font-weight: 600; color: var(--mk-ink); letter-spacing: -0.02em; line-height: 1; }
.plan__period { color: var(--mk-muted); font-size: 13px; margin-left: 6px; }
.plan__features {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--mk-body);
  font-size: 15px;
}
.plan__features li::before {
  content: "✓";
  color: var(--mk-accent);
  margin-right: 8px;
  font-weight: 700;
}

/* FAQ */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--r-md);
  padding: 4px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--mk-line-strong); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--mk-ink);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--mk-muted);
  font-weight: 400;
  font-size: 22px;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--mk-body);
  padding: 0 0 18px;
  margin: 0;
  font-size: 16px;
}

/* Closing CTA */
.closing {
  background: var(--mk-dark);
  color: #E8E4F2;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1000px 400px at 50% -10%, rgba(78,58,130,0.35), transparent 65%);
  pointer-events: none;
}
.closing__inner { max-width: 720px; margin: 0 auto; position: relative; }
.closing h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.03;
  margin: 0 0 18px;
  color: #fff;
}
.closing p { color: #A9A3C0; margin: 0 0 28px; font-size: 18px; }
.closing__note { color: #6F6890; font-size: 13px; margin-top: 18px; }
.closing .btn--primary { background: #fff; color: var(--mk-dark); box-shadow: 0 8px 26px -14px rgba(255,255,255,0.35); }
.closing .btn--primary:hover { background: #F3EEFB; transform: translateY(-1px); }

/* Footer */
.foot {
  background: var(--mk-bg);
  border-top: 1px solid var(--mk-line);
  padding: 72px 0 28px;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.foot__brand p { color: var(--mk-body); max-width: 280px; font-size: 14px; }
.foot__brand img { height: 24px; margin-bottom: 16px; }
.foot__cols { display: contents; }
.foot__colTitle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mk-muted);
  margin-bottom: 12px;
}
.foot__cols a {
  display: block;
  padding: 6px 0;
  color: var(--mk-body);
  font-size: 14px;
}
.foot__cols a:hover { color: var(--mk-ink); }
.foot__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-muted);
  font-size: 13px;
}
.foot__barLinks { display: flex; gap: 20px; align-items: center; }
.foot__barLinks a:hover { color: var(--mk-ink); }
.mono { font-family: var(--mono); font-size: 12px; }

@media (max-width: 820px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__bar { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 520px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal {
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--mk-bg);
}
.legal__doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  color: var(--mk-body);
  font-size: 16px;
  line-height: 1.7;
}
.legal__eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-muted);
  margin: 0 0 12px;
}
.legal__doc h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mk-ink);
  margin: 0 0 8px;
}
.legal__meta { color: var(--mk-muted); font-size: 14px; margin: 0 0 32px; }
.legal__doc h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--mk-ink);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal__doc p, .legal__doc ul { margin: 0 0 16px; }
.legal__doc ul { padding-left: 22px; }
.legal__doc li { margin-bottom: 8px; }
.legal__doc a { color: var(--mk-accent); text-decoration: underline; }
.legal__doc a:hover { color: var(--mk-accent-deep); }
.legal__doc strong { color: var(--mk-ink); }
.legal__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mk-line); }
.legal__back { color: var(--mk-ink); font-weight: 600; }
.legal__back:hover { text-decoration: underline; }

/* 404 page */
.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--mk-bg);
}
.notfound__inner { text-align: center; }
.notfound__code {
  font-family: var(--mono);
  font-size: clamp(72px, 14vw, 140px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mk-ink);
  margin: 0 0 20px;
}
.notfound__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mk-ink);
  margin: 0 0 12px;
}
.notfound__sub {
  font-size: 17px;
  color: var(--mk-body);
  max-width: 480px;
  margin: 0 auto 32px;
}
.notfound__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Motion-reduced users get no smooth-scroll or big transitions. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hero__slide, .faq summary::after { transition: none; }
}
