/*
 * Home page styles. Loaded after tokens.css; the home page keeps slightly
 * different values for these tokens.
 */
:root {
  --border-lt: #e8eef4;
  --green: #1a7a4a;
  --green-bg: rgba(26,122,74,0.07);
  --green-bdr: rgba(26,122,74,0.18);
}

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

html { scroll-behavior: smooth; }

/* In-page links land below the fixed 60px nav. */
#how-it-works, #pricing { scroll-margin-top: 60px; }

body {
  font-family: "Instrument Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-emblem {
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-emblem svg { width: 17px; height: 17px; fill: var(--gold); }

.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }

.logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1px;
}

.nav-sep { width: 1px; height: 26px; background: var(--border); flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  flex: 1;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  transition: all 0.15s;
}

.nav-links a:hover { color: var(--navy); background: var(--bg); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.badge-free {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
}

.btn-outline-sm {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  background: none;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-outline-sm:hover { border-color: var(--slate); color: var(--navy); }

.btn-navy {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-navy:hover { background: var(--slate); }

.mobile-menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-btn svg { width: 20px; height: 20px; }

.mobile-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 30, 46, 0.12);
  padding: 0.75rem 1rem 1rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 190;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 6px;
}

.mobile-drawer a:hover { background: var(--bg); color: var(--navy); }

button, [type="submit"], [type="button"], .nav-links a, .search-btn, .btn-navy, .btn-outline-sm {
  min-height: 44px;
}

/* ─── HERO ─── */
.hero {
  padding-top: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--white) 0%, var(--bg) 55%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-lt) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-lt) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 100%);
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem 5rem;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s ease both;
}

.hero-kicker::before { content: ""; width: 14px; height: 1px; background: var(--gold); }

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 1rem;
  animation: fadeUp 0.5s 0.07s ease both;
}

h1 em { font-style: italic; color: var(--slate); }

.hero-sub {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.5s 0.13s ease both;
}

/* ─── SEARCH BAR ─── */
.search-wrap {
  animation: fadeUp 0.5s 0.18s ease both;
  margin-bottom: 0.85rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15,30,46,0.06), 0 1px 3px rgba(15,30,46,0.04);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(44,74,104,0.1), 0 4px 12px rgba(15,30,46,0.06);
}

.search-field { display: flex; align-items: center; flex: 1; min-width: 0; }

.search-icon {
  padding: 0 1rem 0 1.1rem;
  color: var(--mist);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

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

.search-input {
  flex: 1;
  min-width: 0; /* let the box shrink on narrow phones instead of pushing the button out */
  text-overflow: ellipsis;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 0.5rem;
}

.search-input::placeholder { color: var(--mist); }

.search-btn {
  flex-shrink: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 0.75rem 1.5rem;
  margin: 0.3rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.search-btn:hover { background: var(--slate); }

.search-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.22s ease both;
}

.hint-label { font-weight: 500; }

.hint-pill {
  font-size: 0.7rem;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.12s;
}

.hint-pill:hover { border-color: var(--slate); color: var(--navy); }

/* ─── RESULTS ─── */
.results-demo {
  margin-top: 3rem;
  animation: fadeUp 0.6s 0.28s ease both;
}

.demo-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.demo-header-icon { color: var(--mist); display: flex; flex-shrink: 0; }
.demo-header-icon svg { width: 14px; height: 14px; }

.demo-query-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  flex: 1;
  text-align: left;
}

.demo-query-text strong { color: var(--navy); font-weight: 600; }

.demo-count {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
}

/* Result list */
.result-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-lt);
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
  flex-wrap: wrap;
}

.result-row:hover { background: var(--bg); }
.result-row:hover .row-order-btn { opacity: 1; }

/* 5-field column layout */
.result-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr 0.9fr 0.7fr auto;
  align-items: center;
  gap: 0;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-lt);
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
  flex-wrap: wrap;
}

/* Column header bar */
.result-col-headers {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr 0.9fr 0.7fr auto;
  gap: 0;
  padding: 0.45rem 1.1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-lt);
}

.col-hdr {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-right: 0.75rem;
}

.row-field {
  padding-right: 0.75rem;
  min-width: 0;
}

