:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5d6877;
  --agency-blue: rgb(0, 51, 160);
  --agency-blue-dark: #00266f;
  --agency-blue-soft: #eaf0ff;
  --green: #3d765f;
  --gold: #b98521;
  --red: #b3262e;
  --line: #d8dee8;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --shadow: 0 16px 42px rgba(21, 32, 51, 0.14);
  --shadow-soft: 0 12px 30px rgba(17, 41, 87, 0.1);
  --radius: 8px;
  --focus: 0 0 0 4px rgba(0, 51, 160, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.is-sticky-visible {
  padding-bottom: 0;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--agency-blue-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.header-shell,
.hero-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.landing-header {
  position: relative;
  z-index: 20;
  border-bottom: 3px solid var(--agency-blue);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 18px rgba(0, 31, 97, 0.05);
}

.header-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--agency-blue);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.06;
}

.brand-copy strong {
  color: var(--agency-blue-dark);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.header-affiliation {
  display: grid;
  justify-items: end;
  color: var(--agency-blue-dark);
  text-align: right;
}

.header-affiliation strong {
  font-size: 0.93rem;
}

.header-affiliation span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0 clamp(42px, 6vw, 84px);
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 51, 160, 0.12), transparent 33%),
    radial-gradient(circle at 92% 18%, rgba(61, 118, 95, 0.08), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #edf4fb 100%);
}

.landing-hero::after {
  position: absolute;
  right: -170px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 86px solid rgba(0, 51, 160, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-label,
.preview-kicker {
  margin: 0 0 10px;
  color: var(--agency-blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  color: var(--agency-blue-dark);
  font-size: clamp(2.65rem, 5.5vw, 4.72rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: #24324a;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  font-weight: 760;
  line-height: 1.35;
}

.start-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-top: clamp(22px, 3.5vw, 34px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid #c8d6ee;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.product-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-field legend,
.zip-field > span {
  color: var(--agency-blue-dark);
  font-size: 0.92rem;
  font-weight: 950;
}

.product-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 9px;
}

.product-choice {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  min-height: 62px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--agency-blue-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.product-choice:hover {
  transform: translateY(-1px);
  border-color: #a8bee3;
}

.product-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-choice img {
  width: 30px;
  height: 30px;
}

.product-choice:has(input:checked) {
  border-color: var(--agency-blue);
  background: #f7faff;
  box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.12);
}

.product-choice:has(input:focus-visible) {
  box-shadow: var(--focus);
}

body[data-lock-product="true"] .product-field {
  display: none;
}

.start-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(260px, 0.88fr);
  gap: 12px;
  align-items: end;
}

.zip-field {
  display: grid;
  gap: 7px;
}

.zip-field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #bfcee6;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  outline: none;
}

.zip-field input::placeholder {
  color: #8390a2;
}

.zip-field input:focus {
  border-color: var(--agency-blue);
  box-shadow: var(--focus);
}

.zip-field.needs-completion input {
  border-color: #d48a8f;
  background: #fffafa;
}

.primary-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  color: #fff;
  background: var(--agency-blue);
  box-shadow: 0 10px 22px rgba(0, 51, 160, 0.18);
  font-weight: 950;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.primary-button:hover {
  background: #002d8f;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 51, 160, 0.22);
}

.primary-button:focus-visible,
.text-link:focus-visible,
.mobile-sticky-cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.form-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-assurances img {
  width: 17px;
  height: 17px;
}

.status-text {
  min-height: 1.25em;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.status-text.error {
  color: var(--red);
}

.status-text.success {
  color: var(--green);
}

.verification-panel {
  padding: 12px;
  border: 1px solid #d8e3f4;
  border-radius: var(--radius);
  background: #f7fbff;
}

.verification-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.agency-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.agency-proof strong {
  color: var(--agency-blue-dark);
}

.estimate-preview {
  position: sticky;
  top: 28px;
  overflow: hidden;
  border: 1px solid #c8d6ee;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #dfe7f2;
}

.preview-icon,
.value-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--agency-blue-soft);
}

.preview-icon img,
.value-icon img {
  width: 30px;
  height: 30px;
}

.preview-heading .preview-kicker {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.preview-heading h2 {
  margin: 0;
  color: var(--agency-blue-dark);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.08;
}

.preview-premium {
  display: grid;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--agency-blue-dark), var(--agency-blue));
}

.preview-premium span {
  color: #dfe9ff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-premium strong {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(2.45rem, 4.8vw, 3.65rem);
  line-height: 0.96;
}

.preview-premium small {
  margin-top: 8px;
  color: #eef4ff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.preview-rows {
  display: grid;
  margin: 0;
  padding: 8px 24px;
}

