/* Oh: Image Backup & Restore — Ice-Blue Blueprint + Trust Cobalt design system
 * Distinct backup & recovery identity tailored for Shopify catalog protection
 * while preserving clean readability and shared OptimizeHub quality bar. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --paper: #ffffff;
  --vault-dark: #0b1526;
  --vault-surface: #12213a;
  --vault-card: #162947;
  --vault-border: rgba(148, 163, 184, 0.22);
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-subtle: #edf2f7;
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-bright: #3b82f6;
  --brand-tint: #eff6ff;
  --brand-border: #bfdbfe;
  --brand-ink: #1e3a8a;
  --safe: #059669;
  --safe-tint: #ecfdf5;
  --safe-border: #a7f3d0;
  --safe-ink: #065f46;
  --risk: #e11d48;
  --risk-tint: #fff1f2;
  --risk-border: #fecdd3;
  --warn: #d97706;
  --warn-tint: #fffbeb;
  --warn-border: #fde68a;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 18px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 42px -12px rgba(11, 21, 38, 0.16);
  --shadow-vault: 0 28px 60px -16px rgba(2, 6, 23, 0.6);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: #eff3f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.05rem);
  letter-spacing: -0.032em;
  margin-bottom: 16px;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin-bottom: 6px;
}

p { margin: 0 0 12px; }

.lede {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.62;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}

/* Header — Crisp white bar with Trust Cobalt accent */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.015em;
}
.brand:hover { color: var(--brand); }

.brand img, .brand svg {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px 20px;
  margin-left: auto;
}

.site-header .nav a {
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 5px 4px;
  transition: color 0.12s ease;
}
.site-header .nav a:hover { color: var(--ink); }
.site-header .nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.24);
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
  cursor: pointer;
}
.button:hover {
  background: var(--brand-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.32);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover {
  background: var(--bg-alt);
  border-color: #94a3b8;
  color: var(--ink);
}

.button.ghost-dark {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.button.ghost-dark:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--ink);
}

.site-header .button {
  padding: 8px 16px;
  font-size: 13.5px;
  background: var(--brand);
}
.site-header .button:hover { background: var(--brand-hover); }

/* Clean Instant-Clarity Hero — Left Copy + Right Deleted vs Restored Contrast Card */
.vault-hero {
  background:
    radial-gradient(circle at 86% 14%, rgba(37, 99, 235, 0.10), transparent 44%),
    radial-gradient(circle at 10% 88%, rgba(14, 165, 233, 0.08), transparent 40%),
    linear-gradient(180deg, #eef4ff 0%, #f8fafd 100%);
  color: var(--body);
  padding: 58px 0 64px;
  border-bottom: 1px solid #dce6f7;
}

.vault-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.12fr);
  gap: 48px;
  align-items: center;
}

.vault-hero .eyebrow {
  margin-bottom: 12px;
}

.vault-hero h1 {
  color: var(--ink);
  font-size: clamp(2.15rem, 3.6vw, 2.95rem);
  margin-bottom: 16px;
}

.vault-hero .lede {
  color: var(--body);
  font-size: 1.05rem;
  max-width: 50ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 26px 0 0;
}

.vault-hero .button {
  background: var(--brand);
  padding: 12px 22px;
  font-size: 15px;
}
.vault-hero .button:hover { background: var(--brand-hover); }
.vault-hero .button.ghost-dark {
  background: #ffffff;
  padding: 12px 20px;
}
.vault-hero .button.ghost-dark:hover { background: #f8fafc; }

.vault-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #dbe5f4;
}

.vault-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
  color: var(--body);
}

.vault-trust-item svg {
  color: var(--safe);
  flex-shrink: 0;
}

/* 1-Second Deleted -> Restored Visual Card (Zero fake buttons, zero sidebar clutter) */
.restore-compare-card {
  background: #ffffff;
  border: 1px solid #cbd8ec;
  border-radius: 20px;
  padding: 20px 22px 22px;
  box-shadow: 0 24px 52px -16px rgba(15, 23, 42, 0.14), 0 4px 14px -2px rgba(29, 78, 216, 0.06);
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-subtle);
}