.row-company-name {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-field-val {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-status-cell { display: flex; align-items: center; }

.tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.17rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
}

.tag-active   { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bdr); }
.tag-inactive { background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.tag-ppsa     { background: rgba(184,146,42,0.08); color: var(--gold-text); border: 1px solid rgba(184,146,42,0.2); }
.tag-juri     { background: rgba(44,74,104,0.07); color: var(--slate); border: 1px solid rgba(44,74,104,0.18); }

.row-order-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.12s;
  white-space: nowrap;
  cursor: pointer;
}

.row-order-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Expanded order panel */
.result-row.expanded { background: var(--bg); }
.result-row.expanded .row-order-btn { opacity: 1; background: var(--navy); color: var(--white); border-color: var(--navy); }

.order-panel {
  display: none;
  width: 100%;
  grid-column: 1 / -1;
  padding-top: 0.9rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-lt);
}

.result-row.expanded .order-panel { display: block; }

.op-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.op-docs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.op-doc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.12s;
}

.op-doc:hover { border-color: var(--navy); color: var(--navy); box-shadow: 0 2px 8px rgba(15,30,46,0.06); }
.op-doc svg { width: 13px; height: 13px; color: var(--mist); flex-shrink: 0; }
.op-doc:hover svg { color: var(--navy); }

.op-price {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--gold-text);
  margin-left: 0.1rem;
}

.op-price.free { color: var(--green); }

/* ─── HERO TRUST ─── */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.25s ease both;
}

.ht-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
}

.ht-item svg { width: 12px; height: 12px; color: var(--gold); flex-shrink: 0; }