.preview-rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f6;
}

.preview-rows div:last-child {
  border-bottom: 0;
}

.preview-rows dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.preview-rows dd {
  margin: 0;
  color: var(--agency-blue-dark);
  font-size: 0.84rem;
  font-weight: 950;
  text-align: right;
}

.preview-note {
  margin: 0;
  padding: 17px 24px 20px;
  border-top: 1px solid #dfe7f2;
  color: var(--muted);
  background: #f8fbff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.control-strip {
  border-top: 1px solid #dce5f1;
  border-bottom: 1px solid #dce5f1;
  background: #fff;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-grid article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 24px clamp(16px, 2.5vw, 30px);
  border-right: 1px solid #dce5f1;
}

.control-grid article:last-child {
  border-right: 0;
}

.control-grid img {
  width: 36px;
  height: 36px;
}

.control-grid strong,
.control-grid span {
  display: block;
}

.control-grid strong {
  color: var(--agency-blue-dark);
  font-size: 0.94rem;
}

.control-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.process-section,
.value-section,
.privacy-section,
.final-cta-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.process-section {
  background: #fff;
}

.process-section h2,
.value-section h2,
.privacy-section h2,
.final-cta-section h2 {
  max-width: 900px;
  margin: 0;
  color: var(--agency-blue-dark);
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 230px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.process-grid li::after {
  position: absolute;
  top: 43px;
  right: -19px;
  z-index: 2;
  width: 18px;
  height: 2px;
  background: #aebddb;
  content: "";
}

.process-grid li:last-child::after {
  display: none;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--agency-blue);
  font-size: 1rem;
  font-weight: 950;
}

.process-grid strong {
  color: var(--agency-blue-dark);
  font-size: 1.03rem;
}

.process-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 740;
  line-height: 1.45;
}

.value-section {
  background: linear-gradient(180deg, #f4f7fa 0%, #eef4fb 100%);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 46px;
  align-items: end;
}

.section-heading-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(34px, 5vw, 54px);
}

.value-card {
  min-height: 290px;
  padding: 26px;
  border: 1px solid #cbd8eb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  margin: 23px 0 0;
  color: var(--agency-blue-dark);
  font-size: 1.28rem;
  line-height: 1.12;
}

.value-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 740;
  line-height: 1.5;
}

.privacy-section {
  background: #fff;
}

.privacy-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.privacy-visual {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  border: 1px solid #c8d6ee;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 35%, #eaf0ff 36% 100%);
  box-shadow: var(--shadow-soft);
}

.privacy-visual img {
  width: 88px;
  height: 88px;
}

.privacy-copy p:not(.section-label) {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.55;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--agency-blue);
  font-weight: 900;
  text-underline-offset: 4px;
}

.privacy-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  scroll-margin-top: 20px;
}

.privacy-details article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.privacy-details strong,
.privacy-details span {
  display: block;
}

.privacy-details strong {
  color: var(--agency-blue-dark);
}

.privacy-details span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 760;
  line-height: 1.4;
}

.final-cta-section {
  padding-top: 0;
  background: #fff;
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 51, 160, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--agency-blue-dark), var(--agency-blue));
  box-shadow: var(--shadow);
}

.final-cta-card .section-label,
.final-cta-card h2 {
  color: #fff;
}

.final-cta-card h2 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
}

.final-cta-card .primary-button {
  min-width: 250px;
  border-color: rgba(255, 255, 255, 0.55);
  background: #fff;
  color: var(--agency-blue-dark);
  box-shadow: none;
}

.final-cta-card .primary-button:hover {
  background: #eef4ff;
}

