/* My Board of Advisors — Direction 1: Boardroom navy */

:root {
  --navy: #0A1F33;
  --navy-2: #1E3A54;
  --brass: #C9A24B;
  --brass-dark: #8A6A1F;
  --ivory: #F7F4EC;
  --ivory-2: #EDE7D8;
  --paper: #FFFFFF;
  --ink: #1C1C1A;
  --ink-soft: #5C5A52;
  --line: #D9D2C4;
  --danger: #A32D2D;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

/* overflow-x:hidden on body ALONE is unreliable on Android/Samsung
   Internet — it needs to be set on html too, or the page can still
   scroll/clip sideways on real devices even though desktop dev tools
   emulation looks fine. text-size-adjust stops Samsung Internet/Chrome's
   automatic mobile font-boosting, which silently widens text and can
   trigger the exact same edge-clipping on real hardware that never shows
   up when resizing a desktop browser window instead. */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  /* Safety net: if any one element on a page ever forces itself wider than
     the viewport, this stops it from dragging the whole page (header,
     sessions panel, everything) into a sideways-scrollable, edge-clipped
     mess — the specific offending element still needs its own fix, but
     the rest of the page stays intact instead of being pulled along. */
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, .brand, .footer-brand { font-family: var(--serif); font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
  background: var(--navy);
  border-bottom: 2px solid var(--brass);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand-block { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.brand {
  color: var(--ivory); text-decoration: none; font-size: 1.375rem;
  letter-spacing: 0.3px; font-family: var(--serif); font-weight: 600;
}
.brand-of { color: var(--brass); font-style: italic; }
.brand-tag {
  color: var(--brass); font-size: 0.95rem; font-style: italic;
  font-family: var(--serif); letter-spacing: 1.2px; margin-top: 1px;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ivory); text-decoration: none; font-size: 0.9rem; }
.site-nav a:hover { color: var(--brass); }
.nav-user { color: var(--brass); font-size: 0.8rem; }
.nav-btn {
  border: 1px solid var(--brass); padding: 7px 16px; border-radius: 3px;
}

/* Hamburger toggle — hidden on desktop, shown only below the breakpoint
   where the full nav switches to a dropdown panel. Plain CSS bars, no
   icon font/library, consistent with the rest of the site's inline-SVG-
   or-nothing approach to icons. */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--brass); border-radius: 4px;
  cursor: pointer; flex: none;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ivory);
  border-radius: 1px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Below this width the full nav row no longer fits next to the brand —
   collapse it behind the hamburger toggle instead of trying to wrap link
   text inline (which was cramped and easy to mis-tap). The nav becomes a
   full-width dropdown panel, hidden until toggled open. */
@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap; height: auto; padding: 14px 0; row-gap: 0;
  }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; order: 10; gap: 2px;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid rgba(201, 162, 75, 0.35);
  }
  .site-nav.nav-open { display: flex; }
  .site-nav a { padding: 10px 4px; }
  .nav-user { padding: 8px 4px; }
  .nav-btn { text-align: center; margin-top: 4px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.95rem;
  font-weight: 500; padding: 12px 26px; border-radius: 3px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent; transition: background .15s;
}
.btn-primary { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--ivory-2); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 5px 14px; font-size: 0.8rem; }

