/* Halo Reign — The Remnant Standard */
/* Origin-locked palette: warm coin gold, deep ink, cream */

:root {
  /* Light palette: warm cream field, deep ink text, gold accent */
  --ink: #faf6ec;         /* page background: warm cream */
  --ink-2: #f2ecdc;       /* card surfaces */
  --ink-3: #e8dfc8;       /* deeper surface / table head */
  --gold: #b8894a;        /* primary gold, works on light bg */
  --gold-hi: #a67528;     /* deep saturated gold for emphasis text on cream */
  --gold-lo: #d4a460;     /* light gold accent */
  --gold-soft: rgba(184, 137, 74, 0.10);
  --gold-line: rgba(184, 137, 74, 0.28);
  --cream: #1a1408;       /* primary text: near-black, warm */
  --cream-2: #4a3f2a;     /* body text, warm dark */
  --cream-3: #857a5f;     /* muted small text */
  --signal: #b83232;      /* alerts, red flags */

  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step-0: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  --step-4: clamp(2.75rem, 2rem + 3.5vw, 4.5rem);
  --step-5: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600;1,9..144,700&family=Inter:wght@300;400;500;600&display=swap');

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Grain overlay (subtle paper texture on light bg) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Faint background grid, like a chart plate */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(184, 137, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 137, 74, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--cream);
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

.italic { font-style: italic; }
.gold { color: var(--gold-hi); }
.mute { color: var(--cream-2); }
.small { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--cream-2); max-width: 62ch; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-hi); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.2rem 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-lockup .mark {
  width: 40px;
  height: 40px;
}

.brand-lockup .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-lockup .wordmark .halo { color: var(--gold-hi); }
.brand-lockup .wordmark .reign { color: var(--cream); }

nav.top-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.92rem;
}

nav.top-nav a {
  color: var(--cream-2);
  font-weight: 500;
}

nav.top-nav a:hover { color: var(--gold-hi); }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header responsive: switch to hamburger under 860px */
@media (max-width: 860px) {
  .site-header { padding: 0.85rem 0; }
  .site-header .container {
    gap: 1rem;
    flex-wrap: nowrap;
  }
  .brand-lockup .mark { width: 32px; height: 32px; }
  .brand-lockup .wordmark { font-size: 1.15rem; }

  .nav-toggle { display: flex; }

  nav.top-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 236, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.28s ease;
    box-shadow: 0 12px 40px rgba(60, 40, 10, 0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  nav.top-nav.open { transform: translateY(0); }
  nav.top-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--gold-line);
    font-size: 1.05rem;
    color: var(--cream);
  }
  nav.top-nav a:last-child {
    margin-top: 0.75rem;
    border-bottom: 0;
    align-self: flex-start;
  }
  body.nav-open { overflow: hidden; }
}

/* Halo Witness "how it works" 3-step */
.witness-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}
.witness-how .step {
  background: rgba(255, 253, 247, 0.6);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  position: relative;
}
.witness-how .step .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-hi);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.witness-how .step h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--cream);
}
.witness-how .step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cream-2);
}
@media (max-width: 800px) {
  .witness-how { grid-template-columns: 1fr; gap: 0.85rem; }
}

.call-intro { margin: 2.25rem 0 1rem; }
.call-intro-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-2);
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

/* "live demo" badge on the industry tile and footer link */
.industry-tile.live { position: relative; }
.industry-tile.live::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 165, 76, 0.2);
  animation: pulse-live 2.2s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(214, 165, 76, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(214, 165, 76, 0.05); }
}
.tile-tag,
.tag-live {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(214, 165, 76, 0.1);
  border: 1px solid rgba(214, 165, 76, 0.3);
  border-radius: 3px;
  vertical-align: middle;
}

/* "For:" tag on instrument cards */
.instrument .for-tag {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--cream-2);
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  background: rgba(214, 165, 76, 0.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.instrument .for-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-hi);
  margin-right: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-hi);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn:hover {
  background: var(--gold);
  color: #faf6ec;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184, 137, 74, 0.30);
}