.site-footer {
  color: #dfe9f5;
  background: var(--agency-blue-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.25fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  font-size: 0.78rem;
  font-weight: 760;
}

.footer-grid > div {
  display: grid;
  gap: 5px;
}

.footer-grid strong {
  color: #fff;
  font-size: 1rem;
}

.mobile-sticky-cta {
  display: none;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  }

  .start-row {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid li::after {
    display: none;
  }
}

@media (max-width: 760px) {
  body.is-sticky-visible {
    padding-bottom: 76px;
  }

  .section-shell,
  .header-shell,
  .hero-shell {
    width: min(100% - 24px, 560px);
  }

  .header-shell {
    min-height: 68px;
  }

  .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 0.76rem;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

  .header-affiliation {
    display: none;
  }

  .landing-hero {
    padding: 24px 0 42px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10.2vw, 3rem);
    line-height: 1.01;
  }

  .hero-lede {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.36;
  }

  .start-form {
    margin-top: 18px;
    padding: 14px;
  }

  .product-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-choice {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 76px;
    padding: 8px 5px;
    text-align: center;
    font-size: 0.78rem;
  }

  .product-choice img {
    width: 26px;
    height: 26px;
  }

  .start-row {
    gap: 10px;
  }

  .zip-field input,
  .campaign-cta {
    min-height: 54px;
  }

  .form-assurances {
    display: grid;
    gap: 6px;
    font-size: 0.76rem;
  }

  .agency-proof {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .estimate-preview {
    position: static;
  }

  .preview-heading,
  .preview-premium,
  .preview-rows,
  .preview-note {
    padding-right: 18px;
    padding-left: 18px;
  }

  .control-grid,
  .value-grid,
  .privacy-details,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .control-grid article {
    border-right: 0;
    border-bottom: 1px solid #dce5f1;
  }

  .control-grid article:last-child {
    border-bottom: 0;
  }

  .process-section,
  .value-section,
  .privacy-section,
  .final-cta-section {
    padding: 58px 0;
  }

  .process-section h2,
  .value-section h2,
  .privacy-section h2,
  .final-cta-section h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 20px;
  }

  .step-number {
    margin: 0;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .value-card {
    min-height: 0;
  }

  .privacy-shell {
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    width: 104px;
    height: 104px;
  }

  .privacy-visual img {
    width: 58px;
    height: 58px;
  }

  .final-cta-card {
    grid-template-columns: 1fr;
  }

  .final-cta-card .primary-button {
    width: 100%;
    min-width: 0;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 80;
    display: block;
    min-height: 54px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    background: var(--agency-blue);
    box-shadow: 0 14px 32px rgba(0, 31, 97, 0.28);
    font-weight: 950;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.is-sticky-visible .mobile-sticky-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 410px) {
  .hero-copy h1 {
    font-size: 2.08rem;
  }

  .hero-lede {
    font-size: 0.94rem;
  }

  .start-form {
    gap: 12px;
  }

  .preview-rows div {
    grid-template-columns: minmax(0, 1fr) minmax(105px, auto);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* YSQ-beta integration: the packaged landing page owns the home viewport. */
body.home-screen > .ysq-site-header.site-header {
  display: none;
}

body.home-screen main > section:not(#home),
body.home-screen main + .site-footer {
  display: none !important;
}

#home.ysq-package-landing {
  display: block;
}

#home.ysq-package-landing .verification-panel[hidden] {
  display: none;
}

#home.ysq-package-landing .campaign-cta:disabled {
  opacity: 0.72;
  cursor: wait;
}

#home.ysq-package-landing .hero-copy h1 {
  max-width: 640px;
}

body[data-product="generic"] #home.ysq-package-landing .hero-copy h1 {
  max-width: 600px;
}

#home.ysq-package-landing .campaign-cta.primary-button {
  min-height: 56px;
  border: 0;
  border-radius: 10px;
  padding: 16px 28px;
  color: #fff;
  background: var(--agency-blue);
  box-shadow: 0 18px 34px rgba(0, 51, 160, 0.2);
}

#home.ysq-package-landing .campaign-cta.primary-button:hover {
  color: #fff;
  background: #002d8f;
}

#home.ysq-package-landing .preview-rows {
  grid-template-columns: none;
  border-top: 0;
}

#home.ysq-package-landing .preview-rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}


/* 2026-08 desktop above-the-fold correction */
@media (min-width: 961px) {
  .header-shell {
    min-height: 68px;
    padding: 7px 0;
  }

  .landing-hero {
    padding: 26px 0 40px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.68fr);
    gap: 38px;
  }

  #home.ysq-package-landing .hero-copy h1,
  body[data-product="generic"] #home.ysq-package-landing .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.75rem, 4.2vw, 3.8rem);
    line-height: 1.01;
  }

  #home.ysq-package-landing .hero-lede {
    margin-top: 13px;
    font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  }

  #home.ysq-package-landing .start-form {
    margin-top: 17px;
    padding: 16px 18px;
    gap: 9px;
  }

  #home.ysq-package-landing .product-choice {
    min-height: 50px;
    padding: 7px 10px;
  }

  #home.ysq-package-landing .product-choice img {
    width: 25px;
    height: 25px;
  }

  #home.ysq-package-landing .zip-field input,
  #home.ysq-package-landing .campaign-cta {
    min-height: 50px;
  }

  #home.ysq-package-landing .agency-proof {
    margin-top: 10px;
  }
}

.product-choice:has(input:required:invalid) {
  /* The group remains visually neutral until the visitor submits or focuses it. */
}

#home.ysq-package-landing .product-field:has(input:focus-visible) {
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(0, 51, 160, 0.12);
}
