:root {
  --green-900: #143f2e;
  --green-700: #1f7a4f;
  --green-600: #20a15f;
  --green-100: #eaf7ef;
  --mint: #f4fbf6;
  --line: #dce9df;
  --text: #18362a;
  --muted: #66756d;
  --white: #ffffff;
  --warm: #fff8e8;
  --shadow: 0 18px 44px rgba(31, 122, 79, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fcf8 0%, #ffffff 34%, #f5faf6 100%);
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 252, 248, 0.9);
  border-bottom: 1px solid rgba(220, 233, 223, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark,
.icon-badge {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green-600);
  color: var(--white);
  font-weight: 800;
}

.nav-link {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 700;
}

.section,
.section-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 44px;
  padding: 56px 0 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--green-900);
  font-size: 30px;
  line-height: 1.22;
}

h3 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 660px;
  color: #24523c;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.48;
}

.hero-insight {
  max-width: 680px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--green-600);
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
}

.hero-copy {
  max-width: 640px;
  font-size: 17px;
}

.hero-actions,
.upload-actions,
.upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(32, 161, 95, 0.24);
}

.button.secondary {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--line);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.small-note {
  margin: 12px 0 0;
  color: #7a877f;
  font-size: 14px;
}

.waiting-note {
  max-width: 590px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #dcebd3;
  border-radius: 8px;
  background: var(--warm);
}

.waiting-note strong,
.waiting-note span {
  display: block;
}

.waiting-note strong {
  margin-bottom: 4px;
  color: #6d531f;
}

.waiting-note span {
  color: #806126;
  line-height: 1.65;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.phone-preview {
  width: min(100%, 360px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 82px;
  height: 7px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #d4e8db;
}

.preview-card,
.preview-title {
  padding: 16px;
  border: 1px solid #e4efe7;
  border-radius: 8px;
  background: #fbfefc;
}

.preview-card span,
.preview-title span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.preview-card strong,
.preview-title strong {
  color: var(--green-900);
  font-size: 22px;
  line-height: 1.35;
}

.preview-card.highlight {
  margin-bottom: 12px;
  background: var(--green-100);
}

.preview-title {
  background: var(--green-100);
}

.preview-findings {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.preview-findings li {
  position: relative;
  padding: 10px 10px 10px 28px;
  border: 1px solid #e4efe7;
  border-radius: 8px;
  background: #fbfefc;
  color: #3d5147;
  line-height: 1.45;
}

.preview-findings li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-chart {
  height: 130px;
  margin: 18px 0 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f6fbf7;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
}

.mini-chart span {
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #30bf76, #1f7a4f);
}

.preview-tip {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--warm);
  color: #806126;
  font-weight: 700;
}

.section {
  padding: 46px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 22px;
}

.feature-grid,
.value-grid,
.metric-grid,
.chart-grid,
.report-grid {
  display: grid;
  gap: 16px;
}

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

.card,
.upload-box,
.privacy-box,
.upgrade-box,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 63, 46, 0.06);
}

.card {
  padding: 22px;
}

.feature-card p,
.value-card p,
.card-heading p {
  margin-bottom: 0;
}

.icon-badge {
  margin-bottom: 14px;
  background: #dff3e6;
  color: var(--green-700);
}

.guide-section {
  padding-top: 24px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.guide-step {
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
  display: flex;
  gap: 12px;
}

.guide-step span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-600);
  color: var(--white);
  font-weight: 800;
}

.guide-step p {
  margin: 0;
  color: #3d5147;
}

.guide-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid #e5ecd7;
  border-radius: 8px;
  background: var(--warm);
  color: #806126;
  font-weight: 700;
}

.upload-box,
.privacy-box,
.upgrade-box {
  padding: 26px;
}

.upload-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.upgrade-box {
  display: grid;
  gap: 18px;
}

.upgrade-intro {
  max-width: 760px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  padding: 18px;
  border: 1px solid #e4efe7;
  border-radius: 8px;
  background: #fbfefc;
}

.benefit-card h3 {
  margin-top: 12px;
}

.benefit-card p {
  margin-bottom: 0;
}

.benefit-label {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  align-items: center;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
}

.manual-help {
  padding: 18px;
  border: 1px solid #e5ecd7;
  border-radius: 8px;
  background: var(--warm);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.manual-help h3 {
  margin-bottom: 6px;
}

.manual-help p {
  margin-bottom: 0;
  color: #806126;
}

.notice {
  margin-top: 14px;
  padding: 16px 18px;
  color: #4f604f;
  background: var(--warm);
}

.bill-result {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 63, 46, 0.06);
}

