:root {
  --ink-950: #081a33;
  --ink-800: #173453;
  --ink-600: #52667d;
  --ink-500: #6d7e91;
  --blue-700: #155eef;
  --blue-100: #eaf2ff;
  --surface: #ffffff;
  --line: #dce5f0;
  --shadow-cta: 0 12px 28px rgba(21, 94, 239, 0.22);
  --shadow-soft: 0 20px 54px rgba(20, 54, 95, 0.09);
  --radius-lg: 28px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-950);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; }

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-950);
  text-decoration: none;
}
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-q, .brand-roof, .brand-home, .brand-tail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-q { stroke: var(--blue-700); stroke-width: 3.1; }
.brand-roof, .brand-home { stroke: var(--ink-950); stroke-width: 2.15; }
.brand-tail { stroke: var(--blue-700); stroke-width: 3.1; }
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.028em;
  font-weight: 720;
}
.brand-wordmark strong { color: var(--blue-700); font-weight: 720; }

.hero { padding: 28px 0 26px; }
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
}
.hero-copy { max-width: 610px; padding: 14px 0 18px; }
.hero-kicker {
  margin: 0 0 15px;
  color: var(--blue-700);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-title {
  max-width: 610px;
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(48px, 5.1vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.058em;
  font-weight: 760;
}
.hero-title span { color: var(--blue-700); }
.hero-subhead {
  max-width: 545px;
  margin: 23px 0 29px;
  color: var(--ink-600);
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: -0.012em;
}
.primary-cta, .mobile-sticky-cta { text-decoration: none; }
.primary-cta {
  width: min(100%, 460px);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid #0e52dd;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--blue-700);
  box-shadow: var(--shadow-cta);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -0.012em;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.primary-cta:hover {
  background: #0f52d7;
  transform: translateY(-1px);
  box-shadow: 0 14px 31px rgba(21, 94, 239, 0.26);
}
.primary-cta:focus-visible, .mobile-sticky-cta:focus-visible, .brand:focus-visible, .site-footer a:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.28);
  outline-offset: 4px;
}
.primary-cta svg, .mobile-sticky-cta svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}
.primary-cta:hover svg, .mobile-sticky-cta:hover svg { transform: translateX(2px); }

.hero-visual { min-width: 0; }
.visual-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
}
.home-visual-image {
  display: block;
  width: 100%;
  height: auto;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding: 25px 0 27px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit-item {
  min-width: 0;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 0 27px;
}
.benefit-item:first-child { padding-left: 0; }
.benefit-item:last-child { padding-right: 0; }
.benefit-item + .benefit-item { border-left: 1px solid var(--line); }
.benefit-icon { width: 28px; height: 28px; flex: 0 0 28px; color: var(--blue-700); }
.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-item div { display: grid; gap: 4px; }
.benefit-item strong {
  color: var(--ink-800);
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 720;
  letter-spacing: -0.01em;
}
.benefit-item span:last-child {
  max-width: 250px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.48;
}
.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 22px 0 32px;
  color: #7c8998;
  font-size: 10.5px;
  line-height: 1.6;
}
.site-footer p { max-width: 890px; margin: 0; }
.site-footer nav { display: flex; gap: 16px; white-space: nowrap; }
.site-footer a { color: #5d6f84; font-weight: 650; text-decoration: none; }
.site-footer a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.mobile-sticky-cta { display: none; }
.legal { color: var(--ink-950); }

@media (max-width: 1020px) {
  .page-shell { width: min(880px, calc(100% - 40px)); }
  .site-header { height: 76px; }
  .hero { padding-top: 30px; }
  .hero-main { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 680px; padding-bottom: 0; }
  .hero-title { max-width: 680px; font-size: clamp(50px, 8vw, 68px); }
  .hero-subhead { max-width: 590px; }
  .visual-frame { max-width: 660px; margin: 0 auto; }
  .benefit-row { margin-top: 30px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 88px; }
  .page-shell { width: min(100% - 28px, 560px); }
  .site-header { height: 68px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-wordmark { gap: 4px; font-size: 16.5px; }
  .hero { padding: 22px 0 18px; }
  .hero-main { gap: 28px; }
  .hero-copy { padding: 0; }
  .hero-kicker { margin-bottom: 12px; font-size: 13px; }
  .hero-title { font-size: clamp(36px, 10.2vw, 42px); line-height: 1.02; letter-spacing: -0.052em; }
  .hero-subhead { margin: 18px 0 23px; font-size: 16px; line-height: 1.53; }
  .primary-cta { width: 100%; min-height: 56px; padding-inline: 17px; font-size: 14.5px; }
  .visual-frame { max-width: 500px; }
  .benefit-row { grid-template-columns: 1fr; gap: 0; margin-top: 27px; padding: 4px 0; }
  .benefit-item, .benefit-item:first-child, .benefit-item:last-child { padding: 17px 2px; }
  .benefit-item + .benefit-item { border-top: 1px solid var(--line); border-left: 0; }
  .benefit-item span:last-child { max-width: none; }
  .site-footer { display: grid; gap: 13px; padding: 19px 0 20px; font-size: 10px; }
  .site-footer nav { gap: 18px; }
  .mobile-sticky-cta {
    position: fixed;
    z-index: 60;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid #0e52dd;
    border-radius: 14px;
    color: #fff;
    background: var(--blue-700);
    box-shadow: 0 15px 34px rgba(21, 94, 239, .27);
    font-size: 14px;
    font-weight: 760;
    letter-spacing: -0.012em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease, background-color 160ms ease;
  }
  .mobile-sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 430px) {
  .page-shell { width: calc(100% - 24px); }
  .site-header { height: 64px; }
  .hero { padding-top: 18px; }
  .hero-title { font-size: clamp(36px, 10.2vw, 40px); }
  .hero-subhead { font-size: 15.5px; }
    .benefit-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .mobile-sticky-cta {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
