/* Tremer public site — landing, business, and legal pages.
   Static, dependency-free. Editorial-tech aesthetic: monochrome,
   hairlines, restrained weight. Mirrors the app's light/dark palette. */

:root {
  --bg: #ffffff;
  --bg-translucent: rgba(255, 255, 255, 0.78);
  --surface: #fafafa;
  --surface-2: #f4f4f6;
  --text-strong: #0a0a0a;
  --text: #4f4f57;
  --text-subtle: #8e8e95;
  --border: #e7e7ea;
  --hairline: #ededf0;
  --accent: #0a0a0a;
  --accent-fg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0c;
    --bg-translucent: rgba(10, 10, 12, 0.78);
    --surface: #121215;
    --surface-2: #18181c;
    --text-strong: #f7f7f8;
    --text: #b0b0b8;
    --text-subtle: #6a6a73;
    --border: #232328;
    --hairline: #1c1c20;
    --accent: #f7f7f8;
    --accent-fg: #0a0a0c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; }

/* Language visibility — toggled by site.js; Korean is the no-JS default. */
body.lang-ko .lang-en { display: none; }
body.lang-en .lang-ko { display: none; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ── Top accent stripe (very top of every page) ─────────── */
.top-bar {
  height: 3px;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    #45454a 22%,
    #d8d8dc 50%,
    #45454a 78%,
    #0a0a0a 100%
  );
}
@media (prefers-color-scheme: dark) {
  .top-bar {
    background: linear-gradient(
      90deg,
      #1a1a1c 0%,
      #5a5a60 22%,
      #f0f0f2 50%,
      #5a5a60 78%,
      #1a1a1c 100%
    );
  }
}

/* ── Header (sticky, always visible, hairline-bottom) ────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  background: var(--bg-translucent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--hairline), 0 4px 16px rgba(0, 0, 0, 0.04);
}
.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  text-decoration: none;
  line-height: 1;
}
.wordmark img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  margin-left: 28px;
  display: inline-flex;
  gap: 22px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-strong); }
.lang-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--text-subtle);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { text-align: center; padding: 128px 0 72px; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
}
.hero .kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-strong);
}
.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text-strong);
  margin: 0 auto;
  line-height: 1.08;
  max-width: 740px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero .tagline {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin: 32px 0 14px;
}
.hero .intro {
  font-size: 17px;
  margin: 28px auto 0;
  max-width: 600px;
  line-height: 1.65;
  color: var(--text);
  word-break: keep-all;
}

/* ── Buttons / CTA row ──────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-strong);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  background: var(--surface);
  border-color: var(--text-subtle);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-subtle);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--text-strong);
}
.btn-block { display: flex; width: 100%; }

/* ── "Coming soon" store pills ──────────────────────────── */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--text-subtle);
  font-size: 12.5px;
  font-weight: 500;
  cursor: not-allowed;
}
.store-pill .store-mark { color: var(--text); font-weight: 600; }
.store-pill .store-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

/* ── Section titles ─────────────────────────────────────── */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  line-height: 1.2;
  margin: 0 0 48px;
}
.section-kicker {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── Stats strip — hairline-only ────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 24px 0 72px;
}
.stat {
  text-align: center;
  padding: 36px 18px;
  border-left: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums;
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  line-height: 1;
}
.stat-unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-subtle);
  margin-left: 4px;
  letter-spacing: 0;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── Narrative — editorial 2-column, hairline divider ───── */
.narrative { padding: 24px 0 80px; }
.narrative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}
.narrative-card {
  padding: 36px 0 8px;
  border-left: 1px solid var(--hairline);
}
.narrative-card:first-child {
  border-left: 0;
  padding-right: 36px;
}
.narrative-card:last-child {
  padding-left: 36px;
}
.narrative-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 14px;
  line-height: 1.35;
}
.narrative-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

/* ── Features grid (consumer app) ───────────────────────── */
.features { padding: 32px 0 64px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.feature {
  padding: 32px 28px;
  background: var(--bg);
  transition: background 0.2s ease;
}
.feature:hover { background: var(--surface); }
.feature-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.feature p {
  font-size: 14.5px;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* ── How it works ──────────────────────────────────────── */
.howto { padding: 32px 0 96px; }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 28px 4px;
  border-bottom: 1px solid var(--hairline);
}
.step-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline;
}
.steps li h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 6px;
}
.steps li p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}

/* ── B2B bridge — quiet centered block ─────────────────── */
.b2b-bridge { padding: 24px 0 96px; }
.bridge-card {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  border-radius: 0;
}
.bridge-card h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 14px 0 16px;
  line-height: 1.2;
}
.bridge-card p {
  font-size: 15.5px;
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.65;
}