.btn.primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-hi));
  color: #faf6ec;
  border-color: var(--gold);
  font-weight: 600;
}

.btn.primary:hover {
  background: var(--gold-hi);
  color: #faf6ec;
  box-shadow: 0 8px 32px rgba(184, 137, 74, 0.35);
}

.btn.ghost {
  border-color: var(--gold-line);
  color: var(--cream);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-ring-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translateY(-8%);
}

.hero-ring-stage .ring-svg {
  width: min(70vw, 520px);
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 60px rgba(230, 179, 74, 0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}

.hero .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 0.3s forwards;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordUp 0.9s var(--ease) forwards;
}

.hero .subhead {
  font-size: var(--step-1);
  color: var(--cream-2);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.2s forwards;
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.5s forwards;
}

@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Receipts ticker under hero */
.receipts {
  padding: 2rem 0 5rem;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: linear-gradient(180deg, transparent, rgba(184, 137, 74, 0.05));
  margin-top: 3rem;
}

.receipts .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (max-width: 720px) {
  .receipts .row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.receipts .stat .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--step-3);
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
  display: block;
}

.receipts .stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-top: 0.5rem;
  display: block;
}

/* Section base */
section {
  padding: 6rem 0;
  position: relative;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
  max-width: 24ch;
}

.section-lede {
  font-size: var(--step-1);
  color: var(--cream-2);
  max-width: 58ch;
  margin-bottom: 3rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* What we are */
.what-we-are {
  border-top: 1px solid var(--gold-line);
}

.what-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.what-list .item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.what-list .item:hover {
  background: var(--ink-3);
  transform: translateX(4px);
}

.what-list .item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.6rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(184, 137, 74, 0.4);
}

.what-list .item .body strong {
  color: var(--cream);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

/* Halo Witness case-file section */
.witness {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: radial-gradient(ellipse at top, rgba(184, 137, 74, 0.08), transparent 60%);
}

.witness .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 2rem;
  background: rgba(184, 137, 74, 0.08);
}

.case-file {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 900px) {
  .case-file { grid-template-columns: 1fr; }
}

.case-file .card {
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 20, 8, 0.06);
}

.case-file .card.shady {
  border-color: rgba(184, 50, 50, 0.35);
}

.case-file .card.shady::before {
  content: 'THEIR QUOTE';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--signal);
  opacity: 0.7;
}

.case-file .card.ours::before {
  content: 'OUR SECOND OPINION';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.9;
}

.case-file .card h4 {
  margin-bottom: 1.5rem;
  padding-right: 8rem;
}

.case-file .line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(26, 20, 8, 0.08);
  font-size: 0.95rem;
  color: var(--cream);
}

.case-file .line:last-child { border: none; }

.case-file .line .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.case-file .line .icon.x {
  background: rgba(184, 50, 50, 0.12);
  color: var(--signal);
  border: 1px solid var(--signal);
}

.case-file .line .icon.check {
  background: rgba(184, 137, 74, 0.15);
  color: var(--gold-hi);
  border: 1px solid var(--gold);
}

.case-file .total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
}

.case-file .total .amount {
  font-size: var(--step-2);
  font-weight: 600;
}

.case-file .card.shady .amount { color: var(--signal); }
.case-file .card.ours .amount { color: var(--gold-hi); }

.witness-price {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(184, 137, 74, 0.08);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
}

.witness-price .price {
  font-family: var(--serif);
}

.witness-price .price .amt {
  font-size: var(--step-2);
  color: var(--gold-hi);
  font-weight: 600;
}

.witness-price .price .lbl {
  color: var(--cream-3);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.witness-price .honest {
  color: var(--cream-2);
  font-size: 0.9rem;
  max-width: 40ch;
}

/* Four instruments */
.instruments {
  border-top: 1px solid var(--gold-line);
}

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

@media (max-width: 720px) {
  .instrument-grid { grid-template-columns: 1fr; }
}

.instrument {
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(26, 20, 8, 0.05);
}

.instrument:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 20, 8, 0.12), 0 0 40px rgba(184, 137, 74, 0.15);
}

