:root {
  --ink: #102027;
  --deep: #0b2730;
  --deep-2: #123944;
  --teal: #3f7b78;
  --teal-light: #dbe9e5;
  --sand: #f2e8d5;
  --sand-2: #fbf7ef;
  --copper: #b66c45;
  --white: #ffffff;
  --muted: #637176;
  --line: rgba(16, 32, 39, 0.14);
  --shadow: 0 24px 70px rgba(11, 39, 48, 0.13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--deep);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.announcement {
  background: var(--copper);
  color: var(--white);
  padding: 9px 18px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid rgba(16, 32, 39, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  line-height: 1.05;
}

.brand-mark {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(16, 32, 39, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11, 39, 48, 0.08);
}

.brand-mark svg { width: 25px; height: 25px; }

.brand-name {
  display: block;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links > a {
  color: #33474d;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links > a:hover { color: var(--copper); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--copper);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #a95f39;
  box-shadow: 0 10px 28px rgba(182, 108, 69, 0.25);
}

.button:focus-visible, .faq-question:focus-visible, .modal-close:focus-visible {
  outline: 3px solid rgba(63, 123, 120, 0.35);
  outline-offset: 3px;
}

.button-small { min-height: 43px; padding: 9px 18px; font-size: 0.88rem; }

.button-light {
  background: var(--sand);
  color: var(--deep);
}

.button-light:hover { background: var(--white); }

.button-outline {
  background: transparent;
  color: var(--deep);
  border-color: rgba(16, 32, 39, 0.28);
}

.button-outline:hover { background: var(--white); box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(circle at 86% 14%, rgba(63, 123, 120, 0.18), transparent 28%),
    linear-gradient(145deg, #fbf7ef 0%, #eef1e8 52%, #dce8e4 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(63, 123, 120, 0.17);
  border-radius: 48% 52% 44% 56%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  right: -190px;
  top: -170px;
  box-shadow: 0 0 0 34px rgba(63, 123, 120, 0.045), 0 0 0 68px rgba(63, 123, 120, 0.035), 0 0 0 102px rgba(63, 123, 120, 0.025);
}

.hero::after {
  width: 320px;
  height: 210px;
  left: -150px;
  bottom: -130px;
  transform: rotate(18deg);
  box-shadow: 0 0 0 30px rgba(182, 108, 69, 0.035), 0 0 0 60px rgba(182, 108, 69, 0.025);
}

.hero-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: 78px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--deep);
  font-size: clamp(3.1rem, 7vw, 6.35rem);
  font-weight: 500;
}

h1 em {
  color: var(--copper);
  font-weight: 500;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: #43575c;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-note {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 32px;
  background: linear-gradient(155deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  pointer-events: none;
}

.compass {
  width: 74px;
  height: 74px;
  margin-bottom: 38px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sand);
}

.compass svg { width: 43px; height: 43px; }

.hero-card-label {
  margin-bottom: 10px;
  color: #a9c9c2;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-card p { color: #d4e0de; }

.stat-row {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat strong { display: block; color: var(--sand); font-size: 1.55rem; }
.stat span { display: block; color: #afc5c1; font-size: 0.78rem; line-height: 1.4; }

.trust-strip { background: var(--deep); color: var(--white); }

.trust-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  align-items: stretch;
}

.trust-item {
  min-height: 112px;
  padding: 26px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { color: var(--sand); font-family: Georgia, serif; font-size: 1.17rem; font-weight: 500; }
.trust-item span { color: #9fb5b2; font-size: 0.8rem; }

.section { padding: 108px 0; }
.section-dark { background: var(--deep); color: var(--white); }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }

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

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2,
.split-copy h2,
.plan-intro h2,
.closing h2 {
  margin-bottom: 21px;
  color: var(--deep);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  font-weight: 500;
}

.section-heading p,
.split-copy > p,
.plan-intro > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-dark .eyebrow { color: #d69a76; }
.section-dark .section-heading h2 { color: var(--white); }
.section-dark .section-heading p { color: #b9c9c7; }

.moment {
  max-width: 930px;
  margin: 0 auto 72px;
  text-align: center;
}

.moment blockquote {
  margin: 0;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.moment span { color: var(--copper); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 305px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-direction: column;
}

.card-num {
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.scope-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.scope-grid .section-heading { position: sticky; top: 135px; margin-bottom: 0; }

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

.scope-item {
  padding: 25px 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 17px;
  background: rgba(255,255,255,0.045);
}

.scope-item h3 {
  margin-bottom: 6px;
  color: var(--sand);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.scope-item p { margin: 0; color: #abc0bd; font-size: 0.93rem; }

.boundary {
  margin-top: 20px;
  padding: 24px 27px;
  border-left: 3px solid var(--copper);
  background: rgba(182, 108, 69, 0.1);
  color: #d7e1df;
  font-size: 0.9rem;
}

.boundary strong { color: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 92px;
  align-items: center;
}

.quote-card {
  position: relative;
  min-height: 500px;
  padding: 48px;
  border-radius: 30px;
  background: var(--teal-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card::before {
  content: "“";
  position: absolute;
  right: 26px;
  top: -68px;
  color: rgba(63, 123, 120, 0.13);
  font-family: Georgia, serif;
  font-size: 17rem;
  line-height: 1;
}

.quote-card blockquote {
  position: relative;
  margin: 0;
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.quote-card footer { position: relative; }
.quote-card footer strong { display: block; color: var(--deep); }
.quote-card footer span { color: var(--teal); font-size: 0.84rem; }

.check-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start; color: #43575c; }
.check-list svg { width: 22px; margin-top: 2px; color: var(--teal); }

.section-reviews { background: #12323a; color: var(--white); }

.reviews-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.reviews-head .eyebrow { color: #d69a76; }

.reviews-head h2 {
  margin-bottom: 19px;
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  font-weight: 500;
}

.reviews-head > p:last-child {
  max-width: 650px;
  color: #b9c9c7;
  font-size: 1.05rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 310px;
  margin: 0;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  display: flex;
  flex-direction: column;
}

.review-stars {
  margin-bottom: 25px;
  color: #d69a76;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.review-card blockquote {
  margin: 0;
  color: #f4eee3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.48;
}

.review-card figcaption {
  margin-top: auto;
  padding-top: 28px;
  color: #a9c4c0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-note {
  margin: 20px 0 0;
  color: #89a5a1;
  font-size: 0.76rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 82px;
  align-items: center;
}

.plan-card {
  padding: 40px;
  border: 1px solid rgba(16, 32, 39, 0.13);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--deep);
}

.price strong { font-family: Georgia, serif; font-size: 4.75rem; line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
.price span { color: var(--muted); font-weight: 650; }

.plan-card > p { margin: 17px 0 26px; color: var(--muted); }
.plan-card ul { margin: 0 0 29px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; display: grid; gap: 13px; }
.plan-card li { display: flex; gap: 11px; color: #354a50; }
.plan-card li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.plan-card .button { width: 100%; }
.fineprint { margin: 14px 0 0 !important; color: #778489 !important; font-size: 0.78rem; text-align: center; }
.fineprint a { color: var(--deep); font-weight: 750; }

.button-disabled,
.button-disabled:hover {
  background: #9ca7a9;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.enrollment-page,
.question-page {
  min-height: 72vh;
  padding: 88px 0 110px;
  background: linear-gradient(145deg, #fbf7ef 0%, #eef1e8 56%, #dce8e4 100%);
}

.checkout-grid,
.question-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 76px;
  align-items: start;
}

.checkout-copy h1,
.question-grid h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.flow-points { margin-top: 38px; display: grid; gap: 15px; }
.flow-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.flow-points span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(16,32,39,.2); border-radius: 50%; color: var(--copper); font-family: Georgia, serif; }
.flow-points p { margin: 0; color: var(--muted); }
.flow-points strong { color: var(--deep); }
.checkout-card { margin-top: 8px; }
.legal-check { margin: 0 0 22px; padding: 16px; border-radius: 12px; background: var(--teal-light); color: #3d555a; font-size: .82rem; }
.checkout-card .button { width: 100%; }
.payment-pending { color: var(--copper) !important; font-weight: 750; }

.question-wrap { max-width: 1120px; }
.success-banner { margin-bottom: 42px; padding: 20px 23px; border: 1px solid rgba(63,123,120,.23); border-radius: 16px; background: rgba(255,255,255,.72); display: flex; gap: 14px; align-items: center; }
.success-banner > span { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 900; }
.success-banner strong { color: var(--deep); }
.success-banner p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.question-card { padding: 30px; border: 1px solid rgba(16,32,39,.13); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }

.button:disabled { opacity: .62; cursor: wait; transform: none; }
.form-error { margin: 8px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff0ed; color: #8b3027; font-size: .84rem; }
.saved-panel h2, .follow-up-card h2, .history-panel h2 { margin-bottom: 14px; color: var(--deep); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
.saved-panel > p { color: var(--muted); }
.saved-panel .button { width: 100%; margin-top: 10px; }
.text-link { color: var(--teal); font-weight: 800; }
.copy-link, .copy-question {
  border: 1px solid rgba(16,32,39,.17);
  border-radius: 10px;
  padding: 10px 13px;
  background: var(--white);
  color: var(--deep);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}
.copy-link:hover, .copy-question:hover { border-color: var(--teal); color: var(--teal); }

.client-page { min-height: 75vh; padding: 78px 0 110px; background: linear-gradient(145deg, #fbf7ef 0%, #eef1e8 58%, #dce8e4 100%); }
.client-shell { max-width: 980px; display: grid; gap: 28px; }
.client-heading { padding-bottom: 10px; }
.client-heading h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 5.5rem); }
.client-heading > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.client-actions { margin: 24px 0; display: flex; align-items: center; gap: 12px; }
.status-pill, .question-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pill.paused { background: #f6ead1; color: #835f1f; }
.status-pill.closed { background: #ececec; color: #656565; }
.history-panel { padding: 34px; border: 1px solid rgba(16,32,39,.11); border-radius: 25px; background: rgba(255,255,255,.76); }
.history-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.history-head h2, .history-head h3 { margin: 0; color: var(--deep); }
.history-head > span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.timeline { display: grid; gap: 18px; }
.timeline-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.timeline-marker { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: .76rem; font-weight: 850; }
.timeline-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.timeline-card > p { margin: 15px 0; color: #354a50; white-space: normal; }
.timeline-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.timeline-meta time { color: var(--muted); font-size: .76rem; }
.question-status.answered { background: #dfeee6; color: #2c6d52; }
.question-status.new { background: #fff0e5; color: #9c552c; }
.deadline { padding: 11px 13px; border-radius: 10px; background: var(--sand); color: #5d5550; font-size: .82rem; }
.response-note { margin-top: 14px; padding: 15px; border-left: 3px solid var(--teal); background: var(--teal-light); color: #385257; }
.response-note p { margin: 6px 0 0; }
.follow-up-card { max-width: none; }
.saved-toast { padding: 16px 18px; border: 1px solid rgba(63,123,120,.25); border-radius: 13px; background: #e5f2ed; color: #315a4a; }
.saved-toast a { color: var(--deep); font-weight: 850; }
.empty-state { margin: 0; padding: 22px; border-radius: 12px; background: rgba(63,123,120,.07); color: var(--muted); text-align: center; }
.access-form { margin: 32px 0; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: grid; gap: 16px; }
.access-form .button { justify-self: start; }

.admin-body { background: #edf1ed; }
.admin-page { min-height: calc(100vh - 105px); padding: 58px 0 90px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-title h1 { font-size: clamp(3rem, 6vw, 5rem); }
.admin-title p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.admin-stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-stats > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.admin-stats strong { display: block; color: var(--deep); font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.admin-stats span { color: var(--muted); font-size: .76rem; font-weight: 750; }
.admin-layout { min-height: 620px; display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: start; }
.client-list-panel, .client-detail { border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 40px rgba(16,32,39,.06); }
.client-list-panel { padding: 20px; position: sticky; top: 112px; }
.search-field { display: block; margin-bottom: 7px; color: #33474d; font-size: .76rem; font-weight: 800; }
.client-list-panel input[type="search"] { width: 100%; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fbfcfb; }
.client-list { display: grid; gap: 8px; max-height: 620px; overflow: auto; }
.client-list-item { width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 13px; background: #f6f8f6; color: var(--deep); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
.client-list-item:hover, .client-list-item.selected { border-color: rgba(63,123,120,.35); background: var(--teal-light); }
.client-list-main, .client-list-side { display: grid; gap: 4px; }
.client-list-main small, .client-list-side small { color: var(--muted); font-size: .68rem; }
.client-list-side { justify-items: end; }
.client-list-side b { color: var(--copper); font-size: .7rem; }
.client-list-side em { color: var(--teal); font-size: .68rem; font-style: normal; }
.client-detail { min-height: 620px; padding: 28px; }
.detail-placeholder { min-height: 420px; display: grid; align-content: center; justify-items: center; text-align: center; color: var(--muted); }
.detail-placeholder h2 { color: var(--deep); font-size: 2.3rem; }
.detail-head { display: flex; align-items: start; justify-content: space-between; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-head h2 { margin-bottom: 6px; color: var(--deep); font-size: 2.6rem; font-weight: 500; }
.detail-head p { margin: 0; color: var(--muted); }
.detail-head a { color: var(--teal); }
.client-facts { margin: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.client-facts > div { padding: 13px; border-radius: 11px; background: #f4f7f5; }
.client-facts span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; }
.client-facts strong { color: #344a50; font-size: .82rem; }
.client-controls { margin: 20px 0 34px; padding: 16px; border-radius: 13px; background: var(--sand); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.client-controls label { color: #5b5551; font-size: .75rem; font-weight: 800; }
.client-controls select { border: 1px solid var(--line); border-radius: 9px; padding: 9px; background: var(--white); }
.admin-question-list { display: grid; gap: 14px; }
.admin-question { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fcfdfc; }
.admin-question.new { border-left: 4px solid var(--copper); }
.admin-question-head { display: flex; justify-content: space-between; gap: 15px; }
.admin-question-head > div { display: flex; align-items: center; gap: 10px; }
.admin-question-head time { color: var(--muted); font-size: .72rem; }
.question-body { color: #31474d; }
.response-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.response-form textarea { min-height: 88px; }
.response-actions { margin-top: 10px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.response-actions label { display: grid; gap: 5px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.response-actions select { border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: var(--white); }

.steps { margin-top: 36px; display: grid; gap: 19px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 15px; }
.step span { width: 38px; height: 38px; border: 1px solid rgba(16,32,39,.18); border-radius: 50%; display: grid; place-items: center; color: var(--copper); font-family: Georgia, serif; }
.step h3 { margin: 2px 0 3px; color: var(--deep); font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.faq-wrap { max-width: 920px; margin: 0 auto; }
.faq-wrap .section-heading { margin-left: auto; margin-right: auto; text-align: center; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  border: 0;
  padding: 24px 2px;
  background: transparent;
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: Georgia, serif;
  font-size: 1.23rem;
}
.faq-question span:last-child { color: var(--copper); font-family: system-ui, sans-serif; font-size: 1.6rem; font-weight: 300; transition: transform 180ms ease; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 250ms ease; }
.faq-answer p { margin: 0; padding: 0 52px 24px 2px; color: var(--muted); }

.closing {
  position: relative;
  padding: 92px 0;
  background: linear-gradient(135deg, #dce9e5, #f2e8d5);
  overflow: hidden;
}
.closing::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(63,123,120,.17); border-radius: 50%; right: -140px; bottom: -250px; box-shadow: 0 0 0 42px rgba(63,123,120,.04), 0 0 0 84px rgba(63,123,120,.03); }
.closing-inner { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.closing h2 { font-size: clamp(2.65rem, 5.5vw, 5rem); }
.closing p { max-width: 640px; margin: 0 auto 27px; color: #506267; font-size: 1.08rem; }

.site-footer { padding: 55px 0 30px; background: var(--deep); color: #b8c9c6; }
.footer-top { max-width: 620px; padding-bottom: 38px; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: #8ba6a1; }
.footer-copy { max-width: 420px; margin: 20px 0 0; font-size: 0.86rem; }
.footer-block h3 { margin-bottom: 13px; color: var(--sand); font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-block p, .footer-block a { color: #b8c9c6; font-size: 0.88rem; text-decoration: none; }
.footer-block a:hover { color: var(--white); }
.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-legal { max-width: 800px; font-size: 0.76rem; line-height: 1.65; }
.footer-links { display: flex; gap: 18px; white-space: nowrap; }
.footer-links a { color: #b8c9c6; font-size: 0.78rem; text-decoration: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 21, 26, 0.76);
  backdrop-filter: blur(8px);
}
.modal.open { display: flex; }
.modal-panel {
  width: min(100%, 760px);
  max-height: min(92vh, 850px);
  overflow-y: auto;
  padding: 36px;
  border-radius: 26px;
  background: var(--sand-2);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.modal-head { display: flex; justify-content: space-between; gap: 20px; }
.modal-head h2 { margin-bottom: 8px; color: var(--deep); font-size: 2.3rem; font-weight: 500; }
.modal-head p { color: var(--muted); font-size: 0.9rem; }
.modal-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--deep); cursor: pointer; font-size: 1.35rem; }
.form-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: #33474d; font-size: 0.8rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(16,32,39,.17); border-radius: 11px; padding: 12px 13px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(63,123,120,.18); border-color: var(--teal); }
.field textarea { min-height: 112px; resize: vertical; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 14px; border-radius: 11px; background: var(--teal-light); color: #3d555a; font-size: 0.79rem; }
.consent input { margin-top: 3px; accent-color: var(--teal); }
.form-submit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; }
.form-note { margin: 0; color: var(--muted); font-size: 0.76rem; }

.legal-page { min-height: 70vh; padding: 82px 0 110px; }
.legal-page article { max-width: 850px; }
.legal-page h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); }
.legal-page h2 { margin-top: 42px; margin-bottom: 12px; color: var(--deep); font-size: 1.55rem; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: #4f6267; }
.legal-callout { margin: 28px 0; padding: 22px 24px; border-left: 4px solid var(--copper); background: var(--sand); }

@media (max-width: 980px) {
  .nav-links > a:not(.button) { display: none; }
  .hero-grid, .scope-grid, .split, .plan-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-card { max-width: 570px; transform: none; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:first-child { padding-left: 30px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .scope-grid { gap: 45px; }
  .scope-grid .section-heading { position: static; }
  .split { gap: 55px; }
  .quote-card { min-height: 420px; }
  .plan-grid { gap: 52px; }
  .plan-card { max-width: 620px; }
  .checkout-grid, .question-grid { grid-template-columns: 1fr; gap: 52px; }
  .admin-layout { grid-template-columns: 1fr; }
  .client-list-panel { position: static; }
  .client-list { max-height: 380px; }
  .client-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .announcement { font-size: 0.7rem; }
  .nav-wrap { width: min(calc(100% - 28px), var(--max)); min-height: 72px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { display: none; }
  .nav-links { gap: 8px; }
  .button-small { padding: 8px 14px; }
  .hero { padding: 67px 0 58px; }
  .hero-grid, .container, .trust-inner { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-card { padding: 28px; border-radius: 24px; }
  .hero-card h2 { font-size: 1.8rem; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { min-height: auto; padding: 19px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .trust-item:first-child { border-top: 0; padding-left: 0; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .card-num { margin-bottom: 36px; }
  .quote-card { min-height: 390px; padding: 32px; }
  .plan-card { padding: 29px 24px; }
  .price strong { font-size: 4rem; }
  .faq-question { font-size: 1.08rem; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 10px; }
  .modal-panel { padding: 25px 19px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full, .consent, .form-submit { grid-column: 1; }
  .form-submit { align-items: stretch; flex-direction: column-reverse; }
  .form-submit .button { width: 100%; }
  .history-panel, .client-detail { padding: 22px 18px; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-marker { display: none; }
  .timeline-meta, .history-head, .detail-head, .admin-title { align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr; }
  .client-facts { grid-template-columns: 1fr; }
  .client-controls { align-items: stretch; flex-direction: column; }
  .client-controls .copy-link { width: 100%; }
  .admin-question-head, .admin-question-head > div, .response-actions { align-items: stretch; flex-direction: column; }
}

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