/* Land Lawyers – shared design system
   Theme: black + tan gold. Cinzel for display headings, Montserrat for everything else. */

:root {
  --bg: #000000;
  --surface: #0b0b0c;
  --surface-2: #121214;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --gold: #d2b48c;
  --gold-light: #e4cba6;
  --gold-dark: #b8956a;
  --gold-soft: rgba(210, 180, 140, 0.12);
  --text: #f5f5f4;
  --muted: #a8a29e;
  --subtle: #78716c;
  --grey: #8b949e;
  --radius: 20px;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
html body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--gold); color: #000; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }
.wrap-narrow { max-width: 880px; }

.section { position: relative; padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-tight { padding-block: 56px; }
@media (min-width: 768px) { .section-tight { padding-block: 72px; } }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }
.section-head .lead { margin-inline: auto; }

.glow-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(210, 180, 140, 0.10), transparent 70%);
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  margin: 0;
}
.h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); line-height: 1.12; }
.h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.18; }
.h3 { font-size: 1.25rem; line-height: 1.35; }
@media (min-width: 768px) { .h3 { font-size: 1.375rem; } }
.text-gold { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.center::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.7; }

.lead { font-size: 1.0625rem; line-height: 1.75; color: var(--muted); max-width: 40rem; margin: 0; }
@media (min-width: 768px) { .lead { font-size: 1.1875rem; } }
.body-muted { color: var(--muted); line-height: 1.7; margin: 0; }

.divider { width: 64px; height: 3px; border-radius: 99px; background: var(--gold); margin: 24px auto 0; }
.divider.left { margin-left: 0; }

/* ---------- Icons ---------- */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-tile {
  width: 56px; height: 56px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(210, 180, 140, 0.22);
  transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.icon-tile.lg { width: 68px; height: 68px; border-radius: 18px; }
.icon-tile.sm { width: 44px; height: 44px; border-radius: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 12px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .nav-link:focus-visible, .text-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: #0a0a0a; box-shadow: 0 10px 30px -10px rgba(210, 180, 140, 0.55); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: rgba(255, 255, 255, 0.03); color: var(--gold); border-color: rgba(210, 180, 140, 0.45); }
.btn-outline:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-light); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; border-radius: 10px; }
@media (max-width: 639px) { .btn-stack .btn { width: 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; transition: color .2s ease; padding: 10px 0; min-height: 44px;
}
.text-link svg { transition: transform .2s ease; }
.text-link:hover { color: var(--gold-light); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .3s ease, transform .3s ease, background-color .3s ease;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card-hover:hover { border-color: rgba(210, 180, 140, 0.35); transform: translateY(-4px); }
.card-hover:hover .icon-tile { background: var(--gold); color: #0a0a0a; }
.card .h3 { margin-top: 20px; }
.card p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }

.panel {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 180, 140, 0.5), transparent);
}

.glass {
  background: rgba(20, 20, 22, 0.55);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
}

/* ---------- Check list ---------- */
.check { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; line-height: 1.5; }
.check-dot {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: -1px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 99px; background: var(--gold-soft); color: var(--gold);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--gold); color: #111;
  font-size: 13px; font-weight: 500; line-height: 1.4;
  text-align: center; padding: 9px 16px;
}
.topbar strong { font-weight: 700; letter-spacing: 0.08em; margin-right: 4px; }

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-nav .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); background: #0d0d0f; border: 1px solid rgba(210, 180, 140, 0.3);
  transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: 0.04em; white-space: nowrap; }
.brand-sub { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.nav-links { display: none; align-items: center; gap: 36px; }
.nav-link {
  position: relative; padding: 6px 0;
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--text); font-weight: 600; }