/* ---- Landing ---- */
.hero { background: var(--navy); color: var(--ivory); padding: 96px 0 88px; }
.eyebrow {
  color: var(--brass); text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 0.75rem; margin-bottom: 18px;
}
.hero h1 { font-size: 2.9rem; line-height: 1.15; max-width: 640px; }
.hero-sub { max-width: 560px; margin: 22px 0 34px; color: #C8CDD4; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.hero .btn-primary:hover { background: #D8B564; }
.hero .btn-ghost { color: var(--ivory); border-color: var(--ivory); }
.hero .btn-ghost:hover { background: var(--navy-2); }

.section { padding: 80px 0; }
.section h2 { font-size: 2rem; margin-bottom: 34px; }
.section-sub { max-width: 540px; margin-bottom: 26px; color: var(--ink-soft); }
.section-light { background: var(--ivory); }
.section-dark { background: var(--navy); color: var(--ivory); }
.section-dark h2 { color: var(--ivory); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--brass); padding: 26px 22px;
}
.step-num {
  font-family: var(--serif); color: var(--brass-dark); font-size: 1.4rem;
  display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

.advisor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.advisor-card {
  border: 1px solid rgba(201,162,75,0.45); padding: 20px 18px; border-radius: 3px;
}
.advisor-card h3 { color: var(--brass); font-size: 1rem; margin-bottom: 8px; }
.advisor-card p { font-size: 0.88rem; color: #C8CDD4; }
.advisor-note { margin-top: 28px; color: #C8CDD4; font-size: 0.9rem; font-style: italic; }

/* ---- Auth ---- */
.auth-section { display: flex; justify-content: center; padding: 80px 24px; }
.auth-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  padding: 40px 36px; width: 100%; max-width: 420px;
}
.auth-card h1 { font-size: 1.6rem; }
.auth-sub { color: var(--ink-soft); margin: 6px 0 22px; }
.auth-card label { display: block; font-size: 0.85rem; font-weight: 500; margin: 14px 0 5px; }
.auth-card input, .auth-card select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 3px; font-size: 0.95rem; font-family: var(--sans);
  color: var(--ink); background: var(--paper);
}
.auth-card input:focus, .auth-card select:focus { outline: none; border-color: var(--brass); }
/* Select needs its native chrome reset before it'll match text inputs —
   otherwise it keeps the OS-drawn control regardless of the rules above. */
.auth-card select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235C5A52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
  padding-right: 34px; cursor: pointer;
}
.auth-card select:invalid { color: var(--ink-soft); }
.auth-card .btn { margin-top: 22px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  color: var(--ink-soft); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.auth-note { margin-top: 16px; font-size: 0.78rem; color: var(--ink-soft); }
.auth-forgot { margin: -1px 0 16px; text-align: right; font-size: 0.82rem; }
.auth-forgot a { color: var(--ink-soft); }
.auth-forgot a:hover { color: var(--brass-dark); }
.verify-banner {
  background: #FFF6E0; color: #7A5A00; border: 1px solid #EED89A;
  padding: 10px 14px; font-size: 0.85rem; border-radius: 8px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.verify-banner form { margin: 0; }
.verify-banner button {
  background: none; border: none; padding: 0; color: #7A5A00; text-decoration: underline;
  font-size: 0.85rem; cursor: pointer;
}
.btn-link {
  background: none; border: none; padding: 0; margin-top: 10px;
  color: var(--brass-dark); text-decoration: underline; font-size: 0.82rem; cursor: pointer;
  font-family: inherit;
}
.code-input {
  font-size: 1.6rem !important; letter-spacing: 0.5em; text-align: center;
  font-variant-numeric: tabular-nums;
}
.google-identity-note {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 3px;
  padding: 10px 14px; margin-bottom: 18px; font-size: 0.85rem; color: var(--ink-soft);
}
.google-identity-note strong { color: var(--ink); }

/* ---- Signup (plan picker + account form) ---- */
.signup-card { max-width: 800px; }
.plan-fieldset { border: none; padding: 0; margin: 0 0 24px; }
.plan-fieldset legend {
  padding: 0; margin-bottom: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.plan-grid { margin-bottom: 12px; }
/* Compound .tier-card.plan-option selectors (not just .plan-option) so
   these reliably win over the plain .tier-card rules elsewhere in this
   file regardless of source order. */
.tier-card.plan-option {
  cursor: pointer; padding: 22px 22px 26px; border: 1px solid var(--line);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tier-card.plan-option:hover { border-color: var(--brass-dark); }
.tier-card.plan-option:has(.plan-radio:checked) {
  border: 2px solid var(--brass); box-shadow: 0 6px 18px rgba(201, 162, 75, 0.2);
}
.tier-card.plan-option:has(.plan-radio:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }
.plan-radio-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.plan-radio-row .plan-radio { width: auto; accent-color: var(--brass); }
/* Compound selectors here too — the pricing page's .tier-card h3 /
   .tier-price span rules would otherwise leak their font-size into these
   signup plan cards (same base classes), since a plain .plan-radio-row h3
   rule ties in specificity and loses to .tier-card h3 by source order. */
.plan-option .plan-radio-row h3 { margin-bottom: 0; font-size: 1.44rem; }
.plan-option .tier-price { font-size: 1.7rem; margin-bottom: 8px; }
.plan-option .tier-price span { font-size: 1.14rem; }
.plan-option .tier-trial { font-size: 0.8rem; }
.plan-option .tier-features { margin-top: 10px; }

/* Screen-reader-only utility (labels stay in the DOM for accessibility
   even where the wizard's prompt bubble makes them visually redundant). */
.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;
}

/* ---- Signup wizard (progressive enhancement — see js/signup-wizard.js) ----
   Default state (no JS, or a failed submission): every .wizard-step is a
   plain visible block, i.e. the original flat form. JS adds .js-active to
   the form only on a fresh, error-free load, which is what turns on the
   one-question-at-a-time behavior below. */
.wizard-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.wizard-progress span {
  flex: 1; height: 4px; border-radius: 999px; background: var(--ivory-2);
}
.wizard-progress span.done { background: var(--brass); }
.wizard-prompt {
  background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--brass);
  border-radius: 3px; padding: 12px 16px; margin: 0 0 16px; font-size: 0.95rem;
  color: var(--ink); font-family: var(--serif);
}
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard-nav .btn { margin-top: 0; }
/* Plan step's Next button lives inside .plan-grid itself (as the grid
   item right after the last card) instead of below it. With 3 cards and
   2 columns, grid auto-placement drops it into the empty cell beside the
   last card on wider screens; on a single mobile column it just falls
   in line below Elite like a normal stacked button — no media query
   needed either way. */
.plan-grid-nav { display: flex; align-items: flex-end; justify-content: flex-end; padding-bottom: 4px; }
.plan-grid-nav .btn { margin-top: 0; }
.js-active .wizard-step { display: none; }
.js-active .wizard-step.active {
  display: block; animation: wizard-step-in 0.22s ease;
}
@keyframes wizard-step-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.wizard-optional {
  font-weight: 400; font-style: italic; color: var(--ink-soft); font-size: 0.85em;
}

/* Shared slide-down error banner — js/signup-wizard.js shows/hides this
   one element per step rather than every step carrying its own. */
.step-error {
  max-height: 0; overflow: hidden; opacity: 0; padding: 0 14px;
  transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.22s ease,
    margin 0.22s ease, border-color 0.22s ease;
  background: #FCEBEB; border: 1px solid transparent; color: var(--danger);
  border-radius: 3px; font-size: 0.85rem; line-height: 1.4;
}
.step-error.show {
  max-height: 100px; opacity: 1; padding: 10px 14px; margin-bottom: 16px;
  border-color: #F0C4C4;
}

/* Two equal columns — first/last name, address line 1/2. Stacks on
   narrow screens (same breakpoint the address city/state/zip row uses). */
.field-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

/* Address step: city/state/zip in one row on wider screens, stacked on
   narrow ones (same 560px breakpoint the auth card starts feeling tight
   at). */
.address-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 14px;
}
@media (max-width: 560px) {
  .address-grid, .field-grid-2 { grid-template-columns: 1fr; }
}

/* Password show/hide toggle (eye icon) */
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; background: none; border: none; border-radius: 3px;
  color: var(--ink-soft); cursor: pointer; padding: 0;
}
.password-toggle:hover { color: var(--brass-dark); background: var(--ivory-2); }
.form-error {
  background: #FCEBEB; color: var(--danger); border: 1px solid #F0C4C4;
  padding: 10px 12px; font-size: 0.85rem; border-radius: 3px; margin-bottom: 6px;
}

