/* Ando Systems — shared design system (interior pages).
   Mirrors the inline tokens used on index.html / ando-finance / faq / process.
   Interior pages link this; the homepage keeps its own inline CSS for its
   complex hero. */

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

:root {
  --navy: #0B1B2E;
  --navy-2: #102740;
  --navy-3: #16344f;
  --teal: #14B8A6;
  --teal-bright: #2DD4BF;
  --teal-dark: #0D9488;
  --lime: #C8E76A;
  --lime-dark: #B6D955;
  --ink: #14283B;
  --body: #46586B;
  --muted: #6B7C8C;
  --line: #E7E0D2;
  --bg: #FFFFFF;
  --cream: #FBF6EC;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 6px 26px rgba(20,40,59,0.07);
  --shadow-lg: 0 22px 60px rgba(20,40,59,0.16);
  --shadow-card: 0 14px 44px rgba(11,27,46,0.12);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -0.01em; }
section[id] { scroll-margin-top: 92px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; top: -100px; left: 16px; background: var(--teal); color: #fff; padding: 8px 16px; border-radius: var(--radius); font-weight: 600; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1180px; margin: 0 auto; padding: 0 36px; }

/* eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 18px; }
.eyebrow.center { justify-content: center; }
.eyebrow .eb-mark { width: 30px; height: 10px; flex-shrink: 0; color: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--lime); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 11px 14px 11px 24px; border-radius: 999px; border: none; cursor: pointer; white-space: nowrap; transition: background 0.18s, color 0.18s, transform 0.12s, border-color 0.18s; }
.cta-ic { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.cta-ic svg { width: 13px; height: 13px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-teal .cta-ic { background: rgba(255,255,255,0.24); color: #fff; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-1px); }
.btn-lime .cta-ic { background: var(--navy); color: var(--lime); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn-ghost-light .cta-ic { background: rgba(255,255,255,0.16); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-ghost-dark .cta-ic { background: var(--cream); color: var(--ink); }

/* NAV */
nav.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(11,27,46,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 36px; height: 74px; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; display: block; }
.logo-words { line-height: 1; margin-left: -8px; }
.logo-words b { display: block; font-family: var(--sans); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.logo-words span { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.30em; color: #fff; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.74); padding: 8px 15px; border-radius: 8px; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #fff; background: rgba(45,212,191,0.16); }
.nav-cta { flex-shrink: 0; padding: 8px 10px 8px 18px; font-size: 14px; }
.nav-links .mobile-only { display: none; }

/* Mobile nav — hamburger + drawer */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { background: radial-gradient(80% 80% at 78% 0%, rgba(20,184,166,0.20), transparent 55%), linear-gradient(180deg, #0C1E33, var(--navy)); color: #fff; padding: 60px 0 78px; position: relative; }
.hero::after { display: none; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 500; line-height: 1.06; color: #fff; margin-bottom: 18px; max-width: 820px; }
.hero h1 .teal { color: var(--teal-bright); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 680px; line-height: 1.72; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 84px 0; position: relative; }
.section-white { background: var(--bg); }
.section-cream { background: var(--cream); }
.section-dark { color: #fff; background-color: var(--navy); background-image: radial-gradient(70% 110% at 100% 30%, rgba(45,212,191,0.30), transparent 55%), linear-gradient(160deg, #0C1E33, var(--navy)); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; line-height: 1.14; color: var(--ink); max-width: 680px; }
.section-head.center .section-h2 { max-width: 760px; margin: 0 auto; }
.section-h2 b { font-weight: 700; }
.section-h2 .teal { color: var(--teal); }
.section-dark .section-h2 { color: #fff; }
.section-dark .section-h2 .teal { color: var(--teal-bright); }
.section-lead { font-size: 16.5px; line-height: 1.7; color: var(--body); max-width: 680px; margin-top: 14px; }
.section-head.center .section-lead { margin: 14px auto 0; }
.section-dark .section-lead { color: rgba(255,255,255,0.72); }

/* PROSE — for text-heavy pages */
.prose { max-width: 720px; font-size: 16.5px; line-height: 1.75; color: var(--body); }
.prose p { margin-bottom: 20px; }
.prose h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin: 36px 0 14px; }
.prose h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 12px; }
.prose ul, .prose ol { margin: 0 0 20px 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-dark); text-decoration: underline; text-decoration-color: rgba(20,184,166,0.4); text-underline-offset: 3px; }
.prose a:hover { color: var(--teal); }
.prose blockquote { border-left: 4px solid var(--teal); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--ink); font-style: italic; }

/* CARDS — generic */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(20,184,166,0.4); }
.card-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink); padding-bottom: 9px; margin-bottom: 12px; position: relative; }
.card-tag::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--teal); }
.card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.card p { font-size: 14.5px; line-height: 1.7; color: var(--body); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* PRICING ROW */
.price-card { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); overflow: hidden; }
.price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 26px 30px; border-bottom: 1.5px solid rgba(20,184,166,0.25); transition: background 0.18s, transform 0.18s; }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(20,184,166,0.05); }
.price-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.price-desc { font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 470px; }
.price-amount { font-family: var(--sans); font-size: 19px; font-weight: 800; color: var(--ink); white-space: nowrap; text-align: right; flex-shrink: 0; }
.price-amount small { display: block; font-size: 11px; font-weight: 700; color: var(--teal-dark); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.price-callout { margin: 0 30px 30px; padding: 24px 28px; background: var(--navy); border-radius: 14px; font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.price-callout strong { color: var(--lime); }

/* CONTACT FORM */
.contact-form { max-width: 560px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.contact-form label .req { color: var(--teal); margin-left: 2px; }
.contact-form input, .contact-form textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,0.12); }
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.contact-form .form-hint { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.honeypot { position: absolute; left: -9999px; }

/* ARTICLE / BLOG POST */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--teal-dark); font-weight: 600; margin-bottom: 22px; transition: color 0.15s; }
.article-back:hover { color: var(--teal); }
.article-meta { font-size: 12.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.article-meta time { color: var(--muted); }
.article h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--ink); line-height: 1.14; margin-bottom: 32px; }
.article-body { font-family: var(--sans); font-size: 17px; line-height: 1.78; color: var(--body); }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin: 40px 0 14px; line-height: 1.25; }
.article-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin: 30px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a { color: var(--teal-dark); text-decoration: underline; text-decoration-color: rgba(20,184,166,0.4); text-underline-offset: 3px; }
.article-body a:hover { color: var(--teal); }
.article-body blockquote { border-left: 4px solid var(--teal); padding: 6px 0 6px 22px; margin: 26px 0; color: var(--ink); font-style: italic; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.post-cta { max-width: 760px; margin: 48px auto 0; padding: 32px 36px; background: var(--navy); border-radius: 16px; text-align: center; color: #fff; background-image: radial-gradient(70% 110% at 100% 30%, rgba(45,212,191,0.30), transparent 55%), linear-gradient(160deg, #0C1E33, var(--navy)); }
.post-cta h3 { color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.post-cta p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 18px; line-height: 1.6; }

/* POST LIST (Insights index) */
.post-list { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.post-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; }
.post-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(20,184,166,0.4); }
.post-item .post-meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 8px; }
.post-item .post-title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
.post-item .post-excerpt { font-size: 14.5px; line-height: 1.65; color: var(--body); margin-bottom: 14px; }
.post-item .post-more { font-size: 13px; font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 6px; }