.nav-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); cursor: pointer;
}
.menu-btn .when-open { display: none; }
.site-nav.open .menu-btn .when-open { display: block; }
.site-nav.open .menu-btn .when-closed { display: none; }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 0 20px; }
.site-nav.open .mobile-menu { display: block; }
.mobile-menu a.m-link {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-weight: 500; text-decoration: none;
}
.mobile-menu a.m-link.active { color: var(--gold); font-weight: 600; }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn, .site-nav.open .mobile-menu { display: none; }
}
@media (max-width: 380px) { .brand-name { font-size: 17px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 72px 0 8px; text-align: center; }
@media (min-width: 768px) { .page-hero { padding: 104px 0 16px; } }
.page-hero .lead { margin: 20px auto 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #050505; border-top: 1px solid var(--line); padding: 72px 0 32px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 180, 140, 0.6), transparent);
}
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr 1.2fr; gap: 40px; } }
.footer-title { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.footer-about { color: var(--muted); line-height: 1.7; margin: 20px 0 24px; max-width: 22rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 500; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold); }
.contact-row { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.contact-row + .contact-row { margin-top: 16px; }
.contact-row .label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.contact-row .value { display: block; font-weight: 600; color: var(--text); white-space: nowrap; }
.contact-row:hover .icon-tile { background: var(--gold); color: #0a0a0a; }
.socials { display: flex; gap: 12px; }
.social {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social:hover { background: var(--gold); color: #0a0a0a; transform: translateY(-2px); }
.field {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--font-body); font-size: 15px; transition: border-color .2s ease, background-color .2s ease;
}
textarea.field { padding: 14px 18px; min-height: 140px; resize: vertical; line-height: 1.6; }
.field::placeholder { color: var(--subtle); }
.field:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--subtle); text-align: center;
}
.footer-bottom a { color: var(--subtle); text-decoration: none; transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 640px; }
@media (min-width: 1024px) { .hero { min-height: min(760px, calc(100vh - 110px)); } }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 45%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(0deg, #000 0%, transparent 30%);
}
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--gold); }

.report-card { position: relative; border-radius: 28px; padding: 32px; width: 100%; max-width: 420px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.report-card .corner {
  position: absolute; top: -18px; right: -18px; width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: #0a0a0a; transform: rotate(10deg); transition: transform .5s ease;
  box-shadow: 0 16px 30px -10px rgba(210, 180, 140, 0.6);
}
.report-card:hover .corner { transform: rotate(0deg); }
.score-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.score-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(210, 180, 140, 0.3);
}

/* ---------- Callout ---------- */
.callout {
  border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.04); padding: 20px 24px;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; color: var(--text);
}

/* ---------- Image band ---------- */
.image-band { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.image-band .band-bg { position: absolute; inset: 0; }
.image-band .band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.image-band .band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 100%); }

.seal {
  position: relative; width: 280px; height: 280px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 10px solid rgba(210, 180, 140, 0.1);
  background: rgba(10, 10, 12, 0.7); box-shadow: 0 30px 80px -20px rgba(210, 180, 140, 0.25);
}
@media (min-width: 768px) { .seal { width: 320px; height: 320px; } }
.seal::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(210, 180, 140, 0.35); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Safety score ---------- */
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .score-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.score-tile {
  position: relative; overflow: hidden; text-align: center;
  padding: 28px 16px 24px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color .3s ease, background-color .3s ease;
}
.score-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--tone); }
.score-tile:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }
.score-range { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1; color: var(--text); white-space: nowrap; }
.score-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tone); white-space: nowrap; }
.score-icon {
  margin-top: 6px; width: 40px; height: 40px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
}
.tone-safe { --tone: #d2b48c; }
.tone-low { --tone: #c9b48f; }
.tone-medium { --tone: #9ca3af; }
.tone-high { --tone: #6b7280; }

/* ---------- Trust + steps ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.trust-item .icon-round {
  width: 60px; height: 60px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  color: #0a0a0a; background: var(--gold); box-shadow: 0 12px 28px -12px rgba(210, 180, 140, 0.7);
}
.trust-item span { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }

.steps { position: relative; display: grid; gap: 28px; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps::before { content: ""; position: absolute; top: 24px; left: 16.66%; right: 16.66%; height: 1px; background: linear-gradient(90deg, rgba(210,180,140,.5), rgba(210,180,140,.15), rgba(210,180,140,.5)); }
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step-num {
  width: 48px; height: 48px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: #0a0a0a; background: var(--gold); box-shadow: 0 0 0 6px var(--surface);
}
.step span { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--text); }

.step-card { text-align: center; padding-top: 52px !important; }
.step-card .step-badge {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: #0a0a0a; background: var(--gold); box-shadow: 0 0 0 6px #000;
}

/* ---------- Partner block ---------- */
.partner { position: relative; overflow: hidden; }
.partner .partner-bg { position: absolute; inset: 0; }
.partner .partner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.partner .partner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.7), rgba(5,5,5,.92)); }

/* ---------- Stats ---------- */
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--gold); }
.stat-label { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 32px 24px; }
@media (min-width: 768px) { .legal { padding: 56px; } }
.legal .meta { font-size: 14px; color: var(--subtle); margin: 12px 0 0; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold); margin: 40px 0 12px; line-height: 1.35; }
.legal p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin: 0 0 16px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; }
.reveal-d2 { transition-delay: .2s !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seal::before { animation: none; }
}

