:root {
  --bg: #f6f6f4;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --page-bg: #f5f5f2;
  --line: rgba(12, 12, 12, 0.1);
  --text: #0c0c0c;
  --muted: #686868;
  --soft: #3a3a3a;
  --accent: #0c0c0c;
  --accent-soft: #f0f0ee;
  --ink: #0c0c0c;
  --radius: 8px;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, #fafaf8 0%, var(--page-bg) 28%, var(--page-bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

#structure-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.16;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(12, 12, 12, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #444444;
  font-size: 14px;
  margin-left: auto;
}

.nav-actions .button {
  min-height: 38px;
  padding: 0 16px;
}

.nav-actions .button.secondary {
  background: #ffffff;
}

.nav-links a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: #242424;
  color: #ffffff;
  border-color: #242424;
}

.button.secondary {
  border-color: rgba(12, 12, 12, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.button.subtle {
  border-color: rgba(12, 12, 12, 0.16);
  color: var(--soft);
  background: var(--accent-soft);
}

.button {
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.section-shell {
  position: relative;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 108px 0;
}

.pain,
.value,
.formula,
.capabilities,
.comparison,
.cycle,
.trust {
  border-top: 1px solid rgba(12, 12, 12, 0.06);
}

.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.capabilities .section-heading {
  margin-bottom: 32px;
}

.capabilities .stage-list dd {
  font-size: 14px;
}

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

.hero-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  border-top: 1px solid rgba(12, 12, 12, 0.06);
}

.hero-demo .section-heading {
  margin-bottom: 26px;
}

.hero-demo .judge-input {
  margin-top: 0;
}

.eyebrow {
  display: none;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4.6vw, 61px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.38;
  letter-spacing: 0;
}

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

.hero-lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: #333333;
  font-size: clamp(16px, 1.75vw, 20px);
}

.hero-actions,
.cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.judge-input {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  max-width: 760px;
  margin-top: 34px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 12, 12, 0.12);
  box-shadow: 0 20px 60px rgba(12, 12, 12, 0.07);
  border-radius: 8px;
}

.judge-input span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.judge-input p {
  margin: 0;
  color: #252525;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-row span {
  padding: 7px 11px;
  border: 1px solid rgba(12, 12, 12, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #2e2e2e;
  font-size: 13px;
}

.hero-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(12, 12, 12, 0.1);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-header span {
  color: var(--muted);
  font-size: 13px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}

.signal-grid div {
  padding: 14px 12px;
  background: #f5f5f3;
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 8px;
}

.signal-grid span,
.brief-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 7px;
}

.process-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 9px;
  color: #424242;
  font-size: 13px;
  font-weight: 800;
}

.process-title span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 22px;
  border: 1px solid rgba(12, 12, 12, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #0c0c0c;
  font-size: 11px;
  line-height: 1;
}

.signal-grid strong {
  color: var(--text);
  font-size: 15px;
}

.brief-card {
  padding: 16px;
  margin-top: 12px;
  border: 1px solid rgba(12, 12, 12, 0.09);
  background: #f5f5f3;
  border-radius: 8px;
}

.brief-card p {
  margin-bottom: 0;
  color: #2f2f2f;
}

.brief-card.accent {
  border-color: rgba(12, 12, 12, 0.18);
  background: #eeeeeb;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.five {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.six,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards article,
.dimension-grid article,
.stage-list article,
.case-card,
.pricing-grid article,
.trust-grid article {
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.045);
}

.cards article {
  min-height: 196px;
  padding: 28px;
}

.cards article span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--soft);
  font-weight: 800;
  font-size: 13px;
}

.cards article p,
.dimension-grid p,
.stage-list dd,
.case-card p,
.case-card li,
.pricing-grid p,
.pricing-grid small,
.trust-grid p {
  font-size: 15px;
}

.formula-board {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.formula-board > div {
  padding: 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 12, 12, 0.08);
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.045);
}

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

.formula-line strong {
  grid-column: 1 / -1;
  font-size: 26px;
}

.formula-line span {
  display: none;
}

.formula-line b {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f2f2ef;
  border: 1px solid rgba(12, 12, 12, 0.12);
  color: #222222;
  font-size: 14px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow-x: visible;
  padding-bottom: 0;
}

