:root {
  --color-primary: #123f54;
  --color-primary-dark: #0a2d3d;
  --color-accent: #df6b18;
  --color-background: #ffffff;
  --color-surface: #f3f8fa;
  --color-text: #1e3040;
  --color-muted: #60717d;
  --color-success: #2f715c;
  --navy-950: #10243e;
  --navy-900: #17365f;
  --navy-800: #1e4976;
  --blue-100: #eaf3f8;
  --blue-50: #f5f9fb;
  --orange-600: #dc650d;
  --orange-500: #ee791c;
  --orange-100: #fff0e2;
  --green-700: #2f6b55;
  --ink: #233142;
  --muted: #5d6b78;
  --line: #d8e1e7;
  --white: #ffffff;
  --danger: #b42318;
  --shadow-sm: 0 6px 20px rgba(16, 36, 62, 0.08);
  --shadow-md: 0 16px 40px rgba(16, 36, 62, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1120px;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  line-break: strict;
  overflow-wrap: break-word;
}

body.has-sticky-cta {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

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

a {
  color: var(--navy-800);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-600);
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid #f5a14d;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), 800px);
  margin-inline: auto;
}

.section {
  padding: 52px 0;
}

.section--soft {
  background: var(--blue-50);
}

.section--navy {
  color: var(--white);
  background: var(--navy-950);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-700);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.5rem, 6.4vw, 2rem);
  line-height: 1.4;
  text-align: center;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--muted);
  text-align: center;
}

.site-header {
  position: relative;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 32px;
  flex: 0 0 auto;
}

