﻿:root {
  --bg: #F7F2E9;
  --surface: #FFFDF7;
  --surface-soft: #EFE7DA;
  --ink: #2B2620;
  --muted: #6B6155;
  --line: rgba(43, 38, 32, 0.12);
  --line-strong: rgba(43, 38, 32, 0.22);
  --jade: #314B4C;
  --jade-dark: #233A3B;
  /* Dusty rose, the single warm accent, in two registers: the deep value for
     accents on cream, the light value for accents on the dark jade hero.
     One value cannot clear 4.5:1 on both grounds. */
  --rose: #B04A54;
  --rose-light: #DDA0A7;
  /* The actual gold in the brand: the dot over the wordmark's "l". */
  --gold-leaf: #c8a05c;
  --success: #2e6b44;
  --warning: #8a3d1c;
  --shadow: 0 24px 48px rgba(35, 58, 59, 0.10);
  --radius-lg: 16px;
  --radius-pill: 999px;
  --max: 1200px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(49, 75, 76, 0.08), transparent 28%),
    linear-gradient(180deg, #FBF7EF 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100dvh;
}

.static-fallback {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px;
}

.static-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.static-fallback h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 0.95;
  color: var(--jade-dark);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 241, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  gap: 40px;
  align-items: center;
  min-height: 72px;
}

