:root {
  --navy: #152c3e;
  --navy2: #0c2334;
  --teal: #17b8a6;
  --teal-dark: #087c73;
  --cream: #fbf8f2;
  --ink: #1d2d37;
  --muted: #64747d;
  --line: #d8e2e3;
  --shadow: 0 18px 50px rgba(21, 44, 62, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Manrope", sans-serif; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); letter-spacing: -.045em; margin-bottom: 1rem; }

.site-header { height: 76px; padding: 0 max(24px, 5vw); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid rgba(21, 44, 62, .09); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 8px; background: var(--teal); color: #fff; font-weight: 800; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { text-decoration: none; font-size: .91rem; font-weight: 600; }
.nav-cta { border: 1px solid var(--navy); padding: 10px 17px; border-radius: 3px; }

.hero { width: 100%; height: min(500px, calc(100vh - 76px)); min-height: 430px; position: relative; overflow: hidden; background: var(--navy2); }
.hero::before { content: ""; position: absolute; inset: -14px; background: url("assets/colonscopal-hero-v2.png") center / cover no-repeat; filter: blur(10px); opacity: .48; transform: scale(1.04); }
.hero > img { position: absolute; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(7,29,43,.98) 0%, rgba(7,29,43,.90) 36%, rgba(7,29,43,.30) 69%, rgba(7,29,43,.08)); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 790px; padding: 92px max(24px, 8vw); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--teal-dark); font-size: .75rem; font-weight: 700; margin-bottom: 14px; }
.eyebrow.light { color: #7ee3d6; }
.hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.15rem); max-width: 740px; letter-spacing: -.06em; margin-bottom: 12px; }
.hero h1 em { color: #86e4d8; font-style: normal; }
.hero-content > p:not(.eyebrow) { font-size: 1.02rem; max-width: 630px; margin-bottom: 22px; color: #e7eff1; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; text-decoration: none; border: 0; border-radius: 3px; padding: 13px 20px; font: 700 .9rem "Manrope", sans-serif; cursor: pointer; transition: .2s transform, .2s background; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: #062b2a; }
.button-primary:hover { background: #38cbbb; }
.button-dark { background: var(--navy); color: #fff; }

.section { padding: 90px max(24px, 8vw); }
.story-section { background: #fff; }
.story-layout { max-width: 1120px; margin: auto; display: grid; grid-template-columns: minmax(260px, .68fr) 1.32fr; gap: 7vw; align-items: center; }
.founder-photo { min-height: 390px; margin: 0; overflow: hidden; background: #dfe7ec; border: 1px solid #c7d5dc; }
.founder-photo img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center 28%; }
.story-copy { font-size: 1.02rem; color: var(--muted); }
.story-copy h2 { max-width: 760px; color: var(--ink); }
.story-copy .lead { font-size: 1.22rem; line-height: 1.55; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.trust-row { display: flex; gap: 28px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--teal-dark); font-weight: 700; }

.service-section { background: var(--cream); }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading.left { text-align: left; margin: 0; }
.service-section .section-heading { max-width: 940px; }
.service-section .section-heading h2 { white-space: nowrap; font-size: clamp(1.55rem, 3.7vw, 3.65rem); }
.area-grid { max-width: 1120px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-card { position: relative; min-height: 235px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 30px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.area-card.featured { background: #fff; color: var(--ink); border-color: var(--line); border-top-color: var(--teal); }
.town-link { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--teal-dark); font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.town-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.town-link:focus-visible { outline: 3px solid rgba(23,184,166,.3); outline-offset: 8px; }
.city-logo { width: 180px; height: 88px; object-fit: contain; margin: 0 auto; }
.city-logo.cary-logo { width: 190px; height: 72px; }
.city-logo.morrisville-logo { width: 108px; height: 108px; }
.municipal-note { text-align: center; max-width: 760px; margin: 18px auto 0; color: #89979d; font-size: .72rem; }
.area-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 28px 0 0; }
.zip-checker { max-width: 520px; margin: 18px auto 0; padding: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(21,44,62,.07); }
.zip-checker > label { display: block; margin-bottom: 9px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.zip-check-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.zip-check-row input { min-width: 0; width: 100%; border: 1px solid #bccdce; border-radius: 3px; padding: 12px 14px; font: 500 .95rem "Manrope", sans-serif; color: var(--ink); outline: none; }
.zip-check-row input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,184,166,.14); }
.zip-check-row input.invalid { border-color: #c55c53; background: #fff8f7; }
.zip-check-row button { border: 0; border-radius: 3px; padding: 12px 18px; background: var(--navy); color: #fff; font: 700 .88rem "Manrope", sans-serif; cursor: pointer; }
.zip-check-row button:hover { background: #24475f; }
.zip-check-result { min-height: 21px; margin: 9px 0 -4px; font-size: .82rem; font-weight: 700; }
.zip-check-result.valid { color: var(--teal-dark); }
.zip-check-result.invalid { color: #b34239; }

.pricing-section { background: #e8f6f3; display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; }
.price-card { background: #fff; display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.price-main { padding: 42px; text-align: center; border-right: 1px solid var(--line); }
.price-main > p:first-child { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--teal-dark); }
.price { font-size: clamp(4rem, 7vw, 6rem); line-height: 1; font-weight: 800; letter-spacing: -.075em; color: var(--navy); margin: 16px 0; }
.price span { font-size: 2rem; font-weight: 700; letter-spacing: -.04em; vertical-align: top; position: relative; top: 8px; }
.deposit { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.deposit strong { color: var(--ink); display: block; }
.pricing-note { max-width: 500px; }
.pricing-note + .pricing-note { margin-top: 10px; }
.included-list { list-style: none; margin: 0; padding: 33px 35px; display: flex; flex-direction: column; justify-content: center; }
.included-list li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.included-list li:last-child { border: 0; }
.included-list span { color: var(--teal-dark); font-size: .72rem; letter-spacing: .1em; }

.request-section { background: var(--navy); display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; align-items: start; color: #fff; }
.request-copy { position: sticky; top: 30px; }
.request-copy h2 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.request-copy > p:not(.eyebrow) { color: #cbd9dd; }
.small-callout { margin-top: 30px; padding: 20px; border-left: 3px solid var(--teal); background: rgba(255,255,255,.06); font-size: .9rem; color: #cbd9dd; }
.small-callout strong { color: #fff; }
.ride-form { background: #fff; color: var(--ink); padding: 35px; box-shadow: 0 22px 55px rgba(0,0,0,.16); }
.ride-form label { display: block; font-size: .79rem; font-weight: 700; margin-bottom: 18px; }
.ride-form label > span:first-of-type, .ability-check b { color: #d15f53; }
.ride-form input, .ride-form textarea { width: 100%; border: 1px solid #ccd9da; border-radius: 2px; background: #fbfdfd; padding: 12px 13px; margin-top: 7px; font: 400 .95rem "Manrope", sans-serif; color: var(--ink); outline: none; transition: .2s border, .2s box-shadow; }
.ride-form input:focus, .ride-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,184,166,.14); }
.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-status { display: block; min-height: 18px; margin-top: 5px; font-size: .75rem; font-weight: 600; }
.field-status.valid { color: #087c73; }
.field-status.invalid { color: #b34239; }
.ride-form input.invalid { border-color: #c55c53; background: #fff8f7; }
.ability-check { display: flex !important; gap: 11px; align-items: flex-start; font-weight: 500 !important; line-height: 1.4; }
.ability-check input { width: 17px !important; height: 17px; margin: 2px 0 0 !important; flex: 0 0 auto; }
.ability-check span { color: var(--ink) !important; }
.terms-check a { color: var(--teal-dark); font-weight: 800; text-underline-offset: 2px; }
.form-button { width: 100%; font-size: .98rem; }
.form-button:disabled { cursor: wait; opacity: .72; }
.form-privacy-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: .72rem; line-height: 1.5; }
.form-message { margin: 14px 0 0; text-align: center; font-weight: 600; font-size: .9rem; }
.form-message.error { color: #b34239; }
.form-message.success { color: #087c73; background: #e7f8f4; padding: 13px; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--navy); }
.thanks-card { width: min(100%, 680px); padding: clamp(36px, 7vw, 72px); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.24); text-align: center; }
.thanks-mark { width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.7rem; font-weight: 800; }
.thanks-card .eyebrow { margin-bottom: 14px; }
.thanks-card h1 { color: var(--ink); font-size: clamp(2.2rem, 7vw, 4rem); }
.thanks-card > p:not(.eyebrow) { max-width: 520px; margin: 0 auto 18px; color: var(--muted); }
.thanks-note { padding: 18px; border-left: 3px solid var(--teal); background: var(--cream); text-align: left; font-size: .9rem; }
.thanks-card .button { margin-top: 10px; }

.faq-section { background: #fff; }
.faq-list { max-width: 900px; margin: auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 0 6px; }
summary { list-style: none; cursor: pointer; padding: 25px 0; font-size: 1.12rem; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--teal); font-size: 1.6rem; font-weight: 400; transition: .2s transform; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 750px; color: var(--muted); padding: 0 0 25px; margin: 0; }
footer { background: var(--navy2); color: #c9d7db; text-align: center; padding: 45px 24px; }
.footer-brand { color: #fff; justify-content: center; margin-bottom: 16px; }
.footer-links { margin: 12px 0 0; font-size: .82rem; font-weight: 700; }
.footer-links a { color: #7ee3d6; text-underline-offset: 3px; }
.fine-print { font-size: .75rem; color: #83999f; margin: 20px 0 0; }

.policy-page { background: #fff; }
.policy-header .header-home-link { color: var(--teal-dark); font-weight: 700; }
.policy-hero { padding: 76px max(24px, 8vw); color: #fff; background: var(--navy); }
.policy-hero-inner { max-width: 980px; margin: auto; }
.policy-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -.06em; }
.policy-hero p:last-child { max-width: 760px; margin-bottom: 0; color: #d7e3e6; }
.policy-content { max-width: 980px; margin: auto; padding: 72px 24px 96px; }
.policy-summary { margin-bottom: 48px; padding: 24px 26px; border-left: 4px solid var(--teal); background: var(--cream); color: var(--muted); }
.policy-summary strong { color: var(--ink); }
.policy-section { padding: 34px 0; border-top: 1px solid var(--line); }
.policy-section h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.policy-section h3 { margin: 28px 0 9px; font-size: 1.05rem; }
.policy-section p, .policy-section li { color: var(--muted); }
.policy-section ul { padding-left: 22px; }
.policy-section li + li { margin-top: 9px; }
.policy-section a { color: var(--teal-dark); font-weight: 700; }
.policy-updated { margin: 0; color: #9db1b7; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 850px) {
  .site-header nav > a:not(.nav-cta) { display: none; }
  .hero-content { padding-top: 42px; }
  .story-layout, .pricing-section, .request-section { grid-template-columns: 1fr; }
  .story-layout { gap: 34px; }
  .founder-photo { min-height: 330px; max-width: 520px; width: 100%; }
  .founder-photo img { min-height: 330px; }
  .area-grid { grid-template-columns: 1fr; }
  .pricing-section { gap: 35px; }
  .price-card { max-width: 650px; }
  .request-copy { position: static; }
  .section { padding: 70px max(22px, 6vw); }
}

@media (max-width: 560px) {
  .site-header { height: 68px; padding: 0 18px; }
  .brand { font-size: 1.12rem; }
  .nav-cta { padding: 8px 12px; }
  .hero { height: 350px; min-height: 350px; }
  .hero::before { display: none; }
  .hero > img { object-fit: cover; object-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,29,43,.94), rgba(7,29,43,.68)); }
  .hero-content { padding: 37px 22px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-content > p:not(.eyebrow) { font-size: .92rem; }
  .section { padding: 62px 20px; }
  .founder-photo { min-height: 290px; }
  .founder-photo img { min-height: 290px; }
  .trust-row { gap: 15px; flex-wrap: wrap; }
  .service-section .section-heading h2 { font-size: clamp(1.42rem, 6.25vw, 1.8rem); letter-spacing: -.06em; }
  .zip-checker { padding: 18px; }
  .zip-check-row { grid-template-columns: 1fr; }
  .zip-check-row button { width: 100%; }
  .price-card { grid-template-columns: 1fr; }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px 24px; }
  .included-list { padding: 20px 25px; }
  .ride-form { padding: 25px 20px; }
  .form-grid.two { grid-template-columns: 1fr; gap: 0; }
  .policy-header nav .header-home-link { display: block; }
  .policy-hero { padding: 56px 20px; }
  .policy-content { padding: 52px 20px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