.instrument .mini-ring {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  opacity: 0.25;
  transition: opacity 0.4s var(--ease);
}

.instrument:hover .mini-ring { opacity: 0.5; }

.instrument .idx {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.instrument h3 {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}

.instrument p {
  color: var(--cream-2);
  margin-bottom: 1.25rem;
}

.instrument .learn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
}

/* AI Receptionist demo */
.receptionist {
  border-top: 1px solid var(--gold-line);
  background: radial-gradient(ellipse at bottom, rgba(184, 137, 74, 0.06), transparent 60%);
}

.call-window {
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(26, 20, 8, 0.08);
}

.call-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink-3);
  color: var(--cream);
}

.call-header .caller {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.call-header .caller .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-hi);
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 12px var(--gold);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.call-header .duration {
  font-family: var(--serif);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.call-transcript {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 500px;
  overflow-y: auto;
}

.call-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  animation: lineIn 0.6s var(--ease) both;
}

.call-line[data-speaker="ai"] { flex-direction: row; }
.call-line[data-speaker="caller"] { flex-direction: row-reverse; }
.call-line[data-speaker="caller"] .bubble {
  background: rgba(26, 20, 8, 0.04);
  border-color: rgba(26, 20, 8, 0.10);
}

.call-line .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.call-line[data-speaker="ai"] .avatar {
  background: linear-gradient(180deg, var(--gold), var(--gold-hi));
  color: #faf6ec;
}

.call-line[data-speaker="caller"] .avatar {
  background: rgba(26, 20, 8, 0.08);
  color: var(--cream);
}

.call-line .bubble {
  background: rgba(184, 137, 74, 0.10);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 70%;
  font-size: 0.95rem;
  color: var(--cream);
}

.call-line .bubble .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  display: block;
}

.call-line[data-speaker="caller"] .bubble .label {
  color: var(--cream-3);
}

@keyframes lineIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.call-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--ink-3);
  color: var(--cream);
}

.waveform {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 24px;
  flex: 1;
  min-width: 120px;
}

.waveform .bar {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.waveform .bar:nth-child(1) { animation-delay: 0s; }
.waveform .bar:nth-child(2) { animation-delay: 0.1s; }
.waveform .bar:nth-child(3) { animation-delay: 0.2s; }
.waveform .bar:nth-child(4) { animation-delay: 0.3s; }
.waveform .bar:nth-child(5) { animation-delay: 0.4s; }
.waveform .bar:nth-child(6) { animation-delay: 0.5s; }
.waveform .bar:nth-child(7) { animation-delay: 0.6s; }
.waveform .bar:nth-child(8) { animation-delay: 0.4s; }
.waveform .bar:nth-child(9) { animation-delay: 0.3s; }
.waveform .bar:nth-child(10) { animation-delay: 0.2s; }
.waveform .bar:nth-child(11) { animation-delay: 0.1s; }
.waveform .bar:nth-child(12) { animation-delay: 0s; }

@keyframes wave {
  0%, 100% { height: 4px; opacity: 0.4; }
  50% { height: 24px; opacity: 1; }
}

.try-call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-hi));
  color: #faf6ec;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.try-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184, 137, 74, 0.4);
  color: #faf6ec;
}

.try-call .phone-num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}

/* Industries */
.industries {
  border-top: 1px solid var(--gold-line);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-tile {
  aspect-ratio: 1 / 1;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 20, 8, 0.04);
}

.industry-tile:hover {
  border-color: var(--gold);
  background: rgba(184, 137, 74, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 20, 8, 0.10);
}

.industry-tile::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(184, 137, 74, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.industry-tile:hover::after { opacity: 1; }

.industry-tile .icon {
  color: var(--gold);
  opacity: 0.8;
  font-size: 1.5rem;
}

.industry-tile .tile-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  opacity: 0.9;
  transition: all 0.3s var(--ease);
}