/* ---- Boardroom ---- */
.boardroom main { min-height: calc(100vh - 64px); }
.boardroom-layout {
  display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 28px;
  padding-top: 32px; padding-bottom: 48px; max-width: 1200px;
}
/* minmax(0, 1fr), not plain 1fr — grid items default to min-width:auto,
   so a bare 1fr column lets an overflowing descendant (anywhere inside
   .history-panel or .chat-panel) force the *column itself* to grow past
   the viewport instead of containing it, which drags main/body along and
   is what was cutting off unrelated sections (even the header) at the
   same edge. minmax(0, ...) gives the column an explicit 0 floor so it
   actually clips/wraps its content instead of expanding for it. */
@media (max-width: 820px) { .boardroom-layout { grid-template-columns: minmax(0, 1fr); } }

.history-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 16px; align-self: start;
}
.history-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.history-head h2 { font-size: 1rem; }
.history-list { list-style: none; }
.history-list li {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 9px 6px 9px 8px; font-size: 0.85rem; border-radius: 3px;
  color: var(--ink-soft);
}
.history-list li:hover, .history-list li.active { background: var(--ivory-2); color: var(--ink); }
.history-list li.pinned .history-item-title::before {
  content: "\2606"; margin-right: 5px; font-size: 0.8em; color: var(--ink-soft);
}