.dimension-grid article {
  min-height: 164px;
  padding: 24px;
}

.dimension-grid strong {
  color: var(--text);
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.stage-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 20px 18px;
  align-items: start;
}

.stage-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 999px;
  background: #f5f5f3;
  color: var(--soft);
  font-weight: 800;
  font-size: 13px;
}

.stage-list h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.4;
}

dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
}

dt {
  margin-top: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-layout {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr 1.1fr;
  gap: 18px;
}

.case-card {
  padding: 30px;
}

.case-card.muted {
  background: rgba(255, 255, 255, 0.62);
}

.case-card.accent,
.strong-conclusion {
  border-color: rgba(12, 12, 12, 0.18);
  background: #eeeeeb;
}

.case-card ul,
.strong-conclusion ol {
  padding-left: 20px;
  margin: 0;
  color: var(--soft);
  line-height: 1.9;
}

.strong-conclusion {
  margin-top: 18px;
  padding: 32px;
  border: 1px solid rgba(12, 12, 12, 0.18);
  border-radius: 16px;
}

.strong-conclusion p {
  max-width: 1040px;
  color: #2f2f2f;
}

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

.cycle-strip span {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 15px;
  border-radius: 14px;
  background: #f5f5f3;
  border: 1px solid rgba(12, 12, 12, 0.1);
  color: #252525;
  font-weight: 800;
}

.compact-cards article {
  min-height: 150px;
}

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

.pricing-grid article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px;
}

.pricing-grid strong {
  margin: 6px 0 18px;
  color: var(--text);
  font-size: 25px;
}

.pricing-grid small {
  display: block;
  color: var(--soft);
  line-height: 1.7;
}

.pricing-grid a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--text);
  font-weight: 800;
}

.trust-grid {
  display: grid;
  gap: 18px;
}

.trust-grid article {
  padding: 30px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 70px;
  margin-bottom: 104px;
  border: 1px solid rgba(12, 12, 12, 0.14);
  background: linear-gradient(135deg, #111111 0%, #2b2b2b 100%);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(12, 12, 12, 0.14);
}

.final-cta h2 {
  max-width: 900px;
  color: #ffffff;
}

.final-cta .eyebrow {
  color: #ffffff;
}

.final-cta p {
  max-width: 920px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.final-cta .button.primary {
  background: #ffffff;
  color: #0c0c0c;
}

.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.contact-page .section-shell {
  width: min(1180px, calc(100% - 64px));
}

.contact-shell {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  padding-top: 76px;
  padding-bottom: 76px;
}

.contact-intro h1 {
  max-width: 680px;
}

.contact-intro p {
  max-width: 640px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.9;
}

.contact-note {
  max-width: 600px;
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 56px rgba(12, 12, 12, 0.08);
}

.contact-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.contact-note p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.75;
}

.contact-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(12, 12, 12, 0.12);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form label span {
  display: block;
  margin-bottom: 8px;
  color: #1f1f1f;
  font-weight: 700;
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 12, 12, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(12, 12, 12, 0.42);
  box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.form-footer p {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-footer p[data-type="success"] {
  color: #137333;
}

.form-footer p[data-type="error"] {
  color: #b3261e;
}

.form-footer button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.4fr);
  gap: 28px;
  padding: 52px clamp(24px, 5vw, 78px);
  border-top: 1px solid rgba(12, 12, 12, 0.08);
  background: #ffffff;
}

.site-footer h4,
.site-footer strong {
  margin: 0 0 10px;
  color: var(--text);
}

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

.site-footer a {
  color: var(--text);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 8px;
  }

  .hero,
  .hero-demo,
  .formula-board,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .cards.five,
  .cards.six,
  .trust-grid,
  .pricing-grid,
  .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .cycle-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-list article {
    min-height: 0;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .nav-links {
    gap: 8px;
    font-size: 13px;
  }

  .nav-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
    padding: 64px 0;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 39px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-panel {
    min-width: 0;
  }

  .judge-input {
    grid-template-columns: 1fr;
  }

  .signal-grid,
  .cards.five,
  .cards.six,
  .trust-grid,
  .pricing-grid,
  .cycle-strip {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .dimension-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .final-cta {
    padding: 28px;
  }

  .contact-page .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .contact-form {
    padding: 20px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

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