.rc-head strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.rc-head span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.rc-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.rc-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
}
.rc-label-risk { color: #be123c; }
.rc-label-safe { color: var(--safe-ink); }

.rc-step-num {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.rc-step-risk { background: var(--risk-tint); color: #be123c; border: 1px solid var(--risk-border); }
.rc-step-safe { background: var(--safe-tint); color: var(--safe-ink); border: 1px solid var(--safe-border); }

.rc-frame {
  height: 196px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rc-frame-missing {
  background: #fff5f6;
  border: 1.5px dashed #fb7185;
  color: #be123c;
  gap: 8px;
  text-align: center;
  padding: 16px;
}

.rc-frame-missing strong {
  font-size: 13px;
  font-weight: 700;
  color: #9f1239;
}

.rc-frame-photo {
  background: #e7e9eb;
  border: 2px solid #10b981;
}

.rc-frame-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Explicit Workflow Connector: Dashed Flow Shaft + Restore Operation Tag */
.rc-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 2px;
}

.rc-flow-svg {
  width: 100%;
  height: 24px;
  display: block;
}

.rc-flow-line {
  stroke-dasharray: 5 4;
  animation: rc-dash 1.3s linear infinite;
}

@keyframes rc-dash {
  from { stroke-dashoffset: 18; }
  to { stroke-dashoffset: 0; }
}

.rc-flow-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-ink);
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.rc-flow-action svg {
  color: var(--brand);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rc-flow-line { animation: none !important; }
}

.rc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.35;
}

.rc-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.rc-list-risk { color: #9f1239; }
.rc-list-risk .rc-mark { color: #e11d48; }

.rc-list-safe { color: var(--safe-ink); }
.rc-list-safe .rc-mark svg { width: 13px; height: 13px; color: var(--safe); }

/* Alternating Sections */
.section {
  padding: 80px 0;
}

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

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head h2 { margin-bottom: 0; }
.section-head h2 + .lede { margin-top: 10px; }
.section-head .lede { margin: 0 auto; }

/* Risk / Reality Section (Signature Backup-Industry Section) */
.reality-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  background: #fff8ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--warn);
  border-radius: 12px;
}

.reality-banner-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffedd5;
  color: #c2410c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.reality-banner strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 3px;
}

.reality-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.risk-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.risk-card.risk-rose { border-top-color: var(--risk); }
.risk-card.risk-amber { border-top-color: var(--warn); }
.risk-card.risk-blue { border-top-color: var(--brand); }

.risk-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.risk-rose .risk-tag { background: var(--risk-tint); color: #be123c; }
.risk-amber .risk-tag { background: var(--warn-tint); color: #b45309; }
.risk-blue .risk-tag { background: var(--brand-tint); color: var(--brand-ink); }

.risk-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

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

/* Alternating Feature Split Rows (How Backup & Recovery Works) */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-step-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.feature-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.feature-copy p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 14px;
}

.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
}

.feature-points svg {
  color: var(--safe);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Visual UI Cards in Alternating Feature Rows */
.ui-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.ui-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.ui-card-head span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.timeline-row.pinned {
  background: var(--brand-tint);
  border-color: var(--brand-border);
}

.timeline-row strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.timeline-row small {
  font-size: 12px;
  color: var(--muted);
}

.ui-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.ui-chip.blue { background: #dbeafe; color: #1e40af; }
.ui-chip.green { background: #d1fae5; color: #065f46; }
.ui-chip.rose { background: #ffe4e6; color: #be123c; }
.ui-chip.amber { background: #fef3c7; color: #b45309; }
.ui-chip.slate { background: #e2e8f0; color: #334155; }

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scope-tile {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.scope-tile strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 4px;
}

.scope-tile span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Permissions & Non-Destructive Safety Grid */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.safety-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
}

.safety-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--safe-tint);
  color: var(--safe);
  border: 1px solid var(--safe-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-icon svg {
  width: 18px;
  height: 18px;
}

.safety-card h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
}

.safety-card p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}

/* 2x3 Recovery Scenarios Grid */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.scenario-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.scenario-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scenario-card h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}

.scenario-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
  line-height: 1.55;
}

.use-case-link {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--brand);
}

/* Answer block & Spec table (GEO / AEO standard) */
.answer-box {
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  margin: 16px 0 24px;
  border-radius: 0 10px 10px 0;
}

.answer-box-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 6px;
}

.answer-box-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #1e293b;
}

.spec-table-wrap {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
}

.spec-table caption {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 10px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 10px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

.spec-table th {
  width: 34%;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
}

.spec-table td { font-weight: 600; color: var(--ink); }

/* Billing Toggle & 6-Plan Grid */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.billing-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--body);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.billing-toggle-btn.active {
  background: var(--vault-dark);
  color: #ffffff;
}

.billing-save-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--safe-tint);
  color: var(--safe-ink);
}