.brand-lockup {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.brand-mark span {
  display: block;
  text-align: center;
  line-height: 1.05;
}

.brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.36rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.brand-wordmark {
  color: #1e3d33;
  font-weight: 800;
  position: relative;
  width: max-content;
}

.wordmark-l {
  position: relative;
}

.wordmark-l::after {
  content: "";
  position: absolute;
  width: 0.14em;
  height: 0.14em;
  border-radius: 999px;
  background: var(--gold-leaf);
  left: 50%;
  top: -0.04em;
  transform: translateX(-50%);
}

.brand-copy {
  min-width: 0;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.nav-link {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  position: relative;
  padding: 25px 0 23px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--jade);
}

.header-actions {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-actions a,
.header-actions button {
  font-family: var(--font-body);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(49, 75, 76, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle button[aria-current="true"] {
  background: var(--jade-dark);
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(43, 38, 32, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--jade-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button,
.button-ghost,
.button-soft,
.chip-button {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

/* Lift is a pointer affordance; on touch it sticks after the tap */
@media (hover: hover) {
  .button:hover,
  .button-ghost:hover,
  .button-soft:hover,
  .chip-button:hover {
    transform: translateY(-1px);
  }
}

.button {
  background: var(--jade);
  color: #fff;
  padding: 14px 22px;
  box-shadow: 0 14px 32px rgba(49, 75, 76, 0.2);
}

.button:active,
.button-ghost:active,
.button-soft:active {
  transform: translateY(0);
}

.button-ghost {
  background: transparent;
  color: var(--jade);
  padding: 14px 20px;
  border-color: rgba(49, 75, 76, 0.22);
}

.button-soft,
.chip-button {
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 18px;
  border-color: rgba(43, 38, 32, 0.08);
}

.section {
  padding: 84px 0;
}

.section-band {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: auto;
  padding: 34px 0 46px;
}

.hero-grid > *,
.hero-copy {
  min-width: 0;
}

.hero-copy h1,
.page-title,
.section-title,
.cta-title,
.timeline-title,
.faq-title {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  color: var(--jade-dark);
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.15rem);
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 15ch;
}

.hero-brand-tag {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
  margin: -2px 0 18px;
  max-width: 56ch;
}

.hero-copy p,
.section-intro,
.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions,
.cta-actions,
.inline-actions,
.control-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
}

.hero-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(89, 147, 126, 0.2), transparent 34%),
    linear-gradient(145deg, #fdfcf7 0%, #eef4ee 52%, #dfeae3 100%);
  border: 1px solid rgba(43, 38, 32, 0.1);
  box-shadow: var(--shadow);
}

.marketing-board {
  min-height: 430px;
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.board-header {
  display: grid;
  gap: 8px;
}

.board-header span {
  max-width: 12ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.board-header small {
  max-width: 28ch;
  color: #47514b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.board-node {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(43, 38, 32, 0.1);
  box-shadow: 0 18px 45px rgba(42, 76, 63, 0.1);
}

.board-node:nth-child(1),
.board-node:nth-child(4) {
  background: rgba(43, 38, 32, 0.92);
  color: #fffdf7;
}

.board-node span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.board-node:nth-child(1) span,
.board-node:nth-child(4) span {
  color: rgba(255, 253, 247, 0.64);
}

.board-node strong {
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.18;
}

.hero-note,
.status-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 38, 32, 0.1);
  color: var(--ink);
}

.hero-note {
  position: static;
  max-width: 360px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--jade);
  flex: 0 0 auto;
}

.proof-grid,
.trust-grid,
.resource-list,
.services-grid,
.footer-grid,
.audit-layout,
.pricing-layout,
.about-layout,
.results-layout,
.two-column,
.timeline,
.mosaic-wrap,
.surface-grid {
  display: grid;
  gap: 24px;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card,
.service-card,
.plan-card,
.surface-card,
.faq-item,
.resource-card,
.about-card,
.results-card,
.empty-state,
.form-card,
.timeline-panel,
.deposit-card,
.placeholder-card,
.chat-panel,
.chat-fallback,
.control-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(43, 38, 32, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.proof-card,
.service-card,
.resource-card,
.about-card,
.results-card,
.empty-state,
.placeholder-card,
.chat-fallback,
.control-card,
.faq-item {
  padding: 24px;
}

.proof-card strong,
.service-card strong,
.plan-card strong,
.resource-card strong,
.about-card strong,
.results-card strong,
.control-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.audience-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.audience-card {
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(43, 38, 32, 0.08);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(49, 75, 76, 0.05), rgba(255, 255, 255, 0.96));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audience-card.dark {
  background: linear-gradient(180deg, rgba(35, 58, 59, 0.96), rgba(49, 75, 76, 0.9));
  color: #F4EEE3;
}

.audience-card > div {
  padding: 24px;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}

.audience-card p {
  margin: 0;
  line-height: 1.75;
}

.mosaic-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
}

.mosaic-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(43, 38, 32, 0.08);
  box-shadow: var(--shadow);
}

.mosaic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-lockup {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.founder-silhouette {
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid rgba(43, 38, 32, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(180deg, rgba(43, 38, 32, 0.12), rgba(43, 38, 32, 0.04));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.founder-silhouette::before {
  content: "";
  width: 180px;
  height: 220px;
  border-radius: 88px 88px 52px 52px;
  background: rgba(43, 38, 32, 0.22);
  box-shadow:
    0 -56px 0 -18px rgba(43, 38, 32, 0.22),
    0 120px 0 40px rgba(43, 38, 32, 0.22);
  transform: translateY(12px);
}

.founder-lock {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(43, 38, 32, 0.08);
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-step {
  padding: 22px 0 0;
  position: relative;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(49, 75, 76, 0.2);
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  color: var(--jade);
  font-weight: 700;
}

.timeline-step h3 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-button {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 22px;
  color: var(--ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-panel {
  border-radius: 28px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(35, 58, 59, 1), rgba(49, 75, 76, 0.96)),
    var(--jade-dark);
  color: #F4EEE3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.cta-panel .button-ghost {
  color: #F4EEE3;
  border-color: rgba(247, 244, 239, 0.3);
}

.cta-panel .cta-title,
.cta-panel p,
.cta-panel .support-copy {
  color: #F4EEE3;
}

.page-hero {
  padding: 64px 0 24px;
}

.page-title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin: 0 0 14px;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card.dark {
  background: linear-gradient(180deg, rgba(35, 58, 59, 0.98), rgba(49, 75, 76, 0.9));
  color: #F4EEE3;
}

.service-card.dark p,
.service-card.dark .support-copy,
.service-card.dark strong {
  color: #F4EEE3;
}

.service-card ul,
.plan-card ul,
.about-card ul,
.results-card ul,
.empty-state ul,
.resource-card ul,
.timeline-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-list li + li {
  margin-top: 8px;
}

.service-card.dark ul {
  color: rgba(247, 244, 239, 0.8);
}

.service-card.dark li {
  color: inherit;
}

.pricing-layout,
.results-layout,
.about-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.plan-stack,
.surface-stack,
.faq-stack,
.resource-stack {
  display: grid;
  gap: 18px;
}

.plan-card {
  padding: 26px;
}

.plan-meta {
  color: var(--muted);
  margin-bottom: 16px;
}

.locked-copy {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(243, 238, 229, 0.84);
  color: var(--muted);
}

.timeline-panel,
.deposit-card,
.form-card,
.chat-panel {
  padding: 28px;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.status-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.status-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--jade-dark);
  background: rgba(43, 38, 32, 0.06);
  border: 1px solid rgba(43, 38, 32, 0.1);
}

.status-item[data-state="done"] .status-badge {
  background: rgba(46, 107, 68, 0.16);
  color: var(--success);
  border-color: rgba(46, 107, 68, 0.18);
}

.status-item[data-state="active"] .status-badge {
  background: rgba(200, 160, 92, 0.18);
  color: var(--ink);
  border-color: rgba(200, 160, 92, 0.22);
}

.surface-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label {
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.chat-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(43, 38, 32, 0.14);
  background: var(--surface);
  padding: 14px 16px;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.chat-input:focus {
  outline: none;
  border-color: rgba(49, 75, 76, 0.72);
  box-shadow: 0 0 0 4px rgba(49, 75, 76, 0.12);
}

.field textarea,
.field-full textarea {
  min-height: 118px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: start;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-grid label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(243, 238, 229, 0.8);
  border: 1px solid rgba(43, 38, 32, 0.08);
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: rgba(138, 61, 28, 0.72);
  box-shadow: 0 0 0 4px rgba(138, 61, 28, 0.1);
}

.error-copy {
  color: var(--warning);
  font-size: 0.92rem;
}

.form-note,
.subtle-note,
.support-copy {
  color: var(--muted);
  line-height: 1.7;
}

.inline-banner,
.locked-banner,
.preview-banner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(43, 38, 32, 0.08);
  background: rgba(243, 238, 229, 0.82);
}

.preview-banner {
  background: rgba(35, 58, 59, 0.08);
}

.warning-banner {
  background: rgba(138, 61, 28, 0.1);
  border-color: rgba(138, 61, 28, 0.2);
  color: var(--warning);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.loading-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(49, 75, 76, 0.2);
  border-top-color: var(--jade);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.skeleton-card {
  border-radius: 22px;
  min-height: 220px;
  background:
    linear-gradient(
      90deg,
      rgba(243, 238, 229, 0.8) 0%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(243, 238, 229, 0.8) 100%
    );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border: 1px solid rgba(43, 38, 32, 0.08);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.results-hero {
  display: grid;
  gap: 18px;
}

.empty-state strong {
  font-size: 1.2rem;
}

.about-layout .about-card,
.results-layout .results-card {
  min-height: 100%;
}

.resource-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chat-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.chat-toggle {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  background: var(--jade);
  color: #fff;
  box-shadow: 0 16px 36px rgba(49, 75, 76, 0.24);
}

.chat-context {
  justify-self: end;
  max-width: 230px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 38, 32, 0.1);
  color: var(--muted);
  font-size: 0.86rem;
  box-shadow: 0 12px 30px rgba(43, 38, 32, 0.12);
}

.chat-panel {
  width: min(380px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.97);
}

.chat-header,
.chat-footer,
.chat-human-exit,
.chat-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.chat-subhead {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.chat-body {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  max-height: 360px;
  overflow: auto;
}

.chat-disclosure-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(243, 238, 229, 0.72);
  border: 1px solid rgba(43, 38, 32, 0.08);
}

.chat-disclosure-item {
  display: inline-flex;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.6;
}

.chat-message {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.7;
}

.chat-message.assistant {
  background: rgba(243, 238, 229, 0.92);
}

.chat-message.user {
  background: var(--jade);
  color: #fff;
  margin-left: auto;
}

.chat-human-exit {
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 14px;
}

.chat-fallback {
  display: grid;
  gap: 14px;
}

.deposit-card.locked {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 238, 229, 0.98));
}

.deposit-state {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(243, 238, 229, 0.82);
  border: 1px solid rgba(43, 38, 32, 0.08);
  color: var(--ink);
}

.deposit-state.success {
  background: rgba(46, 107, 68, 0.14);
  color: var(--success);
}

.deposit-state.warning {
  background: rgba(138, 61, 28, 0.12);
  color: var(--warning);
}

.footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  align-items: start;
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
}

.footer-column a,
.footer-column p,
.footer-note {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}

.footer-note {
  padding-top: 24px;
}

.not-found {
  padding: 96px 0 120px;
}

.not-found-panel {
  text-align: center;
  padding: 52px;
}

.not-found-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--jade);
  line-height: 1;
}

.mobile-banner {
  display: none;
}

.mobile-header-cta {
  display: none;
}

@media (min-width: 861px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .audience-grid,
  .mosaic-wrap,
  .founder-lockup,
  .pricing-layout,
  .results-layout,
  .about-layout,
  .services-grid,
  .resource-list,
  .surface-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-silhouette {
    min-height: 300px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-row {
    min-height: 56px;
    gap: 12px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(43, 38, 32, 0.12);
    background: rgba(255, 255, 255, 0.88);
  }

  .mobile-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--jade);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .site-nav {
    display: none;
    position: absolute;
    z-index: 80;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    padding: 14px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: var(--surface);
    box-shadow: 0 18px 36px rgba(43, 38, 32, 0.14);
  }

  .site-nav.open {
    display: block;
  }

  .nav-links,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* The compact header CTA remains the single mobile conversion entry. */
  .site-nav .header-actions > .button {
    display: none;
  }

  .nav-links {
    padding: 12px 0;
    gap: 0;
  }

  /* Stacked nav: each row is its own 44px tap target, not a 20px text line */
  .nav-links .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .header-actions {
    padding: 0 0 14px;
  }

  .hero-grid {
    padding-top: 28px;
  }

  .proof-grid,
  .timeline,
  .audience-stack,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* bottom offset is set once, below, alongside the round-toggle collapse */
  .chat-dock {
    right: 12px;
  }

  .mobile-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(35, 58, 59, 0.94);
    color: #fff;
    box-shadow: 0 18px 32px rgba(43, 38, 32, 0.24);
  }

  .mobile-banner .button {
    box-shadow: none;
    background: #fff;
    color: var(--jade-dark);
    padding: 12px 16px;
  }
}

@media (max-width: 640px) {
  .header-row {
    gap: 10px;
    position: relative;
  }

  .brand-copy strong {
    font-size: 1.12rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .mobile-header-cta {
    display: inline-flex;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex !important;
    justify-self: end;
    position: static;
    z-index: 60;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .section {
    padding: 68px 0;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
    width: auto;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    width: auto;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
    overflow-wrap: break-word;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-ghost {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-note {
    display: none;
  }

  .cta-panel,
  .form-card,
  .chat-panel,
  .deposit-card,
  .timeline-panel {
    padding: 22px;
  }

  .marketing-board {
    min-height: auto;
    padding: 20px;
  }

  .board-header span {
    max-width: 11ch;
    font-size: 2rem;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .board-node {
    min-height: 86px;
    padding: 14px;
  }

  .board-node strong {
    font-size: 0.94rem;
  }

  .chat-context {
    display: none;
  }
}

/* VIP band */
.vip-band .vip-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
}

.vip-band .eyebrow {
  color: var(--rose);
}

.vip-slot {
  display: flex;
  justify-content: center;
  width: 100%;
}

.vip-open {
  font-size: 1.05rem;
  padding: 16px 34px;
}

.vip-form {
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.vip-success {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  padding: 24px;
}

@media (max-width: 900px) {
  .vip-band .vip-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* Hero photo */
.hero-photo-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0;
  box-shadow: 0 30px 60px rgba(13, 24, 25, 0.45);
  background: transparent;
  line-height: 0;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}



/* Dark hero band */
.hero-dark {
  background:
    radial-gradient(circle at 82% 12%, rgba(176, 74, 84, 0.14), transparent 42%),
    linear-gradient(158deg, #1A2E2F 0%, #233A3B 56%, #4a2839 100%);
}

.hero-dark .eyebrow {
  color: var(--rose-light);
}

.hero-dark .hero-copy h1 {
  color: #F2EBDE;
}

.hero-dark .hero-copy p {
  color: rgba(247, 239, 232, 0.84);
}

.hero-dark .hero-brand-tag {
  color: rgba(247, 239, 232, 0.72);
}

/* On a dark ground the lightest value carries the primary action — the same
   inversion .mobile-banner .button already uses. Rose stays an accent that
   marks category; it never carries button text. */
.hero-dark .button {
  background: var(--bg);
  color: var(--jade-dark);
  box-shadow: 0 14px 32px rgba(13, 24, 25, 0.36);
}

@media (hover: hover) {
  .hero-dark .button:hover {
    background: var(--rose-light);
    color: var(--jade-dark);
  }
}

.hero-dark .button-ghost {
  color: #F2EBDE;
  border-color: rgba(247, 239, 232, 0.45);
}

.hero-dark .button-ghost:hover {
  border-color: rgba(247, 239, 232, 0.8);
}

.hero-dark .hero-photo-frame {
  border-color: rgba(247, 239, 232, 0.25);
  box-shadow: 0 30px 60px rgba(13, 24, 25, 0.45);
}

/* Hero photo: slow cinematic Ken Burns motion */
@keyframes hero-kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1.6%, -1.2%); }
}

.hero-photo-frame img {
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-frame img { animation: none; }
}

/* ===== 2026-07-31 revision: five-block home, mobile fixes ===== */

/* Trust strip */
.trust-strip {
  padding-top: 30px;
  padding-bottom: 12px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Trust-card headings must remain fully inside the card at every width. */
.trust-grid .proof-card {
  min-width: 0;
  overflow: visible;
}

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

/* Founder block */
.founder-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .founder-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.founder-note {
  margin-top: 14px;
  color: var(--warning);
}

.founder-steps-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 14px;
}

@media (min-width: 861px) {
  /* Keep the three step descriptions on one baseline when headings wrap. */
  .timeline-step h3 {
    min-height: 56px;
  }
}

/* VIP privacy note */
.vip-privacy {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Mobile: brand name fits at narrow widths */
@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 0.98rem;
    letter-spacing: -0.02em;
  }
}

/* Mobile: one primary floating action; AI collapses to a round secondary button */
@media (max-width: 860px) {
  /* The fixed audit bar needs a scrollable safety zone below the main content. */
  main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .chat-context {
    display: none;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
  }

  .chat-toggle::after {
    content: "AI";
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 52px;
  }

  /* clears the fixed audit banner, and its home-indicator inset when present */
  .chat-dock {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* Chat panel: header stays visible while panel scrolls */
.chat-panel {
  max-height: min(78dvh, 640px);
  overflow: auto;
}

.chat-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.97);
  padding-bottom: 8px;
}

/* ===== Round 2 (Codex blockers): fieldwork cards, lines note, mobile float gating ===== */

.fieldwork-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 18px;
}

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

.fieldwork-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(49, 75, 76, 0.1);
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.fieldwork-card {
  display: flex;
  flex-direction: column;
}

.fieldwork-link {
  margin-top: 10px;
  color: var(--jade);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lines-note {
  margin-top: 16px;
}

/* Mobile: floating banner + AI button hidden until scrolled past hero */
@media (max-width: 860px) {
  .mobile-banner,
  .chat-dock {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.past-hero .mobile-banner,
  body.past-hero .chat-dock {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Fieldwork proof: work-sample thumbnails */
.fieldwork-shot {
  display: block;
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  aspect-ratio: 16 / 10;
  line-height: 0;
}

.fieldwork-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.fieldwork-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0b292a;
}

@media (hover: hover) {
  a.fieldwork-shot:hover img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fieldwork-shot img { transition: none; }
  a.fieldwork-shot:hover img { transform: none; }
}

/* ---- AI receptionist: nav CTA + chat lead capture ---- */
.nav-chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(49, 75, 76, 0.28);
  background: rgba(49, 75, 76, 0.08);
  color: var(--jade-dark);
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

/* Chatbase is opened by the sticky header CTA; keep its default floating
   trigger hidden so the site has one clear AI receptionist entry point. */
#chatbase-bubble-button,
#chatbase-message-bubbles {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 860px) {
  .lang-toggle button {
    min-height: 44px;
  }
}

@media (hover: hover) {
  .nav-chat-cta:hover {
    transform: translateY(-1px);
    background: rgba(49, 75, 76, 0.14);
    border-color: rgba(49, 75, 76, 0.4);
  }
}

.nav-chat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 0 rgba(49, 75, 76, 0.45);
  animation: navChatPulse 2.2s ease-out infinite;
}

@keyframes navChatPulse {
  0% { box-shadow: 0 0 0 0 rgba(49, 75, 76, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(49, 75, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 75, 76, 0); }
}

.chip-strong {
  background: var(--jade);
  color: #fff;
  border-color: var(--jade);
  font-weight: 600;
}

.chip-strong:hover {
  background: var(--jade-dark);
  border-color: var(--jade-dark);
}

.chat-contact-line {
  color: var(--muted);
  line-height: 1.6;
}

.chat-lead-form {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(243, 238, 229, 0.72);
  border: 1px solid rgba(43, 38, 32, 0.08);
}

.chat-lead-fields {
  display: grid;
  gap: 10px;
}

.chat-lead-fields input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.chat-lead-fields input:focus {
  outline: none;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(49, 75, 76, 0.14);
}

.chat-lead-privacy {
  margin: 12px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.chat-lead-success {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(46, 107, 68, 0.10);
  border: 1px solid rgba(46, 107, 68, 0.28);
}

.chat-lead-success strong {
  display: block;
  margin-bottom: 6px;
  color: var(--success);
}

@media (prefers-reduced-motion: reduce) {
  .nav-chat-dot { animation: none; }
}

/* ===== Card titles are headings now =====
   Structure changed, appearance did not: these match what `.proof-card strong`
   and friends already rendered, so the outline exists for assistive tech
   without a visual diff. */
.card-title {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  color: inherit;
}

.empty-state .card-title {
  font-size: 1.2rem;
}

.service-card.dark .card-title,
.audience-card.dark .card-title {
  color: #F4EEE3;
}

.chat-header .card-title {
  margin-bottom: 4px;
}

/* Goals group: a real fieldset/legend instead of a label pointing at nothing.
   `min-width: 0` defeats the UA min-content floor that would blow out the grid. */
.choice-fieldset {
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.choice-fieldset legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Chat dock: DOM order is toggle → context → panel so forward-tab from the
   trigger reaches the panel. Visual order is restored here. */
.chat-dock .chat-panel {
  order: 1;
}

.chat-dock .chat-context {
  order: 2;
}

.chat-dock .chat-toggle {
  order: 3;
}

/* ===== Designed focus ring =====
   Buttons and links previously fell back to the UA ring, which disappears over
   the dark hero and CTA panel. Ink ring on light grounds, cream on dark. */
:focus-visible {
  outline: 2px solid var(--jade-dark);
  outline-offset: 2px;
  border-radius: 2px;
}

.hero-dark :focus-visible,
.cta-panel :focus-visible,
.service-card.dark :focus-visible,
.audience-card.dark :focus-visible,
.mobile-banner :focus-visible,
.board-node:nth-child(1) :focus-visible,
.board-node:nth-child(4) :focus-visible {
  outline-color: var(--bg);
}

/* Inputs keep their border/glow for pointer focus and gain a real ring for
   keyboard focus; the 12%-alpha shadow alone was close to invisible. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.chat-input:focus-visible,
.chat-lead-fields input:focus-visible {
  outline: 2px solid var(--jade-dark);
  outline-offset: 1px;
}

/* ===== Chinese routes: Latin measure units mis-size CJK text =====
   `ch` is the advance of "0", which is half-width in CJK fallback fonts, so a
   15ch measure resolves to ~7 Han glyphs rather than 15. Measure in `em`, where
   one unit is one full-width glyph. Han glyphs also carry no side bearings to
   absorb display tracking, so -0.045em crowds them at hero sizes. */
html[lang="zh"] .hero-copy h1 {
  max-width: 12em;
}

html[lang="zh"] .hero-copy h1,
html[lang="zh"] .page-title,
html[lang="zh"] .section-title,
html[lang="zh"] .cta-title,
html[lang="zh"] .timeline-title,
html[lang="zh"] .faq-title,
html[lang="zh"] .timeline-step h3 {
  letter-spacing: -0.01em;
}

/* ===== Phone landscape: ~400px of height with three fixed layers =====
   Portrait vertical rhythm leaves almost no room for content here. */
@media (max-height: 520px) and (orientation: landscape) {
  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 40px 0 20px;
  }

  .hero-grid {
    padding: 20px 0 28px;
  }

  .hero-photo-frame img {
    min-height: 200px;
  }
}
