/* ============================================================
   Urban Rider — design system
   Hybrid Apple aesthetic: white hero, dark feature sections,
   tight typography, generous whitespace, product as the hero.
   ============================================================ */

:root {
  /* Color */
  --ink: #1d1d1f;
  --ink-soft: #2c2c2e;
  --ink-mute: #6e6e73;
  --line: #d2d2d7;
  --paper: #ffffff;
  --paper-soft: #fbfbfd;
  --paper-warm: #f5f5f7;
  --night: #000000;
  --night-soft: #0a0a0a;
  --night-mute: #86868b;
  --night-line: rgba(255, 255, 255, 0.12);
  --accent: #0066ff;
  --accent-hot: #2f7bff;
  --signal: #00d2a8;

  /* Type */
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Space */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 12vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--accent); color: #fff; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: var(--ink);
}
.nav__brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.nav__link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity .2s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__cta {
  background: var(--ink);
  color: #fff;
  padding: 7px 14px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background .2s var(--ease);
}
.nav__cta:hover { background: var(--accent); }

@media (max-width: 720px) {
  .nav__link--secondary { display: none; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.lang-switch__button:hover { background: rgba(0, 0, 0, 0.05); }
.lang-switch__button::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
}
.lang-switch__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  z-index: 100;
}
.lang-switch:hover .lang-switch__menu,
.lang-switch:focus-within .lang-switch__menu {
  display: flex;
}
.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
}
.lang-switch__option:hover { background: var(--paper-warm); }
.lang-switch__option[aria-current="true"] {
  background: var(--paper-warm);
  font-weight: 600;
}
.lang-switch__flag {
  font-size: 14px;
  width: 18px;
  text-align: center;
}
@media (max-width: 540px) {
  .lang-switch__button { font-size: 12px; padding: 5px 8px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(60px, 10vw, 110px) 0 clamp(40px, 8vw, 80px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  text-align: center;
  overflow: hidden;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 0.96;
  margin: 0 auto;
  max-width: 14ch;
  color: var(--ink);
}
.hero__title span { color: var(--ink-mute); }
.hero__lede {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-mute);
  max-width: 640px;
  margin: 28px auto 0;
  line-height: 1.35;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}
.hero__phone-stage {
  margin: clamp(48px, 8vw, 96px) auto 0;
  position: relative;
  max-width: 980px;
  display: flex;
  justify-content: center;
}
.hero__phone-stage .phone { max-width: 340px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 980px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover { background: var(--paper-warm); }
.btn--on-dark.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--on-dark.btn--ghost:hover { background: #fff; color: var(--ink); }

.btn--app-store,
.btn--play-store {
  background: #000;
  color: #fff;
  padding: 14px 22px;
}
.btn--app-store .btn__sub,
.btn--play-store .btn__sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.btn--app-store .btn__sub small,
.btn--play-store .btn__sub small {
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}
.btn--app-store .btn__sub strong,
.btn--play-store .btn__sub strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* Small "beta" pill that sits inside the Play Store button label */
.btn__beta {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--signal);
  color: #000;
  padding: 2px 7px;
  border-radius: 980px;
  margin-left: 6px;
  vertical-align: 1px;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}
.section--light { background: var(--paper); }
.section--soft { background: var(--paper-soft); }
.section--dark {
  background: var(--night);
  color: #f5f5f7;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 18ch;
  color: var(--ink);
}
.section p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--ink-mute);
  max-width: 60ch;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
/* Dark-section text overrides — declared after the light defaults so
   they win on equal specificity. */
.section.section--dark .eyebrow { color: var(--signal); }
.section.section--dark h2       { color: #f5f5f7; }
.section.section--dark p        { color: var(--night-mute); }

.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature__phone {
  max-width: 320px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .feature--reverse { direction: ltr; }
  .feature__phone { max-width: 260px; }
  .hero__phone-stage .phone { max-width: 260px; }
}

/* ---------- Phone frame ----------
   Wraps a screenshot in a glossy iPhone-style bezel. The screenshot
   already includes its own status bar, so no notch overlay is added.
   Works on both light and dark sections.
*/
.phone {
  position: relative;
  display: block;
  width: 100%;
  background: linear-gradient(160deg, #2a2a2c 0%, #050505 100%);
  padding: 11px;
  border-radius: 52px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    inset 0 0 0 3.5px #000,
    0 28px 56px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.14);
  isolation: isolate;
}
.phone::before {
  /* subtle side rim highlight */
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 51px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 28%, transparent 72%, rgba(255,255,255,0.04));
  pointer-events: none;
  z-index: 2;
}
.phone__screen {
  display: block;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  position: relative;
  z-index: 1;
}
.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}
.section--dark .phone {
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    inset 0 0 0 3.5px #000,
    0 32px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
@media (max-width: 540px) {
  .phone { padding: 9px; border-radius: 44px; }
  .phone__screen { border-radius: 36px; }
}

/* ---------- Apple Watch frame ----------
   Rounded-rectangle Series 10 silhouette. Digital crown + side button on the
   right edge are drawn as small CSS pseudo-elements.
*/
.watch {
  position: relative;
  display: block;
  width: 100%;
  max-width: 170px;
  background: linear-gradient(150deg, #2c2c2e 0%, #050505 100%);
  padding: 6px 7px;
  border-radius: 38px / 44px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 2.5px #000,
    0 18px 36px rgba(0, 0, 0, 0.32),
    0 6px 12px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}
.watch__screen {
  display: block;
  border-radius: 30px / 36px;
  overflow: hidden;
  background: #000;
}
.watch__screen img {
  display: block;
  width: 100%;
  height: auto;
}
/* Digital crown */
.watch::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 28%;
  width: 5px;
  height: 22px;
  background: linear-gradient(90deg, #1a1a1c 0%, #4a4a4c 60%, #2a2a2c 100%);
  border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
}
/* Side button */
.watch::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 4px;
  height: 32px;
  background: linear-gradient(90deg, #1a1a1c 0%, #3a3a3c 70%, #2a2a2c 100%);
  border-radius: 1.5px;
}
.section--dark .watch {
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    inset 0 0 0 2.5px #000,
    0 20px 50px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Watch positioned overlapping the hero phone in the bottom-right.
   "Bit on phone, bit on page." */
.hero__phone-stage {
  position: relative;
}
.hero__watch {
  position: absolute;
  left: calc(50% + 70px);
  bottom: -4%;
  width: 138px;
  z-index: 3;
  transform: rotate(-7deg);
  animation: watchFloat 6s ease-in-out infinite;
}
@keyframes watchFloat {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50%      { transform: rotate(-7deg) translateY(-6px); }
}
@media (max-width: 820px) {
  .hero__watch {
    width: 108px;
    left: calc(50% + 50px);
    bottom: -2%;
  }
}
@media (max-width: 540px) {
  .hero__watch {
    width: 84px;
    left: calc(50% + 40px);
    bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__watch { animation: none; }
}

/* ---------- Rotator (slideshow inside a phone screen) ----------
   Wrap multiple <img class="rotator-slide"> inside .phone__screen.
   First slide stays in normal flow (defines the screen height).
   Subsequent slides are absolutely positioned and crossfade in.
   rotator.js bumps the active class every ~3.2s.
*/
.phone--rotator .phone__screen {
  position: relative;
}
.rotator-slide {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 700ms var(--ease-out, ease);
}
.rotator-slide:not(:first-child) {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.rotator-slide--active:not(:first-child) {
  opacity: 1;
}
.rotator-slide:first-child {
  opacity: 1;
}
/* When a later slide is active, fade out the first slide */
.phone--rotator[data-active-index]:not([data-active-index="0"]) .rotator-slide:first-child {
  opacity: 0;
}
/* Rotator dots — small indicator under the phone */
.rotator-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
}
.rotator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: background 300ms var(--ease), transform 300ms var(--ease);
}
.section--dark .rotator-dot { background: rgba(255, 255, 255, 0.18); }
.rotator-dot--active {
  background: var(--ink);
  transform: scale(1.2);
}
.section--dark .rotator-dot--active { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .rotator-slide { transition: none; }
}

/* ---------- Phone + Watch combo (used in "More than navigation" section) ---------- */
.combo {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.combo .phone { max-width: 320px; }
.combo__watch {
  position: absolute;
  left: -36px;
  bottom: 14%;
  width: 130px;
  z-index: 3;
  transform: rotate(8deg);
  animation: watchFloat 6s ease-in-out infinite;
}
@media (max-width: 820px) {
  .combo { max-width: 260px; }
  .combo__watch {
    width: 100px;
    left: -24px;
    bottom: 16%;
  }
}
@media (max-width: 540px) {
  .combo__watch {
    width: 84px;
    left: -16px;
  }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat__label {
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 8px;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--dark .card {
  background: #111;
  border-color: var(--night-line);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
}
.section--dark .card h3 { color: #fff; }
.card p {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  color: var(--ink-mute);
}
.section--dark .card p { color: var(--night-mute); }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.section--dark .card__icon { background: rgba(255,255,255,0.06); color: var(--signal); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Big quote ---------- */
.quote {
  text-align: center;
  padding: var(--section-y) 0;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--ink);
}
.section--dark .quote blockquote { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 4px; margin-top: 40px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 300;
  font-size: 28px;
  line-height: 0.9;
  color: var(--ink-mute);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__body {
  margin-top: 14px;
  color: var(--ink-mute);
  font-size: 17px;
  line-height: 1.55;
}
.faq .faq__body p { margin: 0 0 12px; font-size: 17px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Final CTA banner ---------- */
.cta-banner {
  background: linear-gradient(180deg, #000 0%, #1d1d1f 100%);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(0, 102, 255, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1;
  margin: 0 auto 24px;
  max-width: 16ch;
}
.cta-banner p {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--night-mute);
  margin: 0 auto 36px;
  max-width: 50ch;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper-warm);
  color: var(--ink-mute);
  padding: 56px 0 32px;
  font-size: 13px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer__tag {
  font-size: 13px;
  line-height: 1.5;
  max-width: 32ch;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-mute); }
.footer a:hover { color: var(--ink); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a { font-size: 13px; }
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Long-form pages (Privacy, Terms, Articles) ---------- */
.page-head {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.page-head p {
  margin: 18px auto 0;
  max-width: 60ch;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 20px);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  margin: 56px 0 16px;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2vw, 24px);
  margin: 32px 0 12px;
  color: var(--ink);
}
.prose p, .prose li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: 16px; margin: 32px 0; }
.prose .meta {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 0;
}

/* ---------- Article list ---------- */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.article-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.article-card__cover {
  aspect-ratio: 16/10;
  background: var(--paper-warm);
  background-size: cover;
  background-position: center;
}
.article-card__body { padding: 24px; }
.article-card__date {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.article-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.article-card__excerpt {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Util ---------- */
.center { text-align: center; }
.muted { color: var(--ink-mute); }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
