* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  color: #171717;
  background: #ffffff;
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}


/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e9e9e9;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  text-decoration: none;
  color: #555555;
}

.nav a:hover {
  color: #111111;
}


/* Hero */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.hero-inner {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.desktop-nowrap {
  white-space: nowrap;
}

.hero-description {
  max-width: 800px;
  margin: 36px 0 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.6;
  font-weight: 500;
}

.hero-value {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: 18px;
  color: #555555;
}

.hero-value strong {
  color: #111111;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: #111111;
  color: #ffffff;
}

.button-secondary {
  border: 1px solid #cccccc;
  background: #ffffff;
}


/* Temporary sections */

.placeholder-section {
  min-height: 50vh;
  padding: 100px 0;
  border-top: 1px solid #eeeeee;
}

.placeholder-section p {
  color: #999999;
}


/* Mobile */

@media (max-width: 720px) {

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    height: 64px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 72px 0;
  }

  h1 {
    font-size: 45px;
  }

  .hero-description {
    font-size: 20px;
  }

  .hero-value {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* Overview / Problem / Approach / Value */

.overview-section {
  padding: 120px 0;
  border-top: 1px solid #eeeeee;
  background: #fafafa;
}

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

.section-label {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666666;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
}

.card-number {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
  color: #888888;
}

.overview-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.card-lead {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.overview-card p:last-child {
  margin-bottom: 0;
  color: #555555;
}

.overview-value-strip {
  margin-top: 40px;
  padding: 32px 36px;
  border-left: 4px solid #111111;
  background: #ffffff;
}

.overview-value-strip p {
  margin: 0;
  font-size: 18px;
}

.overview-value-strip p + p {
  margin-top: 8px;
  color: #555555;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-card {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .overview-section {
    padding: 80px 0;
  }

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

  .overview-value-strip {
    padding: 24px;
  }
}


/* Evidence */

.evidence-section {
  padding: 120px 0;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
}

.evidence-heading {
  max-width: 900px;
}

.section-intro {
  max-width: 760px;
  margin-top: 28px;
  font-size: 18px;
  color: #555555;
}

.evidence-example {
  margin-top: 64px;
}

.evidence-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #666666;
}

.evidence-meta p {
  margin: 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.evidence-panel {
  padding: 36px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #fafafa;
}

.verdict-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.verdict-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.verdict {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.verdict-fail {
  border: 1px solid #111111;
}

.verdict-pass {
  color: #ffffff;
  background: #111111;
}

.evidence-panel h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.45;
}

.evidence-panel p {
  color: #555555;
}

.evidence-observation {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #dddddd;
  font-size: 13px;
  line-height: 1.6;
}

.evidence-boundary {
  margin-top: 22px;
  padding: 22px 26px;
  background: #f5f5f5;
  font-size: 14px;
}

.evidence-boundary p {
  margin: 8px 0 0;
  color: #555555;
}

.evidence-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.evidence-principle-card {
  padding: 28px 0;
  border-top: 2px solid #111111;
}

.evidence-principle-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.evidence-principle-card p:last-child {
  color: #555555;
}

.evidence-trace {
  margin-top: 72px;
  padding: 40px;
  background: #111111;
  color: #ffffff;
  border-radius: 12px;
}

.evidence-trace .section-label {
  color: #aaaaaa;
}

.trace-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
}

.trace-arrow {
  color: #777777;
}

.trace-note {
  max-width: 720px;
  margin: 24px 0 0;
  color: #cccccc;
}

/* --- Evidence: research-style blocks (Website Evidence Design SSOT v0.1) --- */

.evidence-block {
  margin-top: 72px;
}

.evidence-block-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
}

.evidence-block-title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.5;
}

.evidence-block-intro {
  max-width: 760px;
  margin: 0 0 24px;
  color: #555555;
}

.evidence-record {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  padding: 1px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  overflow: hidden;
}

/* box-shadow rather than a parent background, so a trailing empty grid cell
   stays white instead of showing a filled block */
