/* ==========================================================================
   JuriPro — Legal Intelligence, Powered by AI
   Design system stylesheet
   Palette : navy #0d1f2d · gold #c9a95c · teal #2d4a5e
   Type    : Libre Baskerville (headings) · Lato (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #0d1f2d;
  --navy-900: #08151f;
  --navy-800: #0d1f2d;
  --navy-700: #16323f;
  --teal: #2d4a5e;
  --teal-600: #35586f;
  --teal-400: #4d7691;
  --gold: #c9a95c;
  --gold-600: #b8953f;
  --gold-200: #e8d6a6;
  --gold-050: #f7f1e2;

  /* Neutrals */
  --white: #ffffff;
  --paper: #fbfaf7;
  --sand: #f4f1ea;
  --line: #e3ded2;
  --line-soft: #eeeae0;
  --ink: #1a2229;
  --ink-soft: #4a5661;
  --ink-mute: #6d7883;

  /* Status */
  --green: #2f7a5b;
  --red: #a8452f;

  /* Type scale */
  --f-display: clamp(2.35rem, 1.35rem + 3.1vw, 4rem);
  --f-h1: clamp(2rem, 1.35rem + 2.2vw, 3.1rem);
  --f-h2: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem);
  --f-h3: clamp(1.22rem, 1.06rem + 0.6vw, 1.55rem);
  --f-h4: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  --f-body: 1.0rem;
  --f-small: 0.875rem;
  --f-tiny: 0.78rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shell */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(13, 31, 45, .06), 0 2px 8px rgba(13, 31, 45, .05);
  --sh-2: 0 4px 14px rgba(13, 31, 45, .09), 0 12px 32px rgba(13, 31, 45, .07);
  --sh-3: 0 18px 50px rgba(13, 31, 45, .16);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fast: .16s;
  --mid: .28s;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #0d1f2d 0%, #14374a 52%, #2d4a5e 100%);
  --grad-band: linear-gradient(120deg, #0d1f2d 0%, #1d3d4f 100%);
  --grad-gold: linear-gradient(120deg, #c9a95c 0%, #e2c884 100%);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--f-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.24;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--f-h1); }
h2 { font-size: var(--f-h2); }
h3 { font-size: var(--f-h3); line-height: 1.34; }
h4 { font-size: var(--f-h4); line-height: 1.4; }

p { margin: 0 0 var(--sp-4); }

a { color: var(--teal); text-decoration: none; transition: color var(--fast) var(--ease); }
a:hover { color: var(--gold-600); }

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

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

strong { font-weight: 700; color: var(--navy); }

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: .88em;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .1em .38em;
}

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--gold);
  background: var(--gold-050);
  font-size: 1.06rem;
  color: var(--navy-700);
}
blockquote p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-200); color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-8); }
.section-lg { padding-block: var(--sp-9); }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--f-tiny);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-3);
}
.eyebrow.on-dark { color: var(--gold); }

.lead { font-size: 1.14rem; color: var(--ink-soft); line-height: 1.7; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: "Lato", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .82rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease),
              color var(--fast) var(--ease), border-color var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
  text-align: center;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); box-shadow: var(--sh-2); }

.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--sh-2); }

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

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn-sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--teal);
}
.link-arrow svg { transition: transform var(--fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--mid) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-1); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand-tag {
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-top: 3px;
}

.nav-menu { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav-menu > li { margin: 0; position: relative; }
.nav-menu a {
  color: var(--navy);
  font-size: .93rem;
  font-weight: 700;
  padding: .5rem 0;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: .1rem;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--mid) var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.is-active::after { width: 100%; }
.nav-menu a.is-active { color: var(--navy); }

.has-drop > a svg { transition: transform var(--fast) var(--ease); }
.has-drop:hover > a svg { transform: rotate(180deg); }

.drop {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-2);
  padding: .5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--mid) var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop li { margin: 0; }
