/* CVM Con LLC — PhoneSites red, black, and white. Lora headings, Public Sans body. */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/lora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/public-sans-latin.woff2") format("woff2");
}

:root {
  --red: #c8201e;
  --red-d: #a01815;
  --red-l: #ff5a52;
  --red-soft: #fbe9e8;
  --ink: #0d0d0d;
  --ink-2: #171717;
  --muted: #5d5955;
  --grey: #a9a5a0;
  --rule: #e2dfdb;
  --paper: #f6f5f3;
  --white: #fff;
  --star: #f4b400;
  --wordmark: #8f1d1a;
  --font: "Public Sans", "Segoe UI", sans-serif;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); }
a:hover { color: var(--ink); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-d);
}
.lede { font-size: 1.125rem; max-width: 42rem; }
.accent { color: var(--red-l); }

.site-header {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid var(--red);
}
.site-header a { color: var(--white); text-decoration: none; }
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 0;
}
.logo { order: 1; }
.nav-toggle { order: 2; margin-left: auto; }
.header-cta { order: 3; flex-basis: 100%; }
.header-cta .btn { flex: 1 1 0; padding-inline: 0.4rem; text-align: center; line-height: 1.15; }
.header-cta .btn-solid { font-size: 0.78rem; padding-inline: 0.35rem; white-space: normal; }
.nav-links { order: 4; }
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 10px 7px;
  box-shadow: inset 0 -3px 0 var(--red);
  text-decoration: none;
  line-height: 1;
}
.logo img { width: 78px; height: 35px; object-fit: contain; }
.logo-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  line-height: 1;
  color: var(--wordmark);
  white-space: nowrap;
}
.logo-lg { padding: 10px 16px 12px; gap: 6px; }
.logo-lg img { width: 104px; height: 47px; }
.logo-lg .logo-name { font-size: 15px; }
.header-cta, .nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-links {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 0.6rem;
}
.nav-links.is-open { display: flex; }
.nav-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
  font-weight: 600;
}
.nav-links a[aria-current="page"] { color: var(--red-l); }
.nav-toggle {
  min-height: 44px;
  min-width: 44px;
  border: 2px solid var(--grey);
  background: transparent;
  color: var(--white);
  font: 600 0.95rem/1 var(--font);
  border-radius: 6px;
  padding: 0 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font: 650 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn-solid { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-solid:hover { background: var(--red-d); color: var(--white); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
a.btn-line { color: inherit; }
.header-cta .btn-line { color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.paper .btn-line:hover, main .btn-line:hover { background: var(--red-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.1rem 0; }

.hero { background: var(--ink); color: var(--white); padding: 2.2rem 0 2.6rem; }
.hero a { color: var(--red-l); }
.hero .eyebrow { color: var(--red-l); }
.hero-grid { display: grid; gap: 1.5rem; }
.hero .lede { color: var(--paper); }
.hero .lede b { color: var(--white); }
.phone-line {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0.2rem 0 0;
}
.phone-line a { text-decoration: none; }
.micro { color: var(--grey); font-size: 0.98rem; }

.picker {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.picker h2 { font-size: 1.7rem; }
.picker p { color: var(--muted); }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.picker-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}
.picker-grid a:hover { border-color: var(--red); background: var(--red-soft); }
.picker-grid strong { font-size: 1rem; }
.picker-grid span { color: var(--muted); font-size: 0.85rem; }
.picker-grid a:last-child { grid-column: 1 / -1; }
.picker-foot { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.95rem; }

.strip { background: var(--red); color: var(--white); }
.strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0.85rem 0;
  font-weight: 650;
}
.strip li { min-height: 44px; display: flex; align-items: center; }

section { padding: 3.2rem 0; }
.section-white { background: var(--white); }
.section-ink { background: var(--ink); color: var(--white); }
main > section.section-ink:last-child {
  background: var(--ink-2);
}

.section-ink .eyebrow { color: var(--red-l); }
.section-ink a { color: var(--red-l); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 1.2rem; }
.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  font-weight: 600;
}
.tag-list a:hover { border-color: var(--red); }

.card-grid, .point-grid, .step-grid { display: grid; gap: 0.9rem; }
.card, .point, .step, .group, .review-slot, .ask, .faq details {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}
.card h3, .point h3, .step h3 { margin-bottom: 0.35rem; }
.num {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-d);
}
.section-ink .point { background: var(--ink-2); border-color: #2a2a2a; color: var(--white); }
.step { background: var(--paper); }

.group { display: grid; gap: 1rem; margin-bottom: 1rem; }
.group:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0.8rem 0 1rem; }
.chips a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.75rem;
  background: var(--red-soft);
  color: var(--red-d);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}

.slot {
  margin: 0;
  background: var(--ink-2);
  border-radius: 12px;
  overflow: hidden;
}
.slot figcaption {
  color: var(--grey);
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem 0.75rem;
}
.pair { display: grid; gap: 0.7rem; }
.project {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0.8rem;
  background: var(--white);
}
.project h3 { margin-top: 0.6rem; }
.filter { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.filter button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--white);
  font: 650 0.95rem/1 var(--font);
  padding: 0 0.9rem;
  color: var(--ink);
}
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.review-slot {
  background: repeating-linear-gradient(-45deg, var(--white), var(--white) 12px, var(--red-soft) 12px, var(--red-soft) 13px);
  border-style: dashed;
}
.review-slot strong { display: block; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--red-d); }