.history-item-title {
  flex: 1 1 auto; min-width: 0; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.history-item-rename {
  flex: 1 1 auto; min-width: 0; font: inherit; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 2px 6px;
}

.history-item-menu-btn {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px; border: none;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  opacity: 0; transition: opacity .12s ease, background .12s ease;
}
.history-list li:hover .history-item-menu-btn,
.history-list li:focus-within .history-item-menu-btn,
.history-list li.menu-open .history-item-menu-btn { opacity: 1; }
.history-item-menu-btn:hover { background: var(--line); color: var(--ink); }

.history-item-menu {
  position: absolute; top: calc(100% + 2px); right: 6px; z-index: 20;
  min-width: 130px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 4px;
  display: flex; flex-direction: column;
}
.history-item-menu[hidden] { display: none; }
.history-menu-item {
  display: block; width: 100%; text-align: left; padding: 7px 10px;
  font-size: 0.82rem; border: none; background: transparent; color: var(--ink);
  border-radius: 4px; cursor: pointer; white-space: nowrap;
}
.history-menu-item:hover { background: var(--ivory-2); }
.history-menu-danger { color: #b3392c; }
.history-menu-danger:hover { background: #fbe9e7; }

.chat-panel { display: flex; flex-direction: column; gap: 18px; }
.chat-thread { min-height: 280px; }
.chat-welcome h1 { font-size: 1.7rem; margin-bottom: 10px; }
.chat-welcome p { color: var(--ink-soft); max-width: 560px; }

.msg { margin-bottom: 18px; }
.msg-user {
  background: var(--navy); color: var(--ivory); padding: 14px 18px;
  border-radius: 3px; max-width: 85%; margin-left: auto; white-space: pre-wrap;
}
.msg-board {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--brass); padding: 18px 20px; border-radius: 3px;
}
.msg-board h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--brass-dark); margin: 18px 0 6px;
}
.msg-board h3:first-child { margin-top: 0; }
.msg-board .advisor-text { white-space: pre-wrap; font-size: 0.95rem; }
.msg-board .advisor-text strong { font-weight: 700; color: var(--ink); }

.section-actions { margin-top: 8px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 5px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); cursor: pointer;
  font-size: 0.78rem; line-height: 1; transition: background .12s ease, color .12s ease;
}
.copy-btn-icon { display: flex; align-items: center; }
.copy-btn:hover { background: var(--ivory-2); color: var(--ink); }
.copy-btn.copied { color: var(--brass-dark); border-color: var(--brass); }

.msg-board-footer {
  display: flex; justify-content: flex-end; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.msg-board-footer .copy-btn { font-weight: 600; border-color: var(--brass); }
.msg-board .chairman {
  background: var(--ivory); border: 1px solid var(--brass);
  padding: 14px 16px; margin-top: 16px; border-radius: 3px;
}
.msg-status {
  color: var(--ink-soft); font-size: 0.85rem; font-style: italic;
  padding: 6px 2px;
}
.msg-status-working { display: flex; align-items: center; gap: 8px; }
.spinner {
  flex: none; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--brass);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.msg-error { color: var(--danger); font-size: 0.9rem; }
.ai-disclaimer {
  margin: 14px 0 0; font-size: 0.72rem; font-style: italic;
  color: var(--ink-soft); text-align: center;
}

/* Composer — one bordered box holding the textarea + toolbar, matching
   the "button docked inside the field" look of the homepage preview
   (.preview-input) rather than a separate button beside the textarea. */
.chat-form { display: block; }
.composer {
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(28, 28, 26, 0.05);
  padding: 14px 14px 10px;
}
.composer:focus-within { border-color: var(--brass); }
.composer-textarea {
  display: block; width: 100%; resize: none; min-height: 96px;
  padding: 0 2px 10px; font-family: var(--sans); font-size: 0.95rem;
  line-height: 1.55; border: none; background: transparent;
}
.composer-textarea:focus { outline: none; }
.composer-textarea:disabled { color: var(--ink-soft); cursor: not-allowed; }
.btn-primary:disabled {
  background: var(--ink-soft); border-color: var(--ink-soft);
  cursor: not-allowed; opacity: 0.7;
}
.composer-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.composer-toolbar-right { display: flex; align-items: center; gap: 12px; }
.composer-model {
  font-size: 0.75rem; color: var(--ink-soft); white-space: nowrap;
}
.composer-attach {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ivory); color: var(--ink-soft); padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  flex-shrink: 0;
}
.composer-attach svg { display: block; }
.composer-attach:hover { border-color: var(--brass-dark); color: var(--brass-dark); }
.composer-toolbar .btn { margin-top: 0; border-radius: 10px; }
/* .composer-model has white-space:nowrap so its text never breaks mid-word
   — fine on its own, but combined with the Convene button and no wrapping
   on .composer-toolbar, the row's minimum content width could exceed a
   narrow screen and push the button off the right edge instead of
   shrinking. Let the row wrap: attach button stays on its own line, model
   name + Convene button share a full-width row below it. */
