.hero {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(4rem, 6vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.hero-copy {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-secondary-link {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hero-secondary-link a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  font-weight: 500;
}

.hero-secondary-link a:hover {
  color: var(--primary-dark);
}

.hero-note {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 56ch;
}

.hero-panel {
  background: linear-gradient(180deg, var(--surface) 0, var(--surface-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.hero-panel-shell {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--foreground) 8%, transparent);
  border-radius: 0.95rem;
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: var(--text-xs);
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-fg);
  font-weight: 600;
}

.status-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.panel-content {
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.sheet {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: var(--surface);
}

.sheet h2,
.sheet h3 {
  margin: 0 0 0.7rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sheet dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.9rem;
  margin: 0;
}

.sheet dt {
  font-size: var(--text-xs);
  color: var(--muted);
}

.sheet dd {
  margin: 0.15rem 0 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground);
}

.sheet p {
  margin: 0.25rem 0;
  font-size: var(--text-sm);
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.sheet th,
.sheet td {
  padding: 0.45rem 0.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sheet th:last-child,
.sheet td:last-child,
.sheet th:nth-child(2),
.sheet td:nth-child(2),
.sheet th:nth-child(3),
.sheet td:nth-child(3) {
  text-align: right;
}

.sheet tbody tr:last-child td {
  border-bottom: none;
}

.sheet-success {
  background: color-mix(in srgb, var(--success-bg) 65%, var(--surface));
  border-color: color-mix(in srgb, var(--success-fg) 18%, var(--border));
}

.sheet-success ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--success-fg);
  font-size: var(--text-sm);
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-muted {
  background: color-mix(in srgb, var(--surface-soft) 82%, var(--background));
  border-block: 1px solid color-mix(in srgb, var(--foreground) 8%, transparent);
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

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

.problem-card,
.use-card,
.simple-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.problem-card strong,
.use-card strong,
.simple-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: var(--text-sm);
}

.problem-card p,
.use-card p,
.simple-panel p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: none;
}

.uses-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.use-list {
  display: grid;
  gap: 1rem;
}

.use-card small {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.report-panel {
  max-width: 980px;
  margin: 0 auto;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.cta-box p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 58ch;
}

.btn-note {
  margin-top: 0.35rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .uses-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
  }

  .sheet dl {
    grid-template-columns: 1fr;
  }

  .panel-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sheet table,
  .sheet thead,
  .sheet tbody,
  .sheet tr,
  .sheet th,
  .sheet td {
    display: block;
  }

  .sheet thead {
    display: none;
  }

  .sheet tr {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
  }

  .sheet tbody tr:last-child {
    border-bottom: none;
  }

  .sheet td {
    text-align: left !important;
    border-bottom: none;
    padding: 0.12rem 0;
  }

  .sheet td::before {
    content: attr(data-label) " : ";
    color: var(--muted);
    font-weight: 500;
  }
}