:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #191b20;
  --quiet: #535761;
  --blue: #2245ce;
  --rule: #d9dbe1;
  --pad: clamp(1.25rem, 5vw, 4rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #6684f6; outline-offset: 5px; }
.wrap { width: min(100% - 2 * var(--pad), 76rem); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; transform: translateY(-180%); background: white; z-index: 2; padding: .6rem; }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--rule); }
.nav, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nav { min-height: 4.25rem; padding-block: .8rem; }
.brand { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 780; letter-spacing: -.045em; text-decoration: none; }
.brand span { color: #5274ff; }
.nav-links { display: flex; gap: clamp(.75rem, 3vw, 2rem); font-size: .9rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3.5rem, 8vw, 8rem); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.3vw, 5.6rem); line-height: .98; font-weight: 760; letter-spacing: -.055em; }
h1 em { color: var(--blue); font-style: normal; }
.hero p { max-width: 34rem; margin-top: 1.6rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--quiet); }
.button { display: inline-flex; gap: 1rem; align-items: center; margin-top: 1.7rem; padding: .8rem 1.15rem; border-radius: 2rem; color: white; background: var(--blue); text-decoration: none; font-weight: 650; }
.button:hover { background: #1936aa; }
.hero-art { display: block; width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; border-radius: 1.3rem; background: #15369b; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -.05em; margin-bottom: clamp(1.4rem, 4vw, 2.8rem); }
.services { padding-bottom: clamp(3rem, 7vw, 6rem); }
.service { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding-block: clamp(1.65rem, 4vw, 3.2rem); }
.service:last-child { border-bottom: 1px solid var(--rule); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.45rem); line-height: 1.08; letter-spacing: -.042em; }
.service p, .partner-grid p { color: var(--quiet); line-height: 1.6; }
.service ul { padding-left: 1.2rem; line-height: 1.6; margin: .75rem 0 0; }
.service li + li { margin-top: .25rem; }
.partners { background: #eff1f6; padding-block: clamp(3rem, 7vw, 6rem); }
.partners h2 { margin-bottom: .85rem; }
.partner-intro { max-width: 62ch; margin-bottom: clamp(1.4rem, 3vw, 2.5rem); color: var(--quiet); line-height: 1.6; font-size: 1.1rem; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.partner-grid article { display: flex; flex-direction: column; gap: .8rem; background: white; border-radius: 1rem; padding: clamp(1.2rem, 2.7vw, 2rem); }
.partner-grid h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.partner-grid a { color: var(--blue); font-weight: 650; margin-top: auto; padding-top: .3rem; }
.footer { background: #171a22; color: white; padding-block: 2rem; }
.footer p { color: #c6cbd9; line-height: 1.5; font-size: .9rem; }
@media (max-width: 48rem) {
  .hero, .service { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 1.7; }
  .partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 23rem) {
  .nav, .footer-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background .16s ease; }
}

.service li a, .detail a { color: var(--blue); }
.detail { max-width: 52rem; padding-block: clamp(3rem, 7vw, 6rem); }
.detail h1 { font-size: clamp(2.45rem, 5.5vw, 5rem); }
.detail .detail-intro { max-width: 43rem; margin-top: 1.35rem; font-size: 1.25rem; color: var(--quiet); }
.detail section, .detail nav { border-top: 1px solid var(--rule); margin-top: 2.25rem; padding-top: 1.65rem; }
.detail h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.035em; margin-bottom: .75rem; }
.detail p, .detail li { line-height: 1.6; }
.detail ul { margin-block: 0; padding-left: 1.2rem; }
.detail li + li { margin-top: .35rem; }

/* Keep each service readable as a single editorial panel. */
:root { --paper: #fafaf8; --rule: #dce0e8; }
.top { background: #fff; }
.hero { padding-block: clamp(3rem, 6vw, 6rem); }
.hero-art { box-shadow: 0 1.2rem 3rem -1.6rem #17245166; }
.service {
  border: 1px solid var(--rule);
  border-radius: 1.35rem;
  background: #fff;
  padding: clamp(1.45rem, 3.6vw, 3rem);
  margin-top: 1rem;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
}
.service h3 { max-width: 16ch; }
.service ul { list-style: none; padding: 0; margin-top: 1rem; }
.service li { padding-block: .48rem; border-top: 1px solid #e9ebef; }
.service li a { text-decoration-thickness: 1px; text-decoration-color: #adbbed; }
.service li a:hover { text-decoration-color: currentColor; }
.partner-grid article { border: 1px solid #e0e4ee; }
.detail { max-width: 60rem; }
.detail h1 { max-width: 18ch; }
.detail .detail-intro { border-left: 3px solid var(--blue); padding-left: 1rem; }
.detail section { border: 1px solid var(--rule); border-radius: 1.2rem; background: white; padding: clamp(1.25rem,3vw,2.3rem); margin-top: 1.25rem; }
.detail section:first-of-type { margin-top: 2.5rem; }
.detail nav ul { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; }
.detail nav li { margin: 0; }
.detail nav a { display: inline-block; background: #eef1fc; border-radius: .65rem; padding: .6rem .85rem; text-decoration: none; }
.detail nav a:hover { text-decoration: underline; }
@media (max-width: 48rem) { .service { grid-template-columns: 1fr; } }