.industry-tile:hover .tile-icon {
  color: var(--gold-hi);
  opacity: 1;
  transform: scale(1.05);
}

.industry-tile .name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  font-size: 1rem;
}

.industry-tile .arrow {
  color: var(--gold);
  opacity: 0.4;
  transition: all 0.3s var(--ease);
}

.industry-tile:hover .arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Site generator preview */
.generator-preview {
  border-top: 1px solid var(--gold-line);
  background: radial-gradient(ellipse at center, rgba(184, 137, 74, 0.06), transparent 60%);
}

.gen-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

@media (max-width: 720px) {
  .gen-flow { grid-template-columns: 1fr; }
}

.gen-step {
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 2px 10px rgba(26, 20, 8, 0.04);
}

.gen-step .step-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.gen-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.gen-step p {
  font-size: 0.92rem;
  color: var(--cream-2);
}

.gen-form {
  margin-top: 3rem;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(26, 20, 8, 0.06);
}

.gen-form h3 {
  margin-bottom: 0.5rem;
}

.gen-form .form-lede {
  color: var(--cream-2);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-3);
}

.field input, .field textarea, .field select {
  background: #ffffff;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 80px; }

/* Compare honestly */
.compare {
  border-top: 1px solid var(--gold-line);
}

.compare-table {
  margin-top: 3rem;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 20, 8, 0.06);
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gold-line);
  align-items: center;
  font-size: 0.9rem;
  gap: 0.75rem;
}

.compare-row:last-child { border: none; }

.compare-row.head {
  background: var(--ink-3);
  font-family: var(--serif);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
}

.compare-row .feature {
  color: var(--cream);
  font-weight: 500;
}

.compare-row .cell {
  text-align: center;
}

.compare-row .cell.us {
  color: var(--gold-hi);
  font-weight: 600;
}

.compare-row .yes { color: var(--gold-hi); }
.compare-row .no { color: var(--cream-3); }

@media (max-width: 800px) {
  .compare-row {
    grid-template-columns: 1.5fr repeat(5, 1fr);
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
}

/* Final CTA */
.final-cta {
  border-top: 1px solid var(--gold-line);
  text-align: center;
  padding: 8rem 0;
  position: relative;
}

.final-cta .ring-behind {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.4;
  pointer-events: none;
}

.final-cta .ring-behind svg {
  width: min(60vw, 500px);
}

.final-cta .content { position: relative; z-index: 2; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--gold-line);
  padding: 4rem 0 2rem;
  background: var(--ink-3);
}

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

@media (max-width: 800px) { footer .row-1 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { footer .row-1 { grid-template-columns: 1fr; } }

footer .col-brand p {
  color: var(--cream-3);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 32ch;
}

footer .col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

footer .col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer .col ul a {
  color: var(--cream-2);
  font-size: 0.92rem;
}

footer .scripture {
  padding: 2.5rem 0;
  border-top: 1px solid var(--gold-line);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-2);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}

footer .scripture cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--cream-3);
  text-transform: uppercase;
}

footer .legal {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--cream-3);
}

footer .legal .addr {
  font-family: var(--serif);
  font-style: italic;
}

/* Anchor logo pinned during scroll */
.pinned-ring {
  position: fixed;
  top: 80px;
  right: 24px;
  width: 60px;
  height: 60px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.pinned-ring.show { opacity: 0.6; }

/* Utility */
.spacer-lg { height: 4rem; }
.spacer-sm { height: 2rem; }

/* Subtle admin corner link (bottom-right of homepage) */
.admin-corner-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(254, 250, 241, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 22, 19, 0.08);
  border-radius: 999px;
  color: rgba(26, 22, 19, 0.55);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: all 0.2s ease;
  z-index: 100;
}
.admin-corner-link svg {
  width: 14px;
  height: 14px;
}
.admin-corner-link:hover {
  color: #a67528;
  border-color: rgba(166, 117, 40, 0.3);
  background: rgba(254, 250, 241, 1);
}
@media (max-width: 640px) {
  .admin-corner-link {
    bottom: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 11px;
  }
}
