/* ==========================================================================
   DVN Agency LLC -- single hand-written stylesheet.
   No CSS framework, no external fonts, no remote assets of any kind.
   ========================================================================== */

:root {
  --ink: #16202e;
  --body: #333333;         /* body copy -- darker than the #555 compliance floor */
  --muted: #55606e;
  --accent: #14487f;
  --accent-dark: #0e3660;
  --line: #d8dee7;
  --band: #f4f7fa;
  --error: #b3261e;
  --white: #ffffff;
  --radius: 6px;
  --wrap: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 12px; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.wordmark {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--accent); }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.2;
}
.header-phone-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.header-phone-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ hero -- */
.hero { background: var(--band); border-bottom: 1px solid var(--line); }
.hero-inner { padding: 40px 20px 34px; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 40px; margin-bottom: 12px; letter-spacing: -0.02em; }
.hero-sub { font-size: 18px; color: var(--body); margin: 0 auto 16px; max-width: 640px; }
.hero-actions { margin: 0; }
.hero-call { font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ----------------------------------------------------------- value props -- */
.value-props { padding: 30px 0 6px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-item h2 { font-size: 18px; margin-bottom: 6px; }
.value-item p { margin: 0; font-size: 15px; color: var(--body); }

/* ------------------------------------------------------------------ form -- */
.form-section { padding: 28px 0 56px; }
.form-wrap { max-width: 760px; }
.form-heading { font-size: 26px; margin-bottom: 6px; }
.form-intro { margin: 0 0 20px; color: var(--muted); font-size: 15px; }

.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 16px;             /* 16px avoids iOS zoom-on-focus */
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c2ce;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 6px 0 0; font-size: 14px; color: var(--error); font-weight: 500; }

.form-summary-error {
  border: 1px solid var(--error);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: #fdf3f2;
  color: #7d1a15;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 15px;
}
.form-summary-error p { margin: 0; }

/* honeypot -- off-screen for humans, still filled by naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =====================================================================
   SMS CONSENT BLOCK -- A2P 10DLC / TCR evidence.

   The rules below exist so a carrier screenshot shows every word. Do not
   reduce the font size below 15px, lighten the colour past #555, clamp the
   line count, add overflow/ellipsis, or hide any of this behind a toggle.
   ===================================================================== */
.consent-fieldset {
  margin: 26px 0 22px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}
.consent-legend {
  padding: 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.consent-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}
.consent-item:last-of-type { margin-bottom: 14px; }

.consent-checkbox {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: none;
}
.consent-checkbox:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent-label {
  display: block;
  font-size: 15px;            /* >= 14px floor */
  line-height: 1.6;           /* normal line height */
  color: #333333;             /* darker than the #555 floor on white */
  font-weight: 400;
  /* Never truncate: no max-height, no line-clamp, no overflow hidden. */
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
}
.consent-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.consent-optional-notice {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  font-weight: 600;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.submit-btn:hover { background: var(--accent-dark); }
.submit-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ------------------------------------------------------------ legal pages -- */
.legal { padding: 40px 0 56px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin-top: 30px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { font-size: 16px; color: var(--body); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .lead { font-size: 18px; }
.effective-date { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.mobile-info-statement {
  border-left: 4px solid var(--accent);
  background: var(--band);
  padding: 14px 16px;
  margin: 14px 0 18px;
  font-weight: 600;
  color: #222b38;
}
.contact-block { line-height: 1.8; }
.back-link { font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--band);
  padding: 30px 0 24px;
  margin-top: 10px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-block p { margin: 0 0 4px; }
.footer-legal-name { font-weight: 700; color: var(--ink); }
.footer-line { font-size: 15px; color: var(--body); }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { font-size: 15px; font-weight: 600; }
.copyright {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }

  /* Keep the hero and value props tight so the quote form is reachable
     within one scroll on a 375px-wide phone. */
  .hero-inner { padding: 26px 16px 22px; }
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 16px; margin-bottom: 12px; }
  .hero-call { font-size: 15px; }

  .value-props { padding: 20px 0 0; }
  .value-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-item h2 { font-size: 16px; margin-bottom: 2px; }
  .value-item p { font-size: 14px; line-height: 1.45; }

  .form-section { padding: 22px 0 40px; }
  .form-heading { font-size: 22px; }
  .quote-form { padding: 18px 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Consent text stays full size on mobile -- this is the screenshot the
     carrier reviews. */
  .consent-fieldset { padding: 14px 12px 12px; }
  .consent-item { grid-template-columns: 22px 1fr; gap: 10px; }
  .consent-label { font-size: 15px; line-height: 1.6; }
  .consent-optional-notice { font-size: 15px; }

  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .legal h1 { font-size: 26px; }
  .legal p, .legal li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
