.result-section,
.action-flow {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 10px 0;
}

.section-heading {
  margin-bottom: 14px;
}

.result-card h2 {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1;
  margin-bottom: 10px;
  max-width: 700px;
}

.result-card {
  max-height: calc(100svh - 96px);
  overflow: clip;
}

.result-card p,
.begin-section p {
  font-size: 0.92rem;
  line-height: 1.35;
}

.demand-row {
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
}

.demand-row span {
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.demand-row strong {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.opportunity-bridge {
  margin: 10px 0;
  padding-top: 10px;
}

.opportunity-bridge h3 {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  margin-bottom: 10px;
}

.step-preview {
  gap: 8px;
}

.step-preview li {
  min-height: 108px;
  padding: 10px;
}

.step-preview span {
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.step-preview strong {
  font-size: 0.86rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.step-preview p {
  font-size: 0.78rem;
  line-height: 1.28;
}

.flow-card {
  gap: 14px;
  min-height: 0;
}

.flow-step {
  min-height: 240px;
}

.flow-step h3 {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
}

.flow-step p {
  font-size: 1.02rem;
}

.hero-tools {
  display: grid;
  gap: 24px;
  justify-items: stretch;
  width: 100%;
}

.about-project {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 0;
  border-top: 1px solid var(--line);
  padding: 26px 0 8px;
}

.about-project p:last-child {
  max-width: 860px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0;
}

@media (min-width: 921px) {
  .site-header,
  .site-footer,
  .search-hero,
  .about-project {
    width: min(1240px, calc(100% - 64px));
  }

  .site-header {
    min-height: 72px;
  }

  .search-hero {
    min-height: calc(100svh - 210px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(48px, 6vw, 88px);
    align-items: center;
    padding: 34px 0 52px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .kicker {
    margin-bottom: 18px;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(3.9rem, 4.6vw, 5rem);
    line-height: 1.03;
    margin-bottom: 22px;
  }

  .hero-subtitle {
    max-width: 640px;
    font-size: clamp(1.06rem, 1.25vw, 1.22rem);
    line-height: 1.52;
  }

  .hero-tools {
    align-self: center;
    justify-self: end;
    justify-items: end;
    gap: 22px;
    max-width: 460px;
  }

  .floating-timer {
    position: static;
    width: 168px;
    padding: 14px;
  }

  .search-panel {
    max-width: 460px;
    padding: 28px;
  }

  .domain-picker {
    gap: 12px;
  }

  .domain-picker select {
    min-height: 56px;
  }

  .search-note {
    margin-top: 16px;
  }

  .search-button {
    margin-top: 18px;
    min-height: 48px;
  }

  .site-footer {
    align-items: center;
    margin-top: 0;
    padding: 18px 0 30px;
  }
}

@media (min-width: 921px) and (max-width: 1320px) {
  .site-header,
  .site-footer,
  .search-hero,
  .about-project {
    width: min(1120px, calc(100% - 48px));
  }

  .search-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 40px;
    padding-top: 28px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(3.35rem, 4.8vw, 4.15rem);
  }

  .hero-subtitle {
    max-width: 590px;
    font-size: 1.06rem;
  }

  .hero-tools {
    max-width: 420px;
    gap: 20px;
  }

  .search-panel {
    max-width: 420px;
    padding: 24px;
  }
}

@media (min-width: 921px) and (max-height: 760px) {
  .site-header {
    min-height: 60px;
  }

  .search-hero {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .kicker {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(3rem, 4.45vw, 3.75rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-tools {
    gap: 16px;
  }

  .search-panel {
    padding: 20px;
  }

  .about-project {
    padding-top: 20px;
  }

  .site-footer {
    margin-top: 0;
    padding-top: 16px;
  }
}

@media (max-width: 920px) {
  .hero-tools {
    gap: 18px;
    justify-items: stretch;
  }

  .floating-timer {
    position: static;
    width: 100%;
    margin: 0;
  }

  .mini-countdown {
    grid-template-columns: repeat(6, auto);
    justify-content: start;
  }

  .search-hero {
    gap: 28px;
    padding-top: 18px;
  }

  h1 {
    max-width: 720px;
    font-size: 3.55rem;
    line-height: 1.04;
  }

  .about-project {
    width: min(100% - 32px, 720px);
    padding-top: 24px;
  }

  .result-section,
  .action-flow {
    min-height: calc(100svh - 76px);
  }

  .step-preview {
    gap: 8px;
  }

  .step-preview li {
    align-items: center;
    display: grid;
    grid-template-columns: 32px minmax(0, 0.8fr) minmax(0, 1.2fr);
    min-height: 0;
    padding: 10px 12px;
  }

  .step-preview span,
  .step-preview strong,
  .step-preview p {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero-tools {
    gap: 14px;
  }

  .kicker {
    margin-bottom: 12px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.45;
  }

  .about-project {
    width: min(100% - 24px, 1120px);
    padding: 20px 0 4px;
  }

  .about-project p:last-child {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .result-section,
  .action-flow {
    min-height: calc(100svh - 64px);
    padding: 8px 0 72px;
  }

  .result-card,
  .flow-card,
  .search-panel {
    padding: 14px;
  }

  .result-card h2 {
    font-size: clamp(1.42rem, 7.8vw, 2.1rem);
    margin-bottom: 8px;
  }

  .result-card {
    max-height: calc(100svh - 92px);
  }

  .result-card p,
  .begin-section p {
    font-size: 0.82rem;
  }

  .demand-row {
    gap: 7px;
    margin-bottom: 7px;
    margin-top: 7px;
    padding-top: 7px;
  }

  .demand-row strong {
    font-size: 0.98rem;
  }

  .opportunity-bridge {
    margin: 7px 0;
    padding-top: 7px;
  }

  .opportunity-bridge h3 {
    font-size: 1.05rem;
    margin-bottom: 7px;
  }

  .step-preview li {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 8px;
  }

  .step-preview p {
    grid-column: 2;
    font-size: 0.74rem;
  }

  .flow-card {
    padding-bottom: 78px;
  }

  .flow-step {
    min-height: 250px;
  }

  .flow-step h3 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .flow-step p {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.25rem;
  }
}
