:root {
  --blue: #186ccc;
  --blue-strong: #145a9e;
  --green: #99e265;
  --green-ink: #3c771d;
  --grey: #f4f4f4;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(24, 108, 204, 0.16);
  --pad: clamp(22px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 132px;
  height: auto;
}

.top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: end;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: var(--pad);
  background: var(--grey);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.hero-lead {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.6;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: var(--pad);
  background: var(--blue);
  color: #ffffff;
}

.aside-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.same-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.same-list li {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.same-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.section {
  padding: clamp(56px, 8vw, 100px) var(--pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-block-end: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.problem {
  border-top: 1px solid var(--line);
}

.problem .section-label {
  color: var(--blue);
}

.problem h2 {
  max-width: 18ch;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.flow li {
  padding: 20px 24px 0 0;
}

.flow-index {
  display: block;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.flow p {
  max-width: 26ch;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
}

.problem-close {
  max-width: 70ch;
  margin: 36px 0 0;
  padding: 16px 20px;
  border-inline-start: 3px solid var(--green);
  background: #edf7e2;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.changes {
  background: var(--grey);
  border-top: 1px solid var(--line);
}

.changes .section-label {
  color: var(--blue);
}

.change-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
}

.change {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.change-index {
  padding-block-start: 3px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.change h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.change p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 100px) var(--pad);
  background: var(--blue);
  color: #ffffff;
}

.who .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.who h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.who p {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 24px;
}

.role {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--pad) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a:focus-visible {
  outline: 2px solid var(--green-ink);
  outline-offset: 4px;
}

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

  .hero {
    min-height: 0;
  }

  .hero-aside {
    min-height: 44vh;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .flow li {
    padding: 18px 0;
  }

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

@media (max-width: 600px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top p {
    display: block;
    text-align: start;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .section-head h2,
  .who h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}

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