.drop a {
  display: block;
  padding: .6rem .8rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.drop a::after { display: none; }
.drop a span { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }
.drop a:hover { background: var(--sand); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: background var(--fast); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy);
  transition: transform var(--mid) var(--ease), top var(--mid) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/pattern-grid.svg");
  background-size: 520px;
  opacity: .5;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -22%;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(201,169,92,.24) 0%, rgba(201,169,92,0) 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero p { color: rgba(255,255,255,.84); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-title { font-size: var(--f-display); margin-bottom: var(--sp-5); }
.hero-title .accent { color: var(--gold); }
.hero-sub { font-size: 1.16rem; max-width: 52ch; margin-bottom: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero-note { font-size: var(--f-small); color: rgba(255,255,255,.62); display: flex; align-items: center; gap: .45rem; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-3);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: .85rem 1.1rem;
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: 260px;
}
.hero-badge strong { display: block; font-size: 1.32rem; line-height: 1.1; font-family: "Libre Baskerville", serif; }
.hero-badge span { font-size: var(--f-tiny); color: var(--ink-mute); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--grad-band);
  color: #fff;
  padding-block: clamp(2.8rem, 2rem + 4vw, 4.6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../../images/pattern-grid.svg");
  background-size: 460px;
  opacity: .4;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 62ch; font-size: 1.08rem; margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem;
  list-style: none; margin: 0 0 var(--sp-4); padding: 0;
  font-size: var(--f-tiny); letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
}
.breadcrumb li { margin: 0; color: rgba(255,255,255,.55); }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255,255,255,.35); }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-200); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card > :last-child { margin-bottom: 0; }
.card-foot { margin-top: auto; padding-top: var(--sp-4); }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; stroke-width: 1.6; }
.icon-badge.navy { background: rgba(45,74,94,.08); border-color: rgba(45,74,94,.2); color: var(--teal); }

.card-media { margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-5); }
.card-media img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Step cards */
.steps { counter-reset: step; }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Libre Baskerville", serif;
  font-size: 2.6rem;
  color: var(--gold-200);
  position: absolute;
  top: -.6rem; left: 0;
  line-height: 1;
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-4) var(--sp-2); }
.stat strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: .35rem;
}
.stat span { font-size: var(--f-small); color: rgba(255,255,255,.72); letter-spacing: .04em; }
.section-navy { background: var(--grad-band); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.8); }

/* Logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
  align-items: center;
}
.logo-wall div {
  font-family: "Libre Baskerville", serif;
  font-size: .98rem;
  color: var(--ink-mute);
  text-align: center;
  letter-spacing: .04em;
  padding: var(--sp-3) var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  opacity: .85;
  transition: opacity var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.logo-wall div:hover { opacity: 1; border-color: var(--gold-200); }

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--sh-2); border: 1px solid var(--line); width: 100%; }
.split + .split { margin-top: var(--sp-8); }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: .78rem;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}
.check-list.on-dark li { color: rgba(255,255,255,.82); }

/* --------------------------------------------------------------------------
   8. Pricing
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: stretch; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.plan.featured { border-color: var(--gold); box-shadow: var(--sh-2); }
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: var(--f-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 { margin-bottom: .35rem; }
.plan .plan-for { font-size: var(--f-small); color: var(--ink-mute); margin-bottom: var(--sp-4); }
.plan-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: var(--sp-2); }
.plan-price strong {
  font-family: "Libre Baskerville", serif;
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
}
.plan-price span { color: var(--ink-mute); font-size: .92rem; }
.plan-note { font-size: var(--f-small); color: var(--ink-mute); margin-bottom: var(--sp-5); }
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.plan ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .93rem;
  color: var(--ink-soft);
  margin-bottom: .55rem;
}
.plan ul li::before {
  content: "";
  position: absolute; left: 2px; top: .62rem;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}
.plan ul li.off { color: var(--ink-mute); opacity: .6; }
.plan ul li.off::before { border-color: var(--ink-mute); transform: none; border-left: 0; width: 10px; top: .78rem; }
.plan .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
table.cmp th, table.cmp td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.cmp thead th {
  background: var(--navy);
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: .92rem;
  font-weight: 700;
}
table.cmp tbody th { font-weight: 700; color: var(--navy); }
table.cmp td { color: var(--ink-soft); }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:nth-child(even) { background: var(--paper); }

/* --------------------------------------------------------------------------
   9. Blog
   -------------------------------------------------------------------------- */
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-200); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: var(--sp-2); }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold-600); }
.post-card p { font-size: .92rem; color: var(--ink-soft); }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: var(--f-tiny); color: var(--ink-mute);
  margin-top: auto; padding-top: var(--sp-4);
}
.tag {
  display: inline-block;
  font-size: var(--f-tiny);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(45,74,94,.08);
  border-radius: 100px;
  padding: .22rem .65rem;
  margin-bottom: var(--sp-3);
  align-self: flex-start;
}
.tag.gold { color: var(--gold-600); background: var(--gold-050); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-6); }
.filter-btn {
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.article { max-width: var(--wrap-narrow); margin-inline: auto; }
.article > img { border-radius: var(--radius-lg); margin-bottom: var(--sp-6); box-shadow: var(--sh-1); }
.article h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: var(--sp-7); }
.article h3 { margin-top: var(--sp-6); }
.article p { font-size: 1.06rem; line-height: 1.8; color: #26313a; }
.article ul, .article ol { font-size: 1.04rem; color: #26313a; margin-bottom: var(--sp-5); }
.article ul li, .article ol li { margin-bottom: .55rem; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  font-size: var(--f-small); color: var(--ink-mute);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.author-chip { display: flex; align-items: center; gap: .6rem; }
.author-chip img { width: 40px; height: 40px; border-radius: 50%; }
.author-chip strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.2; }
.author-chip span { font-size: var(--f-tiny); color: var(--ink-mute); }

.callout {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.callout h4 { margin-bottom: var(--sp-2); }
.callout p:last-child { margin-bottom: 0; }
.callout.gold { border-left-color: var(--gold); background: var(--gold-050); border-color: var(--gold-200); }

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.toc h4 { margin-bottom: var(--sp-3); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; font-family: "Lato", sans-serif; color: var(--ink-mute); }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .95rem; }
.toc li { margin-bottom: .35rem; }

.share-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.share-row span { font-size: var(--f-small); color: var(--ink-mute); font-weight: 700; }
.share-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.share-row a:hover { border-color: var(--gold); color: var(--gold-600); background: var(--gold-050); }

/* --------------------------------------------------------------------------
   10. Team / offices
   -------------------------------------------------------------------------- */
.person { text-align: center; }
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  border: 1px solid var(--line);
}
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.person .role { color: var(--gold-600); font-size: var(--f-small); font-weight: 700; letter-spacing: .04em; margin-bottom: var(--sp-3); }
.person p { font-size: .9rem; color: var(--ink-soft); }

.office {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.office img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.office-body { padding: var(--sp-5); }
.office-body h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.office-body .city-tag { font-size: var(--f-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: var(--sp-3); }
.office-body address { font-style: normal; font-size: .93rem; color: var(--ink-soft); line-height: 1.7; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: var(--sp-6); }
.tl-item::before {
  content: ""; position: absolute; left: -2rem; top: .45rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: "Libre Baskerville", serif; font-size: 1.15rem; color: var(--gold-600); margin-bottom: .25rem; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.tl-item p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--f-small);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  padding: .72rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,169,92,.18);
}
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field-hint { font-size: var(--f-tiny); color: var(--ink-mute); margin-top: .3rem; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--f-small); color: var(--ink-soft); }
.checkbox input { width: auto; margin-top: .25rem; flex-shrink: 0; }
.form-status {
  display: none;
  margin-top: var(--sp-4);
  padding: .8rem 1rem;
  border-radius: var(--radius);
  font-size: var(--f-small);
  background: rgba(47,122,91,.1);
  border: 1px solid rgba(47,122,91,.3);
  color: var(--green);
}
.form-status.is-visible { display: block; }