@media (max-width: 600px) {
  .composer-toolbar { flex-wrap: wrap; row-gap: 10px; min-width: 0; }
  .composer-toolbar-right {
    width: 100%; justify-content: space-between;
    flex-wrap: wrap; row-gap: 8px; min-width: 0;
  }
}
.composer-attachments {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.composer-attachments:empty { display: none; }
.composer-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 6px 4px 12px; font-size: 0.78rem; color: var(--ink);
}
.composer-chip button {
  background: none; border: none; color: var(--ink-soft); cursor: pointer;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem; line-height: 1;
}
.composer-chip button:hover { background: var(--ivory-2); color: var(--danger); }

/* Attachment chips on a sent/history message — read-only, no remove button. */
.msg-attachments {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end;
  margin: 6px 0 0;
}
.msg-attachment-chip {
  font-size: 0.75rem; color: var(--ink-soft); background: var(--ivory-2);
  border-radius: 999px; padding: 3px 10px;
}

.advisor-select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 18px 20px;
}
.advisor-select-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.advisor-select-head h2 { font-size: 1rem; }
.advisor-count { font-size: 0.8rem; color: var(--ink-soft); }
.advisor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.advisor-chip {
  font-family: var(--sans); font-size: 0.85rem; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--ivory);
  color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.advisor-chip.selected {
  background: var(--navy); color: var(--ivory); border-color: var(--navy);
}
.advisor-chip .chip-badge {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--brass); border: 1px solid var(--brass); border-radius: 999px;
  padding: 1px 8px;
}
.advisor-chip:not(.selected) .chip-badge { color: var(--brass-dark); border-color: var(--brass-dark); }
.chip-coming {
  font-size: 0.8rem; color: var(--ink-soft); font-style: italic;
  padding: 8px 6px;
}

/* ---- Pricing tiers ---- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.tier-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
}
.tier-featured { border: 2px solid var(--brass); }
.tier-flag {
  position: absolute; top: -12px; left: 26px; background: var(--brass);
  color: var(--navy); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 3px 12px; border-radius: 999px; font-weight: 600;
}
.tier-card h3 { font-size: 1.8rem; margin-bottom: -8px; }
.tier-price { font-family: var(--serif); font-size: 3.15rem; color: var(--navy); margin-bottom: 12px; }
.tier-price span { font-size: 1.425rem; color: var(--ink-soft); font-family: var(--sans); }
.tier-desc { font-size: 0.9rem; color: var(--ink-soft); flex: 1; margin-bottom: 20px; }
.tier-enterprise { margin-top: 26px; font-size: 0.9rem; color: var(--ink-soft); }
.tier-enterprise a { color: var(--brass-dark); }

/* ---- Account ---- */
.account-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  padding: 32px; max-width: 560px; margin: 48px auto;
}
.account-card h1 { font-size: 1.5rem; margin-bottom: 16px; }
.account-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.account-row span:first-child { color: var(--ink-soft); }
.badge-status {
  background: var(--ivory-2); color: var(--brass-dark); border-radius: 999px;
  padding: 2px 12px; font-size: 0.78rem;
}

/* ---- Hero with image ---- */
.hero-split { padding: 88px 0; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 31, 51, 0.86);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px; align-items: center;
  position: relative; z-index: 2;
}

/* Full-bleed photo background for any dark section */
.section-photo { position: relative; overflow: hidden; }
.section-photo .section-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.section-photo .section-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 31, 51, 0.88);
}
.section-photo .container { position: relative; z-index: 2; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-art {
  overflow: hidden; border-radius: 8px;
  border: 1px solid rgba(201,162,75,0.5);
  box-shadow: 0 24px 48px rgba(4, 12, 22, 0.5);
}
.hero-art img {
  width: 100%; height: auto; display: block;
  transform: scale(1.25) translateY(-10%); transform-origin: center center;
}

/* ---- Page hero (pricing) ---- */
.page-hero { position: relative; background: var(--navy); }
.page-hero-img { width: 100%; height: 400px; object-fit: cover; display: block; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(10, 31, 51, 0.8); }
.page-hero-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; max-width: 1100px; margin: 0 auto; padding: 0 24px;
  width: 100%; box-sizing: border-box;
}
.page-hero-copy h1 {
  color: var(--ivory); font-size: 3.2rem; line-height: 1.1;
  max-width: 640px; letter-spacing: -0.5px;
}
.page-hero-copy h1 em { color: var(--brass); font-style: italic; }
.page-hero-copy h1::after {
  content: ""; display: block; width: 72px; height: 4px;
  background: var(--brass); margin-top: 18px;
}
.page-hero-sub {
  color: #C8CDD4; font-size: 1.1rem; max-width: 480px; margin-top: 16px;
}
@media (max-width: 700px) { .page-hero-copy h1 { font-size: 2.3rem; } }

