/* ============================================================
   SERVICE PARTNER PIPELINE — DESIGN TOKENS
   Palette pulled from the logo: deep pine green ink, bright leaf
   green accent, warm paper background. Brass used sparingly for
   the "verified" stamp motif only — no orange anywhere.
   ============================================================ */
:root {
  /* Sampled directly from the logo file */
  --navy:       #012C56;   /* logo wordmark navy, headlines/nav */
  --navy-deep:  #01203E;   /* darker navy for dark-section backgrounds */
  --leaf:       #48AE5A;   /* logo bar green, primary CTA/accent */
  --leaf-dark:  #388A46;   /* hover state for green */
  --leaf-light: #E6F3E8;   /* pale green fill for badges/tags */
  --charcoal:   #383838;   /* logo gear/pipe gray */
  --ink:        #232323;   /* body text */
  --paper:      #F7F2E4;   /* warm cream page background */
  --paper-dark: #EEE4C8;   /* manila card background */
  --brass:      #A9823C;   /* stamp/seal accent only */
  --white:      #FFFFFF;
  --line:       #D8CBA8;   /* rule / border color */
  --line-dark:  #232323;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body:    'Work Sans', -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--leaf-light);
  border: 2px solid var(--navy);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.5vw, 48px); }
h3 { font-size: 26px; }

p { margin: 0 0 20px; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper-dark { background: var(--paper-dark); border-top: 3px solid var(--line-dark); border-bottom: 3px solid var(--line-dark); }
.section--navy { background: var(--navy-deep); color: var(--white); border-top: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); }
.section--navy h2 { color: var(--white); }

.lede {
  font-size: 23px;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 8px;
  border: 3px solid var(--navy);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--leaf);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--wide { width: 100%; justify-content: center; }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo img { height: 88px; width: auto; display: block; }
@media (max-width: 860px) {
  .logo img { height: 62px; }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
}
.site-nav a:hover { color: var(--navy); }

.site-nav .btn--primary,
.site-nav .btn--primary:hover {
  color: var(--white);
}
.site-nav .btn--primary:hover {
  background: var(--leaf-dark);
}
.nav-toggle { display: none; }

/* ---- Nav dropdown ---- */
.nav-dropdown {
  position: relative;
  padding: 8px 0;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown .caret {
  font-size: 12px;
  transition: transform 0.15s ease;
}
.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 10px;
  padding: 10px;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 17px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--leaf-light);
  color: var(--navy);
}

/* ---- Hero ---- */
.hero { padding: 88px 0 72px; }
.hero .wrap { max-width: 820px; }
.hero mark {
  background: none;
  color: var(--leaf);
}

/* ---- Founder ---- */
.founder {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.founder-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 40px;
  border: 3px solid var(--navy);
}
.founder-meta { font-family: var(--font-mono); font-size: 15px; color: var(--navy); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;}
.founder-name { font-family: var(--font-display); font-size: 22px; color: var(--navy); margin-bottom: 2px; }
.founder-title { font-size: 16px; color: var(--ink); opacity: 0.7; margin-bottom: 16px; }
.founder-quote { font-size: 21px; font-style: italic; color: var(--ink); border-left: 5px solid var(--leaf); padding-left: 24px; margin: 0; }

/* ---- How it works ---- */
.steps { max-width: 780px; }
.step {
  border-left: 6px solid var(--leaf);
  padding: 4px 0 4px 32px;
  margin-bottom: 44px;
}
.step:last-child { margin-bottom: 0; }
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.step h3 { margin-bottom: 10px; }
.step p { margin-bottom: 0; font-size: 19px; }

/* ---- Transparency: ticket cards ---- */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ticket {
  background: var(--white);
  border: 3px solid var(--line-dark);
  border-radius: 10px;
  padding: 32px;
  position: relative;
}
.ticket h3 {
  font-family: var(--font-mono);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}
.ticket p { font-size: 18px; margin-bottom: 0; }
.ticket .stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--brass);
  border: 2px solid var(--brass);
  border-radius: 6px;
  padding: 4px 10px;
  transform: rotate(6deg);
  letter-spacing: 0.05em;
}

/* ---- Proof stats ---- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px);
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.site-card {
  background: var(--white);
  border: 3px solid var(--line-dark);
  border-radius: 10px;
  padding: 32px;
}
.site-card--open { border-style: dashed; background: transparent; }
.status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.status-pill--live { background: var(--leaf-light); color: var(--navy); border: 2px solid var(--navy); }
.status-pill--open { background: transparent; color: var(--ink); opacity: 0.6; border: 2px solid var(--line); }
.site-card h3 { margin-bottom: 10px; }
.site-card .coverage { font-size: 17px; opacity: 0.85; margin-bottom: 16px; }
.site-card .highlight { font-family: var(--font-mono); font-weight: 700; color: var(--navy); font-size: 17px; margin-bottom: 16px; }
.site-card a.view-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 3px solid var(--line-dark);
}
.faq-item:first-child { border-top: 3px solid var(--line-dark); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  padding: 26px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .icon { font-family: var(--font-display); font-size: 26px; color: var(--leaf); flex-shrink: 0; }
.faq-a {
  display: none;
  font-size: 18px;
  padding: 0 0 28px;
  max-width: 780px;
  opacity: 0.9;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .icon { transform: rotate(45deg); }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-form { display: grid; gap: 18px; }
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--leaf-light);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 3px solid transparent;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--leaf);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ---- In-development list (network page) ---- */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dev-card {
  background: var(--white);
  border: 3px dashed var(--charcoal);
  border-radius: 10px;
  padding: 24px 28px;
}
.dev-card .domain {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
  word-break: break-word;
}
.dev-card .service-town {
  font-size: 17px;
  opacity: 0.8;
}

/* ---- Request-a-free-site panel ---- */
.request-panel {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 16px;
  padding: 56px;
}
.request-panel h2 { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.request-panel > .lede { text-align: center; margin-left: auto; margin-right: auto; }
.request-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}
.request-step { text-align: left; }
.request-step .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 10px;
}
.request-step h3 { font-size: 21px; margin-bottom: 8px; }
.request-step p { font-size: 17px; margin-bottom: 0; }
.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.request-form .full { grid-column: 1 / -1; }
.request-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 8px;
}
.request-form input,
.request-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 3px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--leaf);
}
.request-form textarea { resize: vertical; min-height: 110px; }

/* ---- Site detail page ---- */
.detail-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.detail-hero img.detail-logo { height: 64px; width: auto; }
.back-link {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 20px;
}
.back-link:hover { text-decoration: underline; }

.browser-mock {
  border: 3px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.browser-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--paper-dark);
  border-bottom: 3px solid var(--line-dark);
}
.browser-mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--charcoal);
}
.browser-mock-url {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  opacity: 0.7;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-mock img { display: block; width: 100%; }

.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.coverage-pill {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: var(--leaf-light);
  border: 2px solid var(--navy);
  border-radius: 100px;
  padding: 8px 18px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 0;
  font-size: 15px;
  text-align: center;
  opacity: 0.85;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-nav { display: none; }
  .founder { flex-direction: column; }
  .ticket-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .dev-grid { grid-template-columns: 1fr; }
  .request-panel { padding: 32px 20px; }
  .request-steps { grid-template-columns: 1fr; gap: 28px; }
  .request-form { grid-template-columns: 1fr; }
  .detail-hero { flex-direction: column; align-items: flex-start; }
}