.evidence-record > div {
  padding: 14px 16px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #dddddd;
}

.evidence-record dt {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #888888;
}

.evidence-record dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
}

.evidence-table-scroll {
  margin-top: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.evidence-table th,
.evidence-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  white-space: nowrap;
}

.evidence-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #111111;
  white-space: nowrap;
}

.evidence-table td:nth-child(4),
.research-card .evidence-table td:first-child {
  white-space: normal;
}

.verdict-sm {
  min-width: 0;
  height: 24px;
  padding: 0 10px;
  font-size: 11px;
}

.evidence-boundary-case {
  padding: 36px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #fbfbfb;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.verdict-card {
  padding: 26px 0 0;
  border-top: 2px solid #111111;
}

.verdict-card .verdict {
  margin-bottom: 14px;
}

.verdict-card p {
  margin: 0;
  color: #555555;
  font-size: 15px;
}

.verdict-indet {
  border: 1px solid #8a6d3b;
  color: #8a6d3b;
}

.evidence-rules {
  margin: 28px 0 0;
  padding: 22px 26px;
  list-style: none;
  background: #f5f5f5;
  font-size: 14px;
}

.evidence-rules li {
  position: relative;
  padding-left: 20px;
  color: #555555;
}

.evidence-rules li + li {
  margin-top: 8px;
}

.evidence-rules li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #888888;
}

.null-result {
  padding: 32px;
  border: 1px solid #dddddd;
  border-radius: 12px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.research-card {
  padding: 28px;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #fbfbfb;
}

.research-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

.research-source {
  margin: 0 0 16px;
  font-size: 12px;
  color: #888888;
}

.research-card .evidence-table {
  font-size: 12.5px;
}

.research-card .evidence-table th,
.research-card .evidence-table td {
  padding: 8px 10px;
}

.research-card .evidence-boundary {
  margin-top: 18px;
  padding: 16px 18px;
  font-size: 12.5px;
  background: #faf7f1;
  border-left: 2px solid #8a6d3b;
}

/* short pointer to the downloadable evidence layer (detail moved off the page) */
.evidence-block-note {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  color: #777777;
}

.service-boundary {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
  font-size: 14px !important;
  color: #777777 !important;
}

.evidence-scope-note {
  max-width: 860px;
  margin: 28px 0 0;
  font-size: 13px;
  color: #777777;
}

.trace-layers {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  padding: 1px;
  background: #333333;
  border-radius: 8px;
  overflow: hidden;
}

.trace-layers > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 14px 18px;
  background: #111111;
  font-size: 14px;
}

.trace-layers > div span:first-child {
  min-width: 210px;
  font-weight: 700;
}

.trace-layers > div span:last-child {
  color: #bbbbbb;
}

.evidence-downloads {
  margin-top: 72px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #ffffff;
}

.download-card-primary {
  border-color: #111111;
}

.download-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.download-head h3 {
  margin: 0;
  font-size: 21px;
}

.download-format {
  padding: 3px 9px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #777777;
}

.download-card p {
  margin: 0;
  color: #555555;
  font-size: 15px;
}

.download-meta {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: #888888 !important;
}

.download-button,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  text-decoration: none;
}

.download-button {
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: #111111;
  transition: opacity 0.2s ease;
}

.download-button:hover {
  opacity: 0.82;
}

.download-link {
  align-self: flex-start;
  padding: 14px 24px;
  border: 1px solid #111111;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  transition: background 0.2s ease, color 0.2s ease;
}

.download-link:hover {
  color: #ffffff;
  background: #111111;
}

.download-note {
  margin: 22px 0 0;
  font-size: 13px;
  color: #777777;
}