/* ── Subscribe page hero ────────────────────────────────── */
.sub-hero { text-align: center; padding: 96px 0 40px; }
.sub-hero .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.sub-hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  margin: 0 auto;
  line-height: 1.1;
  max-width: 800px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.sub-hero .lead {
  font-size: 17px;
  margin: 28px auto 0;
  max-width: 640px;
  color: var(--text);
  line-height: 1.7;
  word-break: keep-all;
}
.sub-hero strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 48px 0 80px;
}
.trust-item {
  text-align: center;
  padding: 28px 16px;
  border-left: 1px solid var(--hairline);
}
.trust-item:first-child { border-left: 0; }
.trust-item .t-num {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.trust-item .t-label {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ── 4-quadrant lifecycle matrix ────────────────────────── */
.matrix-wrap { padding: 32px 0 88px; }
.matrix-frame {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
}
.matrix-axes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.matrix-axes-bottom { margin: 18px 0 0; }
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.q-cell {
  position: relative;
  padding: 32px 28px;
  background: var(--bg);
  min-height: 180px;
  border: 0;
  transition: background 0.2s ease;
}
.q-cell:hover { background: var(--surface); }
.q-cell .q-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.q-cell h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.q-cell p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
}
.q-cell .q-dot {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-subtle);
}
.q-cell.q-emerging .q-dot { background: #5b6cff; }
.q-cell.q-trend    .q-dot { background: #16a373; }
.q-cell.q-saturate .q-dot { background: #d68f1c; }
.q-cell.q-end      .q-dot { background: var(--text-subtle); }

/* ── Report deliverables ────────────────────────────────── */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.deliv {
  padding: 28px;
  background: var(--bg);
  border: 0;
  border-radius: 0;
}
.deliv h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.deliv p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ── Use cases — divider list ───────────────────────────── */
.usecases {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.usecase {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  border-radius: 0;
}
.usecase .uc-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  text-transform: uppercase;
}
.usecase h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 6px;
  line-height: 1.4;
}
.usecase p {
  font-size: 14.5px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.plan.featured {
  border-color: var(--text-strong);
  box-shadow: var(--shadow-md);
}
.plan.featured:hover {
  box-shadow: var(--shadow-lg);
}
.plan.featured::before { content: none; }
.plan .p-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.plan .p-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin: 4px 0 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.plan .p-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
  margin-left: 4px;
  letter-spacing: 0;
}
.plan .p-tagline {
  font-size: 14px;
  color: var(--text);
  margin: 4px 0 24px;
  min-height: 40px;
  line-height: 1.5;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--text-subtle);
}
.plan .btn { margin-top: auto; }

/* ── FAQ — dividers only ────────────────────────────────── */
.faq { border-top: 1px solid var(--hairline); }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  background: transparent;
  border-radius: 0;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  position: relative;
  padding-right: 28px;
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--text-subtle);
  transform: translateY(-50%);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--text-subtle);
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::before {
  transform: translateY(-50%) rotate(0);
}
.faq details p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}

/* ── Final CTA — quiet block ────────────────────────────── */
.final-cta {
  text-align: center;
  padding: 88px 24px;
  margin: 64px 0 24px;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
}
.final-cta h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin: 0 0 16px;
  line-height: 1.2;
}
.final-cta p {
  font-size: 15.5px;
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 540px;
  line-height: 1.6;
}

/* ── Legal document pages ──────────────────────────────── */
.doc { padding: 56px 0 96px; }
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-subtle);
  text-decoration: none;
}
.back-link:hover { color: var(--text-strong); }
.doc h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.doc .effective {
  font-size: 13.5px;
  color: var(--text-subtle);
  margin: 0 0 40px;
}
.doc section { margin-bottom: 32px; }
.doc h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.doc section p {
  margin: 0;
  font-size: 15px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
}

/* ── Footer (multi-column, structured) ──────────────────── */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: 64px 0 40px;
  color: var(--text-subtle);
}
.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.footer-brand .wordmark {
  margin-bottom: 14px;
  font-size: 16px;
}
.footer-brand .wordmark img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}
.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-subtle);
  letter-spacing: -0.005em;
  max-width: 260px;
  line-height: 1.55;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--text-subtle);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--text-strong); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--text-subtle);
}
.footer-base a {
  color: var(--text-subtle);
  text-decoration: none;
}
.footer-base a:hover { color: var(--text-strong); }
.footer-meta {
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ── Scroll fade-in (progressive enhancement) ──────────── */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* Smooth scroll for in-page anchors, with offset for sticky header */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .header-inner { padding: 0 18px; height: 56px; gap: 10px; }
  .wordmark { font-size: 16px; gap: 8px; }
  .wordmark img { width: 24px; height: 24px; border-radius: 5px; }
  .nav-links { margin-left: 16px; gap: 14px; }
  .nav-links a { font-size: 12.5px; }

  .hero { padding: 72px 0 36px; }
  .hero .kicker { font-size: 10.5px; letter-spacing: 0.22em; padding: 5px 12px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.035em; line-height: 1.2; max-width: 100%; }
  .hero .intro { font-size: 15.5px; }
  .section-title { font-size: 24px; margin-bottom: 32px; line-height: 1.3; }

  .stats { grid-template-columns: 1fr; margin-bottom: 56px; }
  .stat { border-left: 0; border-top: 1px solid var(--hairline); padding: 24px 16px; }
  .stat:first-child { border-top: 0; }
  .stat-num { font-size: 36px; }

  .narrative-grid { grid-template-columns: 1fr; }
  .narrative-card { border-left: 0; padding: 28px 0 8px; }
  .narrative-card:first-child { padding: 0 0 28px; border-bottom: 1px solid var(--hairline); }
  .narrative-card:last-child { padding: 28px 0 8px; }

  .feature-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; }
  .step-num { font-size: 22px; }
  .bridge-card { padding: 56px 16px; }
  .bridge-card h2 { font-size: 24px; }

  .sub-hero { padding: 56px 0 28px; }
  .sub-hero h1 { font-size: 30px; line-height: 1.2; }
  .sub-hero .lead { font-size: 15px; line-height: 1.7; }
  .trust-strip { grid-template-columns: 1fr; margin: 40px 0 56px; }
  .trust-item { border-left: 0; border-top: 1px solid var(--hairline); padding: 22px 16px; }
  .trust-item:first-child { border-top: 0; }

  .matrix-frame { padding: 18px; }
  .matrix-grid { grid-template-columns: 1fr; }
  .q-cell { min-height: auto; padding: 24px 20px; }

  .deliv-grid { grid-template-columns: 1fr; }
  .usecase { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .pricing { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .final-cta { padding: 56px 20px; }
  .final-cta h2 { font-size: 24px; }
  .doc h1 { font-size: 26px; }

  .site-footer { padding: 48px 0 32px; margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 24px; }
}
