/* ============================================================
   Catalog Rescue — styles.css
   Premium specialist e-commerce operations studio.
   Palette: Midnight Navy #102B45 · Warm Ivory #F3F0E8 ·
   Antique Gold #C69A4A · Graphite #202A32 · Mist Grey #E5E8E7 ·
   Muted Green #3C806D (validated/prepared states only)
   Type: Georgia serif display (DM Serif Display not available
   as local WOFF2) · Manrope (headings/UI, self-hosted) ·
   Inter (body, self-hosted) · IBM Plex Mono (data/prices only)
   ============================================================ */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #102b45;
  --navy-deep: #0b1f33;
  --ivory: #f3f0e8;
  --gold: #c69a4a;
  --gold-dark: #a37e35;
  --graphite: #202a32;
  --mist: #e5e8e7;
  --green: #3c806d;
  --ink: #26313a;
  --ink-soft: #4c5a64;
  --line: #d9d5c9;
  --bad: #a4442f;
  --flag: #a4761a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--navy); }
a:hover { color: var(--gold-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

.muted { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--navy); }

.brand-mark { display: inline-flex; flex: none; }

.main-nav { position: relative; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--graphite);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav-link:hover { background: var(--mist); color: var(--navy); }
.nav-link-active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-line {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    right: 0; top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(16, 43, 69, 0.18);
  }
  .nav-list.nav-open { display: flex; }
  .nav-link { display: block; padding: 11px 12px; }
  .nav-link-active { box-shadow: none; background: var(--mist); border-radius: 8px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(243, 240, 232, 0.55); }
.btn-ghost:hover { border-color: var(--ivory); color: #fff; }
.btn-navy { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-navy { background: var(--navy); color: var(--ivory); }
.section-navy .section-title { color: var(--ivory); }
.section-navy .section-lede { color: rgba(243, 240, 232, 0.82); }
.section-white { background: #fbfaf6; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}
.section-navy .eyebrow { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 16px;
}

.section-lede { font-size: 1.08rem; color: var(--ink-soft); margin: 0; }

/* Entrance motion: only when JS is present and motion is welcome.
   Without JS everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(15px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 84px 0 76px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero .eyebrow { color: var(--gold); }

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: #fff;
}

.hero-sub {
  font-size: 1.14rem;
  line-height: 1.6;
  color: rgba(243, 240, 232, 0.86);
  margin: 0 0 30px;
  max-width: 34em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 20px; padding: 0; }
.chip {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(198, 154, 74, 0.65);
  color: var(--ivory);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero-note { font-size: 0.92rem; color: rgba(243, 240, 232, 0.66); margin: 0; }

.hero-visual { min-width: 0; }

/* ---------- The Catalog Transformation Line ---------- */

.transform {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(11, 31, 51, 0.28);
  overflow: hidden;
}
.hero .transform { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }

.transform-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mist);
  background: #fbfaf6;
}
.transform-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.transform-body {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: stretch;
}
@media (max-width: 640px) {
  .transform-body { grid-template-columns: 1fr; }
}

.transform-side { padding: 16px 18px 18px; min-width: 0; }
.transform-side-head {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.trow {
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.45;
  padding: 8px 10px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  word-break: break-word;
}
.trow:last-child { margin-bottom: 0; }
.trow-messy { background: #fdf6f3; border-color: #ecd9d2; color: #6d463a; }
.trow-clean { background: #f2f7f5; border-color: #cfdfD9; color: #24443a; }
.trow-flag { background: #fbf6e9; border-color: #e7d9ae; color: #6d5518; }
.tcell { min-width: 0; }

.transform-spine {
  background: linear-gradient(var(--gold), var(--gold));
  background-size: 2px 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.transform-spine-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 5px 7px;
  writing-mode: vertical-rl;
}
@media (max-width: 640px) {
  .transform-spine { padding: 8px 0; background-size: 100% 2px; }
  .transform-spine-label { writing-mode: horizontal-tb; }
}

.tag {
  flex: none;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
}
.tag-bad { background: #f3dcd3; color: var(--bad); }
.tag-flag { background: #efdfae; color: var(--flag); }
.tag-good { background: #d3e6de; color: var(--green); }

/* Hero rows settle once on load (motion-safe). */
@media (prefers-reduced-motion: no-preference) {
  .hero .trow { animation: hero-settle 0.9s ease 1 both; }
  .hero .trow:nth-child(2) { animation-delay: 0.08s; }
  .hero .trow:nth-child(3) { animation-delay: 0.16s; }
  .hero .trow:nth-child(4) { animation-delay: 0.24s; }
  .hero .trow:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes hero-settle {
  from { opacity: 0.25; transform: translateX(-7px); }
  to { opacity: 1; transform: none; }
}

.example-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 12px 2px 0;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 960px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-strip { grid-template-columns: 1fr; } }

.trust-item { border-left: 3px solid var(--gold); padding-left: 16px; }
.trust-value {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.trust-label { display: block; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card-icon { color: var(--gold-dark); margin-bottom: 16px; display: inline-flex; }
.section-navy .card { background: var(--navy-deep); border-color: rgba(243, 240, 232, 0.16); color: var(--ivory); }
.card-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.section-navy .card-title { color: #fff; }
.card-text { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.section-navy .card-text { color: rgba(243, 240, 232, 0.78); }
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.card-link:hover { color: var(--gold-dark); }

/* ---------- Demo (before / after toggle) ---------- */

.demo { max-width: 860px; margin: 0 auto; }
.demo-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.demo-btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.demo-btn:hover { background: var(--mist); }
.demo-btn-active { background: var(--navy); color: var(--ivory); }
.demo-btn-active:hover { background: var(--navy); color: var(--ivory); }
.demo-stage { position: relative; }
.demo-panel-after { display: none; }
.demo-show-after .demo-panel-before { display: none; }
.demo-show-after .demo-panel-after { display: block; }
.demo-caption { text-align: center; margin-top: 16px; }

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card-featured { border: 2px solid var(--gold); box-shadow: 0 18px 44px rgba(16, 43, 69, 0.12); }
.price-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.price-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.price-amount {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--graphite);
  line-height: 1;
  margin: 0;
}
.price-unit { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft); margin: 8px 0 20px; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-list li { padding: 7px 0 7px 26px; position: relative; font-size: 0.97rem; border-bottom: 1px solid var(--mist); }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.price-cta { margin-top: auto; }
.price-note { text-align: center; margin-top: 26px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 3px solid var(--gold); padding-top: 18px; }
.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 8px;
}
.section-navy .step-num { color: var(--gold); }
.step-title { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; color: var(--navy); margin: 0 0 8px; }
.section-navy .step-title { color: #fff; }
.step-text { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.section-navy .step-text { color: rgba(243, 240, 232, 0.78); }

/* ---------- Proof ---------- */

.proof-panel {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--ivory);
}
@media (max-width: 620px) { .proof-panel { padding: 28px 22px; } }
.badge-demo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 20px;
}
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 10px 0 22px; }
.proof-stat { min-width: 0; }
@media (max-width: 620px) { .proof-stats { grid-template-columns: 1fr; } }
.proof-stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}
.proof-stat-label { display: block; font-size: 0.95rem; color: rgba(243, 240, 232, 0.78); }
.proof-note { font-size: 0.94rem; color: rgba(243, 240, 232, 0.7); margin: 0; max-width: 62em; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--navy);
  padding: 20px 34px 20px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--gold-dark);
  font-size: 1.3rem;
}
.faq-item[open ] .faq-q::after { content: "–"; }
.faq-a { padding: 0 4px 22px; color: var(--ink-soft); font-size: 0.99rem; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA panel ---------- */

.cta-panel {
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--ivory);
  padding: 52px 44px;
  text-align: center;
}
@media (max-width: 620px) { .cta-panel { padding: 38px 24px; } }
.cta-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
}
.cta-text { color: rgba(243, 240, 232, 0.84); max-width: 46em; margin: 0 auto 26px; }

/* ---------- Inner pages ---------- */

.page-hero { background: var(--navy); color: var(--ivory); padding: 64px 0 58px; }
.page-hero .eyebrow { color: var(--gold); }
.page-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #fff;
  max-width: 20em;
}
.page-lede { font-size: 1.1rem; color: rgba(243, 240, 232, 0.85); margin: 0; max-width: 44em; }

.prose { max-width: 780px; }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin: 30px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--graphite); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.split-main { min-width: 0; }
.split-side { min-width: 0; }

.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: sticky;
  top: 96px;
}
@media (max-width: 960px) { .side-panel { position: static; } }
.side-panel .card-title { margin-bottom: 12px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.97rem; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--mist); vertical-align: top; }
table.compare thead th { background: var(--navy); color: var(--ivory); font-family: var(--sans); font-weight: 700; }
table.compare tbody th { font-family: var(--sans); font-weight: 700; color: var(--navy); background: #fbfaf6; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }

.check-list, .plain-list { list-style: none; margin: 0 0 18px; padding: 0; }
.check-list li, .plain-list li { padding: 6px 0 6px 28px; position: relative; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 3px; top: 14px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 22px 0;
}
.callout p { margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { border-left-color: var(--bad); background: #fdf7f4; }

.meta-line {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.email-big {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--navy);
  word-break: break-all;
}
.template-box {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 26px;
}
.template-text {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ivory);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 20px;
}
.copy-btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: 9px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.copy-btn:hover { background: var(--gold); color: var(--navy-deep); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(243, 240, 232, 0.78); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--ivory); }
.footer-brand .brand:hover { color: var(--ivory); }
.footer-brand p { font-size: 0.95rem; margin: 16px 0 0; max-width: 30em; }
.footer-col { min-width: 0; }
.footer-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 16px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: rgba(243, 240, 232, 0.78); text-decoration: none; font-size: 0.95rem; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(243, 240, 232, 0.14);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
}
.footer-fine { font-size: 0.85rem; color: rgba(243, 240, 232, 0.55); margin: 0; }
