/*
 * Linear design refinement layer.
 * Inspired by consulting/corporate information architecture: typography, white space, and straight rules over rounded cards.
 */

:root {
  --radius-lg: 0;
  --radius-md: 0;
  --shadow-card: none;
  --color-text: #0c1f33;
  --color-muted: #4f6073;
  --color-primary: #0068bd;
  --color-primary-dark: #06213d;
  --color-border: #d9e1ea;
}

body {
  color: var(--color-text);
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.l-container {
  width: min(100% - 56px, 1160px);
}

.u-section {
  padding: 112px 0;
}

.u-section--soft {
  background: #f6f8fa;
  border-top: 1px solid rgba(12, 49, 85, 0.08);
  border-bottom: 1px solid rgba(12, 49, 85, 0.08);
}

.c-section-heading {
  margin-bottom: 48px;
}

.c-section-heading h2,
.c-editorial-copy h2,
.c-flow-layout h2,
.c-final-message--sharp h2 {
  letter-spacing: -0.035em;
}

.c-section-label {
  color: #0068bd;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

/* Straighten common UI. Use lines and spacing rather than soft rounded boxes. */
.c-button,
.wp-block-button__link {
  border-radius: 0;
  box-shadow: none;
}

.c-button--primary {
  background: #0068bd;
  box-shadow: none;
}

.c-button--secondary {
  background: #fff;
}

.c-command-visual,
.c-system-map,
.c-command-card,
.c-diagnostic-board article,
.c-service-system article,
.c-resource-panel,
.c-resource-download,
.c-service-detail-card,
.c-mini-faq details,
.c-batch-card,
.c-resource-tile,
.c-final-message--sharp,
.c-final-cta__inner,
.c-form-side-note {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.c-service-detail-card,
.c-batch-card,
.c-resource-tile,
.c-mini-faq details {
  border-color: rgba(12, 49, 85, 0.14);
}

/* Timeline: keep p in the content column and prevent broken layout. */
.c-timeline-steps {
  border-top: 1px solid rgba(12, 49, 85, 0.18);
}

.c-timeline-steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 4px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(12, 49, 85, 0.16);
}

.c-timeline-steps span {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  padding-top: 3px;
  color: #0068bd;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.c-timeline-steps strong,
.c-timeline-steps p {
  grid-column: 2;
  min-width: 0;
}

.c-timeline-steps strong {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
  line-height: 1.55;
}

.c-timeline-steps p {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Check list: remove absolute checkmark and prevent overlap. */
.c-batch-check-list {
  gap: 0;
  border-top: 1px solid rgba(12, 49, 85, 0.14);
}

.c-batch-check-list li,
.u-section--soft .c-batch-check-list li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(12, 49, 85, 0.12);
  border-radius: 0;
  color: var(--color-primary-dark);
  line-height: 1.75;
}

.c-batch-check-list li::before,
.u-section--soft .c-batch-check-list li::before {
  position: static;
  left: auto;
  top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0068bd;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
}

/* Service feature numbers: remove low-contrast circles and make them editorial labels. */
.c-batch-feature-list--overhaul {
  gap: 0;
  border-top: 1px solid rgba(12, 49, 85, 0.14);
}

.c-batch-feature-list--overhaul article {
  min-height: auto;
  padding: 28px 24px 32px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(12, 49, 85, 0.14);
  border-radius: 0;
  box-shadow: none;
}

.c-batch-feature-list--overhaul article > span,
.c-batch-feature-list--overhaul article span {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 18px;
  padding: 0 0 10px;
  color: #0068bd;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #0068bd;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.c-batch-feature-list--overhaul article h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.c-batch-feature-list--overhaul article p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* Problem links: remove duplicate pseudo arrow, keep only the explicit span arrow. */
.c-problem-link-grid--overhaul {
  gap: 0;
  border-top: 1px solid rgba(12, 49, 85, 0.14);
}

.c-problem-link-grid--overhaul a {
  position: relative;
  padding: 20px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(12, 49, 85, 0.14);
  border-radius: 0;
  box-shadow: none;
  font-size: 0.96rem;
}

.c-problem-link-grid--overhaul a::after {
  content: none !important;
  display: none !important;
}

.c-problem-link-grid--overhaul a span {
  flex: 0 0 auto;
  margin-left: 20px;
  color: #0068bd;
}

/* Footer and CTA: reduce soft card feeling. */
.c-final-cta__inner {
  border-left: 4px solid #0068bd;
}

.l-site-footer__menu {
  gap: 8px 28px;
}

@media (max-width: 980px) {
  .l-container {
    width: min(100% - 40px, 1160px);
  }

  .u-section {
    padding: 88px 0;
  }

  .c-batch-feature-list--overhaul,
  .c-problem-link-grid--overhaul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

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

  .u-section {
    padding: 72px 0;
  }

  .c-timeline-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 0;
  }

  .c-timeline-steps strong {
    font-size: 1rem;
  }

  .c-timeline-steps p {
    font-size: 0.92rem;
  }

  .c-batch-check-list li,
  .u-section--soft .c-batch-check-list li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }
}
