/* =====================================================================
   ta.css · Tobin Capital Co. · shared styles for /ta/*.html
   Light theme (white + deep green, Montserrat), thin borders, dark bands. Mobile-first.
   ===================================================================== */
:root {
  /* Dec 5: Hunter picked StefanBrain's first webinar-page look: white, deep green, Montserrat. */
  --bg: #FFFFFF;
  --surface: #F6FAF8;          /* cards and form fields: a faint green tint */
  --text: #111111;
  --text-soft: #444444;
  --muted: #777777;
  --accent: #0F7A43;           /* deep green: key numbers, links, highlights */
  --accent-2: #10AC84;         /* brighter emerald: small marks and rules */
  --accent-ink: #FFFFFF;
  --dark: #0C1511;             /* near-black green: primary buttons, top bar, dark bands */
  --border: #E3ECE7;
  --divider: #D4DDD8;
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1120px;
  --r: 10px;
  --r-sm: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono, .num { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.accent { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 760px; }
.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; }

/* placeholder for copy Hunter still has to write: deliberately easy to spot */
.ph { display: inline; font-family: var(--mono); font-size: 0.82em; font-weight: 500; letter-spacing: 0; color: var(--text); background: #FFF7D6; border: 1px dashed var(--divider); border-radius: 4px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── header (ta-header:start … ta-header:end in every page) ── */
.ta-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.ta-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.ta-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; white-space: nowrap; }
.ta-logo .mark { display: grid; grid-template-columns: 9px 9px; grid-template-rows: 9px 9px; gap: 3px; }
.ta-logo .mark i { display: block; background: var(--accent); border-radius: 1.5px; }
.ta-logo .mark i:nth-child(2) { background: var(--accent-2); }
.ta-logo .mark i:nth-child(3) { background: var(--dark); }
.ta-logo .mark i:nth-child(4) { background: var(--accent); opacity: .55; }
.ta-logo .word { display: flex; flex-direction: column; line-height: 1; }
.ta-logo .word b { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.ta-logo .word small { font-family: var(--head); font-weight: 700; font-size: 8.5px; letter-spacing: 0.24em; color: var(--accent); margin-top: 3px; }
.ta-nav { display: flex; align-items: center; gap: 22px; }
.ta-nav a.link { display: none; font-size: 14px; color: var(--text-soft); text-decoration: none; }
.ta-nav a.link:hover { color: var(--text); }
@media (min-width: 820px) { .ta-nav a.link { display: inline; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; border-radius: var(--r-sm); padding: 12px 20px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--dark); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--divider); }
.btn-ghost:hover { border-color: var(--text-soft); }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn-sm { font-size: 14px; padding: 9px 14px; }
.btn-block { display: flex; width: 100%; }
.btn .arr { font-family: var(--body); }

/* ── sections ── */
.sec { padding: 72px 0; border-top: 1px solid var(--border); }
.sec:first-of-type { border-top: 0; }
.eyebrow { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 4.2vw, 38px); }
.sec-head p { color: var(--text-soft); margin-top: 14px; font-size: 16.5px; }
.lede { color: var(--text-soft); font-size: clamp(16.5px, 2vw, 19px); line-height: 1.55; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── grids + cards ── */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .grid.g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 979px) { .grid.g3.wrap2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; min-width: 0; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; display: block; margin-bottom: 18px; }
.card .out { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text); }

/* ── stats row ── */
.stats { display: grid; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r); }
.stats > div { padding: 20px 22px; border-top: 1px solid var(--border); }
.stats > div:first-child { border-top: 0; }
.stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(24px, 3.4vw, 30px); color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.stats b.accent { color: var(--accent); }
.stats span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats > div { border-top: 0; border-left: 1px solid var(--border); } .stats > div:first-child { border-left: 0; } }

