/* ------------------------------------------------------------------
   一聊 · 1liao.org — landing page
   Design: Restrained light, warm-tinted neutrals + persimmon accent.
   No: gradient text, side-stripe borders, glass cards, identical grids.
------------------------------------------------------------------ */

/* ---------- Tokens (OKLCH) ---------- */
:root {
  /* Neutrals — tinted toward warm cream so nothing reads as #fff */
  --bg            : oklch(0.992 0.004 80);     /* page */
  --bg-soft       : oklch(0.975 0.006 80);     /* recessed bands */
  --bg-deep       : oklch(0.955 0.008 80);     /* deeper bands */
  --surface       : oklch(0.998 0.003 80);     /* cards / shots */
  --line          : oklch(0.915 0.010 80);     /* hairlines */
  --line-strong   : oklch(0.870 0.012 80);

  /* Ink — cool blue-gray to contrast warm bg */
  --ink           : oklch(0.205 0.020 250);
  --ink-2         : oklch(0.395 0.018 250);
  --ink-3         : oklch(0.555 0.014 250);
  --ink-4         : oklch(0.700 0.010 250);

  /* Accent — persimmon (warm, communicative, anti-Linear) */
  --accent        : oklch(0.620 0.180 35);
  --accent-deep   : oklch(0.500 0.180 32);
  --accent-soft   : oklch(0.940 0.040 50);     /* tinted background wash */
  --accent-ink    : oklch(0.355 0.100 38);

  /* Secondary tint for subtle highlights */
  --jade          : oklch(0.700 0.080 165);
  --jade-soft     : oklch(0.960 0.022 165);
  --indigo        : oklch(0.500 0.140 270);

  /* Radii / motion */
  --r-xs          : 6px;
  --r-sm          : 10px;
  --r-md          : 14px;
  --r-lg          : 20px;
  --r-xl          : 28px;

  --ease-out      : cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft : cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font-sans  : "Inter", "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", system-ui, -apple-system,
                 BlinkMacSystemFont, sans-serif;
  --font-serif : "Noto Serif SC", "Songti SC", "Source Han Serif SC",
                 "PingFang SC", Cambria, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }

::selection { background: var(--accent-soft); color: var(--accent-ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg); padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Layout primitive ---------- */
.section-head {
  max-width: 880px;
  margin: 0 0 56px;
}
.section-head--center {
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow--invert { color: var(--accent-soft); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out),
              background-color .25s var(--ease-out),
              border-color .25s var(--ease-out),
              color .25s var(--ease-out);
  white-space: nowrap;
}
.btn--lg { padding: 14px 24px; font-size: 15.5px; }

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--quiet {
  background: rgba(255 255 255 / 0.10);
  color: var(--bg);
  border-color: rgba(255 255 255 / 0.28);
}
.btn--quiet:hover { background: rgba(255 255 255 / 0.18); }

.link-quiet {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 4px;
}
.link-quiet:hover { color: var(--ink); }

/* ---------- Brand mark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand__mark {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.brand__dot {
  width: 11px; height: 11px;
  background: var(--ink);
  border-radius: 50%;
  position: absolute; left: 0; top: 6px;
}
.brand__dot--b {
  background: var(--accent);
  left: 9px; top: 9px;
  width: 13px; height: 13px;
  mix-blend-mode: multiply;
}
.brand__sep {
  margin: 0 4px;
  color: var(--ink-4);
  font-weight: 400;
}
.brand__cn {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out),
              background-color .3s var(--ease-out);
}
.nav.is-stuck {
  border-color: var(--line);
  background: color-mix(in oklch, var(--bg) 96%, transparent);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: 24px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  --hero-progress: 0;
  /* How much of the product shot peeks out below the pinned hero text.
     Responsive: ~200px on small screens, up to ~400px on large screens. */
  --hero-peek: clamp(200px, 34vh, 400px);
  position: relative;
  /* Section is taller than the viewport because .hero__pin is sticky and
     .hero__shot follows after; the difference of those heights is the
     scroll-distance during which the pin stays "stuck" at the top. */
}

.hero__pin {
  position: sticky;
  top: var(--nav-h, 72px);
  /* Leave room at the bottom of the first viewport so .hero__shot peeks up. */
  height: calc(100vh - var(--nav-h, 72px) - var(--hero-peek));
  height: calc(100dvh - var(--nav-h, 72px) - var(--hero-peek));
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 0 32px;
  z-index: 0;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 35%, transparent 80%);
  opacity: 0.55;
}
.hero__halo {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__halo--a {
  top: -260px; left: -180px;
  background: radial-gradient(circle at 30% 40%,
    oklch(0.92 0.06 50) 0%, transparent 60%);
}
.hero__halo--b {
  top: -120px; right: -240px;
  width: 640px; height: 640px;
  background: radial-gradient(circle at 60% 50%,
    oklch(0.93 0.05 235) 0%, transparent 65%);
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 100%;
  opacity: calc(1 - var(--hero-progress) * 1.1);
  transform: translateY(calc(var(--hero-progress) * -28px));
  will-change: opacity, transform;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  background: var(--surface);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px oklch(0.92 0.05 40);
}
.eyebrow__dot--invert {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255 255 255 / 0.18);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(48px, 7.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 auto 28px;
  max-width: 14ch;
}
.hero__title-em {
  position: relative;
  display: inline-block;
}
.hero__title-em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--accent);
  opacity: 0.85;
  z-index: -1;
  transform-origin: left center;
}

.hero__sub {
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-2);
}

.hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  letter-spacing: 0.02em;
}
.hero__trust-em {
  color: var(--ink);
  font-weight: 500;
}