/* ---- Steps with dotted flow connectors (2 x 2 layout) ---- */
.steps-flow { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
.steps-flow .step { position: relative; padding-top: 0; overflow: visible; }
.step-img {
  width: calc(100% + 44px); margin: 0 -22px 16px; display: block;
  border-bottom: 1px solid var(--line);
  height: 170px; object-fit: cover;
}

/* horizontal line across the column gap: 1 -> 2 and 3 -> 4 */
.steps-flow .step:nth-child(1)::after,
.steps-flow .step:nth-child(3)::after {
  content: ""; position: absolute; top: 50%; right: -22px;
  width: 22px; height: 0; border-top: 2px solid var(--brass); z-index: 2;
}
/* vertical stub from the wrap line down into card 3's column */
.steps-flow .step:nth-child(1)::before {
  content: ""; position: absolute; left: 50%; bottom: -64px;
  width: 0; height: 32px; border-left: 2px solid var(--brass); z-index: 2;
}
/* arrowhead entering cards 2 and 4 */
.steps-flow .step:nth-child(2)::before,
.steps-flow .step:nth-child(4)::before {
  content: ""; position: absolute; top: 50%; left: -9px;
  transform: translateY(-50%); width: 0; height: 0; z-index: 2;
  border-left: 8px solid var(--brass);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
/* wrap connector: down from card 2, across to column 1 — horizontal
   segment centered vertically in the row gap (row-gap 64 / 2 = 32) */
.steps-flow .step:nth-child(2)::after {
  content: ""; position: absolute; right: 50%; bottom: -34px;
  width: calc(100% + 22px); height: 32px; z-index: 2;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
}
/* arrowhead entering card 3 from above */
.steps-flow .step:nth-child(3)::before {
  content: ""; position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%); width: 0; height: 0; z-index: 2;
  border-top: 8px solid var(--brass);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
}

/* step header: circular number badge beside a larger title */
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--brass);
  font-family: var(--serif); font-size: 1.75rem; font-weight: 600;
  margin: 0;
}
.step h3 { font-size: 1.4rem; margin: 0; }