.brand-mark::before {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 26px;
  height: 22px;
  background: var(--navy-900);
  clip-path: polygon(50% 0, 100% 37%, 88% 37%, 88% 100%, 12% 100%, 12% 37%, 0 37%);
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 3px;
  width: 8px;
  height: 13px;
  background: var(--orange-500);
  content: "";
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-link {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 38px;
  background:
    radial-gradient(circle at 88% 14%, rgba(238, 121, 28, 0.11), transparent 28%),
    linear-gradient(145deg, #f8fbfd 0%, #e9f3f8 100%);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(23, 54, 95, 0.05);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 6px 11px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #cadce7;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  content: "";
}

.hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.75rem, 7.4vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.hero h1 em {
  color: var(--orange-600);
  font-style: normal;
  background: linear-gradient(transparent 72%, rgba(238, 121, 28, 0.18) 72%);
}

.hero-lead {
  margin: 14px 0 0;
  color: #405367;
  font-size: 1rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 18px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 11px;
  gap: 6px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d4e2e8;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.hero-facts span {
  color: var(--green-700);
  font-weight: 900;
}

.hero-points {
  display: grid;
  margin: 18px 0 20px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 700;
}

.check {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-size: 0.78rem;
  place-items: center;
}

.cta-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--white);
  background: linear-gradient(180deg, #f28a33, var(--orange-600));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 7px 0 #a94608, 0 13px 24px rgba(180, 77, 10, 0.18);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  touch-action: manipulation;
}

.cta-button::after {
  width: 0.55em;
  height: 0.55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.cta-button:active {
  color: var(--white);
  box-shadow: 0 4px 0 #a94608;
  transform: translateY(3px);
}

.cta-button--wide {
  width: 100%;
  max-width: 520px;
}

.cta-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.house-scene {
  position: relative;
  width: min(88vw, 330px);
  height: 250px;
  margin-inline: auto;
}

.house-sun {
  position: absolute;
  top: 18px;
  right: 34px;
  width: 66px;
  height: 66px;
  background: #f6b65d;
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(246, 182, 93, 0.14);
}

.house-cloud,
.house-cloud::before,
.house-cloud::after {
  position: absolute;
  background: var(--white);
  border-radius: 999px;
  content: "";
}

.house-cloud {
  top: 73px;
  left: 10px;
  width: 92px;
  height: 24px;
  box-shadow: 0 8px 18px rgba(16, 36, 62, 0.06);
}

.house-cloud::before {
  left: 15px;
  bottom: 0;
  width: 39px;
  height: 39px;
}

.house-cloud::after {
  right: 11px;
  bottom: 0;
  width: 32px;
  height: 32px;
}

.house {
  position: absolute;
  right: 20px;
  bottom: 33px;
  left: 20px;
  height: 184px;
  background: #f4eee4;
  border: 5px solid var(--navy-950);
  border-top: 0;
  border-radius: 5px 5px 10px 10px;
  box-shadow: var(--shadow-md);
}

.house-roof {
  position: absolute;
  z-index: 2;
  top: -59px;
  left: -20px;
  width: calc(100% + 40px);
  height: 72px;
  background: var(--navy-900);
  clip-path: polygon(50% 0, 100% 82%, 93% 100%, 50% 32%, 7% 100%, 0 82%);
}

.house-chimney {
  position: absolute;
  z-index: 1;
  top: -56px;
  right: 57px;
  width: 26px;
  height: 50px;
  background: #b85e3d;
  border: 4px solid var(--navy-950);
}

.house-door {
  position: absolute;
  right: 48px;
  bottom: 0;
  width: 55px;
  height: 92px;
  background: #a95c3c;
  border: 4px solid var(--navy-950);
  border-bottom: 0;
}

.house-door::after {
  position: absolute;
  top: 46px;
  left: 8px;
  width: 7px;
  height: 7px;
  background: #f4c15e;
  border-radius: 50%;
  content: "";
}

.house-window {
  position: absolute;
  bottom: 60px;
  left: 46px;
  width: 86px;
  height: 62px;
  background:
    linear-gradient(90deg, transparent 47%, var(--navy-950) 47%, var(--navy-950) 53%, transparent 53%),
    linear-gradient(transparent 45%, var(--navy-950) 45%, var(--navy-950) 55%, transparent 55%),
    #bfe4ec;
  border: 5px solid var(--navy-950);
}

.house-shrub {
  position: absolute;
  bottom: -6px;
  left: 2px;
  width: 58px;
  height: 42px;
  background: #5e8b68;
  border: 4px solid var(--navy-950);
  border-radius: 52% 48% 22% 20%;
}

.house-ground {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 16px;
  background: #9eb59c;
  border-radius: 50%;
}

.hero-side {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.hero-search-panel {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 20px 16px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 54, 95, 0.13);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.hero-search-label {
  display: table;
  margin: -34px auto 13px;
  padding: 7px 14px;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 999px;
  box-shadow: 0 7px 16px rgba(180, 77, 10, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-search-panel > h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.15rem, 5vw, 1.45rem);
  line-height: 1.5;
  text-align: center;
}

.hero-search-lead {
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.hero-search-panel .hero-entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-entry-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: center;
  padding: 12px 30px 12px 11px;
  gap: 6px;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-800);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  touch-action: manipulation;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hero-entry-card:active {
  background: var(--blue-50);
  transform: translateY(2px);
}

.hero-entry-card--reviews {
  border-top-color: #7b5aa6;
}

.hero-entry-card--subsidy {
  border-top-color: var(--green-700);
}

.hero-entry-card--price {
  border-top-color: var(--orange-600);
}

.hero-entry-card--compare {
  border-top-color: var(--navy-800);
}

.hero-entry-icon {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 900;
  place-items: center;
}

.hero-entry-copy {
  display: grid;
  min-width: 0;
}

.hero-entry-copy strong {
  font-size: 0.875rem;
  line-height: 1.45;
}

.hero-entry-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.45;
}

.hero-entry-arrow {
  position: absolute;
  right: 10px;
  bottom: 12px;
  color: var(--orange-600);
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-search-microcopy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.hero-standard-note {
  display: flex;
  align-items: flex-start;
  margin-top: 12px;
  padding: 11px 12px;
  gap: 9px;
  color: #244f40;
  background: #e8f4ee;
  border: 1px solid #bbdacb;
  border-radius: 11px;
}

.hero-standard-note > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.hero-standard-note p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
}

.hero-service-showcase {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 54, 95, 0.13);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.hero-service-showcase > h2 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  line-height: 1.5;
  text-align: center;
}

.hero-service-grid {
  display: grid;
  gap: 12px;
}

.hero-service-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

.hero-service-card__body {
  padding: 14px;
}

.hero-service-card h3 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-size: 1rem;
  line-height: 1.5;
}

.hero-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.trust-strip {
  display: grid;
  margin: -1px 0 0;
  padding: 0;
  background: var(--navy-950);
  list-style: none;
}

.trust-strip li {
  padding: 15px 8px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.intent-section {
  padding: 42px 0 48px;
  background: var(--white);
}

.intent-section .eyebrow {
  text-align: center;
}

.intent-section .section-lead {
  margin-bottom: 24px;
}

.intent-grid {
  display: grid;
  gap: 12px;
}

.intent-card {
  position: relative;
  display: grid;
  min-height: 122px;
  align-content: center;
  padding: 18px 48px 18px 18px;
  overflow: hidden;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy-800);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  touch-action: manipulation;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.intent-card--reviews {
  border-left-color: #7b5aa6;
}

.intent-card--subsidy {
  border-left-color: var(--green-700);
}

.intent-card--price {
  border-left-color: var(--orange-600);
}

.intent-card--compare {
  border-left-color: var(--navy-800);
}

.intent-kicker {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.intent-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.intent-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.intent-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  font-weight: 800;
  place-items: center;
  transform: translateY(-50%);
}

.service-visual-section {
  background: var(--blue-50);
}

.service-visual-grid {
  display: grid;
  align-items: center;
  gap: 26px;
}

.worker-image-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.worker-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.service-visual-copy h2 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.45;
}

.service-visual-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.partner-standard {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px;
  gap: 12px;
  color: #244f40;
  background: #e8f4ee;
  border: 1px solid #bbdacb;
  border-radius: 12px;
}

.partner-standard > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-weight: 800;
  place-items: center;
}

