/* TrueSide Marketing — shared styles */
:root {
  --navy: #0A1B3D;
  --navy-950: #060F26;
  --navy-800: #12274E;
  --navy-700: #1B3465;
  --accent: #2F7BFB;
  --accent-soft: #5B95FF;
  --blue-100: #E8F1FF;
  --off-white: #F7F8FB;
  --gray-100: #EEF1F6;
  --gray-200: #E3E8F0;
  --gray-400: #A8B1C4;
  --ink-900: #101B33;
  --ink-600: #4A5470;
  --ink-400: #7A8399;
  --on-dark: #C9D4E8;
  --on-dark-muted: #93A0BE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Public Sans', system-ui, sans-serif; color: var(--ink-900); background: var(--navy-950); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 96px; }
h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; margin: 0; color: var(--ink-900); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
main { display: block; background: #fff; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.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; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 860px; }
.section { padding: 104px 0; background: var(--section-bg, #fff); transition: background-color 1.4s ease; }
.section.alt { background: var(--section-bg-alt, var(--off-white)); }
.section.dark { background: var(--navy-950); color: #fff; }
.section.navy { background: var(--navy); color: #fff; }
.section.tight { padding: 80px 0; }
@media (prefers-reduced-motion: reduce) { .section { transition: none; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.on-dark .eyebrow, .eyebrow.on-dark { color: #9DC0FF; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h2.title { font-size: clamp(1.9rem, 2.7vw, 2.65rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; max-width: 800px; }
.on-dark h2.title, .on-dark h3, .on-dark h4 { color: #fff; }
.lead { font-size: 1.13rem; line-height: 1.65; color: var(--ink-600); max-width: 660px; margin-top: 20px; }
.on-dark .lead { color: var(--on-dark); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-400); }
.small { font-size: 0.9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 15px 28px; border-radius: 12px; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn svg { flex-shrink: 0; transition: transform 0.2s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,123,251,0.35); background: #3F89FC; }
.btn-primary:hover svg, .btn-outline-light:hover svg, .btn-outline-dark:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(47,123,251,0.3); }
.btn-outline-light { border-color: rgba(255,255,255,0.38); color: #fff; }
.btn-outline-light:hover { color: var(--accent-soft); border-color: var(--accent); background: rgba(47,123,251,0.08); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,123,251,0.22); }
.btn-outline-dark { border-color: var(--gray-200); color: var(--ink-900); background: #fff; }
.btn-outline-dark:hover { color: var(--accent); border-color: var(--accent); background: var(--blue-100); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,123,251,0.18); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: var(--accent); }
.text-link svg { transition: transform 0.2s ease; }
.text-link:hover { color: var(--navy); }
.text-link:hover svg { transform: translateX(3px); }
.on-dark .text-link { color: #9DC0FF; }
.on-dark .text-link:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .text-link svg { transition: none; }
  .btn:hover { transform: none !important; }
}

/* Scroll progress */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 999; transition: width 0.1s linear; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #scroll-progress { transition: none; } }

/* NAV */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.logo-row1 { display: flex; align-items: center; gap: 12px; }
.logo-lockup img { height: 30px; width: auto; }
.logo-word { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.01em; line-height: 1; }
.logo-word .a { color: #fff; }
.logo-word .b { color: var(--accent); }
.logo-tagline { font-family: 'Public Sans', sans-serif; font-style: italic; font-weight: 500; font-size: 11px; letter-spacing: 0.01em; color: #A7B4D1; line-height: 1; }
.logo-tagline .truly { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: 'Public Sans', sans-serif; font-weight: 500; font-size: 14.5px; color: var(--on-dark); position: relative; padding: 6px 0; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.22); color: #fff; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .mobile-menu { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 10px 22px 24px; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu li a { display: block; padding: 14px 4px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 17px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mobile-menu li a[aria-current="page"] { color: var(--accent-soft); }
  .mobile-menu .btn { width: 100%; margin-top: 18px; }
}

/* Interior page hero */
.page-hero { background: radial-gradient(1000px 520px at 85% -20%, #16305F 0%, var(--navy) 55%, var(--navy-950) 100%); color: #fff; padding: 88px 0 84px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; max-width: 860px; }
.page-hero .lead { color: var(--on-dark); font-size: 1.18rem; max-width: 680px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .hero-meta { margin-top: 26px; font-size: 0.92rem; color: var(--on-dark-muted); }
.page-hero .hero-meta a { color: #9DC0FF; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .hero-meta a:hover { color: #fff; }

/* Reveal on load (heroes) */
@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-1 { animation-delay: 0.05s; } .reveal-2 { animation-delay: 0.18s; } .reveal-3 { animation-delay: 0.3s; } .reveal-4 { animation-delay: 0.44s; } .reveal-5 { animation-delay: 0.58s; } .reveal-6 { animation-delay: 0.74s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; animation: none; transform: none; } }

/* Generic layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split.center-y { align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr 0.85fr; }
.split.wide-right { grid-template-columns: 0.85fr 1.15fr; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--blue-100); color: var(--accent); }
.icon-badge.navy { background: var(--navy); color: #fff; }
.on-dark .icon-badge { background: rgba(47,123,251,0.16); color: #9DC0FF; }

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.55; color: var(--ink-600); }
.check-list li strong { color: var(--ink-900); font-weight: 600; }
.check-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7BFB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.on-dark .check-list li { color: var(--on-dark); }
.on-dark .check-list li strong { color: #fff; }
.on-dark .check-list li::before { background-color: rgba(47,123,251,0.2); }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dash-list li { position: relative; padding-left: 20px; color: var(--ink-600); line-height: 1.55; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 9px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Conditions note (used wherever the promise appears) */
.conditions-note { font-size: 0.9rem; color: var(--ink-400); }
.conditions-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.on-dark .conditions-note { color: var(--on-dark-muted); }
.on-dark .conditions-note a { color: #9DC0FF; }

/* Final CTA */
.final-card { background: radial-gradient(900px 500px at 50% -20%, #16305F 0%, var(--navy) 60%); border-radius: 28px; padding: 84px 40px; text-align: center; color: #fff; }
.final-card h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); max-width: 720px; margin: 0 auto; letter-spacing: -0.015em; }
.final-card .lead { color: var(--on-dark); margin: 20px auto 32px; }
.final-card .btn-row { justify-content: center; }

/* FAQ accordions */
.faq { border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gray-200); position: relative; transition: transform 0.25s ease, border-color 0.2s ease; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--accent); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity 0.2s ease; }
.faq details[open] summary .plus { border-color: var(--accent); }
.faq details[open] summary .plus::after { opacity: 0; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 4px 26px; max-width: 760px; }
.faq .answer p { color: var(--ink-600); line-height: 1.7; }
.faq .answer p + p { margin-top: 12px; }

/* Founder */
.founder-photo { border-radius: 22px; background: linear-gradient(165deg, var(--navy-800), var(--navy)); aspect-ratio: 4/5; overflow: hidden; position: relative; transition: transform 0.15s ease-out; will-change: transform; }
.founder-photo img.headshot { width: 100%; height: 100%; object-fit: cover; }
.founder-badge { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(6,15,38,0.45); }
.founder-badge img { width: 26px; }
.founder-quote { margin-top: 28px; border-left: 3px solid var(--accent); padding-left: 20px; }
.founder-quote p.q { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--ink-900); line-height: 1.5; }
.founder-quote .who { margin-top: 10px; font-size: 0.9rem; color: var(--ink-400); }
@media (prefers-reduced-motion: reduce) { .founder-photo { transition: none; } }

/* TRUE / SIDE flip cards */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card { background: none; border: none; padding: 0; border-radius: 20px; perspective: 1200px; cursor: pointer; }
.why-card-inner { position: relative; width: 100%; height: 230px; transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.why-card.is-flipped .why-card-inner { transform: rotateY(180deg); }
.why-card-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.why-card h3 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3rem; color: var(--accent); letter-spacing: 0.02em; }
.why-flip-hint { color: #7F8FB5; font-size: 0.9rem; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.why-card-back { transform: rotateY(180deg); }
.why-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.why-card li { color: var(--on-dark); font-size: 1.55rem; font-weight: 600; font-family: 'Sora', sans-serif; }
@media (prefers-reduced-motion: reduce) { .why-card-inner { transition: none; } }

/* FOOTER */
footer.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { margin-top: 18px; font-size: 0.94rem; line-height: 1.6; max-width: 290px; }
.foot-col h2 { font-family: 'Sora', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--on-dark-muted); font-size: 0.94rem; }
.foot-col a:hover { color: #fff; }
.foot-contact { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; }
.foot-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--on-dark); }
.social-btn:hover { color: #fff; border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.85rem; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: #fff; }

@media (max-width: 980px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 44px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section.tight { padding: 60px 0; }
  .wrap, .nav-inner { padding-left: 22px; padding-right: 22px; }
  .nav-inner { padding-top: 14px; padding-bottom: 14px; }
  .page-hero { padding: 60px 0 58px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .final-card { padding: 56px 24px; border-radius: 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .why-card-inner { height: 200px; }
  .why-card h3 { font-size: 2.6rem; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  .logo-word { font-size: 21px; }
  .logo-lockup img { height: 27px; }
}
@media (max-width: 370px) {
  .logo-tagline { display: none; }
}