.billing-toggle-btn.active .billing-save-pill {
  background: var(--safe);
  color: #ffffff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 4px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.plan-period {
  font-size: 12.5px;
  color: var(--muted);
}

.plan-annual {
  font-size: 12px;
  color: var(--brand-ink);
  margin: 0 0 16px;
  min-height: 18px;
}

.plan-features {
  list-style: none;
  padding: 16px 0 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  border-top: 1px solid var(--line-subtle);
}

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

.plan-features li.feature-muted { color: var(--muted); }
.plan-features .icon-check svg { color: var(--safe); flex-shrink: 0; margin-top: 2px; }
.plan-features .icon-muted svg { color: #94a3b8; flex-shrink: 0; margin-top: 2px; }

.plan-card .button {
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  font-size: 14px;
}

.pricing-table-section {
  max-width: 1040px;
  margin: 56px auto 0;
}

.pricing-table-section h2 {
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 20px;
}

.pricing-explanation {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.pricing-explanation h2 {
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 24px;
}

.pricing-explanation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-explanation-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.pricing-explanation-card h3 { font-size: 1.02rem; margin: 0 0 8px; }
.pricing-explanation-card p { font-size: 0.9rem; line-height: 1.58; color: var(--muted); margin: 0; }

/* Comparison Tables */
.table-scroll {
  overflow-x: auto;
  margin: 18px 0 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table thead th {
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}

.comparison-table thead th.col-highlight {
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.comparison-table tbody th {
  font-weight: 650;
  color: var(--ink);
  background: #fcfdff;
}

.comparison-table tbody td { color: var(--body); }
.comparison-table tbody td.col-highlight {
  background: #f8fbff;
  color: var(--ink);
  font-weight: 500;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* FAQ Section */
.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-group-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--line);
}

.faqs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-card {
  padding: 0 0 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-card h3 {
  font-size: 1.06rem;
  font-weight: 650;
  margin-bottom: 8px;
  line-height: 1.42;
}

.faq-card p {
  font-size: 14.5px;
  color: var(--body);
  margin: 0 0 8px;
  line-height: 1.65;
}
.faq-card p:last-child { margin-bottom: 0; }

.section-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 34px;
}

.faq-footer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 18px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq-footer-banner-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.faq-footer-banner-text strong { font-size: 0.95rem; color: var(--ink); }
.faq-footer-banner-text span { font-size: 0.85rem; color: var(--muted); }
.faq-footer-banner .button { white-space: nowrap; flex-shrink: 0; padding: 8px 16px; font-size: 13.5px; }

/* Bottom Vault CTA Band */
.band {
  background:
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.35), transparent 55%),
    linear-gradient(135deg, #0b1526 0%, #132544 100%);
  color: #f8fafc;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 20px;
  padding: 44px 40px;
  margin: 64px auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 48px -12px rgba(11, 21, 38, 0.35);
}

.band-content { max-width: 560px; }
.band h2 { color: #ffffff; font-size: 1.65rem; margin-bottom: 6px; }
.band p { color: #cbd5e1; font-size: 1rem; margin: 0; line-height: 1.55; }
.band .button {
  background: #2563eb;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  flex-shrink: 0;
}
.band .button:hover { background: #1d4ed8; }

/* Footer */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 13px;
  background: var(--paper);
}

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

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .nav { margin-left: 0; gap: 16px; }

/* Subpages */
.page {
  width: 100%;
  padding: 52px 0 80px;
  background: var(--bg-alt);
  min-height: calc(100vh - 200px);
}

.prose {
  max-width: 860px;
  margin: 0 auto 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 40px;
  box-shadow: var(--shadow-sm);
}

.prose h1 { margin-bottom: 12px; }
.prose h2 { margin-top: 28px; margin-bottom: 10px; font-size: 1.35rem; }
.prose h3 { margin-top: 20px; margin-bottom: 6px; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 16px; }
.prose li { margin: 6px 0; }

.diagram-wrapper {
  margin: 24px 0 32px;
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.diagram-wrapper svg { width: 100%; height: auto; display: block; }
.diagram-wrapper figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--line-subtle);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.tutorial-toc {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: 12px;
}
.tutorial-toc ol { margin: 12px 0 0; list-style: none; padding: 0; }
.tutorial-toc a { overflow-wrap: anywhere; }

/* Legal Layout */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto 48px;
}

.legal-main {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 42px;
  box-shadow: var(--shadow-sm);
}

.legal-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 { font-size: 2.1rem; margin: 0 0 10px; }
.legal-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

.legal-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3.5px solid var(--brand);
  border-radius: 10px;
}

.legal-highlight-card { display: flex; align-items: flex-start; gap: 10px; }
.legal-highlight-check { color: var(--brand); margin-top: 3px; flex-shrink: 0; }
.legal-highlight-card strong { color: var(--ink); font-size: 13.5px; margin-right: 6px; }
.legal-highlight-card span { color: var(--body); font-size: 13px; line-height: 1.45; }

.legal-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line-subtle);
}
.legal-section:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.legal-section h2 { font-size: 1.25rem; margin: 0 0 12px; }
.legal-section p { color: var(--body); font-size: 14px; line-height: 1.6; margin: 0 0 10px; }