.partner-standard p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.partner-standard strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-700);
}

.card-grid,
.feature-grid,
.benefit-grid {
  display: grid;
  gap: 18px;
}

.worry-card,
.feature-card,
.benefit-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.worry-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.worry-icon,
.feature-number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: var(--navy-900);
  background: var(--blue-100);
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  place-items: center;
}

.worry-card h3,
.feature-card h3,
.benefit-card h3 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-size: 1.08rem;
  line-height: 1.45;
}

.worry-card p,
.feature-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.feature-card {
  position: relative;
  padding-top: 68px;
}

.feature-number {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--white);
  background: var(--navy-900);
}

.steps {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  gap: 28px;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
  place-items: center;
}

.step h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.06rem;
}

.step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.benefit-card {
  border-top: 4px solid var(--green-700);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq summary {
  position: relative;
  min-height: 56px;
  padding: 18px 52px 18px 20px;
  color: var(--navy-950);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  margin-right: 9px;
  color: var(--orange-600);
  content: "Q.";
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 1.35rem;
  line-height: 1;
  content: "＋";
  transform: translateY(-50%);
}

.faq[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  color: var(--white);
  background: var(--navy-950);
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.65rem, 6vw, 2.45rem);
  line-height: 1.4;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #d6e4ee;
}

.final-cta .cta-note {
  color: #c4d4df;
}

.site-footer {
  padding: 30px 0 96px;
  color: #d9e4ec;
  background: #0a1b2d;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #d9e4ec;
}

.footer-note,
.copyright {
  margin: 0;
  color: #9eb2c0;
  font-size: 0.875rem;
}

.sticky-cta {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16, 36, 62, 0.12);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sticky-cta .cta-button {
  width: 100%;
  min-height: 54px;
  padding: 11px 16px;
  box-shadow: none;
}

body.footer-in-view .sticky-cta {
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
}

.preview-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 34px 0 64px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(245, 249, 251, 0.94)),
    repeating-linear-gradient(135deg, #eaf3f8 0 1px, transparent 1px 22px);
}

.preview-header {
  margin-bottom: 32px;
}