/* PRODUCT PAGE — Ando Finance (and future products) */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(20,184,166,0.4); }
.feature-ic { display: flex; align-items: center; width: 36px; height: 36px; color: var(--teal); margin-bottom: 14px; }
.feature-ic svg { width: 36px; height: 36px; }
.feature-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink); padding-bottom: 9px; margin-bottom: 12px; position: relative; }
.feature-tag::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--teal); }
.feature h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.feature p { font-size: 14.5px; line-height: 1.7; color: var(--body); }

.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px 28px; box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(20,184,166,0.4); }
.path-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.path h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.2; }
.path .price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--teal-dark); margin-bottom: 14px; }
.path .price small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.path-body { font-size: 14.5px; line-height: 1.7; color: var(--body); margin-bottom: 20px; }
.path ul { list-style: none; padding: 0; margin: 0 0 22px; }
.path li { position: relative; padding: 8px 0 8px 24px; font-size: 14.5px; color: var(--body); border-top: 1px solid #f1ede3; }
.path li:first-child { border-top: none; }
.path li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: var(--teal); }

.faq-dark { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-dark .q { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 22px 26px; color: #fff; transition: background 0.15s, border-color 0.15s; }
.faq-dark .q:hover { background: rgba(255,255,255,0.07); border-color: rgba(45,212,191,0.4); }
.faq-dark .q h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.faq-dark .q p { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.72); }

/* DASHBOARD MOCK — stylized SVG visual, not a real screenshot */
.dash-mock { max-width: 920px; margin: 36px auto 0; padding: 24px; border-radius: var(--radius-lg); background: radial-gradient(120% 100% at 80% 0%, rgba(45,212,191,0.18), transparent 55%), linear-gradient(155deg, var(--navy-3), var(--navy)); border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.dash-mock::before { content: "Illustrative"; position: absolute; top: 14px; right: 18px; font-size: 10px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 16px 18px; }
.dash-stat .l { font-size: 10.5px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 6px; }
.dash-stat .v { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; line-height: 1; }
.dash-stat .d { font-size: 11.5px; color: var(--lime); margin-top: 6px; font-weight: 600; }
.dash-chart { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px 18px; }
.dash-chart .ct { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 10px; }

/* talk strip */
.talk { text-align: center; }
.talk-h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.talk-body { font-size: 16.5px; color: var(--body); max-width: 560px; margin: 0 auto 28px; line-height: 1.65; }

/* FOOTER */
footer.site-footer { background: var(--navy); padding: 54px 0 40px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; margin-bottom: 26px; flex-wrap: wrap; }
.footer-word { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.footer-nav { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-nav a { font-size: 14.5px; color: rgba(255,255,255,0.62); padding: 6px 14px; border-radius: 6px; transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { font-size: 13.5px; color: var(--teal-bright); }
.footer-copy { font-size: 13.5px; color: rgba(255,255,255,0.4); }

/* RESPONSIVE */
@media (max-width: 920px) {
  .cards-grid, .cards-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  /* Mobile nav drawer */
  .nav-inner { padding: 0 22px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 14px 22px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 36px rgba(0,0,0,0.4);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links .mobile-only { display: block; }
  .nav-links a { padding: 14px 12px; font-size: 16px; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  /* the Book a Call CTA also shows up at the bottom of the open drawer */
  .nav-links .mobile-cta { margin-top: 14px; padding: 12px 16px; background: var(--lime); color: var(--navy); font-weight: 700; border-radius: 999px; text-align: center; border-bottom: none; }

  .price-row { flex-direction: column; gap: 8px; }
  .price-amount { text-align: left; }
}