/* card depth + rollover */
.step {
  box-shadow: 0 4px 14px rgba(28, 28, 26, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(28, 28, 26, 0.16);
  border-top-color: var(--brass-dark);
}
.step:hover .step-num { background: var(--brass); color: var(--navy); }
.step-num { transition: background .2s ease, color .2s ease; }

@media (max-width: 700px) {
  .steps-flow { grid-template-columns: 1fr; row-gap: 44px; }
  .steps-flow .step::after, .steps-flow .step::before { content: none !important; }
  .steps-flow .step:not(:last-child)::after {
    content: "" !important; position: absolute; left: 50%; bottom: -32px;
    width: 0; height: 20px; border-right: 2px solid var(--brass);
    border-bottom: none; right: auto;
  }
}

/* section-level sign-up buttons */
.section-signup { text-align: center; margin-top: 44px; }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.btn-brass:hover { background: #D8B564; }
.section-signup .btn {
  font-size: 1.1rem; font-weight: 600; padding: 15px 38px;
  letter-spacing: 0.3px; border-radius: 5px;
  box-shadow: 0 3px 8px rgba(10, 31, 51, 0.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.section-signup .btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 14px rgba(10, 31, 51, 0.45);
}
.section-signup .btn:active { transform: translateY(-1px) scale(1.01); }
.section-signup .btn-brass {
  box-shadow: 0 3px 8px rgba(201, 162, 75, 0.4);
}
.section-signup .btn-brass:hover {
  box-shadow: 0 6px 14px rgba(201, 162, 75, 0.55);
}

/* ---- Advisor cards with images ---- */
.advisor-card { padding: 0 0 20px; overflow: hidden; background: #122B44; }
.advisor-img {
  width: 100%; height: auto; display: block; margin-bottom: 16px;
  border-bottom: 1px solid rgba(201,162,75,0.45);
}
.advisor-card h3, .advisor-card p { padding: 0 18px; }
.advisor-card { transition: transform .2s ease, box-shadow .2s ease; }
.advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(4, 12, 22, 0.55);
}

/* ---- Billing toggle ---- */
.billing-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); padding: 4px; margin-bottom: 30px;
}
.bt-opt {
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  border: none; background: transparent; color: var(--ink-soft);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.bt-opt.active { background: var(--navy); color: var(--ivory); }
.bt-save {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--brass-dark); border: 1px solid var(--brass); border-radius: 999px;
  padding: 2px 8px;
}
.bt-opt.active .bt-save { color: var(--brass); }

/* ---- Tier feature lists ---- */
.tier-trial {
  color: var(--brass-dark); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.tier-features {
  list-style: none; margin: 0 0 22px; padding: 0; flex: 1;
}
.tier-features li {
  position: relative; padding: 7px 0 7px 28px; font-size: 0.9rem;
  color: var(--ink-soft); border-bottom: 1px solid var(--ivory-2);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: "\2713"; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy); color: var(--brass); font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Dynamic tier cards ---- */
.tier-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 4px 14px rgba(28, 28, 26, 0.08);
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(28, 28, 26, 0.18);
  border-color: var(--brass);
}
.tier-featured:hover { border-color: var(--brass); }

/* ---- CTA band ---- */
.section-cta { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner .section-sub { margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Boardroom preview mock ---- */
.preview-frame {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(28, 28, 26, 0.16); max-width: 860px;
  background: var(--ivory);
}
.preview-bar {
  background: var(--navy); border-bottom: 2px solid var(--brass);
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px;
}
.preview-brand { font-family: var(--serif); color: var(--ivory); font-size: 0.95rem; }
.preview-brand em { color: var(--brass); }
.preview-user { color: var(--brass); font-size: 0.75rem; }
.preview-body { padding: 22px 24px; }
.preview-msg-user {
  background: var(--navy); color: var(--ivory); padding: 12px 16px;
  border-radius: 12px; max-width: 78%; margin-left: auto; font-size: 0.85rem;
}
.preview-msg-board {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--brass); border-radius: 12px;
  padding: 16px 18px; margin-top: 14px; font-size: 0.85rem;
}
.preview-msg-board h4 {
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--brass-dark); margin: 12px 0 4px;
}
.preview-msg-board h4:first-child { margin-top: 0; }
.preview-msg-board p { color: var(--ink-soft); }
.preview-chairman {
  background: var(--ivory); border: 1px solid var(--brass); border-radius: 8px;
  padding: 10px 14px; margin-top: 12px;
}
.preview-input {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 14px 16px; margin-top: 16px; font-size: 0.85rem; color: #8A8577;
}
.preview-btn {
  background: var(--navy); color: var(--ivory); border-radius: 6px;
  padding: 8px 16px; font-size: 0.8rem; white-space: nowrap;
}

/* ---- Contact ---- */
.contact-card { max-width: 520px; }
.contact-card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 0.95rem; font-family: var(--sans); resize: vertical;
}
.contact-card textarea:focus { outline: none; border-color: var(--brass); }
.form-success {
  background: #EAF3DE; color: #3B6D11; border: 1px solid #C0DD97;
  padding: 12px 14px; font-size: 0.9rem; border-radius: 8px;
}

/* ---- Boardroom refinements ---- */
.msg-user { border-radius: 14px 14px 4px 14px; box-shadow: 0 3px 10px rgba(10,31,51,0.25); }
.msg-board { border-radius: 14px; box-shadow: 0 3px 12px rgba(28,28,26,0.08); }
.msg-board .chairman { border-radius: 10px; }
.history-panel, .advisor-select { border-radius: 12px; }
.history-list li { border-radius: 8px; }

.advisor-chip {
  border-radius: 999px; padding: 9px 16px 9px 12px;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink-soft);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.advisor-chip::before {
  content: "+"; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; font-size: 0.75rem;
  border: 1.5px solid var(--ink-soft); color: var(--ink-soft); font-weight: 600;
}
.advisor-chip:hover { border-color: var(--brass-dark); color: var(--ink); }
.advisor-chip.selected {
  background: var(--navy); color: var(--ivory); border-color: var(--brass);
}
.advisor-chip.selected::before {
  content: "\2713"; background: var(--brass); border-color: var(--brass);
  color: var(--navy);
}
.advisor-chip.selected .chip-badge { color: var(--brass); border-color: var(--brass); }