@media (max-width: 1040px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .before-after-grid,
  .verdict-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .evidence-block {
    margin-top: 56px;
  }

  .evidence-block-title {
    font-size: 21px;
  }

  .evidence-boundary-case,
  .null-result,
  .research-card,
  .download-card {
    padding: 22px;
  }

  .evidence-downloads {
    margin-top: 56px;
  }

  .trace-layers > div span:first-child {
    min-width: 0;
  }

  .download-button,
  .download-link {
    width: 100%;
  }
}


@media (max-width: 720px) {
  .evidence-section {
    padding: 80px 0;
  }

  .evidence-panel {
    padding: 26px;
  }

  .evidence-trace {
    padding: 28px;
  }

  .trace-chain {
    flex-direction: column;
    align-items: flex-start;
  }

  .trace-arrow {
    transform: rotate(90deg);
  }
}


/* Service */

.service-section {
  padding: 120px 0;
  background: #fafafa;
  border-top: 1px solid #eeeeee;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.service-card {
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
}

.service-card-primary {
  border: 2px solid #111111;
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.4;
}

.service-lead {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.service-card p {
  color: #555555;
}

.service-price {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dddddd;
  font-size: 14px;
}

.service-price strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 26px;
  color: #111111;
}

.service-price-note strong {
  font-size: 22px;
}


/* Deliverables */

.deliverables-block {
  margin-top: 96px;
}

.deliverables-heading {
  max-width: 760px;
}

.deliverables-heading h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: #dddddd;
  border: 1px solid #dddddd;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: #ffffff;
}

.deliverable-item span {
  min-width: 28px;
  font-size: 12px;
  font-weight: 700;
  color: #888888;
}

.deliverable-item p {
  margin: 0;
  font-weight: 700;
}

.deliverables-value {
  padding: 28px 32px;
  background: #111111;
  color: #ffffff;
}

.deliverables-value p {
  margin: 0;
  max-width: 820px;
  font-size: 18px;
}


/* Pricing note */

.pricing-note {
  margin-top: 40px;
  padding: 26px 30px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
}

.pricing-note p {
  margin: 8px 0 0;
  color: #555555;
}


@media (max-width: 900px) {

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

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

}

@media (max-width: 720px) {

  .service-section {
    padding: 80px 0;
  }

  .service-card {
    padding: 26px;
  }

  .deliverable-item {
    padding: 20px;
  }

}


/* About / Provider */

.about-section {
  padding: 120px 0;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
}

.provider-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-top: 64px;
  padding: 44px;
  border: 1px solid #dddddd;
  border-radius: 12px;
}

.provider-role {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #666666;
}

.provider-main h3 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -0.03em;
}

.provider-description {
  max-width: 680px;
  margin: 24px 0 0;
  color: #555555;
}

.provider-responsibility ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.provider-responsibility li {
  padding: 11px 0;
  border-bottom: 1px solid #eeeeee;
  font-weight: 700;
}

.legal-note {
  margin-top: 28px;
  padding: 24px 28px;
  background: #f7f7f7;
}

.legal-note p {
  margin: 8px 0 0;
  color: #555555;
}


/* Contact */

.contact-section {
  padding: 140px 0;
  background: #111111;
  color: #ffffff;
}

.contact-inner {
  max-width: 900px;
}

.contact-section .section-label {
  color: #999999;
}

.contact-section h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.contact-description {
  max-width: 720px;
  margin: 32px 0 0;
  font-size: 18px;
  color: #cccccc;
}

.contact-email {
  display: inline-block;
  margin-top: 42px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid #ffffff;
}

.contact-note {
  margin-top: 36px;
  color: #aaaaaa;
}


/* Footer */

.site-footer {
  padding: 32px 0;
  background: #0a0a0a;
  color: #aaaaaa;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.footer-copy {
  margin: 6px 0 0;
  font-size: 13px;
}

.site-footer a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
}


@media (max-width: 900px) {

  .provider-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

@media (max-width: 720px) {

  .about-section {
    padding: 80px 0;
  }

  .provider-card {
    padding: 28px;
  }

  .provider-main h3 {
    font-size: 34px;
  }

  .contact-section {
    padding: 96px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

}
