/* ============================================================
   Seneca — marketing site
   Brand: marble & ink, laurel + gold accents. Editorial, restrained.
   ============================================================ */

:root {
  --ink: #181B20;
  --marble: #F5F4F1;
  --steel: #6A7280;
  --laurel: #3F6250;
  --gold: #BFA14F;
  --oxblood: #7C3434;
  --surface-1: #EEECE4;
  --surface-2: #E7E4DB;
  --white: #FFFFFF;
  --border-soft: #DEDCD5;
  --border-mid: #CDC9BE;
  --oxblood-deep: #401E1E;
  --laurel-deep: #2E4A3A;

  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --radius-ctrl: 5px;
  --radius-card: 12px;

  --container: 72rem;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--marble);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container.narrow { max-width: 50rem; }

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

.mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: 0; }

.desktop-br { display: none; }
@media (min-width: 900px) { .desktop-br { display: inline; } }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; font-weight: 400; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  max-width: 26em;
}

h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 600; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
  flex: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--marble); }
.btn-primary:hover { background: #2A2E35; border-color: #2A2E35; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost {
  background: transparent; color: var(--laurel);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-mid);
}
.btn-ghost:hover { text-decoration-color: var(--laurel); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  translate: 0 1px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
}
.site-nav a:not(.btn):hover { color: var(--laurel); }

/* Audience door. Separated from the section anchors so it reads as a
   switch to a different product, not another jump link. */
.nav-door {
  position: relative;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--laurel);
  text-underline-offset: 4px;
}
.nav-door:hover { color: var(--laurel); }

@media (min-width: 800px) {
  .nav-door { margin-left: 0.6rem; padding-left: 1.1rem; }
  .nav-door::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1rem;
    width: 1px;
    background: var(--border-mid);
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-ctrl);
  cursor: pointer;
}
.nav-toggle-bar { display: block; height: 1.5px; background: var(--ink); }

@media (min-width: 800px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav open state */
@media (max-width: 799.98px) {
  .site-nav.is-open {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: var(--marble);
    border-bottom: 1px solid var(--border-soft);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open a { padding: 0.55rem 0; font-size: 1.05rem; }
  .site-nav.is-open .btn { margin-top: 0.5rem; }
}

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

.hero { padding: 4.5rem 0 5rem; position: relative; overflow: hidden; }
.hero-arcs {
  position: absolute;
  top: -1rem;
  right: -6rem;
  width: min(34rem, 60vw);
  height: auto;
  opacity: 0.28;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .eyebrow { justify-content: flex-start; }
.hero h1 { max-width: 17em; }
.hero-sub {
  margin-top: 1.4rem;
  max-width: 38em;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--steel);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

/* ---------- Product screenshots (coded mockups) ---------- */

.shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(24, 27, 32, 0.05), 0 16px 40px -20px rgba(24, 27, 32, 0.18);
}
.shot-hero { margin-top: 3.5rem; }
.shot-note {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-align: right;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.9rem;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-soft);
}
.shot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
}
.shot-title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--steel);
}

/* App layout inside the hero shot */
.app { display: flex; min-height: 22rem; }
.app-side {
  display: none;
  flex: 0 0 10.5rem;
  border-right: 1px solid var(--border-soft);
  background: #FBFAF8;
  padding: 1rem 0;
}
@media (min-width: 720px) { .app-side { display: block; } }
.app-side-logo { padding: 0.25rem 1.1rem 0.9rem; border-bottom: 1px solid var(--border-soft); }
.app-nav {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--steel);
}
.app-nav li { padding: 0.42rem 1.1rem; }
.app-nav li.is-active {
  color: var(--ink);
  background: var(--surface-2);
  border-right: 2px solid var(--gold);
}

.app-main { flex: 1; min-width: 0; padding: 1.1rem 1.1rem 1.25rem; }
.app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 1rem;
}
.app-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.app-meta { font-size: 0.8rem; color: var(--steel); }