.preview-header h1 {
  margin: 22px 0 10px;
  color: var(--navy-950);
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.25;
}

.preview-header p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.prototype-label {
  display: inline-block;
  padding: 5px 10px;
  color: var(--navy-900);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
}

.preview-grid {
  display: grid;
  gap: 18px;
}

.preview-card {
  position: relative;
  min-height: 218px;
  padding: 26px;
  overflow: hidden;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.preview-card::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 110px;
  height: 86px;
  background: var(--blue-100);
  clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 12% 100%, 12% 42%, 0 42%);
  content: "";
}

.preview-card__tag {
  display: block;
  margin-bottom: 20px;
  color: var(--orange-600);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.preview-card h2 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 1.35rem;
}

.preview-card p {
  max-width: 85%;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.preview-arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy-900);
  font-weight: 800;
}

.preview-card:active {
  box-shadow: var(--shadow-sm);
  transform: scale(0.99);
}

.preview-notice {
  margin-top: 28px;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--orange-100);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}

.diagnosis-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--blue-50);
}

.diagnosis-header {
  padding-top: env(safe-area-inset-top);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.diagnosis-shell {
  width: min(calc(100% - 28px), 720px);
  margin: 0 auto;
  padding: 20px 0 calc(32px + env(safe-area-inset-bottom));
}

.diagnosis-intro {
  margin-bottom: 18px;
  text-align: center;
}

.diagnosis-intro h1 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-size: clamp(1.4rem, 6vw, 1.85rem);
  line-height: 1.4;
}

.diagnosis-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.progress-area {
  margin-bottom: 18px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  background: #dce7ed;
  border-radius: 999px;
}

.progress-bar {
  width: 11.111%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-700), #5a977b);
  border-radius: inherit;
  transition: width 240ms ease;
}

