:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", sans-serif;
  color: #10203b;
  background: #f7f9fd;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.7;
  background: radial-gradient(circle at 88% 3%, #e9f0ff 0, transparent 30rem),
              radial-gradient(circle at 4% 36%, #eaf8f8 0, transparent 28rem), #f7f9fd;
}
a { color: #2554ae; text-underline-offset: .18em; }
a:hover { color: #0c347e; }
button { font: inherit; }
:focus-visible { outline: 3px solid #3ab5cc; outline-offset: 4px; }
header, main, footer { width: min(100% - 48px, 1160px); margin-inline: auto; }
header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 94px; border-bottom: 1px solid #dce4ef;
}
header .brand {
  display: inline-flex; align-items: center; gap: 12px; color: #10203b;
  font-size: 1.18rem; font-weight: 800; letter-spacing: -.035em;
  text-decoration: none; white-space: nowrap;
}
header .brand::before {
  content: ""; width: 38px; height: 38px; flex: none; border-radius: 12px;
  background: radial-gradient(circle at 35% 34%, #fff 0 3px, transparent 3.5px),
              radial-gradient(circle at 66% 66%, #fff 0 3px, transparent 3.5px),
              linear-gradient(135deg, #376dd5, #20a8be);
  box-shadow: 0 7px 17px #2758b733, inset 0 1px 0 #ffffff7a;
}
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
nav a {
  padding: 9px 13px; border-radius: 10px; color: #4a5d78;
  font-size: .92rem; font-weight: 650; text-decoration: none;
  transition: background .2s, color .2s;
}
nav a:hover { color: #153a82; background: #e9eff9; }
main { padding-bottom: 96px; }
.languages {
  display: flex; justify-content: flex-end; gap: 4px; flex-wrap: wrap;
  margin: 21px 0 20px;
}
.languages button {
  padding: 7px 13px; border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: #65748b; font-size: .83rem;
  font-weight: 650; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.languages button:hover { color: #153a82; background: #e9eff9; }
.languages button[aria-pressed="true"] {
  color: #173b80; background: #fff; border-color: #d4e1f1;
  box-shadow: 0 2px 8px #1331630d;
}
[data-lang]:not([data-active]) { display: none; }
.hero {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-content: center; min-height: 550px; overflow: hidden; padding: 58px 60px;
  border: 1px solid #29486e; border-radius: 34px;
  background: radial-gradient(circle at 88% 20%, #1c668d80 0, transparent 42%),
              radial-gradient(circle at 5% 115%, #304db87a 0, transparent 46%),
              linear-gradient(125deg, #101f41 0%, #0b2d51 60%, #0c405d 100%);
  box-shadow: 0 24px 64px #142d5a1f, inset 0 1px 0 #ffffff24; color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .26;
  background-image: radial-gradient(#ffffff66 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent 38%, #000);
}
.hero::after {
  content: ""; grid-column: 2; grid-row: 1 / 5; align-self: center;
  width: 100%; height: 455px;
  background: url("pair-visual.svg") center / contain no-repeat;
  filter: drop-shadow(0 26px 30px #04153066);
}
.hero > * { grid-column: 1; }
.eyebrow {
  width: fit-content; margin: 0 0 21px; padding: 7px 12px;
  border: 1px solid #9bdbe64a; border-radius: 999px;
  background: #7ddfea19; color: #aee6ee; font-size: .75rem;
  font-weight: 780; letter-spacing: .12em; text-transform: uppercase;
}
h1 { margin: 0; font-weight: 790; letter-spacing: -.05em; }
.hero h1 {
  max-width: 630px; font-size: clamp(2.6rem, 4.25vw, 4.35rem);
  line-height: 1.16; text-wrap: balance;
}
.hero .lead {
  max-width: 560px; margin: 22px 0 0; color: #c9d7e9;
  font-size: 1.06rem; line-height: 1.85;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px; border: 1px solid #bfefff;
  border-radius: 12px; background: #d9f4fb; color: #102e59;
  font-size: .94rem; font-weight: 750; text-decoration: none;
  box-shadow: 0 7px 20px #071b3966;
  transition: transform .2s, background .2s;
}
.button::after { content: "↗"; margin-left: 13px; font-size: 1rem; }
.button:hover { transform: translateY(-2px); background: #fff; color: #102e59; }
.button.secondary { border-color: #bdd8ed7e; background: #ffffff0d; color: #fff; box-shadow: none; }
.button.secondary:hover { background: #ffffff20; color: #fff; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin: 22px 0 0;
}
.card {
  border: 1px solid #e1e8f2; border-radius: 22px;
  background: #fff; box-shadow: 0 10px 30px #16345e0b;
}
.feature-grid .card { min-height: 232px; padding: 30px; }
.feature-grid .card::before {
  content: ""; display: block; width: 33px; height: 4px; margin-bottom: 24px;
  border-radius: 999px; background: linear-gradient(90deg, #285cc9, #53bfca);
}
h2 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.025em; }
p { margin: 0; }
.feature-grid p { color: #5b6b80; font-size: .94rem; line-height: 1.8; }
.muted {
  margin: 22px 0 0; padding: 18px 22px; border-left: 3px solid #5fc4cf;
  border-radius: 0 12px 12px 0; background: #eef5f9;
  color: #53667d; font-size: .9rem;
}
.muted a { margin-inline: .2em; font-weight: 700; }
article > h1 {
  max-width: 820px; margin: 66px auto 12px;
  font-size: clamp(2.45rem, 4vw, 3.8rem); line-height: 1.2; text-align: center;
}
article > .lead {
  max-width: 740px; margin: 0 auto 43px; color: #5e7086;
  font-size: 1.08rem; line-height: 1.85; text-align: center;
}
article > .card { max-width: 840px; margin: 18px auto; padding: 32px 38px; }
article > .card h2 { color: #123466; font-size: 1.3rem; }
article > .card p, article > .card li { color: #4d6077; line-height: 1.9; }
article > .card ol { margin: 22px 0 0; padding: 0; list-style: none; }
article > .card li {
  position: relative; min-height: 40px; margin: 0 0 20px;
  padding-left: 53px;
}
article > .card li:last-child { margin-bottom: 0; }
.step-number {
  position: absolute; top: 2px; left: 0;
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 11px; background: #eaf2ff; color: #2452a9;
  font-size: .75rem; font-weight: 800;
}
footer {
  padding: 26px 0 38px; border-top: 1px solid #dce4ef;
  color: #748399; font-size: .83rem;
}
@media (max-width: 950px) {
  .hero { grid-template-columns: minmax(0, 1fr) 36%; padding: 44px; }
  .hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
  .hero::after { height: 390px; }
}
@media (max-width: 720px) {
  header, main, footer { width: min(100% - 32px, 1160px); }
  header { min-height: 80px; flex-wrap: wrap; padding: 17px 0; gap: 11px; }
  nav { width: 100%; gap: 0; margin-left: -10px; }
  nav a { padding: 7px 10px; font-size: .85rem; }
  .languages { justify-content: flex-start; gap: 2px; margin: 17px 0; }
  .languages button { padding: 7px 10px; font-size: .79rem; }
  .hero { display: block; min-height: 0; padding: 32px 26px 0; border-radius: 25px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero .lead { margin-top: 16px; font-size: 1rem; }
  .actions { margin-top: 25px; }
  .hero::after { display: block; width: min(100%, 390px); height: 335px; margin: 4px auto -24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .feature-grid .card { min-height: 0; padding: 25px; }
  .feature-grid .card::before { margin-bottom: 16px; }
  article > h1 { margin-top: 48px; }
  article > .lead { margin-bottom: 29px; }
  article > .card { padding: 25px; }
  main { padding-bottom: 64px; }
}
@media (max-width: 400px) {
  .hero { padding: 27px 21px 0; }
  .hero::after { height: 285px; }
  .button { width: 100%; }
  article > .card { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