/* Kanban board */
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(11.5rem, 1fr));
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.col-head {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  padding: 0 0.15rem 0.5rem;
  border-bottom: 1px solid var(--border-soft);
  margin: 0 0 0.65rem;
}
.card-deal {
  background: var(--marble);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
}
.deal-brand { font-size: 0.875rem; font-weight: 600; }
.deal-type { font-size: 0.78rem; color: var(--steel); margin-top: 1px; }
.deal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}
.deal-note { color: var(--steel); font-size: 0.72rem; }
.deal-note.laurel { color: var(--laurel); }
.deal-note.gold { color: #99803A; }
.deal-note.oxblood { color: var(--oxblood); }

/* Generic pane (feature shots) */
.pane { background: var(--white); }
.pane-pad { padding: 1.25rem 1.25rem 1.4rem; }

/* Inbox / invoice rows */
.row-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-soft);
}
.row-mail:last-child { border-bottom: none; }
.row-mail.is-muted .row-from, .row-mail.is-muted .row-subj { color: var(--steel); }
.row-main { min-width: 0; }
.row-from { font-size: 0.82rem; font-weight: 600; }
.row-subj {
  font-size: 0.85rem; color: #3A3F47;
  margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-subj em { font-style: normal; color: var(--laurel); }
.row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex: none;
}
.row-val { font-size: 0.78rem; color: var(--steel); }
.row-alert { background: #FBF7F5; }

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.chip-laurel { color: var(--laurel); background: #EDF1EE; border-color: #D3DDD6; }
.chip-steel { color: var(--steel); background: var(--surface-1); border-color: var(--border-soft); }
.chip-oxblood { color: var(--oxblood); background: #F5ECEC; border-color: #E3D2D2; }

/* Draft reply */
.draft-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel);
  line-height: 1.6;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0.95rem;
}
.draft-body { font-size: 0.9rem; line-height: 1.6; color: #2C3037; }
.draft-body p + p { margin-top: 0.7rem; }
.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.btn-mock {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--border-mid);
  color: var(--ink);
  background: var(--white);
}
.btn-mock-primary { background: var(--ink); border-color: var(--ink); color: var(--marble); }
.draft-note {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--steel);
}

/* Contract review */
.doc-head {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-bottom: 0.7rem;
}
.doc-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #2C3037;
  max-width: 42em;
}
mark.flag {
  background: #F3E7E7;
  color: var(--oxblood);
  padding: 0.05em 0.15em;
  border-bottom: 2px solid var(--oxblood);
}
.flag-panel {
  margin-top: 1.1rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--marble);
  padding: 0.9rem 1rem 1rem;
}
.flag-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.7rem;
}
.flag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--oxblood);
  flex: none;
}
.flag-item + .flag-item { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border-soft); }
.flag-name { font-size: 0.85rem; font-weight: 600; }
.flag-why { font-size: 0.82rem; color: var(--steel); margin-top: 2px; }

/* Rate benchmarking */
.rate-label { font-size: 0.85rem; color: var(--steel); }
.rate-figure {
  font-size: 1.6rem;
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
}
.rate-verdict {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--oxblood);
}
.rate-bar {
  position: relative;
  height: 10px;
  margin-top: 1.4rem;
  background: var(--surface-2);
  border-radius: 999px;
}
.rate-range {
  position: absolute;
  left: 30%; right: 15%;
  top: 0; bottom: 0;
  background: #C9D5CE;
  border-radius: 999px;
}
.rate-median {
  position: absolute;
  left: 55%;
  top: -3px; bottom: -3px;
  width: 2px;
  background: var(--laurel);
}
.rate-marker {
  position: absolute;
  left: 15%;
  top: 50%;
  translate: -50% -50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--oxblood);
}
.rate-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--steel);
  margin-top: 0.5rem;
}
.rate-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--steel);
  border-top: 1px solid var(--border-soft);
  padding-top: 0.85rem;
}