.question-card {
  min-height: clamp(360px, 52dvh, 430px);
  padding: 22px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.question-card[hidden] {
  display: none;
}

.question-number {
  margin: 0 0 5px;
  color: var(--orange-600);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.question-card h2 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: clamp(1.3rem, 5.5vw, 1.65rem);
  line-height: 1.45;
}

.question-help {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-button {
  position: relative;
  width: 100%;
  min-height: 62px;
  padding: 14px 48px 14px 18px;
  color: var(--navy-950);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
  touch-action: manipulation;
}

.choice-button::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--orange-600);
  border-right: 2px solid var(--orange-600);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.choice-button[aria-pressed="true"] {
  background: var(--blue-100);
  border-color: var(--navy-800);
}

.choice-button:active {
  background: var(--blue-100);
  transform: scale(0.99);
}

.form-field {
  margin-top: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
  font-weight: 800;
}

.required {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 6px;
  color: var(--white);
  background: var(--danger);
  border-radius: 4px;
  font-size: 0.75rem;
  vertical-align: 2px;
}

.form-input {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #b9c9d3;
  border-radius: 10px;
  font-size: 1.05rem;
}

.form-input:focus {
  border-color: var(--navy-800);
}

.field-hint,
.prototype-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.prototype-note {
  padding: 10px 12px;
  color: #745021;
  background: var(--orange-100);
  border-radius: 8px;
}

.error-message {
  min-height: 1.7em;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  position: sticky;
  z-index: 15;
  bottom: 0;
  margin-top: 18px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  gap: 14px;
  background: linear-gradient(to bottom, rgba(245, 249, 251, 0), var(--blue-50) 18%);
}

.back-button,
.next-button {
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

.back-button {
  flex: 0 0 34%;
  color: var(--navy-900);
  background: var(--white);
  border: 2px solid var(--line);
}

.back-button:disabled {
  color: #a4afb7;
  cursor: not-allowed;
}

.next-button {
  flex: 1;
  color: var(--white);
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
}

.confirmation-list {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.confirmation-row {
  display: grid;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  gap: 3px;
}

.confirmation-row dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.confirmation-row dd {
  margin: 0;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.submission-notice {
  margin: 18px 0 0;
  padding: 13px 14px;
  color: #744d19;
  background: var(--orange-100);
  border: 1px solid #f3c795;
  border-radius: 9px;
  font-size: 0.875rem;
}

.submission-message {
  margin-top: 14px;
  padding: 14px;
  color: var(--green-700);
  background: #e9f5ef;
  border-radius: 9px;
  font-weight: 700;
}

.chat-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.chat-intro > div {
  min-width: 0;
}

.chat-intro h1 {
  margin-bottom: 3px;
}

.operator-role {
  margin: 0 0 2px !important;
  color: var(--green-700) !important;
  font-size: 0.8125rem !important;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.operator-avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  object-position: 50% 22%;
  background: linear-gradient(145deg, #eef6fa, #d8e9f1);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(16, 36, 62, 0.15);
  user-select: none;
}

.operator-avatar--large {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
  border-width: 3px;
}

.chat-workspace {
  position: relative;
}

.chat-log {
  display: grid;
  padding: 4px 2px 18px;
  gap: 14px;
}

.chat-message {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 9px;
}

.chat-message--user {
  justify-content: flex-end;
}

.chat-bubble {
  position: relative;
  max-width: calc(100% - 61px);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px 16px 16px;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.chat-message--operator .chat-bubble::before {
  position: absolute;
  bottom: 10px;
  left: -7px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
  transform: rotate(45deg);
}

.chat-message--user .chat-bubble {
  max-width: 84%;
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
  border-radius: 16px 6px 16px 16px;
  box-shadow: 0 6px 16px rgba(16, 36, 62, 0.16);
}

.chat-message.is-new {
  animation: message-in 280ms ease-out both;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-answer-panel {
  position: relative;
  z-index: 15;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -10px 30px rgba(16, 36, 62, 0.13);
}

.chat-answer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.chat-back-button {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 9px 14px;
}

.answer-step-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.chat-answer-content {
  min-width: 0;
}

.chat-choice-grid {
  display: grid;
  gap: 10px;
}

.chat-choice-grid .choice-button {
  min-height: 58px;
  padding-block: 12px;
}

.chat-input-block label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
  font-weight: 800;
}

.chat-input-block .form-input {
  font-size: 1rem;
}

.chat-textarea {
  min-height: 120px;
  max-height: 280px;
  resize: vertical;
  line-height: 1.65;
}

.chat-send-button,
.chat-submit-button {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
}

.secondary-inline-button {
  min-height: 44px;
  margin-bottom: 10px;
  padding: 8px 12px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 800;
  cursor: pointer;
}

.chat-error {
  min-height: 1.7em;
}

.chat-privacy-note {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
}

.chat-confirmation h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.25rem;
}

.confirmation-guidance {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.chat-confirmation .confirmation-list {
  margin-top: 12px;
}

.chat-confirmation .confirmation-row dt {
  font-size: 0.8125rem;
}

.chat-submit-button {
  display: flex;
}

.legal-page,
.simple-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--blue-50);
}

.page-hero {
  padding: 36px 0;
  color: var(--white);
  background: var(--navy-950);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 6vw, 2.25rem);
  line-height: 1.35;
}

.page-hero p {
  margin: 0;
  color: #cbdbe6;
}

.legal-content,
.thanks-card {
  margin: 32px auto 56px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--navy-950);
  font-size: 1.3rem;
  line-height: 1.5;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #435364;
  font-size: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
}

.placeholder-box {
  padding: 16px;
  background: var(--orange-100);
  border: 1px solid #edc99f;
  border-radius: var(--radius-sm);
}

.placeholder-box dl {
  display: grid;
  margin: 0;
  gap: 8px;
}

.placeholder-box div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 6px;
}

.placeholder-box dt {
  font-weight: 800;
}

.placeholder-box dd {
  margin: 0;
}

.thanks-card {
  max-width: 680px;
  padding: 42px 22px;
  text-align: center;
}

.thanks-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
  place-items: center;
}

.thanks-card h1 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
}

.thanks-card p {
  color: var(--muted);
}

.secondary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 20px;
  color: var(--navy-900);
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .cta-button:hover {
    color: var(--white);
    transform: translateY(-2px);
  }

  .choice-button:hover {
    background: var(--blue-50);
    border-color: var(--navy-800);
  }

  .preview-card:hover {
    color: inherit;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }

  .intent-card:hover {
    color: var(--navy-950);
    border-color: #b7cad6;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .hero-entry-card:hover {
    color: var(--navy-950);
    border-color: #b7cad6;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

@media (min-width: 390px) {
  .hero-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-service-card__body {
    padding: 12px;
  }

  .hero-service-card h3 {
    font-size: 0.9375rem;
  }

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

  .intent-card {
    min-height: 158px;
    padding: 16px 38px 16px 14px;
  }

  .intent-arrow {
    right: 10px;
  }
}

@media (min-width: 620px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 4vw, 2.45rem);
  }

  .hero {
    padding: 70px 0 76px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  }

  .header-cta-link {
    display: inline-flex;
  }

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

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-strip li {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .intent-section {
    padding: 58px 0 64px;
  }

  .intent-card {
    min-height: 138px;
    padding: 18px 48px 18px 18px;
  }

  .card-grid,
  .feature-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .step {
    display: block;
    text-align: center;
  }

  .step::after {
    position: absolute;
    top: 27px;
    left: calc(50% + 38px);
    width: calc(100% - 76px);
    height: 2px;
    background: var(--line);
    content: "";
  }

  .step:last-child::after {
    display: none;
  }

  .step-number {
    margin: 0 auto 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-note,
  .copyright {
    grid-column: 1 / -1;
  }

  .sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 36px;
  }

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

  .question-card {
    padding: 32px;
  }

  .diagnosis-intro h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  }

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

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

  .chat-answer-panel {
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    border-radius: var(--radius-md);
  }

  .confirmation-row {
    grid-template-columns: 11em 1fr;
    gap: 14px;
  }

  .legal-content {
    padding: 38px 42px;
  }
}

@media (min-width: 768px) {
  .service-visual-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

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

  .preview-card {
    min-height: 280px;
  }

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

  .intent-card {
    min-height: 164px;
  }
}

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

/* Top page: compact Q&A-first information architecture */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-redesign {
  color: var(--color-text);
  background: var(--color-background);
}

.home-redesign .container {
  width: min(calc(100% - 28px), 1080px);
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(10, 45, 61, 0.05);
}

.home-header .header-inner {
  min-height: 56px;
  gap: 10px;
}

.home-header .brand {
  min-width: 0;
  gap: 7px;
  color: var(--color-primary-dark);
  font-size: 0.9375rem;
}

.home-header .brand-mark {
  width: 29px;
  height: 26px;
}

.home-header .brand-mark::before {
  top: 3px;
  left: 4px;
  width: 21px;
  height: 19px;
  background: var(--color-primary);
}

.home-header .brand-mark::after {
  right: 5px;
  bottom: 2px;
  width: 7px;
  height: 11px;
  background: var(--color-accent);
}

.home-header .brand small {
  max-width: 190px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.625rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-header .header-cta-link {
  display: inline-flex;
  min-width: 80px;
  min-height: 44px;
  padding: 7px 13px;
  color: var(--white);
  background: var(--color-accent);
  border-radius: 9px;
  box-shadow: 0 4px 0 #a94709;
  font-size: 0.8125rem;
}

.home-header .header-cta-link:active {
  box-shadow: 0 1px 0 #a94709;
  transform: translateY(3px);
}

.home-firstview {
  position: relative;
  overflow: hidden;
  padding: 22px 0 26px;
  background:
    radial-gradient(circle at 92% 4%, rgba(103, 187, 188, 0.15), transparent 32%),
    linear-gradient(180deg, #f8fbfc 0%, #edf6f7 100%);
}

.home-firstview::after {
  position: absolute;
  right: -75px;
  bottom: -105px;
  width: 210px;
  height: 210px;
  border: 35px solid rgba(18, 63, 84, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-firstview__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.home-intro {
  max-width: 620px;
}

.home-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 11px;
  color: var(--color-primary);
  background: #e1f1ef;
  border: 1px solid #c5e1dd;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.home-intro h1 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.65rem, 7.4vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.home-intro h1 em {
  color: var(--color-accent);
  font-style: normal;
}

.home-lead {
  margin: 10px 0 12px;
  color: #425866;
  font-size: 1rem;
  line-height: 1.7;
}

.home-assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-assurance li {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 63, 84, 0.12);
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.home-assurance li span {
  color: var(--color-success);
}

.quick-qa {
  width: 100%;
  padding: 17px;
  background: var(--white);
  border: 1px solid #d5e2e7;
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(10, 45, 61, 0.13);
}

.quick-qa__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3ebee;
}

.quick-qa__step {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 900;
}

.quick-qa__heading p {
  margin: 0 0 1px;
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 800;
}

.quick-qa__heading h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 1rem;
  line-height: 1.45;
}

.quick-qa__question {
  margin: 13px 0 10px;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
}

.quick-qa__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-qa__options a {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 11px;
  color: var(--color-primary-dark);
  background: #f8fbfc;
  border: 1.5px solid #cbdce2;
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  touch-action: manipulation;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quick-qa__options a > span:first-child {
  min-width: 0;
}

.quick-qa__options a > span:last-child {
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
}

.quick-qa__options a:hover,
.quick-qa__options a:active {
  color: var(--color-primary-dark);
  background: #edf7f5;
  border-color: var(--color-success);
}

.quick-qa__options a:active {
  transform: scale(0.98);
}

.quick-qa__note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  text-align: center;
}

.search-tabs {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-top: 1px solid #dce7eb;
  border-bottom: 1px solid #dce7eb;
  box-shadow: 0 6px 16px rgba(10, 45, 61, 0.05);
}

.search-tabs::after {
  position: absolute;
  z-index: 2;
  top: 1px;
  right: 0;
  bottom: 1px;
  width: 34px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white));
  content: "";
  pointer-events: none;
}

.search-tabs__scroller {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 34px 8px 0;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.search-tabs__scroller::-webkit-scrollbar {
  display: none;
}

.search-tabs a {
  display: inline-flex;
  min-width: max-content;
  min-height: 46px;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  color: var(--color-primary);
  background: #f4f8fa;
  border: 1px solid #d7e3e7;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  scroll-snap-align: start;
  touch-action: manipulation;
}

.search-tabs a span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 0.6875rem;
}

.search-tabs a.is-current {
  color: var(--white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.search-tabs a.is-current span {
  color: var(--color-primary);
  background: var(--white);
}

.search-tabs a:active {
  transform: scale(0.97);
}

.home-trust {
  padding: 30px 0 38px;
  background: var(--white);
}

.home-trust__grid {
  display: grid;
  gap: 10px;
}

.home-trust__grid article {
  position: relative;
  min-height: 94px;
  padding: 15px 14px 14px 58px;
  background: var(--color-surface);
  border: 1px solid #dbe7ea;
  border-radius: 13px;
}

.home-trust__number {
  position: absolute;
  top: 16px;
  left: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 9px;
  font-size: 0.6875rem;
  font-weight: 900;
}

.home-trust h3 {
  margin: 0 0 3px;
  color: var(--color-primary-dark);
  font-size: 0.9375rem;
}

.home-trust article p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.screening-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  color: #285c4c;
  background: #e9f5ef;
  border: 1px solid #c8e5d7;
  border-radius: 12px;
}

.screening-note > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--color-success);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.screening-note p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.screening-note strong {
  display: block;
  color: #194b3b;
}

.home-paint-section .eyebrow,
.home-worker-copy .eyebrow,
.home-guide-section .eyebrow,
.home-redesign .faq-list + .eyebrow {
  text-align: center;
}

.paint-card-grid {
  display: grid;
  gap: 14px;
}

.paint-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d8e4e8;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 45, 61, 0.08);
}

.paint-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #edf4f6;
}

.paint-card > div {
  padding: 16px;
}

.paint-card h3 {
  margin: 0 0 5px;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.paint-card p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.paint-card a,
.text-cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  color: var(--color-primary);
  background: #eef6f7;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.paint-card a:hover,
.text-cta:hover {
  color: var(--color-primary-dark);
  background: #e1f0ef;
}

.home-worker-grid {
  display: grid;
  gap: 24px;
}

.home-worker-section .worker-image-card {
  margin: 0;
}

.home-worker-copy h2 {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.45;
}

.home-worker-copy > p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--color-muted);
}

.home-worker-copy ul {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.home-worker-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 700;
}

.home-worker-copy li::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--color-success);
  border-radius: 50%;
  content: "✓";
  font-size: 0.625rem;
}

.home-guide-grid {
  display: grid;
  gap: 10px;
}

.home-guide-grid > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--color-primary-dark);
  background: var(--white);
  border: 1px solid #d8e4e8;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(10, 45, 61, 0.06);
  text-decoration: none;
  touch-action: manipulation;
}

.home-guide-grid > a:active {
  transform: scale(0.985);
}

.home-guide-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 900;
}

.home-guide-grid strong,
.home-guide-grid small {
  display: block;
}

.home-guide-grid strong {
  font-size: 0.9375rem;
}

.home-guide-grid small {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.home-guide-grid > a > span:last-child {
  color: var(--color-accent);
  font-size: 1.15rem;
}

.home-redesign .faq-list {
  margin-top: 24px;
}

.home-final-cta {
  background:
    linear-gradient(135deg, rgba(10, 45, 61, 0.98), rgba(18, 63, 84, 0.98)),
    var(--color-primary-dark);
}

.final-cta__label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 11px;
  color: #d8eee6;
  border: 1px solid rgba(216, 238, 230, 0.35);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.home-final-cta .cta-button,
.home-redesign .sticky-cta .cta-button {
  background: var(--color-accent);
}

@media (min-width: 390px) {
  .home-firstview {
    padding-top: 25px;
  }

  .quick-qa {
    padding: 18px;
  }

  .quick-qa__options a {
    padding-inline: 13px;
    font-size: 0.9rem;
  }

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

@media (min-width: 620px) {
  .home-redesign .section {
    padding: 64px 0;
  }

  .search-tabs__scroller {
    padding-right: 0;
  }

  .search-tabs::after {
    display: none;
  }

  .home-header .brand {
    font-size: 1rem;
  }

  .home-header .brand small {
    max-width: none;
    font-size: 0.6875rem;
  }

  .home-firstview {
    padding: 42px 0;
  }

  .home-firstview__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 34px;
  }

  .home-intro h1 {
    font-size: clamp(2.05rem, 3.6vw, 2.5rem);
  }

  .home-assurance {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-assurance li {
    justify-content: center;
    text-align: center;
  }

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

  .home-trust__grid article {
    min-height: 130px;
    padding: 52px 16px 16px;
    text-align: center;
  }

  .home-trust__number {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .screening-note {
    max-width: 760px;
    margin: 18px auto 0;
    align-items: center;
  }

  .home-worker-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
  }

  .home-worker-copy .eyebrow {
    text-align: left;
  }

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

@media (min-width: 1024px) {
  .home-header .header-inner {
    min-height: 60px;
  }

  .home-firstview {
    min-height: 610px;
    display: grid;
    align-items: center;
  }

  .quick-qa {
    padding: 24px;
  }

  .quick-qa__heading h2 {
    font-size: 1.125rem;
  }

  .quick-qa__question {
    margin-top: 18px;
    font-size: 1.2rem;
  }

  .quick-qa__options {
    gap: 10px;
  }

  .quick-qa__options a {
    min-height: 64px;
    font-size: 0.9625rem;
  }

  .search-tabs__scroller {
    justify-content: center;
    padding-right: 0;
  }

  .search-tabs::after {
    display: none;
  }

  .search-tabs a {
    max-width: 176px;
    flex-basis: 160px;
  }

  .paint-card > div {
    padding: 20px;
  }
}
