/* Tri-State AI Partner — site styles
   Brand: Navy #08274C · Blue #0879D1 · Silver #AEBBC8 · Light #F4F8FC · White #FFFFFF */

:root {
  --navy: #08274C;
  --blue: #0879D1;
  --blue-on-navy: #5FB4F0;
  --silver: #AEBBC8;
  --light: #F4F8FC;
  --white: #FFFFFF;
  --ink: #1E3550;
  --muted: #4A5E75;
  --line: #D5DEE8;
  --navy-line: #1E4470;
  --on-navy: #D6E1EC;
  --heading: "Inter Tight", Inter, Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--heading); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; color: var(--navy); }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.intro p { font-size: 19px; color: var(--muted); }

.eyebrow { font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.on-navy .eyebrow, .eyebrow.on-navy { color: var(--blue-on-navy); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* Sections */
.section { padding: 96px 0; }
.section.light { background: var(--light); }
.section.navy { background: var(--navy); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: var(--white); cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn:hover { background: #066AB8; border-color: #066AB8; color: var(--white); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: var(--white); }
.btn.outline.light { color: var(--white); border-color: var(--white); }
.btn.outline.light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid #DCE4EC; position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { width: 320px; }
.nav { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { padding: 12px 22px; font-size: 16px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 8px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
@media (max-width: 1020px) {
  .brand img { width: 240px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 10px 4px; border-top: 1px solid #E2E9F0; }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { background: var(--navy); padding: 80px 0 88px; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.hero .lede { font-size: 20px; color: var(--on-navy); max-width: 560px; }
.hero .aside-note { font-size: 16px; color: var(--silver); }
.hero .aside-note a { color: var(--white); font-weight: 600; }
.start-card { flex: 1 1 420px; min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.start-card h2 { font-size: 20px; margin-bottom: 10px; }
.start-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid #E2E9F0; }
.start-item h3 { font-size: 17px; font-family: var(--body); letter-spacing: 0; }
.start-item p { font-size: 15px; color: var(--muted); margin-top: 2px; }

.page-hero { background: var(--navy); padding: 88px 0 80px; }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; max-width: 900px; }
.page-hero p { font-size: 20px; color: var(--on-navy); max-width: 760px; }
@media (max-width: 700px) { .hero, .page-hero { padding: 56px 0 64px; } .start-card { padding: 24px; } }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@media (max-width: 420px) { .grid, .grid.wide { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; line-height: 1.3; }
.card p { color: var(--muted); }
.card.dark { background: var(--navy); border-color: var(--navy); }
.card.dark h3 { color: var(--white); }
.card.dark p { color: var(--on-navy); }
.card.big { padding: 36px; border-radius: var(--radius-lg); }
.card.big h3 { font-size: 24px; line-height: 1.25; }
.icon { width: 28px; height: 28px; flex: none; color: var(--blue); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.card ul.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }

/* Steps */
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--blue); }
.step .num { font-family: var(--heading); font-weight: 600; font-size: 15px; color: var(--blue); letter-spacing: 1px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); }

/* Split rows */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split .copy { display: flex; flex-direction: column; gap: 18px; }
.split .copy p { font-size: 18px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }

/* Demo band */
.demo { background: var(--navy); border-radius: 20px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.demo .copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.demo h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.demo p { color: var(--on-navy); font-size: 18px; }
.demo .call { flex: 0 1 340px; display: flex; flex-direction: column; gap: 8px; }
.demo .call a { font-family: var(--heading); font-weight: 600; font-size: 34px; color: var(--white); text-decoration: none; }
.demo .call span { color: var(--silver); font-size: 15px; }
@media (max-width: 700px) { .demo { padding: 36px 24px; } }

/* Towns panel */
.towns { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.towns-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.town { display: flex; flex-direction: column; gap: 2px; }
.town strong { font-family: var(--heading); font-weight: 600; font-size: 24px; color: var(--white); letter-spacing: -0.015em; }
.town span { font-size: 14px; color: var(--silver); letter-spacing: 1px; }
.towns p { padding-top: 18px; border-top: 1px solid var(--navy-line); color: var(--on-navy); }
@media (max-width: 480px) { .towns { padding: 28px; } .town strong { font-size: 20px; } }

.quote-panel { background: var(--light); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.quote-panel p.q { font-family: var(--heading); font-weight: 600; font-size: 26px; line-height: 1.35; color: var(--navy); letter-spacing: -0.015em; }
.quote-panel p.src { font-size: 15px; color: var(--muted); letter-spacing: 1px; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: 48px; }
.principle { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.principle h3 { font-size: 19px; }
.principle p { color: var(--muted); }

.founder { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.founder .photo { flex: 0 0 240px; height: 280px; border-radius: var(--radius-lg); background: var(--light); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.founder .photo img { width: 120px; }
.founder .copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.founder .copy p { font-size: 18px; color: var(--muted); }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--muted); }
.prose h2 { font-size: 24px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* CTA band */
.cta { background: var(--light); padding: 88px 0; border-top: 1px solid #DCE4EC; text-align: center; }
.cta .container { max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta p { font-size: 19px; color: var(--muted); }
.cta .btn-row { justify-content: center; }

/* Contact */
.contact-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-card { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 24px; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .form legend { font-weight: 600; font-size: 15px; color: var(--navy); }
.req { color: #B3261E; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 1px solid #9FB0C2; border-radius: 8px; color: var(--ink); background: var(--white); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(8,121,209,.35); border-color: var(--blue); }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.form legend { margin-bottom: 8px; padding: 0; }
.radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.radio input { width: 20px; height: 20px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { display: none; }
.form-status.show { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.form-status h2 { font-size: 30px; }
.form-status p { font-size: 18px; color: var(--muted); }
.form-error { display: none; color: #B3261E; font-weight: 600; }
.form-error.show { display: block; }
.contact-aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.aside-card.dark { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.aside-card.dark h2 { color: var(--white); font-size: 20px; }
.aside-card.dark a.big { font-family: var(--heading); font-weight: 600; font-size: 28px; color: var(--white); text-decoration: none; }
.aside-row { display: flex; gap: 12px; align-items: flex-start; }
.aside-row h3 { font-size: 15px; font-family: var(--body); letter-spacing: 0; }
.aside-row p { color: var(--muted); }
.aside-card ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.footer-mark { display: flex; align-items: center; gap: 16px; }
.footer-mark img { width: 72px; height: 72px; }
.footer-word { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--white); letter-spacing: .5px; }
.footer-word span { color: var(--blue-on-navy); }
.tagline { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--white); }
.tagline span { color: var(--blue-on-navy); }
.footer-col { flex: 0 1 220px; display: flex; flex-direction: column; gap: 10px; }
.footer-col.wide { flex-basis: 300px; }
.footer-col h2 { font-family: var(--heading); font-size: 14px; letter-spacing: 1.5px; color: var(--white); margin-bottom: 4px; }
.footer-col a { color: var(--on-navy); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col a.phone { color: var(--white); font-weight: 600; font-size: 18px; }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: var(--silver); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom a { color: var(--silver); }