/* --------------------------------------------------------------------------
   12. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.03rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  color: var(--gold-600);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--mid) var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: var(--sp-3) 0 0; color: var(--ink-soft); font-size: .96rem; padding-right: 2rem; }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--grad-band);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../../images/pattern-grid.svg");
  background-size: 380px; opacity: .35;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 58ch; margin-inline: auto; margin-bottom: var(--sp-5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding-block: var(--sp-8) var(--sp-5);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: var(--sp-4); max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: var(--f-tiny);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  font-size: var(--f-tiny);
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.62); }
.footer-bottom a:hover { color: var(--gold); }
.social { display: flex; gap: .5rem; }
.social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
}
.social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,92,.08); }
.footer-disclaimer {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: var(--f-tiny);
  color: rgba(255,255,255,.42);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. Legal / long-form pages
   -------------------------------------------------------------------------- */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 1.45rem; margin-top: var(--sp-7); padding-top: var(--sp-2); }
.legal-doc h3 { font-size: 1.12rem; margin-top: var(--sp-5); }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: .98rem; }
.legal-doc .updated {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .45rem .9rem;
  font-size: var(--f-small);
  color: var(--ink-mute);
  margin-bottom: var(--sp-5);
}
.legal-nav {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.legal-nav h4 { font-size: var(--f-tiny); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-family: "Lato", sans-serif; margin-bottom: var(--sp-3); }
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav li { margin-bottom: .45rem; }
.legal-nav a { font-size: .9rem; color: var(--ink-soft); }
.legal-nav a:hover, .legal-nav a.is-active { color: var(--gold-600); }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-7); align-items: start; }

/* --------------------------------------------------------------------------
   16. Cookie banner & misc
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  max-width: 640px;
  margin-inline: auto;
  background: var(--navy);
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-3);
  padding: var(--sp-5);
  z-index: 200;
  display: none;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { flex: 1 1 260px; margin: 0; font-size: .88rem; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.notice {
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  font-size: .92rem;
  color: var(--navy-700);
}
.notice strong { display: block; margin-bottom: .25rem; }

.mock-ui { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* 404 */
.err-code {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
  color: var(--gold-200);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

/* --------------------------------------------------------------------------
   17. Responsive — 1280 / 1024 / 768 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .wrap { max-width: 1120px; }
  .nav-menu { gap: var(--sp-4); }
}

@media (max-width: 1024px) {
  :root { --sp-9: 4.5rem; --sp-8: 3rem; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero-visual { max-width: 620px; }
  .hero-sub { max-width: none; }
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split.reverse .split-media { order: 0; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--mid) var(--ease);
  }
  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu > li { border-bottom: 1px solid var(--line-soft); }
  .nav-menu > li > a { padding: .95rem 0; width: 100%; justify-content: space-between; }
  .nav-menu a::after { display: none; }
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: var(--paper);
    border-radius: var(--radius);
    margin-bottom: var(--sp-3);
    padding: .35rem;
    display: none;
  }
  .has-drop.is-open .drop { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  :root { --sp-9: 3.5rem; --sp-8: 2.5rem; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-badge { position: static; margin-top: var(--sp-4); max-width: none; }
  .article p, .article ul, .article ol { font-size: 1rem; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 1.6rem; }
  .tl-item::before { left: -1.6rem; }
}

@media (max-width: 480px) {
  :root { --sp-8: 2.25rem; --sp-7: 2rem; }
  .wrap { padding-inline: var(--sp-4); }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .nav-cta .btn { width: auto; }
  .brand-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .stats { grid-template-columns: 1fr; }
  .card, .post-body, .form-card, .plan { padding: var(--sp-4); }
  .card-media { margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) var(--sp-4); }
  .cookie-bar { left: 0; right: 0; bottom: 0; border-radius: 0; }
}

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

@media print {
  .site-header, .site-footer, .cookie-bar, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
  a { color: #000; }
}