/* ---- Cookie consent ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--navy); border-top: 1px solid var(--brass);
  display: none; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 14px 28px;
  box-shadow: 0 -8px 24px rgba(4, 12, 22, 0.35);
}
.cookie-banner.visible { display: flex; }
.cookie-text { color: #C8CDD4; font-size: 0.85rem; margin: 0; max-width: 640px; }
.cookie-text strong { color: var(--ivory); }
.cookie-text a { color: var(--brass); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-btn {
  font-family: var(--sans); font-size: 0.83rem; font-weight: 500;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ivory); border: 1px solid #4A6076;
  transition: border-color .15s, background .15s;
}
.cc-btn:hover { border-color: var(--brass); }
.cc-btn-primary { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.cc-btn-primary:hover { background: #D8B564; }

.cookie-modal {
  position: fixed; inset: 0; z-index: 210; display: none;
  align-items: center; justify-content: center;
  background: rgba(6, 16, 28, 0.72); padding: 24px;
}
.cookie-modal.visible { display: flex; }
.cookie-modal-card {
  background: var(--navy); border: 1px solid #2C4A66; border-radius: 12px;
  width: 100%; max-width: 460px; padding: 28px 30px; position: relative;
  box-shadow: 0 30px 60px rgba(4, 12, 22, 0.6);
}
.cookie-modal-card h2 { color: var(--ivory); font-size: 1.25rem; margin-bottom: 8px; }
.cc-sub { color: #C8CDD4; font-size: 0.85rem; margin-bottom: 18px; }
.cc-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: #C8CDD4; font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.cc-close:hover { color: var(--ivory); }
.cc-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 0; border-bottom: 1px solid #21405E;
}
.cc-row:last-of-type { border-bottom: none; }
.cc-row h3 { color: var(--ivory); font-family: var(--sans); font-size: 0.92rem; margin: 0 0 2px; }
.cc-row p { color: #8FA2B5; font-size: 0.78rem; margin: 0; }
.cc-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-switch span {
  position: absolute; inset: 0; background: #3A5674; border-radius: 999px;
  transition: background .15s; cursor: pointer;
}
.cc-switch span::before {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ivory); top: 3px; left: 3px; transition: transform .15s;
}
.cc-switch input:checked + span { background: var(--brass); }
.cc-switch input:checked + span::before { transform: translateX(18px); }
.cc-locked span { opacity: 0.75; cursor: not-allowed; }
.cc-footer { display: flex; justify-content: flex-end; margin-top: 18px; }

/* ---- Cookie policy page ---- */
.policy-hero { background: var(--navy); padding: 64px 0 48px; border-bottom: 2px solid var(--brass); }
.policy-hero h1 { color: var(--ivory); font-size: 2.6rem; margin: 6px 0 10px; }
.policy-dates { color: #8FA2B5; font-size: 0.82rem; letter-spacing: 0.5px; }

.policy-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .policy-layout { grid-template-columns: 1fr; } }

.policy-toc { position: sticky; top: 24px; }
@media (max-width: 860px) { .policy-toc { position: static; } }
.toc-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--brass-dark); margin-bottom: 10px;
}
.policy-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.policy-toc li { margin: 0; }
.policy-toc a {
  display: block; padding: 6px 0 6px 14px; font-size: 0.84rem;
  color: var(--ink-soft); text-decoration: none; border-left: 2px solid transparent;
  margin-left: -2px;
}
.policy-toc a:hover { color: var(--ink); }
.policy-toc a.active { color: var(--navy); border-left-color: var(--brass); font-weight: 600; }

.policy-content { max-width: 720px; }
.policy-content h2 {
  font-size: 1.3rem; margin: 34px 0 10px; scroll-margin-top: 24px;
}
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content h3 { font-size: 1rem; margin: 20px 0 6px; }
.policy-content p { margin-bottom: 12px; color: var(--ink); }
.policy-content ul { margin: 0 0 14px 22px; }
.policy-content li { margin-bottom: 6px; font-size: 0.95rem; color: var(--ink); }
.policy-content a { color: var(--brass-dark); }
.policy-content code {
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 6px; font-size: 0.85em;
}
.policy-callout {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--brass); border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin-bottom: 28px;
}
.policy-callout p { margin: 0; color: var(--ink); font-size: 0.95rem; }
.policy-links { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.policy-links li { margin: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #C8CDD4; padding: 44px 0; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { color: var(--ivory); font-size: 1.1rem; }
.footer-tag { font-size: 0.85rem; font-style: italic; color: var(--brass); }
.footer-nav-group { display: flex; gap: 56px; }
.footer-nav-group > div { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-title {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--brass); margin-bottom: 4px;
}
.site-footer a { color: #C8CDD4; text-decoration: none; font-size: 0.85rem; }
.site-footer a:hover { color: var(--brass); }
.footer-legal { font-size: 0.75rem; width: 100%; margin-top: 8px; text-align: center; }
.footer-legal a { color: var(--brass); }