/* ── bank strip ── */
.banks { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.banks .lab { display: block; text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.banks .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.banks .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; }
@media (min-width: 720px) { .banks .row { grid-template-columns: repeat(5, 1fr); } }
.banks .row b { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-family: var(--head); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; white-space: nowrap; }
.banks .row b.chase { color: #117ACA; } .banks .row b.boa { color: #DC1431; } .banks .row b.amex { color: #006FCF; } .banks .row b.wf { color: #D71E28; } .banks .row b.usb { color: #0C2074; }
.banks .row b:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 720px) { .banks .row b:last-child:nth-child(odd) { grid-column: auto; } }
/* dark band: a section that flips to near-black green (as in StefanBrain's curriculum block) */
.band-dark { --bg: #0C1511; --surface: rgba(255,255,255,0.04); --text: #FFFFFF; --text-soft: rgba(255,255,255,0.78); --muted: #B9C7BF; --border: rgba(255,255,255,0.08); --divider: rgba(255,255,255,0.14); --accent: #10AC84; background: #0C1511; color: #FFFFFF; border-top: 0 !important; }

/* ── proof cards ── */
.proof { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.proof .top { padding: 20px 22px 0; }
.proof .who { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.proof .who b { font-family: var(--head); font-weight: 600; font-size: 16px; }
.proof .who span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.proof .tagline { font-size: 13px; color: var(--muted); margin-top: 2px; }
.proof .total { margin: 14px 0 4px; font-family: var(--mono); font-size: 30px; font-weight: 500; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.proof .total-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.proof .story { font-size: 14.5px; color: var(--text-soft); margin-top: 14px; }
.proof .latest { font-size: 13.5px; color: var(--text-soft); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.proof .latest .num { color: var(--text); }
.proof .shot { margin-top: auto; border-top: 1px solid var(--border); background: var(--surface); height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proof .top + .shot { margin-top: 18px; }
.proof .shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ── video slots (swap the inner box for an embed later) ── */
.vslot { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--divider); border-radius: var(--r); background: var(--surface); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; overflow: hidden; }
.vslot .vs-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--text-soft); }
.vslot .vs-play { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--divider); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--text-soft); }
.vslot .vs-play svg { width: 16px; height: 16px; margin-left: 2px; }
.vcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vcard h3 { font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
.vcard .idx { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; }

/* ── steps (how it works) ── */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
.steps .st { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.steps .st .n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.steps .st h3 { font-size: 18px; }
.steps .st p { grid-column: 2; color: var(--text-soft); font-size: 15px; }
@media (min-width: 820px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ── progress bar (thank-you pages) ── */
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.progress .p { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; border-top: 2px solid var(--border); line-height: 1.3; }
.progress .p.done { border-top-color: var(--accent); }
.progress .sep { display: none; }
@media (min-width: 560px) { .progress .p { flex-direction: row; align-items: center; } }
.progress .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--divider); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-soft); }
.progress .done { color: var(--text); }
.progress .done .dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.progress .sep { color: var(--divider); }

/* ── countdown ── */
.cd { display: flex; gap: 8px; }
.cd .c { min-width: 58px; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 6px; text-align: center; }
.cd .c b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; line-height: 1; color: var(--text); }
.cd .c i { display: block; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.topbar { border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; color: var(--text-soft); }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 6px 14px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.topbar .t b { color: var(--text); font-weight: 500; }
.topbar .t i { font-style: normal; color: var(--muted); margin: 0 6px 0 1px; }

/* ── form ── */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.form-card h2 { font-size: 20px; margin-bottom: 16px; }
.opt-form { display: flex; flex-direction: column; gap: 10px; }
.opt-form label { display: block; }
.opt-form input, .opt-form select { width: 100%; font-family: var(--body); font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .15s ease; }
.opt-form input::placeholder { color: var(--muted); }
.opt-form input:focus, .opt-form select:focus { outline: none; border-color: var(--accent); }
.opt-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.opt-form select:invalid { color: var(--muted); }
@media (max-width: 400px) { .form-card { padding: 18px 14px; } .opt-form select { padding-left: 12px; padding-right: 32px; background-position: right 12px center; } }
.opt-form select option { color: #111111; background: #FFFFFF; }
.opt-form .submit { margin-top: 4px; width: 100%; font-size: 17px; padding: 15px 20px; }
.opt-form .submit[disabled] { opacity: 0.75; cursor: default; }
.consent-note { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.consent-note a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }

/* ── FAQ ── */
.faq { border-bottom: 1px solid var(--border); }
.faq:first-of-type { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 0; font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 20px; line-height: 1; flex: none; }
.faq[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 22px; color: var(--text-soft); font-size: 15.5px; max-width: 68ch; }

/* ── team ── */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 820px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--border); }
.member div { padding: 12px 14px 14px; }
.member b { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; }
.member span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ── bio ── */
.bio { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.bio img { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); border: 1px solid var(--border); }
.bio h2 { font-size: clamp(26px, 4vw, 36px); }
.bio .role { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; margin: 8px 0 18px; display: block; }
.bio p { color: var(--text-soft); margin-bottom: 14px; }
.bio p b { color: var(--text); font-weight: 600; }
@media (min-width: 820px) { .bio { grid-template-columns: 360px 1fr; gap: 56px; } }

/* ── CTA band ── */
.cta-band { border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-band h3 { font-size: 21px; }
.cta-band p { color: var(--text-soft); margin-top: 6px; font-size: 15px; }
@media (min-width: 820px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 32px; } }

/* ── lists (who it's for) ── */
.tick { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 15px; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.tick.no li::before { width: 11px; height: 0; top: 11px; border-left: 0; border-bottom: 1.5px solid var(--muted); transform: none; }

/* ── sticky mobile CTA (shown by /assets/swc-site.js once .hero scrolls away) ── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* ── footer ── */
.ta-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 0; }
.ta-footer .disc { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 820px) { .ta-footer .disc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; } }
.ta-footer h6 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 8px; }
.ta-footer .disc p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.ta-footer .disc p strong { color: var(--text-soft); font-weight: 500; }
.ta-footer .base { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.ta-footer .base a { color: var(--text-soft); text-decoration: none; }
.ta-footer .base a:hover { color: var(--text); }
.ta-footer .base .links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (min-width: 820px) { .ta-footer .base { flex-direction: row; justify-content: space-between; align-items: center; } }

@media (min-width: 720px) { .wrap { padding: 0 28px; } .sec { padding: 96px 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