/* ---------- Risk rows (home) ---------- */
.risk-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; }
.risk-card .h3 { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 639px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; gap: 8px; }
  .eyebrow::before, .eyebrow.center::after { width: 16px; }
  .topbar { font-size: 12px; }
}

/* =====================================================================
   Features added in 2.0: pricing, request wizard, tracking, tools, admin
   ===================================================================== */

/* Wider nav: 7 links need more room, so the desktop menu starts at 1200px. */
.nav-links { gap: 26px; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-nav.open .mobile-menu { display: block; }
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.3fr; } }
.footer-note { margin: 28px 0 0; font-size: 12px; line-height: 1.6; color: var(--subtle); max-width: 60rem; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Forms ---------- */
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d2b48c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.field option { background: #111; color: #f5f5f4; }
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.hint { margin-top: 6px; font-size: 13px; color: var(--subtle); }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.alert-error { color: #fca5a5; background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.35); }
.alert-ok { color: #e4cba6; background: var(--gold-soft); border-color: rgba(210, 180, 140, 0.4); }
.alert-info { color: var(--muted); background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); }
[hidden] { display: none !important; }

/* Choice cards (radio buttons styled as cards) */
.choices { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .choices.two { grid-template-columns: 1fr 1fr; } .choices.three { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box {
  display: block; height: 100%; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong);
  transition: border-color .2s ease, background-color .2s ease;
}
.choice .box strong { display: block; font-weight: 600; color: var(--text); }
.choice .box small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.choice:hover .box { border-color: rgba(210, 180, 140, 0.5); }
.choice input:checked + .box { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }

.checkline { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; line-height: 1.5; color: var(--text); font-size: 15px; }
.checkline:last-child { border-bottom: 0; }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: #d2b48c; flex-shrink: 0; }
.checkline.done span { color: var(--subtle); text-decoration: line-through; }

/* ---------- Wizard ---------- */
.wizard-steps { display: flex; gap: 8px; margin-bottom: 32px; }
.wizard-steps li { flex: 1; list-style: none; }
.wizard-steps .bar-seg { display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.wizard-steps .seg-label { display: none; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }
@media (min-width: 640px) { .wizard-steps .seg-label { display: block; } }
.wizard-steps li.on .bar-seg { background: var(--gold); }
.wizard-steps li.on .seg-label { color: var(--gold); }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; height: 100%; }
.price-card.popular { border-color: rgba(210, 180, 140, 0.6); background: linear-gradient(180deg, rgba(210, 180, 140, 0.10), rgba(255, 255, 255, 0.015)); }
.price-card .badge-top { position: absolute; top: -12px; left: 28px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--text); }
.price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.price-card .btn { width: 100%; }
.pill.solid { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  min-height: 44px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: #0a0a0a; background: var(--gold); border-color: var(--gold); }

/* ---------- Result rows / tables ---------- */
.rows { display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows > div span:first-child { color: var(--muted); }
.rows > div span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rows > div.total { border-bottom: 0; padding-top: 18px; font-size: 17px; }
.rows > div.total span:first-child { color: var(--text); font-weight: 600; }
.rows > div.total span:last-child { color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
table.data th { text-align: left; padding: 14px 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.clickable { cursor: pointer; }
table.data tr.clickable:hover td { background: rgba(255, 255, 255, 0.03); }

/* ---------- Timeline (tracking) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 44px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0d0d0f; border: 2px solid var(--line-strong); color: transparent;
}
.timeline .t-title { font-weight: 600; color: var(--subtle); line-height: 1.4; padding-top: 3px; }
.timeline .t-note { margin-top: 4px; font-size: 14px; color: var(--subtle); line-height: 1.5; }
.timeline .t-date { margin-top: 4px; font-size: 12px; color: var(--gold); }
.timeline li.done .dot { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.timeline li.done::before { background: var(--gold); }
.timeline li.done .t-title, .timeline li.now .t-title { color: var(--text); }
.timeline li.now .dot { border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.timeline li.now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 99px; background: var(--gold); }
.timeline li.now .t-note { color: var(--muted); }

/* ---------- Guide / FAQ ---------- */
.guide-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.guide-card .h3 { margin-top: 10px; }
.guide-card .fix { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.guide-card .fix b { color: var(--gold); font-weight: 600; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--text);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--gold); transition: transform .2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 0 0 20px; color: var(--muted); line-height: 1.75; max-width: 48rem; }
.glossary { display: grid; gap: 0 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .glossary { grid-template-columns: 1fr 1fr; } }
.glossary div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 600; color: var(--gold); }
.glossary dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.portal { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.portal:last-child { border-bottom: 0; }
.portal .p-name { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.portal .p-what { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.portal .p-url { margin-top: 4px; font-size: 12px; color: var(--gold); word-break: break-all; }
.portal:hover .p-name { color: var(--gold); }
.portal .num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--gold); background: var(--gold-soft); }

/* ---------- Report preview ---------- */
.report-sheet { background: #0b0b0c; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; }
.report-sheet .r-head { padding: 28px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.report-sheet .r-body { padding: 28px; }
.status-ok, .status-warn, .status-bad { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.status-ok { color: #d2b48c; } .status-warn { color: #e5c07b; } .status-bad { color: #f87171; }
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 128px; height: 128px; border-radius: 99px; border: 3px double var(--gold); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.3; letter-spacing: 0.08em; transform: rotate(-8deg);
}

/* ---------- Admin ---------- */
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.kpi .k-val { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--gold); }
.kpi .k-lab { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stage-chip { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--gold); background: var(--gold-soft); }
.stage-chip.delivered { color: #0a0a0a; background: var(--gold); }

/* Report tables stack into cards on phones */
@media (max-width: 639px) {
  .table-wrap.stack { border: 0; overflow: visible; }
  .table-wrap.stack table.data { min-width: 0; }
  .table-wrap.stack thead { display: none; }
  .table-wrap.stack tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); }
  .table-wrap.stack td { display: block; padding: 0; border: 0 !important; }
  .table-wrap.stack td:nth-child(1) { grid-column: 1; }
  .table-wrap.stack td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .table-wrap.stack td:nth-child(2) { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; }
  .table-wrap.stack td[colspan] { grid-column: 1 / -1; }
}

/* ---------- Print (report download) ---------- */
@media print {
  @page { margin: 14mm; }
  html body { background: #fff !important; color: #111 !important; }
  .topbar, .site-nav, .site-footer, .wa-float, .no-print, .page-hero, .text-center.mb-10 { display: none !important; }
  .panel, .report-sheet, .card { background: #fff !important; border-color: #ccc !important; box-shadow: none !important; }
  .panel::before, .glow-bg::before { display: none !important; }
  .h1, .h2, .h3, .font-display, .font-semibold, table.data td { color: #111 !important; }
  .text-muted, .body-muted, .hint, .field-label, .rows > div span:first-child, table.data th { color: #555 !important; }
  .text-gold, .stamp, .status-ok { color: #8a6a3d !important; border-color: #8a6a3d !important; }
  .pill { color: #8a6a3d !important; background: #fff !important; border-color: #8a6a3d !important; }
  .check-dot { background: #f1e8da !important; color: #8a6a3d !important; }
  #result { margin-top: 0 !important; }
  .status-warn { color: #a16207 !important; }
  .status-bad { color: #b91c1c !important; }
  table.data { min-width: 0 !important; }
  .table-wrap { overflow: visible !important; }
  .section { padding: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