.bill-result.success {
  border-color: #cfe9d7;
}

.bill-result.warning {
  border-color: #efdca8;
  background: #fffdf6;
}

.bill-result.error {
  border-color: #f0c6bd;
  background: #fff8f6;
}

.bill-result-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bill-result-header h3 {
  margin-bottom: 6px;
}

.bill-status {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.bill-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.bill-stat {
  padding: 14px;
  border: 1px solid #e4efe7;
  border-radius: 8px;
  background: #fbfefc;
}

.bill-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bill-stat strong {
  color: var(--green-900);
  font-size: 22px;
}

.bill-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--warm);
  color: #806126;
  font-weight: 700;
}

.bill-message p {
  margin: 0;
  color: #806126;
  line-height: 1.7;
}

.bill-message p + p {
  margin-top: 6px;
}

.bill-tip {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.bill-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
}

.bill-tip p {
  margin: 0;
  color: var(--muted);
}

.bill-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bill-result.success .bill-actions .primary {
  min-width: 180px;
  box-shadow: 0 10px 20px rgba(32, 161, 95, 0.18);
}

.report-section {
  scroll-margin-top: 76px;
  padding-top: 62px;
}

.is-hidden {
  display: none;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.export-status {
  flex-basis: 100%;
  margin: 0;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  text-align: right;
}

.export-status.error {
  color: #a3452f;
}

.report-summary {
  margin: -6px 0 18px;
  padding: 16px 18px;
  border: 1px solid #cfe9d7;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}

.key-findings {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3fbf5 0%, #ffffff 100%);
  box-shadow: 0 8px 22px rgba(20, 63, 46, 0.06);
}

.finding-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.finding-item {
  padding: 14px 14px 14px 42px;
  border: 1px solid #e4efe7;
  border-radius: 8px;
  background: var(--white);
  position: relative;
  color: #3d5147;
  line-height: 1.65;
}

.finding-item::before {
  content: "看";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.metric-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 16px;
}

.metric-card {
  padding: 18px;
  min-height: 128px;
}

.metric-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.metric-value {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 28px;
  font-weight: 900;
}

.metric-help {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.chart-grid,
.report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.chart-wrap {
  height: 280px;
}

.chart-insight {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
  line-height: 1.65;
}

.chart-fallback {
  min-height: 100%;
  padding: 18px;
  border: 1px dashed #cfe4d5;
  border-radius: 8px;
  background: #f6fbf7;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.7;
}

.customer-list {
  display: grid;
  gap: 10px;
}

.customer-summary {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--warm);
  color: #806126;
  font-weight: 800;
  line-height: 1.65;
}

.customer-row {
  padding: 12px;
  border: 1px solid #e3eee7;
  border-radius: 8px;
  background: #fbfefc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.customer-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
}

.customer-row span {
  display: block;
  color: var(--muted);
}

.customer-toggle {
  margin-top: 12px;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green-700);
  font-weight: 900;
  cursor: pointer;
}

.tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.advice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3d5147;
  display: grid;
  gap: 10px;
}

.advice-list li {
  padding: 13px 14px;
  border: 1px solid #e3eee7;
  border-radius: 8px;
  background: #fbfefc;
  line-height: 1.65;
}

.advice-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
}

.advice-list p {
  margin: 0;
  color: #3d5147;
}

.cost-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: center;
}

.cost-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.cost-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.cost-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cost-result {
  min-height: 30px;
  margin: 10px 0 0;
  color: #3d5147;
  font-weight: 700;
}

.export-area {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 420px;
  pointer-events: none;
}

.export-report-card {
  width: 390px;
  padding: 24px;
  border: 1px solid #d9eadf;
  border-radius: 18px;
  background: #f4fbf6;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.export-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
}

.export-header strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-100);
  white-space: nowrap;
}

.export-report-card h2 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 25px;
  line-height: 1.25;
}

.export-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.export-summary {
  margin: 0 0 16px;
  padding: 13px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.65;
}

.export-block {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e0eee4;
  border-radius: 12px;
  background: var(--white);
}

.export-block h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 16px;
}

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

.export-metrics div,
.export-customers div,
.export-advice div {
  padding: 10px;
  border-radius: 10px;
  background: #fbfefc;
}

.export-metrics span,
.export-customers span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.export-metrics strong {
  color: var(--green-900);
  font-size: 17px;
  line-height: 1.25;
}

.export-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.export-list li {
  padding: 9px 10px;
  border-radius: 10px;
  background: #fbfefc;
  color: #3d5147;
  font-size: 13px;
  line-height: 1.6;
}