/* Floating translation samples */
.float-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow:
    0 1px 2px oklch(0.85 0.03 80 / 0.18),
    0 12px 28px oklch(0.78 0.04 60 / 0.14);
  animation: float 7s ease-in-out infinite;
}
.float-tag__lang {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.float-tag--a { top:  64px; left:  6%;  animation-delay: -1s; }
.float-tag--b { top: 132px; right: 4%;  animation-delay: -3s; }
.float-tag--c { top: 304px; left:  4%;  animation-delay: -5s; }
.float-tag--d { top: 320px; right: 8%;  animation-delay: -2s; }
@media (max-width: 980px) { .float-tags { display: none; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Scroll cue at the bottom of the pinned hero */
.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  opacity: calc(1 - var(--hero-progress, 0) * 2);
  transition: color .2s var(--ease-out);
}
.hero__scroll-cue:hover { color: var(--ink); }
.hero__scroll-cue-arrow {
  display: inline-block;
  font-size: 16px;
  animation: scroll-cue 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* Hero shot — peeks out below the pinned text and rises over it on scroll.
   The frame starts at the very top of this block (no top padding) so the
   browser-style title bar is what actually peeks above the fold. */
.hero__shot {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 96px;
}
.hero__shot-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 1px 2px oklch(0.7 0.04 50 / 0.10),
    0 -10px 30px -16px oklch(0.5 0.04 50 / 0.18),
    0 30px 60px -20px oklch(0.5 0.04 50 / 0.20),
    0 60px 120px -40px oklch(0.4 0.05 60 / 0.20);
  /* Subtle lift as the user scrolls: the peek slides up another ~24px while
     the pinned text fades, making the reveal feel intentional. */
  transform: translateY(calc(var(--hero-progress, 0) * -24px));
  transition: transform .2s var(--ease-out);
  will-change: transform;
}
.hero__shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.hero__shot-bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
}
.hero__shot-bar span:first-child { background: oklch(0.78 0.10 30); }
.hero__shot-bar span:nth-child(2) { background: oklch(0.86 0.10 90); }
.hero__shot-bar span:nth-child(3) { background: oklch(0.78 0.08 145); }
.hero__shot-bar em {
  font-style: normal;
  margin-left: 12px;
}
.hero__shot img {
  width: 100%;
  height: auto;
}
.hero__shot figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

/* On short or narrow viewports the hero text needs the room — quiet the peek. */
@media (max-height: 760px), (max-width: 640px) {
  .hero { --hero-peek: clamp(140px, 22vh, 240px); }
  .hero__pin { min-height: 460px; }
}
@media (max-height: 620px) {
  .hero { --hero-peek: 120px; }
  .hero__pin { min-height: 420px; }
}

/* ---------- Trust bar ---------- */
.trust {
  padding: 56px 32px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust__label {
  margin: 0 auto 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust__row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.trust__row li {
  position: relative;
  padding: 6px 4px;
}
.trust__row li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-4);
}

/* ---------- Pillars ---------- */
.pillars {
  padding: 120px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.pillar-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--line);
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar__index {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.pillar__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.pillar__body {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
@media (max-width: 880px) {
  .pillar-list { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
}

/* ---------- Generic feature section ---------- */
.feature {
  padding: 120px 32px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.feature .feature__copy {
  max-width: 50ch;
}
.feature__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 24px;
}
.feature__body {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.feature__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.feature__bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.feature__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.feature__bullets strong {
  color: var(--ink);
  font-weight: 600;
}

/* Feature media — varied per section */
.feature__media {
  position: relative;
  display: grid;
  gap: 24px;
}

.feature--a .feature__media {
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto;
  align-items: start;
}
.feature--a .shot--lift  { grid-row: 1; grid-column: 1; transform: translateY(-12px); }
.feature--a .shot--tuck  { grid-row: 1; grid-column: 2; transform: translateY(28px); }

.feature--c .feature__media {
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  align-items: start;
}
.feature--c .shot--lift { grid-column: 1; grid-row: 1 / span 2; }
.feature--c .shot--tuck { grid-column: 2; grid-row: 1; }
.feature--c .shot--mini { grid-column: 2; grid-row: 2; }

@media (max-width: 980px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px;
  }
  .feature--a .feature__media,
  .feature--c .feature__media {
    grid-template-columns: 1fr;
  }
  .feature--a .shot--lift,
  .feature--a .shot--tuck { grid-column: 1; transform: none; }
  .feature--c .shot--lift,
  .feature--c .shot--tuck,
  .feature--c .shot--mini { grid-column: 1; grid-row: auto; }
}

/* ---------- shot — generic image card ---------- */
.shot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 12px 28px -12px oklch(0.5 0.04 50 / 0.18),
    0 30px 60px -30px oklch(0.4 0.05 60 / 0.20);
  transition: transform .5s var(--ease-out-soft),
              box-shadow .5s var(--ease-out-soft);
}
.shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 22px 44px -16px oklch(0.5 0.05 50 / 0.22),
    0 40px 80px -30px oklch(0.4 0.06 60 / 0.26);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  padding: 12px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.shot--wide { aspect-ratio: auto; }
.shot--inset img { padding: 16px; background: var(--bg-soft); }

/* ---------- Multimedia / Keep-alive ---------- */
.multimedia {
  padding: 120px 32px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.multimedia__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.m-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out-soft),
              border-color .3s var(--ease-out);
}
.m-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.m-card--horizontal { grid-column: span 2; }

.m-card .shot {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.m-card .shot img {
  width: 100%;
  height: 100%;
  padding: 28px;
  object-fit: contain;
  background: transparent;
}
.m-card__copy {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
}
.m-card__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.m-card__copy h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.m-card__copy p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* horizontal variant — image left, copy right */
.m-card--horizontal {
  flex-direction: row;
  min-height: 0;
}
.m-card--horizontal .shot {
  flex: 1.4;
  aspect-ratio: auto;
  border-right: 1px solid var(--line);
  background: var(--bg-deep);
  align-self: stretch;
}
.m-card--horizontal .shot img {
  padding: 36px;
}
.m-card--horizontal .m-card__copy {
  flex: 1;
  border-top: none;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.m-card--horizontal .m-card__copy h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.m-card--horizontal .m-card__copy p {
  font-size: 15.5px;
  margin-bottom: 20px;
}
.m-card__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.m-card__bullets li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

@media (max-width: 880px) {
  .multimedia__grid { grid-template-columns: 1fr; }
  .m-card--horizontal { grid-column: span 1; flex-direction: column; min-height: 0; }
  .m-card--horizontal .shot {
    border-right: none;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
  }
  .m-card--horizontal .m-card__copy {
    padding: 24px 28px 28px;
  }
}

/* ---------- For who ---------- */
.for-who {
  padding: 120px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.audience__col {
  padding: 48px 40px 56px;
  border-right: 1px solid var(--line);
}
.audience__col:last-child { border-right: none; }
.audience__col h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.audience__col p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.audience__col ul li {
  font-size: 15px;
  color: var(--ink-2);
  padding: 10px 0 10px 24px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.audience__col ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 880px) {
  .audience { grid-template-columns: 1fr; }
  .audience__col { border-right: none; border-bottom: 1px solid var(--line); }
  .audience__col:last-child { border-bottom: none; }
}

/* ---------- CTA ---------- */
.cta {
  margin: 80px 32px 32px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%,
      oklch(0.30 0.08 35) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 90% 100%,
      oklch(0.25 0.05 250) 0%, transparent 60%),
    oklch(0.18 0.020 250);
  color: var(--bg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
}
.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 40px 104px;
  text-align: center;
}
.cta__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 12px 0 36px;
  color: var(--bg);
}
.cta__row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}
.cta .btn--solid {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.cta .btn--solid:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.cta__note {
  margin: 0;
  font-size: 13px;
  color: oklch(0.85 0.02 250);
  letter-spacing: 0.04em;
}

/* ---------- Download page ---------- */
.download {
  position: relative;
  padding: 96px 32px 96px;
  max-width: 1240px;
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
}
.download__bg { position: absolute; inset: 0; z-index: -1; }
.download__halo {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  background: radial-gradient(circle at 50% 50%,
    oklch(0.92 0.06 50) 0%, transparent 65%);
}

.download__head {
  text-align: center;
  margin: 0 auto 72px;
  max-width: 880px;
}
.download__head .eyebrow {
  margin-bottom: 28px;
}
.download__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  color: var(--ink);
}
.download__title-em {
  position: relative;
  display: inline-block;
}
.download__title-em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--accent);
  opacity: 0.85;
  z-index: -1;
}
.download__sub {
  max-width: 56ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.download__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto 80px;
}

