/* Shared presentation copied from the approved static homepage. */

  :root {
    --color-midnight: #0F1B2A;
    --color-slate: #1E2D44;
    --color-copper: #C7672D;
    --color-copper-light: #E0915E;
    --color-copper-dark: #B05226;
    --color-cream: #F7F2EA;
    --color-white: #FFFFFF;
    --color-ink-70: rgba(15, 27, 42, 0.7);
    --color-ink-50: rgba(15, 27, 42, 0.5);
    --color-ink-15: rgba(15, 27, 42, 0.15);
    --color-paper-70: rgba(247, 242, 234, 0.7);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-content: 1200px;
    --shadow-default: 0 4px 24px rgba(15, 27, 42, 0.08);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  section[id] { scroll-margin-top: 84px; } /* keep section titles clear of the sticky header on anchor jumps */
  body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-midnight);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 48px;
  }

  /* HEADER */
  header.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 242, 234, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-ink-15);
  }
  .header-inner {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 72px;
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
    color: var(--color-midnight); text-decoration: none;
  }
  .logo-mark {
    width: 32px; height: 32px;
    flex-shrink: 0;
    display: block;
  }
  .nav { display: flex; gap: 32px; align-items: center; }
  .nav a:not(.btn) {
    font-size: 14px; color: var(--color-ink-70); text-decoration: none;
    transition: color 0.15s;
  }
  .nav a:not(.btn):hover { color: var(--color-midnight); }
  /* Client login menu, portal + mailbox behind one affordance instead of two competing
     pills. Built on <details>, so it opens, closes and takes keyboard focus with no
     JavaScript; the script at the end of the document only adds outside-click and Escape. */
  .client-menu { position: relative; }
  .client-menu > summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--color-ink-15);
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 14px; font-weight: 500; color: var(--color-ink-70);
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
  }
  .client-menu > summary::-webkit-details-marker { display: none; }
  .client-menu > summary:hover,
  .client-menu[open] > summary {
    border-color: var(--color-midnight);
    color: var(--color-midnight);
    background: rgba(15, 27, 42, 0.04);
  }
  .client-menu-chev { width: 10px; height: 10px; transition: transform 0.15s; }
  .client-menu[open] .client-menu-chev { transform: rotate(180deg); }
  .client-menu-panel {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
    min-width: 258px; padding: 6px;
    background: var(--color-white);
    border: 1px solid var(--color-ink-15);
    border-radius: 12px;
    box-shadow: var(--shadow-default);
  }
  .client-menu-panel a {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 10px 12px; border-radius: 8px;
  }
  .client-menu-panel a:hover { background: rgba(15, 27, 42, 0.04); }
  .cm-icon {
    flex-shrink: 0; width: 30px; height: 30px; margin-top: 1px;
    border-radius: 7px; display: grid; place-items: center;
    background: rgba(199, 103, 45, 0.11); color: var(--color-copper);
  }
  .cm-title { display: block; font-size: 14px; font-weight: 600; color: var(--color-midnight); line-height: 1.3; }
  .cm-desc { display: block; font-size: 12px; color: var(--color-ink-50); line-height: 1.4; margin-top: 2px; }
  .btn {
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: -0.005em;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
  }
  .btn-primary {
    background: var(--color-midnight); color: var(--color-cream);
  }
  .btn-primary:hover { background: var(--color-slate); }
  .btn-secondary {
    background: transparent; color: var(--color-midnight);
    border: 1px solid var(--color-ink-15);
  }
  .btn-secondary:hover { border-color: var(--color-midnight); }
  .btn-copper {
    background: var(--color-copper); color: var(--color-cream);
  }
  .btn-copper:hover { background: var(--color-copper-light); }

  /* FAQ */
  .faq { padding: 96px 0; background: var(--color-white); }
  /* Constrain the heading + grid to the same 800px column so they share a left edge */
  .faq .section-label,
  .faq .section-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .faq-grid { max-width: 800px; margin: 48px auto 0; }
  details.faq-item {
    border-bottom: 1px solid var(--color-ink-15);
    padding: 20px 0;
  }
  details.faq-item summary {
    cursor: pointer;
    font-family: var(--font-body); font-weight: 600;
    font-size: 17px;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
  }
  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item summary::after {
    content: '+';
    font-size: 24px; font-weight: 300;
    color: var(--color-copper);
    transition: transform 0.2s;
  }
  details.faq-item[open] summary::after { content: '−'; }
  details.faq-item .faq-body {
    margin-top: 12px;
    font-size: 15px; color: var(--color-ink-70); line-height: 1.6;
    max-width: 720px;
  }

  /* FOOTER */
  footer {
    background: var(--color-midnight);
    color: var(--color-paper-70);
    padding: 64px 0 40px;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(247, 242, 234, 0.1);
  }
  footer .logo { color: var(--color-cream); margin-bottom: 16px; }
  .footer-tag {
    font-size: 14px; line-height: 1.55;
    max-width: 320px;
  }
  .footer-helping {
    margin-top: 14px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: rgba(247, 242, 234, 0.5);
    max-width: 320px;
  }
  .footer-helping em {
    color: var(--color-copper-light);
    font-style: italic;
    font-weight: 500;
  }
  .footer-col h4 {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--color-cream);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--color-paper-70); text-decoration: none;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--color-cream); }
  .footer-bottom {
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(247, 242, 234, 0.5);
  }
