/* Talbot Main Street Connects — brand: navy #0E1F39, off-white #F2F2F2,
   gradient #0A6CFF → #3BBBB0 → #2EDB6B, Manrope (per brand guide), Kalam for notes. */
:root{
  --navy:#0E1F39; --navy-2:#162B4D; --navy-3:#1E3766; --ink:#F2F2F2;
  --muted:#B9C6DD; --muted-2:#8FA2C2; --line:rgba(242,242,242,.16);
  --blue:#0A6CFF; --blue-2:#2B93E0; --teal:#3BBBB0; --mint:#37C88E; --green:#2EDB6B;
  --grad:linear-gradient(90deg,#0A6CFF,#3BBBB0,#2EDB6B);
  --radius:20px; --wrap:1200px;
  --note:'Kalam',cursive;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Manrope,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--navy);
  background-image:radial-gradient(rgba(255,255,255,.04) 1px,transparent 1px);background-size:4px 4px;
  font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--green)}a:hover{color:#fff}
h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-.025em}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:var(--navy);padding:10px 14px;border-radius:8px;z-index:20}
.skip:focus{left:12px}
:focus-visible{outline:3px solid var(--green);outline-offset:3px}

/* Header */
.site-header{position:sticky;top:0;z-index:10;background:rgba(14,31,57,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:92px}
.brand img{width:180px;height:auto}
.site-nav{display:flex;align-items:center;gap:26px;font-size:16px;font-weight:600}
.site-nav a:not(.btn){color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.site-nav a:not(.btn):hover,.site-nav a[aria-current="page"]{border-bottom-color:var(--green)}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:48px;height:48px;padding:12px;cursor:pointer;flex-direction:column;justify-content:space-between}
.menu-toggle span{display:block;height:2px;background:var(--ink);border-radius:2px}
@media (max-width:960px){
  .menu-toggle{display:flex}
  .site-nav{display:none;position:absolute;top:92px;left:0;right:0;background:var(--navy);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:8px 28px 24px}
  .site-nav.open{display:flex}
  .site-nav a:not(.btn){padding:14px 0;border-bottom:1px solid var(--line)}
  .site-nav .btn{margin-top:16px;text-align:center}
}

/* Buttons */
.btn{display:inline-block;font-weight:700;text-decoration:none;border-radius:999px;padding:18px 30px;font-size:18px;line-height:1.2;text-align:center}
.btn-primary{background:var(--green);color:var(--navy)}
.btn-primary:hover{background:#5BE68C;color:var(--navy)}
.btn-outline{border:2px solid var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:var(--navy)}
.btn-sm{padding:12px 20px;font-size:15px}
.link-line{color:var(--ink);font-weight:600;text-decoration:none;border-bottom:2px solid var(--teal);padding-bottom:3px}
.link-line:hover{color:var(--green)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px}

/* Type helpers */
.kicker{font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--teal)}
.lead{font-size:21px;line-height:1.55;color:var(--muted);max-width:720px}
.green{color:var(--green)}
.note{font-family:var(--note);color:var(--green);font-size:26px;line-height:1.2}
.muted{color:var(--muted)}
.small{font-size:15px}

/* Sections */
.section{padding:96px 0}
.section-tight{padding:64px 0}
.section-head{display:flex;flex-direction:column;gap:14px;max-width:780px;margin-bottom:40px}
.section-head h2{font-size:clamp(34px,4.4vw,48px);font-weight:800}
.divider{border-top:1px solid var(--line)}
.band{background:var(--blue);color:#fff}
.band .kicker{color:#E2ECFF}
.band .lead,.band p{color:#fff}

/* Hero */
.hero{padding:88px 0 72px}
.hero .wrap{display:flex;flex-direction:column;gap:26px}
.hero h1{font-size:clamp(42px,6.4vw,76px);font-weight:800;line-height:1;letter-spacing:-.04em;max-width:960px}
.page-hero{padding:72px 0 56px}
.page-hero .wrap{display:flex;flex-direction:column;gap:22px}
.page-hero h1{font-size:clamp(40px,6vw,68px);font-weight:800;line-height:1.02;letter-spacing:-.04em;max-width:920px}

/* Process track (circles on gradient) */
.track{position:relative}
.track::before{content:"";position:absolute;top:47px;left:10%;right:10%;height:6px;border-radius:6px;background:var(--grad)}
.track-steps{position:relative;display:grid;grid-template-columns:repeat(var(--steps,5),minmax(0,1fr));gap:24px}
.step{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.step-dot{width:100px;height:100px;border-radius:999px;background:var(--navy);border:6px solid var(--blue);display:flex;align-items:center;justify-content:center}
.step-dot svg{width:40px;height:40px;stroke:var(--ink);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.step-dot.hot{background:var(--green);border-color:var(--teal)}
.step-dot.hot svg{stroke:var(--navy);stroke-width:2.6}
.step h3{font-size:21px;font-weight:700}
.step p{font-size:15px;line-height:1.5;color:var(--muted)}
.track-note-top{margin-bottom:10px}
.track-note-top .note{width:calc(var(--at,50%) + 12px);text-align:right;transform:rotate(-2deg);transform-origin:right bottom}
.track-note-end{display:flex;justify-content:flex-end;margin-top:14px}
.track-note-end .note{color:var(--muted);font-size:24px;transform:rotate(1.5deg)}
@media (max-width:860px){
  .track::before{top:0;bottom:0;left:49px;right:auto;width:6px;height:auto}
  .track-steps{grid-template-columns:1fr;gap:28px}
  .step{flex-direction:row;align-items:flex-start;text-align:left;gap:20px}
  .step-dot{flex:none}
  .step > div{padding-top:18px}
  .track-note-top .note{width:auto;text-align:left}
}
.step > div{display:flex;flex-direction:column;gap:6px}

/* Offering items (plain line icons) */
.offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:36px}
.offer{display:flex;flex-direction:column;gap:14px;border-top:2px solid rgba(255,255,255,.5);padding-top:24px}
.offer svg{width:52px;height:52px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.offer h3{font-size:22px;font-weight:700}
.offer p{font-size:16px;line-height:1.55}

/* Diamonds */
.diamond-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:32px;text-align:center}
.diamond-step{display:flex;flex-direction:column;align-items:center;gap:12px}
.diamond-num{font-family:var(--note);font-weight:700;font-size:40px;line-height:1}
.diamond-wrap{width:132px;height:132px;display:flex;align-items:center;justify-content:center}
.diamond{width:94px;height:94px;transform:rotate(45deg);background:var(--navy-3);display:flex;align-items:center;justify-content:center}
.diamond svg{width:38px;height:38px;transform:rotate(-45deg);stroke:var(--green);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.diamond.free{border:2px solid var(--green)}
.diamond-step h3{font-size:24px}
.diamond-step p{color:var(--muted);font-size:16px;line-height:1.55;max-width:260px}
.free-tag{display:flex;align-items:baseline;gap:10px}
.free-tag .note{font-size:24px;transform:rotate(-4deg)}
/* small numbered diamonds (timelines) */
.phase-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:36px 24px}
.phase{display:flex;flex-direction:column;gap:10px}
.mini-diamond{width:64px;height:64px;display:flex;align-items:center;justify-content:center}
.mini-diamond span{width:44px;height:44px;transform:rotate(45deg);background:var(--navy-3);border:2px solid var(--blue);display:flex;align-items:center;justify-content:center}
.mini-diamond b{transform:rotate(-45deg);font-size:16px;font-weight:800}
.mini-diamond.hot span{background:var(--green);border-color:var(--green)}
.mini-diamond.hot b{color:var(--navy)}
.phase .when{font-family:var(--note);font-size:20px;color:#8DB8FF}
.phase h3{font-size:20px}
.phase p{font-size:15px;line-height:1.5;color:var(--muted)}

/* Cards */
.card{background:var(--navy-2);border:1px solid var(--line);border-radius:var(--radius);padding:30px;display:flex;flex-direction:column;gap:14px}
.card-outline{border:2px solid #fff;border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:16px}
.cards-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:24px}
.cards-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px}
.cards-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}

/* Case study list rows */
.case-row{display:flex;flex-wrap:wrap;gap:24px;align-items:baseline;justify-content:space-between;padding:32px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.case-row:last-child{border-bottom:1px solid var(--line)}
.case-row h3{font-size:28px}
.case-row p{color:var(--muted);font-size:17px}
.case-row .note{font-size:32px;color:var(--green)}
.case-row:hover h3{color:var(--green)}
.case-row > div{flex:2 1 460px;display:flex;flex-direction:column;gap:8px}

/* Stats */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}
.stat{background:var(--navy-2);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:14px}
.stat .label{font-size:15px;font-weight:500;color:var(--muted)}
.stat .num{font-weight:800;font-size:44px;line-height:1;letter-spacing:-.02em}
.stat .num small{font-size:22px;color:var(--muted-2);font-weight:600}
.stat .desc{font-size:15px;line-height:1.5;color:var(--muted)}
.bars{display:flex;flex-direction:column;gap:8px}
.bar{height:10px;border-radius:10px;background:#3A4F78}
.bar.after{background:var(--grad)}

/* Quotes */
.quote{display:flex;flex-direction:column;gap:14px;margin:0}
.quote .mark{font-weight:800;font-size:96px;line-height:.5;color:var(--green)}
.quote blockquote{margin:0;font-weight:700;font-size:clamp(22px,2.6vw,28px);line-height:1.35;letter-spacing:-.01em}
.quote figcaption{font-family:var(--note);font-size:24px;color:var(--green)}
.quote-card{background:var(--navy-2);border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin:0;display:flex;flex-direction:column;gap:12px}
.quote-card blockquote{margin:0;font-size:19px;font-weight:600;line-height:1.5}
.quote-card figcaption{font-family:var(--note);font-size:21px;color:var(--green)}

/* Split */
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.split > *{flex:1 1 420px;min-width:0}
.stack{display:flex;flex-direction:column;gap:16px}

/* Chips */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{padding:9px 16px;border:2px solid currentColor;border-radius:999px;font-size:15px;font-weight:600}

/* Figures */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:32px;align-items:start;margin-top:56px}
.shots figure{margin:0;display:flex;flex-direction:column;gap:12px}
.shots img{border-radius:14px;border:1px solid var(--line)}
.shots figcaption{font-family:var(--note);font-size:21px;color:var(--muted)}

/* Pricing */
.price-card{background:var(--navy-2);border:1px solid var(--line);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:14px}
.price-card.feature{border:2px solid var(--green)}
.price-card h3{font-size:24px}
.price{font-weight:800;font-size:34px;letter-spacing:-.02em;line-height:1.1}
.price small{font-size:16px;font-weight:600;color:var(--muted)}
.price-card ul{margin:0;padding-left:20px;color:var(--muted);font-size:16px;line-height:1.6}
.price-card .tag{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--navy);background:var(--green);padding:5px 10px;border-radius:999px}
.table-box{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;min-width:560px;font-size:16px}
th,td{text-align:left;padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
tr:last-child td{border-bottom:none}
td:last-child{white-space:nowrap;font-weight:700}

/* Forms */
.form{display:flex;flex-direction:column;gap:18px}
.form label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:16px}
.form input,.form textarea,.form select{font:inherit;font-size:17px;color:var(--ink);background:var(--navy-2);border:1px solid rgba(242,242,242,.3);border-radius:12px;padding:14px 16px}
.form input:focus,.form textarea:focus,.form select:focus{outline:3px solid var(--green);outline-offset:1px;border-color:transparent}
.form textarea{min-height:150px;resize:vertical}
.form .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}
.form button{border:none;cursor:pointer;align-self:flex-start}
.hidden{position:absolute;left:-9999px}

/* CTA band */
.cta-band{background:var(--blue);color:#fff;padding:88px 0}
.cta-band .wrap{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.cta-band h2{font-size:clamp(34px,4.4vw,48px);font-weight:800}
.cta-band p{font-size:19px;margin-top:10px}
.cta-band .btn-outline{border-color:#fff;color:#fff}

/* Portrait placeholder */
.photo-ph{aspect-ratio:4/5;max-width:440px;border-radius:24px;background:var(--navy-3);border:1px dashed rgba(242,242,242,.35);display:flex;align-items:center;justify-content:center;color:var(--muted);text-align:center;padding:20px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:56px 0 28px;background:#0A1730}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:32px}
.footer-brand{display:flex;flex-direction:column;gap:14px}
.footer-brand img{width:190px;height:auto}
.footer-brand p{color:var(--muted);font-size:15px}
.footer-links,.footer-contact{display:flex;flex-direction:column;gap:10px;font-size:16px}
.footer-links a,.footer-contact a{color:var(--ink);text-decoration:none}
.footer-links a:hover,.footer-contact a:hover{color:var(--green)}
.footer-contact p{color:var(--muted);font-size:15px}
.footer-base{margin-top:40px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted-2)}
.disclosure{font-size:12.5px;line-height:1.6;color:var(--muted-2);max-width:820px}
.disclosure strong{color:var(--muted);font-weight:600}

@media (max-width:600px){
  body{font-size:17px}
  .wrap{padding:0 20px}
  .section{padding:72px 0}
  .hero{padding:56px 0 48px}
  .lead{font-size:19px}
  .btn{padding:16px 24px;font-size:17px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Plain-English terms */
a.term{color:inherit;text-decoration:underline dotted;text-decoration-color:var(--green);text-underline-offset:3px}
a.term:hover{color:var(--green)}
.band a.term{text-decoration-color:#fff}
.systems-note{margin-top:36px;font-size:16px}
.systems-note a{color:#fff;font-weight:700}
.glossary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:24px}
.glossary .card{scroll-margin-top:110px}
.glossary h2{font-size:28px;font-weight:800}
.glossary h2 .muted{font-size:18px;font-weight:600}
.glossary p{font-size:16px;line-height:1.6}
.glossary .card:target{border-color:var(--green)}

.hero-proof{text-decoration:none;align-self:flex-start}
.hero-proof .note{display:inline-block;transform:rotate(-2deg);font-size:26px}
.hero-proof:hover .note{color:#fff}
@media (max-width:600px){.brand img{width:140px}.header-row{min-height:80px}.site-nav{top:80px}}
