/* Tango Advisor Marketing, shared styles for every page. Tokens first, then type, buttons, header, and the sections pages reuse (logo strip, testimonials, FAQ, close band, footer). */

  :root {
    --canvas: #FAFBFC; --press: #121721; --ink: #000; --muted: #4E5A68; --sage: #C3CFDC;
    --hair: #E3E8EE; --accent: #FEC800; --echo: #FFF1B8; --board: #F3F6FA; --dot: #C9D2DD; --base: #D6DDE6;
    --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
  .cap { font-size: 11px; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase; color: var(--muted); }
  .btn { display: inline-block; background: var(--press); color: #fff; font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 5px; box-shadow: rgba(18,23,33,.22) 1px 8px 20px 0px; border: 0; cursor: pointer; font-family: inherit; }
  .btn:hover { background: #1F2A3A; }
  .btn.sm { font-size: 15px; padding: 12px 22px; white-space: nowrap; }
  @media (max-width: 420px) { .brand span { font-size: 14px; } }
  .btn:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

  #top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
  .topbar { position: sticky; top: 0; z-index: 50; margin-bottom: calc(-1 * var(--barh, 80px)); background: transparent; border-bottom: 1px solid transparent; transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
  .topbar.scrolled { background: var(--canvas); border-bottom-color: var(--hair); }
  .bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
  .brand img { display: block; width: 30px; height: 30px; border-radius: 50%; }
  .nav { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 500; }
  .nav .when { color: var(--muted); }
  @media (max-width: 720px) { .nav .when { display: none; } }

  .h-big { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 0.98; font-size: clamp(38px, 5.4vw, 84px); text-wrap: balance; }
  .h-mid { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; font-size: clamp(28px, 3.4vw, 48px); text-wrap: balance; }
  .h-sm { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(22px, 2.2vw, 30px); }
  .accent { color: var(--ink); font-style: italic; }
  .sub { font-size: 18px; font-weight: 400; color: var(--muted); max-width: 52ch; margin-top: 28px; }
  .mark { background: linear-gradient(transparent 62%, var(--echo) 62%); }
  /* Logo strip, as on the homepage */
  .logos { padding: 36px 0 30px; border-bottom: 1px solid var(--hair); }
  .logo-row { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .logo-marquee { display: flex; width: max-content; animation: logos 55s linear infinite; }
  .logo-marquee:hover { animation-play-state: paused; }
  .logo-track { display: flex; align-items: center; gap: 72px; padding-right: 72px; filter: grayscale(1); opacity: .62; }
  .logo-track img { height: 32px; width: auto; max-width: 190px; object-fit: contain; display: block; }
  .logo-track img[alt="Stansberry"] { height: 40px; border: 2px solid var(--ink); padding: 3px; border-radius: 2px; }
  .logo-track img[alt="FINNY"] { height: 20px; }
  .logo-track img[alt="Grantd Wealth"], .logo-track img[alt="Presidio"] { height: 44px; max-width: 230px; }
  .logo-track img[alt="Farther Ember Martin"] { height: 42px; }
  .logo-track img[alt="UBS"], .logo-track img[alt="Morgan Stanley"] { height: 26px; }
  .logo-track img[alt="LPL Financial"] { height: 24px; }
  .logo-track img[alt="Savvy"] { height: 26px; }
  .lg-text { white-space: nowrap; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
  @keyframes logos { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .logo-marquee { animation: none; flex-wrap: wrap; width: auto; } .logo-track[aria-hidden] { display: none; } .logo-track { flex-wrap: wrap; gap: 28px 48px; } }
  /* Social proof, as on the homepage */
  .proof { padding: 120px 0; background: #EEF1F4; }
  .proofgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); border-top: 1px solid #D3DAE3; border-bottom: 1px solid #D3DAE3; }
  .proofgrid .stat { padding: 44px 48px 44px 0; display: flex; flex-direction: column; justify-content: center; }
  .proofgrid .stat .n { font-family: var(--sans); font-weight: 700; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; }
  .proofgrid .stat p { font-size: 15px; color: var(--muted); margin-top: 10px; }
  .quotes { position: relative; padding: 44px 0 100px 48px; border-left: 1px solid #D3DAE3; min-height: 420px; display: flex; align-items: center; }
  .slide { display: flex; flex-direction: column; justify-content: center; gap: 30px; width: 100%; opacity: 0; transition: opacity 600ms ease; }
  .slide:not(.on) { position: absolute; left: 48px; right: 0; top: 44px; pointer-events: none; }
  .slide.on { position: relative; opacity: 1; }
  .slide .q { font-family: var(--sans); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -0.02em; max-width: 32ch; text-wrap: pretty; }
  .controls { position: absolute; left: 48px; bottom: 36px; display: flex; align-items: center; gap: 18px; }
  .dots { display: flex; gap: 8px; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); border: 0; cursor: pointer; padding: 0; }
  .dot.on { background: var(--press); }
  .arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #C6CED8; background: #fff; cursor: pointer; position: relative; }
  .arrow span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translate(-60%, -50%) rotate(-45deg); }
  .arrow.prev span { transform: translate(-30%, -50%) rotate(135deg); }
  .arrow:hover { background: var(--echo); }
  .who { display: flex; align-items: center; gap: 14px; }
  .who b { display: block; font-size: 17px; font-weight: 600; }
  .who div > span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .who .more { margin-left: auto; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
  .who .more:hover { background: var(--echo); }
  @media (max-width: 860px) {
    .proofgrid { grid-template-columns: 1fr; }
    .quotes { padding: 32px 0 90px; border-left: 0; }
    .slide:not(.on) { left: 0; top: 32px; }
    .controls { left: 0; bottom: 28px; }
    .who { flex-wrap: wrap; }
    .who .more { margin-left: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
  /* FAQ, same shape as the homepage */
  .faq { padding: 120px 0; }
  .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0; align-items: start; border-top: 1px solid var(--hair); }
  .faq-lead { padding: 44px 48px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
  .faq-lead .h-big { margin-top: 18px; max-width: 12ch; font-size: clamp(34px, 3.8vw, 52px); }
  .faq-lead .sub { margin-top: 22px; max-width: 34ch; }
  .faq-lead .btn { margin-top: 32px; }
  .faq-list { padding-left: 48px; border-left: 1px solid var(--hair); }
  .faq-list details { border-bottom: 1px solid var(--hair); }
  .faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list .pm { position: relative; width: 18px; height: 18px; flex: none; }
  .faq-list .pm::before, .faq-list .pm::after { content: ""; position: absolute; background: var(--ink); left: 0; top: 8px; width: 18px; height: 2px; }
  .faq-list .pm::after { transform: rotate(90deg); transition: transform 200ms; }
  .faq-list details[open] .pm::after { transform: rotate(0); }
  .faq-list p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
  @media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-lead { padding: 32px 0 24px; } .faq-list { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); } }
  @media (prefers-reduced-motion: reduce) { .faq-list .pm::after { transition: none; } }
  /* Close */
  .close { background: var(--press); color: #fff; padding: 120px 0; }
  .close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); border-top: 1px solid rgba(255,255,255,.22); }
  .close .l { padding: 44px 48px 0 0; }
  .close .r { padding: 44px 0 0 48px; border-left: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; align-items: flex-start; }
  .close .cap { color: rgba(255,255,255,.6); }
  .close .h-mid { margin-top: 16px; }
  .close .sub { color: #C3CFDC; margin-top: 18px; }
  .close .btn { background: #fff; color: var(--press); box-shadow: none; margin-top: 30px; font-size: 17px; padding: 16px 28px; }
  .close .btn:hover { background: var(--echo); }
  .close .l p.note { font-size: 15px; color: #C3CFDC; margin-top: 12px; max-width: 30ch; }
  @media (max-width: 860px) { .close-grid { grid-template-columns: 1fr; } .close .r { padding: 24px 0 0; border-left: 0; } }
  .site-footer { background: var(--press); color: #fff; padding: 0 0 40px; }
  .foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 72px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .foot-logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 18px; }
  .foot-logo img { width: 48px; height: 48px; display: block; border-radius: 50%; }
  .foot-tag { margin-top: 22px; font-size: 15px; color: #C3CFDC; }
  .foot-rating { margin-top: 28px; height: 30px; }
  .foot-col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
  .foot-col a { color: #C3CFDC; }
  .foot-col a:hover { color: #fff; }
  .foot-h { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 6px; }
  .foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.55); }
  .foot-legal { display: flex; gap: 22px; }
  .foot-legal a { color: rgba(255,255,255,.55); }
  .foot-legal a:hover { color: #fff; }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } }
