:root {
  --navy: #142b3e;
  --navy-deep: #0c2233;
  --orange: #f47d22;
  --orange-dark: #df6310;
  --orange-soft: #fff0e3;
  --green: #40ad79;
  --green-dark: #218e5c;
  --green-soft: #e7f7ee;
  --cream: #fffaf1;
  --warm: #f7f2e8;
  --white: #ffffff;
  --muted: #61717d;
  --border: rgba(20, 43, 62, .12);
  --shadow: 0 18px 50px rgba(20, 43, 62, .12);
  --shadow-soft: 0 10px 30px rgba(20, 43, 62, .09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

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

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20, 43, 62, .08);
  background: rgba(255, 250, 241, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1280px, calc(100% - 36px));
  min-height: 84px;
  margin-inline: auto;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 180px;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.desktop-nav a {
  padding: 11px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--orange-dark);
  background: var(--white);
}

.desktop-nav .nav-contact {
  margin-left: 5px;
  padding-inline: 19px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 9px 22px rgba(244, 125, 34, .24);
}

.desktop-nav .nav-contact:hover,
.desktop-nav .nav-contact:focus-visible {
  color: var(--white);
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  min-width: 52px;
  min-height: 52px;
  margin-left: auto;
  padding: 7px;
  border: 0;
  border-radius: 15px;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 5px;
  width: 25px;
  margin-inline: auto;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-label {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 77px 0 auto;
  z-index: 99;
  display: grid;
  max-height: calc(100vh - 77px);
  padding: 18px max(20px, calc((100vw - 560px) / 2));
  overflow-y: auto;
  border-top: 1px solid var(--border);
  background: rgba(255, 250, 241, .99);
  box-shadow: 0 22px 36px rgba(12, 34, 51, .18);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  text-decoration: none;
}

.mobile-nav a[aria-current="page"] {
  color: var(--orange-dark);
}

.mobile-nav .mobile-contact {
  justify-content: center;
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--orange);
}

.hero {
  position: relative;
  padding: 64px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 2% 3%, rgba(64, 173, 121, .11), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(244, 125, 34, .13), transparent 31%),
    linear-gradient(180deg, #fffdf9 0%, #fff8ed 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(251, 240, 221, .55));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 110px;
  left: -130px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(64, 173, 121, .24);
}

.hero-glow-two {
  right: -80px;
  bottom: 30px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(244, 125, 34, .25);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, .9fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(64, 173, 121, .24);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: var(--shadow-soft);
}

.eyebrow span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.eyebrow .diagnosis-inline-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 1px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.13;
  letter-spacing: -.055em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-question {
  margin: 22px 0 7px;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.mobile-break {
  display: none;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.flow-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 23px;
  flex-direction: column;
  border: 1px solid transparent;
  border-radius: 25px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: .08;
}

.flow-card-green {
  border-color: rgba(64, 173, 121, .27);
}

.flow-card-green::after {
  background: var(--green);
}

.flow-card-orange {
  border-color: rgba(244, 125, 34, .27);
}

.flow-card-orange::after {
  background: var(--orange);
}

.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flow-letter {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.flow-card-green .flow-letter {
  background: var(--green);
}

.flow-card-orange .flow-letter {
  background: var(--orange);
}

.flow-time {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--warm);
  font-size: 11px;
  font-weight: 900;
}

.flow-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin-top: 14px;
  place-items: center;
  border-radius: 0;
}

.flow-card-green .flow-icon {
  background: transparent;
}

.flow-card-orange .flow-icon {
  background: transparent;
}

.flow-icon-image {
  padding: 2px;
}

.flow-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.flow-card h2 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.flow-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.flow-start {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 51px;
  margin-top: auto;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.flow-start:hover,
.flow-start:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.flow-start-green {
  background: var(--green);
  box-shadow: 0 10px 21px rgba(64, 173, 121, .25);
}

.flow-start-orange {
  background: var(--orange);
  box-shadow: 0 10px 21px rgba(244, 125, 34, .25);
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 38px 24px 35px 18px;
  border-radius: 46% 54% 45% 55% / 48% 44% 56% 52%;
  background: linear-gradient(135deg, #dff3e7, #fff0d9);
  transform: rotate(-2deg);
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  top: 55px;
  left: 2%;
  width: 96%;
  height: 395px;
  object-fit: contain;
  filter: drop-shadow(0 26px 25px rgba(20, 43, 62, .16));
}

.visual-tag {
  position: absolute;
  z-index: 4;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.visual-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.visual-tag-solar {
  top: 48px;
  left: 15%;
}

.visual-tag-battery {
  top: 295px;
  right: 3%;
}

.visual-tag-battery::before {
  background: var(--green);
}

.visual-tag-v2h {
  top: 410px;
  left: 13%;
}

.visual-note {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 6px;
  display: flex;
  max-width: 310px;
  padding: 14px 17px;
  align-items: flex-start;
  gap: 11px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}

.visual-note-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-family: serif;
  font-weight: 900;
}

.visual-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.visual-note strong {
  color: var(--navy);
  font-size: 13px;
}

.benefit-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow-soft);
}

.benefit-row > div {
  display: grid;
  min-height: 83px;
  padding: 16px 22px;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px;
}

.benefit-row > div + div {
  border-left: 1px solid var(--border);
}

.benefit-row span {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 20px;
  font-weight: 900;
}

.benefit-row .diagnosis-feature-icon {
  width: 46px;
  height: 46px;
  padding: 2px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.benefit-row strong {
  align-self: end;
  font-size: 15px;
}

.benefit-row small {
  align-self: start;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.diagnosis-app {
  padding: 74px 0;
  background: linear-gradient(180deg, #edf8f2 0%, #fffaf1 100%);
}

.diagnosis-app[hidden] {
  display: none;
}

.app-card {
  width: min(840px, 100%);
  margin-inline: auto;
  padding: 34px;
  border: 1px solid rgba(64, 173, 121, .22);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.app-kicker {
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
}

.app-topbar h2 {
  margin: 0;
  font-size: clamp(23px, 4vw, 34px);
}

.app-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--warm);
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.progress-area {
  margin: 27px 0 30px;
}

.progress-copy {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

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

.progress-track span {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #73c891);
  transition: width .28s ease;
}

.question-panel {
  animation: question-in .25s ease both;
}

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

.question-number {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.question-panel h3 {
  margin: 0;
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.45;
}

.app-topbar h2:focus,
.question-panel h3:focus,
.result-view h3:focus {
  outline: none;
}

.question-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 25px;
}

.answer-button {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 15px 48px 15px 18px;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 17px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.answer-button::after {
  content: "›";
  position: absolute;
  right: 17px;
  color: var(--green);
  font-size: 25px;
}

.answer-button:hover,
.answer-button:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.app-actions {
  display: flex;
  margin-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.back-button,
.restart-button {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: var(--warm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.back-button:disabled {
  opacity: .42;
  cursor: default;
}

.result-view {
  animation: question-in .3s ease both;
}

.result-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.result-view h3 {
  margin: 15px 0 0;
  font-size: clamp(25px, 5vw, 38px);
  line-height: 1.4;
}

.result-view h3 span {
  color: var(--orange-dark);
}

.result-summary {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.result-block {
  margin-top: 22px;
  padding: 20px;
  border-radius: 19px;
  background: var(--green-soft);
}

.result-block.warn {
  background: var(--orange-soft);
}

.result-block h4 {
  display: flex;
  margin: 0 0 12px;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.result-block ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.result-block li {
  position: relative;
  padding-left: 31px;
  color: #36505f;
  font-weight: 700;
  line-height: 1.7;
}

.result-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  background: url("site_visual_assets/icons/diagnosis-result-check.png") center / contain no-repeat;
}

.result-block.warn li::before {
  background-image: url("site_visual_assets/icons/diagnosis-result-alert.png");
}

.result-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 24px;
}

.result-links a,
.primary-cta,
.line-cta {
  display: flex;
  min-height: 56px;
  padding: 13px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.result-links a:hover,
.result-links a:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible,
.line-cta:hover,
.line-cta:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.result-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 11px 24px rgba(244, 125, 34, .25);
}

.result-links.is-equipment-result {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-estimate {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 11px 24px rgba(29, 53, 87, .2);
}

.result-consult {
  border: 1px solid rgba(33, 119, 84, .25);
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 11px 24px rgba(24, 64, 47, .08);
}

.result-line {
  color: var(--white);
  background: #06c755;
  box-shadow: 0 11px 24px rgba(6, 199, 85, .2);
}

.result-related {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px 22px;
}

.result-related a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.result-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.how-it-works {
  padding: 88px 0;
  background: var(--white);
}

.section-label {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.how-it-works h2,
.faq-section h2,
.bottom-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
}

.section-lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 39px;
}

.info-grid article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 23px;
  overflow: hidden;
  background: var(--cream);
}

.info-number {
  display: inline-block;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
  opacity: .42;
}

.info-grid h3 {
  margin: 8px 0;
  font-size: 20px;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.safety-note {
  display: flex;
  margin-top: 26px;
  padding: 18px 21px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 15px;
  color: var(--muted);
  background: var(--warm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.safety-note span {
  flex: 0 0 auto;
  color: var(--orange-dark);
  font-weight: 900;
}

.safety-note p {
  margin: 0;
}

.faq-section {
  padding: 88px 0;
  background: var(--cream);
}

.faq-shell {
  display: grid;
  grid-template-columns: .65fr 1fr;
  align-items: start;
  gap: 64px;
}

.faq-heading > p:last-child {
  color: var(--muted);
  font-weight: 700;
}

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

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(20, 43, 62, .05);
}

.faq-list summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  font-weight: 900;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--green);
  font-size: 26px;
  transform: translateY(-50%);
}

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

.faq-list details p {
  margin: 0;
  padding: 0 22px 21px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.bottom-cta {
  padding: 72px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(64, 173, 121, .28), transparent 36%),
    var(--navy-deep);
}

.bottom-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 46px;
}

.bottom-cta .section-label {
  color: #8addaa;
}

.bottom-cta p:not(.section-label) {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 600;
  line-height: 1.7;
}

.bottom-cta-buttons {
  display: grid;
  min-width: 270px;
  gap: 11px;
}

.primary-cta {
  color: var(--white);
  background: var(--orange);
}

.line-cta {
  color: var(--white);
  background: #06c755;
}

.site-footer {
  padding: 45px 0 22px;
  color: rgba(255, 255, 255, .76);
  background: #081a28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr .8fr 1fr;
  gap: 42px;
}

.footer-logo {
  width: 165px;
  padding: 8px;
  border-radius: 10px;
  background: var(--white);
}

.site-footer p {
  font-size: 12px;
  line-height: 1.8;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}

.operator strong {
  color: var(--white);
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(244, 125, 34, .55);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1.08fr .92fr;
    gap: 25px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-visual img {
    height: 350px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 44px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 440px;
    order: -1;
  }

  .hero-visual img {
    top: 25px;
  }

  .visual-tag-solar {
    top: 20px;
  }

  .visual-tag-battery {
    top: 250px;
  }

  .visual-tag-v2h {
    top: 345px;
  }

  .benefit-row {
    margin-top: 30px;
  }

  .benefit-row > div {
    padding: 14px;
  }

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

  .faq-shell,
  .bottom-cta-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-cta-buttons {
    min-width: 0;
  }

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

  .footer-grid .operator {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 560px);
  }

  .header-inner {
    width: calc(100% - 26px);
    min-height: 76px;
  }

  .brand img {
    width: 148px;
  }

  .menu-toggle {
    min-width: 50px;
    min-height: 50px;
  }

  .hero {
    padding: 27px 0 26px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual::before {
    inset: 16px 7px 25px;
  }

  .hero-visual img {
    top: 20px;
    left: 0;
    width: 100%;
    height: 240px;
  }

  .visual-tag {
    padding: 6px 9px;
    font-size: 10px;
  }

  .visual-tag-solar {
    top: 6px;
    left: 8%;
  }

  .visual-tag-battery {
    top: 165px;
    right: 1%;
  }

  .visual-tag-v2h {
    top: 220px;
    left: 7%;
  }

  .visual-note {
    right: 3%;
    bottom: 0;
    max-width: 250px;
    padding: 10px 12px;
  }

  .visual-note p {
    font-size: 10px;
  }

  .visual-note strong {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.2vw, 38px);
  }

  .hero h1 span {
    display: inline-block;
    white-space: nowrap;
  }

  .hero-question {
    margin-top: 15px;
    font-size: 17px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .mobile-break {
    display: block;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .flow-card {
    min-height: 0;
    padding: 20px;
    text-align: left;
  }

  .flow-icon {
    width: 64px;
    height: 64px;
    margin-top: 12px;
  }

  .flow-icon svg {
    width: 31px;
    height: 31px;
  }

  .flow-card h2 {
    margin-top: 12px;
  }

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

  .benefit-row > div {
    min-height: 70px;
    padding: 12px 18px;
  }

  .benefit-row > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .diagnosis-app {
    padding: 30px 0 50px;
  }

  .app-card {
    padding: 20px 16px;
    border-radius: 23px;
  }

  .app-topbar h2 {
    font-size: 23px;
  }

  .progress-area {
    margin: 21px 0 24px;
  }

  .question-panel h3 {
    font-size: 23px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .answer-button {
    min-height: 63px;
  }

  .app-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .back-button,
  .restart-button {
    width: 100%;
  }

  .result-links {
    grid-template-columns: 1fr;
  }

  .result-links.is-equipment-result {
    grid-template-columns: 1fr;
  }

  .how-it-works,
  .faq-section {
    padding: 64px 0;
  }

  .info-grid article {
    padding: 23px;
  }

  .bottom-cta {
    padding: 55px 0;
  }

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

  .footer-grid .operator {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