/* Download card */
.dl-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .4s var(--ease-out-soft),
              border-color .3s var(--ease-out),
              box-shadow .4s var(--ease-out-soft);
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 18px 40px -16px oklch(0.5 0.04 50 / 0.18),
    0 38px 80px -30px oklch(0.4 0.05 60 / 0.22);
}

.dl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dl-card__platform {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dl-card__meta {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dl-card__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dl-card__btn {
  width: 100%;
  justify-content: center;
}
.dl-card__hint {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}

/* Notes section under download grid */
.download__notes {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}
.download__notes h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.download__notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.download__notes ol li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  counter-increment: step;
}
.download__notes ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-feature-settings: "tnum";
}
.download__notes p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 38ch;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease-out),
              gap .25s var(--ease-out);
}
.link-arrow:hover {
  border-color: var(--accent);
  gap: 10px;
}

@media (max-width: 760px) {
  .download {
    padding: 64px 24px 64px;
  }
  .download__head {
    margin-bottom: 56px;
  }
  .download__grid {
    grid-template-columns: 1fr;
    margin-bottom: 64px;
  }
  .download__notes {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 32px 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 48px;
}
.footer__tag {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 24ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  margin: 8px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s var(--ease-out);
}
.footer__cols a:hover { color: var(--ink); }
.footer__bottom {
  max-width: 1280px;
  margin: 64px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Floating contact widget ---------- */
.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.contact-fab__slot {
  position: relative;
  align-self: flex-end;
}

.contact-fab__btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  min-width: 52px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition:
    background-color .25s var(--ease-out),
    color .25s var(--ease-out),
    border-color .25s var(--ease-out),
    box-shadow .35s var(--ease-out-soft);
  box-shadow:
    0 1px 2px oklch(0.7 0.04 50 / 0.10),
    0 10px 24px -8px oklch(0.5 0.04 50 / 0.18);
  text-align: left;
}
.contact-fab__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-fab__icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-fab__icon svg {
  width: 22px;
  height: 22px;
}

.contact-fab__label {
  display: inline-block;
  padding-right: 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    max-width .35s var(--ease-out-soft),
    padding-right .35s var(--ease-out-soft),
    opacity .25s var(--ease-out) .05s,
    transform .35s var(--ease-out-soft) .05s;
  overflow: hidden;
}
.contact-fab__btn:hover .contact-fab__label,
.contact-fab__btn:focus-visible .contact-fab__label,
.contact-fab__btn[aria-expanded="true"] .contact-fab__label {
  max-width: 220px;
  padding-right: 22px;
  opacity: 1;
  transform: translateX(0);
}

/* Branded hover colors per slot */
.contact-fab__slot--whatsapp .contact-fab__btn:hover,
.contact-fab__slot--whatsapp .contact-fab__btn[aria-expanded="true"] {
  background: oklch(0.65 0.16 145);
  border-color: oklch(0.65 0.16 145);
  color: oklch(0.99 0 0);
}
.contact-fab__slot--tg-channel .contact-fab__btn:hover {
  background: oklch(0.62 0.15 235);
  border-color: oklch(0.62 0.15 235);
  color: oklch(0.99 0 0);
}
.contact-fab__slot--tg-help .contact-fab__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(0.99 0 0);
}

/* WhatsApp QR popover */
.contact-fab__pop {
  position: absolute;
  right: calc(100% + 14px);
  bottom: 0;
  width: 248px;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 12px 28px -12px oklch(0.5 0.04 50 / 0.20),
    0 30px 60px -30px oklch(0.4 0.05 60 / 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px) scale(0.96);
  transform-origin: 100% 100%;
  pointer-events: none;
  transition:
    opacity .3s var(--ease-out) .15s,
    visibility 0s linear .45s,
    transform .35s var(--ease-out-soft) .15s;
}
.contact-fab__slot--whatsapp:hover .contact-fab__pop,
.contact-fab__slot--whatsapp:focus-within .contact-fab__pop,
.contact-fab__slot--whatsapp .contact-fab__btn[aria-expanded="true"] + .contact-fab__pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  transition-delay: 0s;
}