.ht-sep {
  width: 1px;
  height: 12px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── STATS ─── */
.stats-band {
  background: var(--navy);
  padding: 3rem 2rem;
}

.stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-col {
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-col:first-child { padding-left: 0; }
.stat-col:last-child { border-right: none; }

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-num sup { font-size: 1.1rem; color: var(--gold); vertical-align: super; }

.stat-label {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ─── HOW IT WORKS ─── */
.hiw-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-kicker::before { content: ""; width: 14px; height: 1px; background: var(--gold); }

.section-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 3rem;
}

.section-heading em { font-style: italic; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover { box-shadow: 0 8px 28px rgba(15,30,46,0.08); transform: translateY(-2px); }

.step-connector {
  position: absolute;
  top: 2.1rem; right: -0.9rem;
  z-index: 1;
}

.step-connector svg { width: 18px; height: 18px; color: var(--border); }

.step-num {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.step-icon {
  width: 42px; height: 42px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-icon svg { width: 20px; height: 20px; color: var(--navy); }

.step-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
}

/* ─── WHAT YOU GET ─── */
.wyg-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wyg-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.wyg-block { padding: 0 3rem 0 0; }
.wyg-block + .wyg-block { padding: 0 0 0 3rem; border-left: 1px solid var(--border-lt); }

.wyg-icon {
  width: 48px; height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.wyg-icon svg { width: 22px; height: 22px; color: var(--navy); }

.wyg-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.wyg-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.wyg-feats { display: flex; flex-direction: column; gap: 0.5rem; }

.wyg-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.wyg-feat::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ─── PRICING ─── */
.pricing-section {
  background: var(--navy-deep);
  padding: 5rem 2rem;
}

.pricing-inner { max-width: 860px; margin: 0 auto; }

.pricing-section .section-kicker { color: var(--gold-lt); }
.pricing-section .section-kicker::before { background: var(--gold-lt); }
.pricing-section .section-heading { color: var(--white); margin-bottom: 0.75rem; }

.doc-pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  overflow: hidden;
}

.doc-price-card {
  background: rgba(255,255,255,0.04);
  padding: 2rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s;
}

.doc-price-card:last-child { border-bottom: none; }
.doc-price-card:hover { background: rgba(255,255,255,0.07); }

.dpc-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dpc-icon svg { width: 20px; height: 20px; color: var(--gold-lt); }

.dpc-body { flex: 1; }

.dpc-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.dpc-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  max-width: 460px;
}

.dpc-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dpc-includes span {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.dpc-price-col {
  text-align: right;
  flex-shrink: 0;
}

.dpc-amount {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.dpc-per {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

.pricing-note svg { color: var(--green); flex-shrink: 0; }

/* ─── JURISDICTIONS ─── */
.juri-section {
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.juri-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.juri-header { margin-bottom: 2.5rem; }
.juri-header .section-kicker { color: var(--gold-lt); }
.juri-header .section-kicker::before { background: var(--gold-lt); }
.juri-header .section-heading { color: var(--white); margin-bottom: 0.75rem; }

.juri-intro {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* Province flag cards */
.juri-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.juri-card {
  background: rgba(255,255,255,0.03);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  text-align: center;
  cursor: default;
}

.juri-card:hover { background: rgba(255,255,255,0.07); }

.juri-flag {
  line-height: 1;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.juri-flag img { display: block; }

.juri-card-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.juri-card-name {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

/* Database table */
.db-section-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.db-section-label::before { content: ""; width: 14px; height: 1px; background: rgba(255,255,255,0.2); }

.db-table {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.db-head {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  padding: 0.65rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 1.5rem;
}

.db-head span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.db-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 1.5rem;
  align-items: center;
  transition: background 0.12s;
}

.db-row:last-child { border-bottom: none; }
.db-row:hover { background: rgba(255,255,255,0.04); }

.db-juri {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.db-flag { display: flex; align-items: center; }

.db-juri-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.db-corp {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

.db-ppsa {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .juri-cards { grid-template-columns: repeat(4, 1fr); }
  .db-head { grid-template-columns: 150px 1fr; }
  .db-head span:last-child { display: none; }
  .db-row { grid-template-columns: 150px 1fr; }
  .db-ppsa { display: none; }
}

@media (max-width: 540px) {
  .juri-cards { grid-template-columns: repeat(3, 1fr); }
  .db-head { grid-template-columns: 1fr; }
  .db-head span:not(:first-child) { display: none; }
  .db-row { grid-template-columns: 1fr; }
  .db-corp { display: none; }
}

/* ─── FOOTER ─── */
footer {
  margin-top: auto;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.55rem; }

.footer-emblem {
  width: 26px; height: 26px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-emblem svg { width: 13px; height: 13px; fill: var(--gold); }
.footer-name { font-family: "Playfair Display", serif; font-size: 0.95rem; font-weight: 500; color: var(--navy); }
.footer-copy { font-size: 0.7rem; color: var(--text-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

.footer-links a {
  font-size: 0.7rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--navy); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; gap: 0.75rem; }
  .nav-sep, .nav-links, .nav-right { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-col { border-right: none; padding: 0; }
  .steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .wyg-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .wyg-block { padding: 0; }
  .wyg-block + .wyg-block { border-left: none; padding: 0; border-top: 1px solid var(--border-lt); padding-top: 2.5rem; }
  .pricing-grid { max-width: 360px; }
  .result-col-headers { display: none; }
  .result-row { grid-template-columns: 1fr auto; gap: 0.5rem; }
  .row-field:not(:first-child) { display: none; }
  .row-status-cell { display: flex; }
  .row-order-btn { opacity: 1; }
}

/* ─── CLOSING SEARCH (after Pricing) ─── */
.closing-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}
.closing-cta-inner { max-width: 640px; margin: 0 auto; }
.closing-cta .section-kicker { justify-content: center; }
.closing-cta .section-heading { margin-bottom: 1.75rem; }
.closing-cta-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-wrap: balance;
}
.closing-cta-hint span { white-space: nowrap; }
@media (max-width: 540px) {
  .closing-cta { padding: 3.5rem 1.25rem; }
  .closing-cta-hint { font-size: 0.8rem; }
}

/* Phones: the search box gets the full width and the Search button sits on
   its own row below it, full width, so the placeholder isn't cut off. */
@media (max-width: 480px) {
  .search-bar,
  .search-bar:focus-within {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .search-field {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15,30,46,0.06), 0 1px 3px rgba(15,30,46,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .search-field:focus-within {
    border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(44,74,104,0.1), 0 4px 12px rgba(15,30,46,0.06);
  }
  .search-btn {
    margin: 0;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 540px) {
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: 0.68rem; }
  .hero-inner { padding: 4rem 1.25rem; }
  .hiw-section, .wyg-inner, .pricing-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  footer { flex-direction: column; align-items: flex-start; }
}

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