/* ==========================================================================
   RubricCheck QA by Lu Flow — Product Documentation & Marketing Site
   Aligned with Lu Flow Studio (#f7f8fa / #18212f / #182234) + Forest Emerald
   ========================================================================== */

:root {
  --page: #f7f8fa;
  --surface: #ffffff;
  --surface-subtle: #eef2f6;
  --ink: #18212f;
  --ink-secondary: #394657;
  --muted: #526072;
  --line: #dce1e8;
  --line-soft: #e9edf2;

  --night: #151e2d;
  --night-surface: #1d293b;
  --night-line: #2d3c52;
  --night-ink: #f4f7fa;
  --night-muted: #a9b6c9;

  --brand: #037f52;
  --brand-hover: #026641;
  --brand-soft: #eaf6f1;
  --brand-border: #b6e2d0;
  --brand-on-dark: #43d99e;

  --danger: #cd3642;
  --danger-soft: #fef2f2;
  --danger-border: #f5c2c7;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 56px -18px rgba(15, 23, 42, 0.22), 0 4px 14px rgba(15, 23, 42, 0.08);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1140px;
  --prose: 760px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 150ms var(--ease);
}

a:hover {
  color: var(--brand-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--prose {
  max-width: var(--prose);
}

.mono {
  font-family: var(--font-mono);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-lockup__home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-lockup__home:hover {
  color: var(--ink);
}

.brand-lockup__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
}

.brand-lockup__by {
  font-size: 13px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  white-space: nowrap;
}

.brand-lockup__by a {
  color: var(--muted);
  font-weight: 500;
}

.brand-lockup__by a:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.site-nav__link:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

.site-nav__link[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 24px 20px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.mobile-drawer__link:hover,
.mobile-drawer__link[aria-current="page"] {
  background: var(--surface-subtle);
  color: var(--brand);
}

.mobile-drawer__cta {
  margin-top: 12px;
  width: 100%;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}

.btn:active {
  transform: scale(0.985);
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #ffffff;
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--surface-subtle);
  border-color: #c7d0dc;
  color: var(--ink);
}

.btn--night-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--night-ink);
  border-color: var(--night-line);
}

.btn--night-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 80% -80px, rgba(3, 127, 82, 0.07), transparent 65%),
    var(--page);
}

.hero__copy {
  max-width: 760px;
}

.hero__context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.hero__context-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__sub {
  margin: 0 0 28px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__meta {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Product Showcase Stage */
.hero-stage {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.stage-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stage-frame--dark {
  background: #171c22;
  border-color: #2c3440;
}

.stage-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbfcfd;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.stage-frame--dark .stage-frame__bar {
  background: #1c222a;
  border-bottom-color: #2b333e;
  color: #9faab8;
}

.stage-frame__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.stage-frame img {
  width: 100%;
  display: block;
}

/* ---------------- Sections ---------------- */
.section {
  padding: 76px 0;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--night {
  background: var(--night);
  color: var(--night-ink);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section--night .section-title {
  color: var(--night-ink);
}

.section-lead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.section--night .section-lead {
  color: var(--night-muted);
}

/* ---------------- Editorial Split (Why Flat-Rate QA) ---------------- */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.stat-list {
  border-top: 1px solid var(--line);
}

.stat-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.stat-row__val {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat-row__val--brand {
  color: var(--brand);
}

.stat-row__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.stat-row__desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------------- Interactive Light/Dark Showcase ---------------- */
.theme-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--page);
  gap: 2px;
}

.theme-switch__btn {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

.theme-switch__btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.feature-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-point {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.feature-point h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.feature-point p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------------- Feature Split (Rubrics & Routing) ---------------- */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.check-list__icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--brand);
}

/* ---------------- Night Security Architecture ---------------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.security-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--night-surface);
  border: 1px solid var(--night-line);
}

.security-card__label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-on-dark);
}

.security-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--night-ink);
  letter-spacing: -0.015em;
}

.security-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--night-muted);
}

.security-footer {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 14px;
  color: var(--night-muted);
}

/* ---------------- Pricing Cards ---------------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  gap: 4px;
}

.billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.billing-toggle__btn[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.billing-toggle__save {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
}

.billing-toggle__btn[aria-pressed="true"] .billing-toggle__save {
  background: rgba(67, 217, 158, 0.18);
  color: #79f0bf;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.plan-card--featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
}

.plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.plan-card__badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-border);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-card__amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-card__unit {
  font-size: 14px;
  color: var(--muted);
}

.plan-card__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
  font-variant-numeric: tabular-nums;
}

.plan-card__quota {
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--page);
  border: 1px solid var(--line-soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-card__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.plan-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.plan-card__check {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--brand);
}

/* ---------------- Tables ---------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.data-table thead th {
  background: #fbfcfd;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom-color: var(--line);
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td:first-child {
  font-weight: 500;
  color: var(--ink);
}

/* ---------------- Page Header & Prose (Privacy / Terms / Support / Pricing) ---------------- */
.page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero__meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brand);
}

.page-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.page-hero__lead {
  margin: 0;
  max-width: 64ch;
  font-size: 16.5px;
  color: var(--muted);
}

.prose {
  padding: 48px 0 72px;
}

.prose h2 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.prose p {
  margin: 0 0 14px;
  color: var(--ink-secondary);
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-secondary);
}

.prose li {
  margin-bottom: 6px;
}

.callout {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  margin: 24px 0;
}

.callout--neutral {
  border-color: var(--line);
  background: var(--surface);
}

.callout--danger {
  border-color: var(--danger-border);
  background: var(--danger-soft);
}

.callout__title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.callout p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* ---------------- Setup Steps & FAQ ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 150ms var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--brand);
}

.faq-item__body {
  padding: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 68ch;
}

/* ---------------- CTA Band & Footer ---------------- */
.cta-band {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.cta-band__sub {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--page);
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.site-footer__brand strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 14px;
}

.site-footer__links a {
  color: var(--ink-secondary);
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--brand);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 270px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-stage,
  .editorial-split,
  .showcase-grid,
  .feature-split,
  .security-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage__sidebar,
  .showcase-sidebar {
    max-width: 360px;
  }

  .feature-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 44px 0 52px;
  }

  .section {
    padding: 56px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 420px) {
  .brand-lockup__by {
    display: none;
  }
}

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