/* Calendar */
.cal {
  display: grid;
  grid-template-columns: repeat(5, minmax(6.5rem, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow-x: auto;
}
.cal-day { background: var(--white); padding: 0.6rem 0.55rem 0.75rem; min-height: 7.5rem; }
.cal-date { font-size: 0.68rem; color: var(--steel); margin-bottom: 0.5rem; }
.cal-ev {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.3rem 0.45rem;
  border-radius: 4px;
  background: var(--surface-1);
  border-left: 2px solid var(--border-mid);
  margin-bottom: 0.35rem;
}
.cal-block { background: #EDF1EE; border-left-color: var(--laurel); color: #35513F; }
.cal-conflict { background: #F5ECEC; border-left-color: var(--oxblood); color: var(--oxblood); }
.cal-note {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #3A3F47;
}
.cal-note .flag-dot { translate: 0 -1px; }

/* Media kit */
.kit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1rem;
}
.kit-name { font-family: var(--font-display); font-size: 1.2rem; }
.kit-tag { font-size: 0.78rem; color: var(--steel); }
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 540px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }
.kit-stat {
  background: var(--marble);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}
.kit-num { font-size: 1.25rem; }
.kit-label { font-size: 0.72rem; color: var(--steel); margin-top: 1px; }
.kit-note {
  margin-top: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel);
}

/* ---------- Problem (oxblood) ---------- */

.problem {
  padding: 5.5rem 0;
  background: var(--oxblood-deep);
  color: var(--marble);
}
.problem .eyebrow { color: #C4A6A6; }
.problem h2 { color: var(--marble); }
.problem-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.problem-list li {
  display: flex;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 244, 241, 0.18);
}
.problem-num {
  flex: none;
  width: 2.25rem;
  font-size: 1.05rem;
  color: var(--gold);
}
.problem-list h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.problem-list p { margin-top: 0.5rem; color: #C9B4B4; max-width: 34em; }
.problem-close-row {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 244, 241, 0.18);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.problem-close {
  font-size: 1.125rem;
  max-width: 36em;
}
.coins {
  display: none;
  flex: none;
  width: 8.5rem;
  color: #B08585;
}
@media (min-width: 720px) { .coins { display: block; } }

/* ---------- How it works ---------- */

.how { padding: 5.5rem 0; }
.steps {
  margin-top: 3rem;
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { border-top: 2px solid var(--ink); padding-top: 1.25rem; position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 2.5rem; height: 2px;
  background: var(--gold);
}
.step-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--laurel);
  margin-bottom: 0.9rem;
}
.step-num { font-size: 0.9rem; color: var(--gold); letter-spacing: 0.15em; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-top: 0.6rem; }
.step p { margin-top: 0.65rem; color: var(--steel); }

/* ---------- Features ---------- */

.features { padding: 5.5rem 0 2rem; background: var(--surface-1); border-top: 1px solid var(--border-soft); }
.feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 3.25rem 1.25rem;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 4rem; padding-block: 4rem; }
  .feature-flip .feature-text { order: 2; }
  .feature-flip .shot { order: 1; }
}
.feature + .feature { border-top: 1px solid var(--border-mid); }
.feature { position: relative; }
.feature::before {
  content: attr(data-num);
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(24, 27, 32, 0.05);
  pointer-events: none;
}
.feature-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.feature-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}
.accent-laurel .feature-kicker { color: var(--laurel); }
.accent-gold .feature-kicker { color: #99803A; }
.accent-oxblood .feature-kicker { color: var(--oxblood); }
.accent-laurel .shot-bar { box-shadow: inset 0 3px 0 var(--laurel); }
.accent-gold .shot-bar { box-shadow: inset 0 3px 0 var(--gold); }
.accent-oxblood .shot-bar { box-shadow: inset 0 3px 0 var(--oxblood); }
.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.22;
  margin-top: 0.8rem;
}
.feature-text p:not(.feature-kicker) { margin-top: 0.9rem; color: var(--steel); max-width: 32em; }

