:root {
  --ink: #152033;
  --body: #2a384c;
  --muted: #5a6a7d;
  --paper: #f2f5f9;
  --paper-2: #e4ebf3;
  --white: #fbfcfe;
  --line: rgba(21, 32, 51, 0.14);
  --blue: #1a4f8b;
  --blue-deep: #123864;
  --ice: #e3eef8;
  --sky: #1d6fbf;
  --sky-line: #7eaddb;
  --shadow: 0 22px 50px rgba(21, 32, 51, 0.1);
  --wrap: 1120px;
  --header: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% -10%, rgba(26, 79, 139, 0.07), transparent 46%),
    radial-gradient(ellipse at 100% 0%, rgba(126, 173, 219, 0.28), transparent 32%),
    var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: #d5e4f5;
  color: var(--blue-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.5vw, 4.35rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--sky-line);
}

.section-index {
  margin: 0 0 0.7rem;
  color: var(--sky);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--body);
  font-size: 1.15rem;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 245, 249, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: 210px;
  height: 50px;
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars {
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.hero {
  padding: 3.2rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: end;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--blue);
  color: #f4f8fc;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  color: var(--blue);
  border: 1px solid rgba(26, 79, 139, 0.35);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(26, 79, 139, 0.06);
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 160px 22px 22px 22px;
}

.hero-steps {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-steps li {
  background: rgba(251, 252, 254, 0.94);
  border-radius: 12px;
  padding: 0.65rem 0.7rem 0.75rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1.25;
}

.hero-steps span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--sky);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.82rem;
}

.focus,
.support,
.clients,
.method,
.improve {
  padding: 1rem 0 5rem;
  scroll-margin-top: calc(var(--header) + 1.25rem);
}

.focus-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.focus-copy h2 {
  margin-bottom: 1.25rem;
}

.focus-copy p + p,
.method-card p + p {
  margin-top: 1rem;
}

.focus-copy .body,
.method-card p,
.improve-lead,
.contact p,
.prose p,
.prose li {
  color: var(--body);
}

.chip-label {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 550;
}

.focus-figure {
  position: relative;
  margin: 1.2rem 0 0;
}

.focus-figure::after {
  content: "";
  position: absolute;
  inset: 22px -16px -16px 22px;
  border: 1px solid var(--sky-line);
  border-radius: 18px;
  z-index: 0;
}

.focus-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ledger li {
  display: grid;
  grid-template-columns: 4.2rem minmax(14rem, 0.85fr) 1.35fr;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.ledger .num {
  color: var(--blue);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1;
}

.ledger p {
  margin: 0;
  color: var(--body);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-grid li {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 18px;
}

.client-grid li:nth-child(1) { grid-column: span 4; }
.client-grid li:nth-child(2) { grid-column: span 2; background: var(--ice); }
.client-grid li:nth-child(3) { grid-column: span 3; background: var(--ice); }
.client-grid li:nth-child(4) { grid-column: span 3; }
.client-grid li:nth-child(5) { grid-column: span 2; }
.client-grid li:nth-child(6) { grid-column: span 4; background: var(--ice); }
.client-grid li:nth-child(7) {
  grid-column: span 6;
  background: var(--blue);
  color: #f4f8fc;
  min-height: 128px;
}

.client-grid p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 28rem;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(26, 79, 139, 0.12);
  color: var(--blue-deep);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.client-grid li:nth-child(7) .icon {
  background: rgba(244, 248, 252, 0.14);
  color: #f4f8fc;
}

.method-grid {
  align-items: stretch;
  grid-template-columns: 1fr auto 1fr;
}

.step-card {
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(21, 32, 51, 0.08);
}

.step-card.recommend {
  background: var(--blue);
  border-color: var(--blue);
}

.step-card.recommend p,
.step-card.recommend h3 {
  color: #f4f8fc;
}

.step-no {
  margin-bottom: 1.4rem;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--sky);
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p:last-child {
  color: var(--body);
}

.step-card.recommend .step-no {
  color: var(--sky-line);
}

.step-card.recommend p:last-child {
  color: rgba(244, 248, 252, 0.92);
}

.method-join {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
}

.method-join span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--sky-line);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.outcomes li {
  padding: 1.2rem 1rem 1.25rem;
  background: var(--white);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 14px 14px;
}

.outcomes span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--sky);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
}

.outcomes strong {
  display: block;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.improve-lead {
  max-width: 46rem;
  margin-top: 1rem;
  font-size: 1.15rem;
}

.contact {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(142, 196, 245, 0.22), transparent 36%),
    var(--blue);
  color: #f4f8fc;
  padding: 5.2rem 0;
}

.contact .kicker {
  color: #b9d7f5;
}

.contact .kicker::before {
  background: #b9d7f5;
}

.contact h2,
.contact p {
  color: #f4f8fc;
}

.contact-copy {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.08rem;
  color: rgba(244, 248, 252, 0.92);
}

.contact-mail {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.contact-mail span {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(244, 248, 252, 0.8);
}

.contact-mail a {
  color: #f7fbff;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  text-underline-offset: 0.16em;
}

.contact :focus-visible {
  outline-color: #f4f8fc;
}

.site-footer {
  padding: 2.4rem 0 2.6rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.3rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-legal p + p {
  margin-top: 0.2rem;
}

.prose-page {
  padding: 3rem 0 4.5rem;
}

.prose {
  max-width: 760px;
}

.prose h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.updated {
  margin-top: 0.8rem;
  color: var(--muted);
}

.prose h2 {
  margin-top: 2.3rem;
  font-size: 1.55rem;
}

.prose p,
.prose li {
  font-size: 1.02rem;
}

.prose p {
  margin-top: 0.85rem;
}

.prose ul,
.prose ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.company-card {
  margin-top: 1.6rem;
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--white);
  border-left: 3px solid var(--sky-line);
  border-radius: 0 16px 16px 0;
}

.company-card h2 {
  margin-top: 0;
}

.company-card p {
  margin-top: 0.35rem;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--body);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    z-index: 5;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.2rem 1.25rem 0.85rem;
    background: #f4f7fb;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(21, 32, 51, 0.08);
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .focus-grid,
  .method-grid,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .method-join {
    width: auto;
    padding: 0.4rem 0;
  }

  .hero-figure img,
  .focus-figure img {
    height: 380px;
    border-radius: 28px;
  }

  .focus-figure {
    margin-top: 2rem;
  }

  .focus-figure::after {
    inset: 12px -8px -8px 12px;
  }

  .ledger li {
    grid-template-columns: 3rem 1fr;
  }

  .ledger p {
    grid-column: 2;
  }

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

  .client-grid li,
  .client-grid li:nth-child(1),
  .client-grid li:nth-child(2),
  .client-grid li:nth-child(3),
  .client-grid li:nth-child(4),
  .client-grid li:nth-child(5),
  .client-grid li:nth-child(6),
  .client-grid li:nth-child(7) {
    grid-column: span 1;
    min-height: 150px;
  }

  .client-grid li:nth-child(7) {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.5rem));
  }

  .site-nav {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .brand img {
    width: 168px;
    height: 40px;
  }

  .contact-mail a {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-steps {
    position: static;
    margin-top: 0.8rem;
    grid-template-columns: 1fr 1fr;
  }

  .hero-figure img,
  .focus-figure img {
    height: 260px;
  }

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

  .client-grid li:nth-child(7) {
    grid-column: auto;
  }

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

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