.legal-list { list-style: none; padding: 0; margin: 8px 0 16px; }
.legal-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
}
.legal-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--brand);
  font-weight: bold;
}

.legal-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 20px; }

/* Guide Layout */
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}

.guide-main { min-width: 0; }
.guide-header { margin-bottom: 24px; }
.guide-header h1 { font-size: 2.2rem; margin-bottom: 12px; }
.guide-header .lede { color: var(--body); font-size: 1.06rem; margin: 0 0 8px; }

.guide-steps { display: flex; flex-direction: column; gap: 20px; }

.guide-step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.guide-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.guide-step-card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.guide-step-card p { color: var(--body); line-height: 1.62; margin: 0 0 12px; }
.guide-step-card p:last-child { margin-bottom: 0; }

.guide-feature-list { list-style: none; padding: 0; margin: 12px 0 16px; }
.guide-feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--body);
  line-height: 1.55;
  font-size: 14.5px;
}
.guide-feature-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--brand);
  font-weight: bold;
}

.guide-callout {
  background: var(--brand-tint);
  border-left: 3px solid var(--brand);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin-top: 16px;
}
.guide-callout strong { color: var(--ink); }

.guide-step-card-muted { background: #f8fafc; border-style: dashed; }

.guide-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 20px; }

.guide-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.guide-sidebar-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 14px;
}

.guide-toc { display: flex; flex-direction: column; gap: 6px; }
.guide-toc-link {
  font-size: 13.5px;
  color: var(--body);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.14s ease;
}
.guide-toc-link:hover { color: var(--brand); background: var(--brand-tint); }

.guide-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-specs-list li { display: flex; align-items: flex-start; gap: 10px; }
.spec-check { color: var(--safe); font-weight: 700; font-size: 14px; line-height: 1.3; }
.guide-specs-list strong { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.3; }
.guide-specs-list span { color: var(--muted); font-size: 12px; line-height: 1.3; }

/* Related Examples */
.related-examples {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related-examples-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.related-examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-example-link {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.related-example-link:hover { background: #ffffff; border-color: var(--brand); }
.related-example-label { font-size: 0.95rem; font-weight: 650; color: var(--brand-ink); margin-bottom: 4px; }
.related-example-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* Responsive */
@media (max-width: 1024px) {
  .vault-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
}

@media (max-width: 900px) {
  .guide-layout, .legal-layout { grid-template-columns: 1fr; }
  .guide-sidebar, .legal-sidebar { position: static; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual { order: initial; }
}

@media (max-width: 800px) {
  .risk-grid, .safety-grid, .scenarios-grid, .pricing-explanation-grid, .related-examples-grid, .faqs-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid { grid-template-columns: 1fr; }
  .band { flex-direction: column; text-align: center; padding: 32px 24px; }
  .band .button { width: 100%; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .plans-grid { grid-template-columns: 1fr; }
  .vault-trust-strip { grid-template-columns: 1fr; }
  .restore-compare-card { padding: 16px; }
  .rc-cols { grid-template-columns: 1fr; gap: 12px; }
  .rc-flow { padding: 4px 0; }
  .rc-flow-svg { width: 32px; height: 22px; transform: rotate(90deg); }
  .rc-frame { height: 170px; }
  .site-header .wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0 8px;
    gap: 8px 12px;
  }
  .site-header .button { padding: 7px 13px; font-size: 13px; white-space: nowrap; }
  .nav {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
    gap: 14px;
  }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { width: 100%; }
  .prose { padding: 22px 18px; }
  .legal-main { padding: 26px 20px; }
  .faq-footer-banner { flex-direction: column; align-items: stretch; }
  .faq-footer-banner .button { width: 100%; text-align: center; }
  .section { padding: 48px 0; }
}