.contact-fab__pop-title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.01em;
}
.contact-fab__pop-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.06em;
}
.contact-fab__pop img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  display: block;
}

@media (max-width: 640px) {
  .contact-fab {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
  .contact-fab__btn { height: 48px; min-width: 48px; }
  .contact-fab__icon { width: 48px; height: 48px; }
  .contact-fab__pop {
    width: 220px;
    right: calc(100% + 10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-fab__btn,
  .contact-fab__label,
  .contact-fab__pop {
    transition: none;
  }
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out-soft),
    transform 0.9s var(--ease-out-soft);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- News list page (news.html) ---------- */
.news {
  position: relative;
  padding: 96px 32px 96px;
  max-width: 1240px;
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
}
.news__bg { position: absolute; inset: 0; z-index: -1; }
.news__halo {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  background: radial-gradient(circle at 50% 50%,
    oklch(0.93 0.05 235) 0%, transparent 65%);
}

.news__head {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 880px;
}
.news__head .eyebrow {
  margin-bottom: 28px;
}
.news__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 auto 24px;
  color: var(--ink);
}
.news__title-em {
  position: relative;
  display: inline-block;
}
.news__title-em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--accent);
  opacity: 0.85;
  z-index: -1;
}
.news__sub {
  max-width: 56ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.news__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.news__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-3);
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.news__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px 64px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.news__empty-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.news__empty-sub {
  margin: 0 0 22px;
  color: var(--ink-3);
  font-size: 15px;
}

/* News card */
.news-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition:
    transform .4s var(--ease-out-soft),
    border-color .3s var(--ease-out),
    box-shadow .4s var(--ease-out-soft);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 18px 40px -16px oklch(0.5 0.04 50 / 0.18),
    0 38px 80px -30px oklch(0.4 0.05 60 / 0.22);
}
.news-card__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 26px;
  height: 100%;
  color: inherit;
}
.news-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.news-card__date {
  font-feature-settings: "tnum";
  text-transform: uppercase;
}
.news-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.news-card__tags li {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.news-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  /* clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__more {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease-out);
}
.news-card:hover .news-card__more { gap: 10px; }

@media (max-width: 760px) {
  .news { padding: 64px 24px 64px; }
  .news__head { margin-bottom: 48px; }
  .news__list { grid-template-columns: 1fr; }
  .news-card__link { padding: 24px 22px 22px; }
  .news-card__title { font-size: 19.5px; }
}

/* ---------- Article detail page (articles/YYYY/MM/*.html) ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.breadcrumb a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.breadcrumb__sep {
  margin: 0 8px;
  color: var(--ink-4);
}
.breadcrumb__current {
  color: var(--ink-2);
}

.article__head {
  margin: 0 0 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article__date {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  font-feature-settings: "tnum";
}
.article__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.article__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article__tags .tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}

/* Long-form typography */
.article__content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
}
.article__content > * + * { margin-top: 1.1em; }
.article__content p {
  margin: 0;
  color: var(--ink);
}
.article__content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 2.2em 0 0.6em;
  color: var(--ink);
}
.article__content h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 1.8em 0 0.5em;
  color: var(--ink);
}
.article__content h2:first-child,
.article__content h3:first-child { margin-top: 0; }

.article__content ul,
.article__content ol {
  padding-left: 1.5em;
  list-style: revert;
  color: var(--ink);
}
.article__content li {
  margin: 0.4em 0;
}
.article__content li::marker {
  color: var(--accent);
}
.article__content a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.article__content a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.article__content strong { color: var(--ink); font-weight: 600; }
.article__content em { font-style: italic; color: var(--ink-2); }

.article__content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
}
.article__content code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}
.article__content pre {
  margin: 1.4em 0;
  padding: 18px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.65;
}
.article__content pre code {
  padding: 0;
  background: transparent;
  border: 0;
}
.article__content img {
  margin: 1.6em auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.article__content figure {
  margin: 1.6em 0;
  text-align: center;
}
.article__content figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.article__content hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.article__content table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 14.5px;
}
.article__content th,
.article__content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.article__content th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--ink);
}

/* Inline CTA at end of article */
.article__cta {
  margin: 56px 0 0;
  padding: 32px 32px 30px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%,
      oklch(0.94 0.04 50) 0%, transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article__cta-copy {
  flex: 1 1 280px;
}
.article__cta-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.article__cta-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .article { padding: 40px 22px 72px; }
  .article__cta { padding: 24px 22px; }
}

