.standard-hero {
  align-items: start;
}

.standard-visual {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 96% 2%, rgba(242, 183, 5, 0.25), transparent 28%),
    #0d3727;
  color: #fff;
  box-shadow: 0 28px 75px rgba(16, 48, 35, 0.2);
}

.standard-visual-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-visual-head b {
  color: #f9dc7d;
}

.standard-visual h2 {
  max-width: 420px;
  margin: 1.7rem 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.weight-stack {
  display: grid;
  gap: 0.45rem;
}

.weight-stack span {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.weight-stack span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--weight) * 3.2%);
  background: rgba(223, 240, 201, 0.1);
  content: "";
}

.weight-stack b {
  position: relative;
  color: #dff0c9;
  font-family: "DM Mono", ui-monospace, monospace;
}

.confidence-separator {
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.confidence-separator small {
  display: block;
  margin-bottom: 0.3rem;
  color: #f9dc7d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-separator strong {
  font-size: 1.05rem;
}

.confidence-separator p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.boundary-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.3rem;
  border: 1px solid var(--guide-line);
  background: var(--guide-line);
}

.boundary-pair article {
  padding: 1.5rem;
  background: #eef5ef;
}

.boundary-pair article.is-limit {
  background: #fff8dd;
}

.boundary-pair span {
  color: #0b6e44;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boundary-pair ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--guide-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.status-formula {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--guide-line);
  background: var(--guide-line);
}

.status-formula span {
  display: grid;
  min-height: 105px;
  align-content: space-between;
  padding: 1rem;
  background: #fbfaf6;
  color: var(--guide-muted);
  font-size: 0.75rem;
}

.status-formula b {
  color: #0b6e44;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 1.15rem;
}

.method-table {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--guide-line);
}

.method-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fbfaf6;
  font-size: 0.82rem;
  line-height: 1.5;
}

.method-table th,
.method-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--guide-line);
  text-align: left;
  vertical-align: top;
}

.method-table thead th {
  background: #0d3727;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method-table td:nth-child(2),
.method-table td:nth-child(3),
.method-table tfoot td {
  color: #0b6e44;
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 800;
  white-space: nowrap;
}

.method-table tfoot th,
.method-table tfoot td {
  border-bottom: 0;
  background: #e7f2ea;
}

.formula-card {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.8rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 4px solid #0b6e44;
  background: #eef5ef;
}

.formula-card.is-confidence {
  border-left-color: #f2b705;
  background: #fff8dd;
}

.formula-card span,
.priority-formula span {
  color: #0b6e44;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.formula-card strong {
  overflow-wrap: anywhere;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: clamp(0.86rem, 2vw, 1.05rem);
  line-height: 1.5;
}

.formula-card p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.4rem 0;
  border: 1px solid var(--guide-line);
  background: var(--guide-line);
}

.evidence-grid article {
  min-height: 180px;
  padding: 1.35rem;
  background: #fbfaf6;
}

.evidence-grid article:last-child {
  grid-column: 1 / -1;
  min-height: auto;
  background: #fff8dd;
}

.evidence-grid b {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: #0b6e44;
  color: #fff;
  font-family: "DM Mono", ui-monospace, monospace;
}

.evidence-grid h3 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1rem;
}

.evidence-grid p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.priority-formula {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 520px;
  margin: 2.4rem auto;
  padding: 2rem;
  border: 1px solid var(--guide-line);
  background: #fbfaf6;
  text-align: center;
}

.priority-formula strong {
  padding: 0.65rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.priority-formula i {
  width: min(100%, 330px);
  height: 1px;
  background: #14221b;
}

.method-note {
  padding-left: 1.1rem;
  border-left: 2px solid #f2b705;
  color: var(--guide-muted);
  font-size: 0.9rem;
}

.gate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.3rem 0;
  padding: 0;
  border: 1px solid var(--guide-line);
  background: var(--guide-line);
  list-style: none;
}

.gate-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 95px;
  padding: 1rem;
  background: #fbfaf6;
}

.gate-list strong {
  color: #0b6e44;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 1.2rem;
}

.gate-list span {
  color: var(--guide-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.version-note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--guide-line);
  font-size: 0.84rem;
}

@media (max-width: 780px) {
  .boundary-pair,
  .evidence-grid,
  .gate-list {
    grid-template-columns: 1fr;
  }

  .evidence-grid article:last-child {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  .standard-page .header-cta {
    max-width: min(44vw, 172px);
    padding: 6px 10px;
    line-height: 1.15;
    white-space: normal;
  }

  .status-formula {
    grid-template-columns: 1fr;
  }

  .status-formula span {
    min-height: 78px;
  }

  .gate-list li {
    grid-template-columns: 3.2rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .standard-page *,
  .standard-page *::before,
  .standard-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