.review-feature {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.2rem;
  max-width: min(65ch, 42rem);
  width: 100%;
  text-align: left;
  margin: 0;
}
.review-feature blockquote { margin: 0; }
.review-feature blockquote p {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1rem;
  text-align: left;
  text-wrap: pretty;
}
.review-feature figcaption {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: left;
}
.review-feature figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.15rem;
}
.review-feature figcaption a { color: var(--red-d); }

.checks { list-style: none; }
.checks li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--red); }

.ask {
  background: var(--ink);
  color: var(--white);
}
.ask a { color: var(--red-l); }
.split { display: grid; gap: 1rem; }

.crumbs { font-size: 0.95rem; margin-bottom: 0.8rem; }
.crumbs a { color: var(--red-l); }

.page-head { background: var(--ink); color: var(--white); padding: 2rem 0 2.2rem; }
.page-head .eyebrow { color: var(--red-l); }
.page-head .lede { color: var(--paper); }

.form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.1rem;
}
.form label { display: grid; gap: 0.3rem; font-weight: 650; }
.form input, .form select, .form textarea {
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  font: 400 1rem/1.4 var(--font);
  color: var(--ink);
  background: var(--white);
  width: 100%;
}
.form textarea { min-height: 8rem; resize: vertical; }
.note {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
}
#form-status:not([hidden]) { margin-top: 0.6rem; }

.faq details { padding: 0.4rem 1rem; margin-bottom: 0.6rem; background: var(--white); }
.faq summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); }

.site-footer { background: var(--ink); color: var(--paper); padding: 1.75rem 0 1rem; border-top: 3px solid var(--red); }
.site-footer a:not(.btn) {
  color: var(--white);
  text-decoration: none;
}
.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
a.btn,
a.btn:hover,
a.btn:focus-visible {
  text-decoration: none;
}
a.btn-solid,
a.btn-solid:hover,
a.btn-solid:focus-visible,
.hero a.btn-solid,
.hero a.btn-solid:hover,
.hero a.btn-solid:focus-visible,
.section-ink a.btn-solid,
.section-ink a.btn-solid:hover,
.section-ink a.btn-solid:focus-visible,
.site-header a.btn-solid,
.site-header a.btn-solid:hover,
.site-header a.btn-solid:focus-visible {
  color: var(--white);
  text-decoration: none;
}
.section-ink a.btn-line,
.section-ink a.btn-line:hover,
.section-ink a.btn-line:focus-visible {
  color: var(--white);
  text-decoration: none;
}
.site-footer, .site-footer p, .site-footer li, .site-footer h2, .site-footer a {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.foot-grid { display: grid; gap: 1.1rem 1.25rem; align-items: start; }
.site-footer h2 {
  font-size: 0.78rem;
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  color: var(--grey);
  line-height: 1.2;
}
.site-footer ul { list-style: none; }
.site-footer li { font-size: 0.92rem; line-height: 1.35; color: var(--paper); }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer .foot-grid > div:first-child p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 32ch;
}
.site-footer .logo-lg {
  margin-bottom: 0.55rem;
  width: fit-content;
  padding: 6px 10px 7px;
  gap: 3px;
}
.site-footer .logo-lg img { width: 78px; height: 35px; }
.site-footer .logo-lg .logo-name { font-size: 10px; }
.foot-grid > div:nth-child(3) ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.75rem;
  row-gap: 0;
}
.legal {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--grey);
}

:focus-visible { outline: 3px solid var(--red-l); outline-offset: 3px; }
main :focus-visible, .site-footer :focus-visible { outline-color: var(--red-d); }

@media (min-width: 720px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .point-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr 1fr; }
  .project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; }
  .form .wide, .form button, .form .note { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.7fr); }
  .foot-grid > div:nth-child(1) { grid-column: 1; }
  .foot-grid > div:nth-child(2) { grid-column: 2; }
  .foot-grid > div:nth-child(4) { grid-column: 3; grid-row: 1; }
  .foot-grid > div:nth-child(3) { grid-column: 1 / -1; }
  .foot-grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr 1fr 1fr; column-gap: 0.9rem; }
  .site-footer li a { min-height: 2.25rem; }
}
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .logo { margin-right: 0.5rem; }
  .nav-links {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    order: 2;
    margin-right: auto;
    padding: 0;
    gap: 0.2rem 1rem;
  }
  .header-cta { order: 3; flex-basis: auto; }
  .header-cta .btn { flex: 0 0 auto; padding-inline: 1rem; font-size: 0.95rem; white-space: nowrap; }
  .header-cta .btn-solid { font-size: 0.95rem; padding-inline: 1rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .picker-grid { grid-template-columns: 1fr; }
  .picker-grid a:last-child { grid-column: auto; }
  .card-grid { grid-template-columns: 1fr 1fr 1fr; }
  .point-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr 1fr; }
  .group { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .group:nth-child(even) .slot { order: -1; }
  .foot-grid { grid-template-columns: minmax(12.5rem, 0.95fr) minmax(10rem, 0.7fr) minmax(18rem, 1.55fr) minmax(7.5rem, 0.55fr); }
  .foot-grid > div:nth-child(1) { grid-column: 1; grid-row: 1; }
  .foot-grid > div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .foot-grid > div:nth-child(3) { grid-column: 3; grid-row: 1; }
  .foot-grid > div:nth-child(4) { grid-column: 4; grid-row: 1; }
  .foot-grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr 1fr; column-gap: 0.85rem; }
  .site-footer li a { min-height: 2rem; }
  .project-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