/* ---------- Trust (laurel) ---------- */

.trust {
  padding: 5.5rem 0;
  background: var(--laurel-deep);
  color: var(--marble);
}
.trust .eyebrow { color: #A8C0B0; }
.trust h2 { color: var(--marble); }
.wreath {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.trust-intro { margin-top: 1.25rem; color: #BCCFC2; max-width: 38em; }
.trust-grid {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.trust-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.6rem 1.75rem;
  color: var(--ink);
}
.trust-item h3 {
  font-size: 1.05rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.trust-item h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 2rem; height: 2px;
  background: var(--laurel);
}
.trust-item p { margin-top: 0.85rem; font-size: 0.95rem; color: var(--steel); }

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

.pricing { padding: 5.5rem 0; background: var(--surface-1); border-block: 1px solid var(--border-soft); }
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.medallion {
  display: none;
  flex: none;
  width: 8rem;
  height: 8rem;
  color: var(--ink);
  opacity: 0.85;
}
@media (min-width: 800px) { .medallion { display: block; } }
.pricing-sub { margin-top: 1.1rem; color: var(--steel); max-width: 34em; }
.price-grid {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
}
@media (min-width: 720px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--marble);
  position: relative;
  overflow: hidden;
}
.price-card-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.price-card-featured .price-desc,
.price-card-featured .price-period { color: #A9AFB8; }
.price-card-featured .price-amount { color: var(--gold); }
.price-card-featured .price-list { border-top-color: #3A3F47; }
.price-card-featured .price-list li::before { color: var(--gold); }
.price-card-featured .btn-primary {
  background: var(--marble);
  color: var(--ink);
  border-color: var(--marble);
}
.price-card-featured .btn-primary:hover { background: var(--white); border-color: var(--white); }
.price-flag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.price-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.price-figure { margin-top: 0.9rem; }
.price-amount { font-size: 2.4rem; line-height: 1; }
.price-period { color: var(--steel); font-size: 0.95rem; margin-left: 0.25rem; }
.price-desc { margin-top: 0.75rem; color: var(--steel); font-size: 0.95rem; }
.price-list {
  list-style: none;
  margin: 1.4rem 0 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border-soft);
  flex: 1;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.price-list li { display: flex; gap: 0.6rem; }
.price-list li::before { content: "·"; color: var(--laurel); font-weight: 700; }

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

.faq { padding: 5.5rem 0; }
.colonnade {
  width: 4rem;
  height: auto;
  color: var(--ink);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--border-mid); }
.faq-list details { border-bottom: 1px solid var(--border-mid); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--gold);
  flex: none;
  font-size: 1.1rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--laurel); }
.faq-list details p {
  padding: 0 0 1.4rem;
  color: var(--steel);
  max-width: 42em;
}

/* ---------- Final CTA ---------- */

.join {
  padding: 6rem 0;
  background: var(--ink);
  color: var(--marble);
  border-top: 4px solid var(--gold);
}
.join-inner { text-align: center; }
.join-mark { width: 34px; height: 34px; color: var(--marble); margin-bottom: 1.5rem; }
.join h2 { margin-inline: auto; color: var(--marble); }
.join p { margin: 1.1rem auto 0; max-width: 32em; color: #A9AFB8; }
.join-form {
  margin: 2.25rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 26rem;
}
@media (min-width: 540px) { .join-form { flex-direction: row; } }
.join-form input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid #3A3F47;
  background: #22262C;
  color: var(--marble);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.join-form input::placeholder { color: #6A7280; }
.join-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.join-form .btn-primary {
  background: var(--marble);
  color: var(--ink);
  border-color: var(--marble);
}
.join-form .btn-primary:hover { background: var(--white); border-color: var(--white); }
.join-confirm { color: #9DBBA9 !important; font-weight: 500; }
.join-fine {
  margin-top: 1.5rem !important;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #6A7280 !important;
}

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

.site-footer {
  background: var(--ink);
  color: #A9AFB8;
  border-top: 1px solid #2A2E35;
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.logo-footer { color: var(--marble); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: #A9AFB8; text-decoration: none; font-size: 0.875rem; }
.footer-nav a:hover { color: var(--marble); }
.footer-note { font-size: 0.8rem; color: #6A7280; }

/* ---------- Section headings shared spacing ---------- */

.features > .container:first-child h2,
.pricing h2, .trust h2, .faq h2, .how h2, .problem h2 { margin-top: 0; }

/* ============================================================
   Atmosphere & motion layer
   Grain, layered light, load choreography, micro-interactions.
   ============================================================ */

:root {
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

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

/* ---------- Typography with more nerve ---------- */

h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); line-height: 1.08; }

.hl {
  background: linear-gradient(transparent 58%, rgba(191, 161, 79, 0.38) 58%, rgba(191, 161, 79, 0.38) 90%, transparent 90%);
  padding-inline: 0.04em;
}

.problem-close::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.78;
  padding: 0.06em 0.14em 0 0;
  color: var(--gold);
}

/* ---------- Layered backgrounds ---------- */

.hero {
  background-image:
    var(--noise),
    radial-gradient(56rem 30rem at 88% -6rem, rgba(191, 161, 79, 0.14), transparent 65%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(63, 98, 80, 0.08), transparent 60%);
}

.problem {
  background-color: var(--oxblood-deep);
  background-image:
    var(--noise),
    repeating-linear-gradient(90deg, rgba(245, 244, 241, 0.022) 0 1px, transparent 1px 24px),
    radial-gradient(70rem 40rem at 50% -12rem, rgba(124, 52, 52, 0.55), transparent 70%);
}

.features {
  background-image:
    var(--noise),
    linear-gradient(var(--surface-1), var(--surface-1));
}

.trust {
  background-color: var(--laurel-deep);
  background-image:
    var(--noise),
    radial-gradient(circle at 88% 12rem, transparent 0 17.9rem, rgba(245, 244, 241, 0.06) 18rem 18.1rem, transparent 18.2rem),
    radial-gradient(circle at 88% 12rem, transparent 0 13.9rem, rgba(245, 244, 241, 0.05) 14rem 14.1rem, transparent 14.2rem),
    radial-gradient(60rem 36rem at 50% -10rem, rgba(63, 98, 80, 0.55), transparent 70%);
}

.pricing {
  background-image:
    var(--noise),
    radial-gradient(30rem 24rem at 85% 8rem, rgba(191, 161, 79, 0.12), transparent 65%);
  background-color: var(--surface-1);
}

.join {
  background-image:
    var(--noise),
    radial-gradient(46rem 24rem at 50% -6rem, rgba(191, 161, 79, 0.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(245, 244, 241, 0.035) 0 10px, transparent 10px 64px);
  background-size: auto, auto, 100% 5.5rem;
  background-position: 0 0, 0 0, 0 100%;
  background-repeat: repeat, no-repeat, no-repeat;
}

/* ---------- Load choreography (hero) ---------- */

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

.hero .eyebrow      { animation: rise 0.7s 0.05s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero h1            { animation: rise 0.7s 0.14s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero .hero-sub     { animation: rise 0.7s 0.26s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero .hero-actions { animation: rise 0.7s 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero .shot-hero    { animation: rise 0.9s 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero .shot-note    { animation: rise 0.9s 0.66s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-arcs          { animation: rise 1.2s 0.3s ease-out both; }

/* ---------- Scroll reveals ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js [data-reveal].in-view { opacity: 1; transform: translateY(0); }

html.js .feature .shot[data-reveal] { transition-delay: 0.12s; }
html.js .steps [data-reveal]:nth-child(2),
html.js .trust-grid [data-reveal]:nth-child(2),
html.js .price-grid [data-reveal]:nth-child(2) { transition-delay: 0.12s; }
html.js .steps [data-reveal]:nth-child(3),
html.js .trust-grid [data-reveal]:nth-child(3) { transition-delay: 0.24s; }
html.js .trust-grid [data-reveal]:nth-child(4) { transition-delay: 0.36s; }
html.js .problem-list [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
html.js .problem-list [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
html.js .problem-list [data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Micro-interactions ---------- */

.btn { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(24, 27, 32, 0.55); }
.btn-outline:hover { transform: translateY(-2px); }

.btn-ghost::after {
  content: "↓";
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.25s ease;
}
.btn-ghost:hover::after { transform: translateY(3px); }

.site-nav a:not(.btn) {
  background: linear-gradient(var(--laurel), var(--laurel)) left calc(100% - 0px) / 0% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: color 0.2s ease, background-size 0.25s ease;
}
.site-nav a:not(.btn):hover { background-size: 100% 1.5px; }

.logo .logo-mark rect { transition: transform 0.25s ease; }
.logo:hover .logo-mark rect:nth-child(2) { transform: translateY(-1.5px); transition-delay: 0s; }
.logo:hover .logo-mark rect:nth-child(3) { transform: translateY(-1.5px); transition-delay: 0.06s; }
.logo:hover .logo-mark rect:nth-child(4) { transform: translateY(-1.5px); transition-delay: 0.12s; }
.logo:hover .logo-mark rect:nth-child(5) { transform: translateY(-1.5px); transition-delay: 0.18s; }

.card-deal { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card-deal:hover {
  transform: translateY(-2px);
  border-color: var(--border-mid);
  box-shadow: 0 8px 18px -12px rgba(24, 27, 32, 0.35);
}

.trust-item, .price-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.trust-item:hover, .price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -22px rgba(24, 27, 32, 0.5);
}

.faq-list summary::after { transition: transform 0.25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }

.join-form input { transition: outline-color 0.2s ease, border-color 0.2s ease; }

/* ---------- Living details ---------- */

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45em;
  border-radius: 50%;
  background: var(--laurel);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 98, 80, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(63, 98, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 98, 80, 0); }
}

/* ---------- Reduced motion: everything visible, nothing moves ---------- */

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero .eyebrow, .hero h1, .hero .hero-sub, .hero .hero-actions,
  .hero .shot-hero, .hero .shot-note, .hero-arcs { opacity: 1 !important; transform: none !important; }
}

/* ---------- Waitlist form: honeypot + error state ---------- */

.hp { display: none !important; }
.join-error { margin-top: 1.25rem !important; color: #D9A8A8 !important; }
.join-error a { color: var(--marble); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Agency page argument beats ---------- */
/* Reuses the section rhythm of the homepage rather than introducing a new
   layout. Note: --steel-dark does not exist in :root, so this uses --ink
   directly instead of the fallback pattern suggested in the task brief. */
.beat { padding: 4rem 0; }
.beat-alt { background: var(--surface-1); }
.beat-lead {
  margin-top: 1rem;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 42em;
}

/* Stat tiles inside the agency dashboard mockup. */
.shot .stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 1rem;
}
@media (min-width: 540px) { .shot .stat-row { grid-template-columns: repeat(3, 1fr); } }
.shot .stat { background: var(--white); padding: 0.75rem 0.9rem; }
.shot .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}
.shot .stat-val { font-size: 1.15rem; margin-top: 0.2rem; }

/* Cross-audience door. Deliberately quiet so it does not compete with
   the join call to action directly below it. */
.door {
  padding: 2rem 0;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.door p { font-size: 0.95rem; color: var(--steel); }
.door a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--laurel);
  text-underline-offset: 4px;
}
.door a:hover { color: var(--laurel); }