.export-customers,
.export-advice {
  display: grid;
  gap: 8px;
}

.export-customers strong,
.export-advice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
  font-size: 14px;
}

.export-customers p,
.export-advice p {
  margin: 0;
  color: #3d5147;
  font-size: 13px;
  line-height: 1.6;
}

.export-footer {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dce9df;
  color: var(--green-700);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  display: grid;
  gap: 3px;
}

.export-footer strong {
  color: var(--green-900);
  font-size: 14px;
}

.export-footer span {
  color: var(--green-700);
  font-weight: 800;
}

.export-share-poster {
  width: 390px;
  min-height: 690px;
  padding: 28px 24px;
  border: 1px solid #d9eadf;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #eaf7ef 0%, #f8fcf9 38%, #ffffff 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}

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

.export-share-poster h2 {
  margin: 22px 0 12px;
  color: var(--green-900);
  font-size: 34px;
  line-height: 1.18;
}

.poster-subtitle {
  margin: 0;
  color: #24523c;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
}

.poster-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.poster-metrics div {
  min-height: 82px;
  padding: 12px;
  border: 1px solid #d9eadf;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poster-metrics span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.poster-metrics strong {
  color: var(--green-900);
  font-size: 21px;
  line-height: 1.2;
}

.poster-highlight {
  margin-top: 20px;
  padding: 17px;
  border-radius: 16px;
  background: var(--green-900);
  color: var(--white);
}

.poster-highlight span {
  display: block;
  margin-bottom: 8px;
  color: #bde7cb;
  font-size: 13px;
  font-weight: 900;
}

.poster-highlight strong {
  display: block;
  font-size: 18px;
  line-height: 1.6;
}

.poster-copy {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: var(--white);
}

.poster-copy p {
  margin: 0;
  color: #3d5147;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.poster-copy p + p {
  margin-top: 6px;
}

.poster-entry {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed #b7d9c3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--green-700);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.image-result-panel {
  padding-top: 18px;
}

.image-result-card {
  padding: 22px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 63, 46, 0.06);
}

.image-preview-wrap {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
  text-align: center;
}

.image-preview-wrap img {
  width: min(100%, 430px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(20, 63, 46, 0.12);
}

.image-result-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-section {
  padding-top: 28px;
}

.privacy-box {
  background: var(--green-900);
}

.privacy-box h2,
.privacy-box p,
.privacy-box .eyebrow {
  color: var(--white);
}

.privacy-box p {
  max-width: 760px;
  margin-bottom: 0;
}

.footer {
  padding: 26px 16px 38px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .feature-grid,
  .value-grid,
  .guide-list,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-grid,
  .report-grid,
  .cost-card,
  .upload-box,
  .bill-result-header,
  .bill-stat-grid,
  .manual-help {
    grid-template-columns: 1fr;
  }

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

  .report-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-actions {
    justify-content: flex-start;
  }

  .export-status {
    text-align: left;
  }

  .finding-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand span:last-child {
    max-width: 196px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section,
  .section-band {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 30px 0 32px;
    gap: 28px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .upload-actions,
  .upgrade-actions {
    width: 100%;
  }

  .feature-grid,
  .value-grid,
  .guide-list,
  .chart-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

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

  .metric-card {
    min-height: auto;
    padding: 12px;
  }

  .metric-label {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .metric-value {
    margin-bottom: 5px;
    font-size: 21px;
  }

  .metric-help {
    font-size: 12px;
  }

  .report-section {
    padding-top: 72px;
  }

  .report-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .report-actions,
  .report-actions .button {
    width: 100%;
  }

  .report-summary {
    margin: 0 0 14px;
    padding: 13px 14px;
    font-size: 15px;
  }

  .key-findings {
    padding: 16px;
  }

  .finding-item {
    padding: 12px 12px 12px 38px;
  }

  .chart-wrap {
    height: 220px;
    overflow: hidden;
  }

  .chart-insight {
    padding: 10px 11px;
    font-size: 14px;
    line-height: 1.6;
  }

  .customer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .advice-list li {
    padding: 12px;
  }

  .bill-result {
    padding: 16px;
  }

  .bill-result.success .bill-actions .primary {
    width: 100%;
    min-height: 52px;
  }

  .image-result-card {
    padding: 16px;
  }

  .image-preview-wrap {
    padding: 10px;
  }

  .image-preview-wrap img {
    width: 100%;
  }

  .image-result-actions {
    width: 100%;
  }

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