:root {
  --bg: #f6f8f9;
  --surface: #ffffff;
  --surface-soft: #edf3f3;
  --text: #16222a;
  --muted: #5c6b74;
  --line: #d8e2e3;
  --teal: #0f766e;
  --teal-dark: #0f3f46;
  --teal-soft: #d9efec;
  --graphite: #27323a;
  --risk: #b63d2f;
  --warning: #b76d1e;
  --focus: #0b6bcb;
  --shadow: 0 24px 70px rgba(21, 42, 52, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 2px solid var(--focus);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(216, 226, 227, 0.82);
  background: rgba(246, 248, 249, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 750;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  background: var(--teal-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 248, 249, 0.98) 0%, rgba(246, 248, 249, 0.93) 44%, rgba(246, 248, 249, 0.62) 100%),
    repeating-linear-gradient(90deg, rgba(15, 63, 70, 0.06) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(15, 63, 70, 0.05) 0 1px, transparent 1px 82px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  background: var(--surface);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 8rem;
}

.hero-content > * {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 5rem, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 2.75rem, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.06rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-subtitle {
  color: var(--graphite);
  font-size: 1.5rem;
  line-height: 1.35;
}

.hero-thesis {
  margin: 1.75rem 0 1rem;
  color: var(--teal-dark);
  font-size: 1.45rem;
  font-weight: 750;
}

.hero-copy,
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid rgba(11, 107, 203, 0.34);
  outline-offset: 2px;
}

.button-primary {
  background: var(--teal-dark);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-shell {
  position: absolute;
  right: min(5vw, 70px);
  top: 52%;
  width: min(720px, 55vw);
  min-height: 460px;
  transform: translateY(-50%);
  padding: 1.2rem;
  border: 1px solid rgba(216, 226, 227, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.dash-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.25rem 0 1rem;
}

.dash-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #adc3c4;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.8rem;
}

.dash-panel {
  min-height: 132px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.dash-panel strong,
.dash-panel small,
.dash-kicker {
  display: block;
}

.dash-kicker {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.dash-panel strong {
  color: var(--teal-dark);
  font-size: 1.3rem;
}

.dash-panel small {
  color: var(--muted);
}

.dash-panel-wide {
  grid-row: span 2;
  min-height: 278px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.risk-high {
  background: var(--risk);
}

.risk-watch {
  background: var(--warning);
}

.risk-stable {
  background: var(--teal);
}

.dash-panel-map {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.dash-panel-map span {
  min-height: 42px;
  border-radius: 6px;
  background: var(--surface-soft);
}

.dash-panel-map span:nth-child(2),
.dash-panel-map span:nth-child(5) {
  background: #f3dfc8;
}

.dash-panel-map span:nth-child(4) {
  background: #ecd1cc;
}

.section {
  padding: 6rem 0;
  background: var(--surface);
}

.section:nth-of-type(odd) {
  background: var(--bg);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading-row p {
  color: var(--muted);
}

.timeline,
.feature-grid,
.value-grid,
.method-grid,
.architecture-grid,
.comparison,
.attention-grid,
.pilot-steps {
  display: grid;
  gap: 1rem;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.timeline-step,
.feature-card,
.value-grid article,
.method-grid article,
.architecture-grid article,
.comparison article,
.attention-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.timeline-step {
  position: relative;
  min-height: 250px;
  padding: 1.2rem;
}

.timeline-step span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
}

.timeline-step p,
.feature-card p,
.value-grid p,
.method-grid p,
.architecture-grid p,
.comparison li,
.attention-grid p {
  color: var(--muted);
}

.principle {
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 1.15rem;
  font-weight: 750;
}

.principle-compact {
  max-width: 520px;
}

.process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.55rem;
  margin: 2.4rem 0 1.5rem;
}

.process div {
  position: relative;
  min-width: 0;
  min-height: 116px;
  padding: 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.process span {
  font-weight: 750;
  line-height: 1.3;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.value-grid article,
.method-grid article,
.architecture-grid article,
.comparison article,
.attention-grid article {
  padding: 1.35rem;
}

.dashboard-section {
  background: #eef4f4;
}

.minister-panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.panel-header span,
.panel-note {
  color: var(--muted);
}

.panel-header strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.panel-status,
.risk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-status {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.attention-grid {
  grid-template-columns: repeat(3, 1fr);
}

.risk-chip {
  margin-bottom: 0.9rem;
}

.risk-chip.high {
  background: #f1d7d3;
  color: #8a2b22;
}

.risk-chip.watch,
.risk-chip.late {
  background: #f3dfc8;
  color: #7c470e;
}

.risk-chip.work,
.risk-chip.repeat {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.risk-chip.muted {
  background: #e5ebed;
  color: var(--graphite);
}

.panel-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.value-grid,
.method-grid {
  grid-template-columns: repeat(3, 1fr);
}

.organization-section {
  background: var(--teal-dark);
  color: #fff;
}

.organization-section .section-label,
.organization-section .section-lead {
  color: #c7e8e4;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.check-list div {
  min-height: 74px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.comparison {
  grid-template-columns: repeat(2, 1fr);
}

.comparison ul {
  margin: 0;
  padding-left: 1.2rem;
}

.comparison-strong {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.classification-note {
  margin: 2rem 0 0;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.architecture-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 2rem 0;
}

.architecture-accent {
  border-color: rgba(15, 118, 110, 0.4);
  background: #f8fdfc;
}

.pilot-section {
  background: #f8fafb;
}

.pilot-box {
  padding: 1.6rem;
  border: 1px solid rgba(15, 118, 110, 0.34);
  border-radius: var(--radius);
  background: var(--surface);
}

.pilot-box strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.55rem;
  line-height: 1.25;
}

.pilot-box p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.pilot-steps {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.pilot-steps div {
  min-height: 96px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 750;
}

.contact-section {
  background: var(--teal-dark);
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

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

.contact-section p {
  color: #d9e7e8;
}

.contact-card {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.contact-card .button-primary {
  background: #fff;
  color: var(--teal-dark);
}

.site-footer {
  padding: 1.5rem 0;
  background: #111a20;
  color: #cbd7d8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero-visual {
    display: none;
  }

  .timeline,
  .process,
  .attention-grid,
  .value-grid,
  .method-grid,
  .pilot-steps {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 640px);
  }

  .site-header {
    min-height: 64px;
    padding: 0 0.9rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 5rem 0 6rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-thesis {
    font-size: 1.16rem;
  }

  .section {
    padding: 4.3rem 0;
  }

  .two-column,
  .section-heading-row,
  .feature-grid,
  .comparison,
  .architecture-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .timeline,
  .process,
  .attention-grid,
  .value-grid,
  .method-grid,
  .pilot-steps,
  .check-list {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    min-height: auto;
  }

  .process {
    margin-top: 1.6rem;
  }

  .process div {
    min-height: auto;
  }

  .panel-header,
  .footer-inner {
    flex-direction: column;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .contact-actions,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero,
  .section,
  .contact-section,
  .organization-section {
    min-height: auto;
    padding: 1.2cm 0;
    background: #fff !important;
    color: #000 !important;
    border: 0;
  }

  .hero-visual {
    display: none;
  }

  .container {
    width: 100%;
  }

  .feature-card,
  .value-grid article,
  .method-grid article,
  .architecture-grid article,
  .comparison article,
  .attention-grid article,
  .minister-panel,
  .pilot-box,
  .pilot-steps div,
  .timeline-step {
    box-shadow: none;
    break-inside: avoid;
  }
}
