:root {
  color-scheme: light;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: #12273e;
  background: #f3f6fa;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, p, dl { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1469c2; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 6px;
  left: 10px;
  z-index: 1;
  padding: 10px 16px;
  color: #12273e;
  background: #fff;
}
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header { background: #102c47; color: #fff; }
.site-header :focus-visible { outline-color: #a4d5ff; }
.header-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.brand img { display: block; flex: none; border-radius: 10px; }
.site-header nav { display: flex; gap: 10px; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f4f9ff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a[href="#support"] { border-color: #65849f; }
.site-header nav a:hover { background: #ffffff20; }

.hero {
  border-bottom: 1px solid #d5e2f0;
  background: radial-gradient(ellipse at 88% 14%, #deebfb 0, transparent 53%),
    linear-gradient(115deg, #f7faff, #ebf2fa);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: 48px;
  padding-block: 47px;
}
h1 { font-size: clamp(2.125rem, 3.6vw, 3.25rem); line-height: 1.14; letter-spacing: -.06em; }
.program-intro h1 span { color: #155da6; }
.tagline {
  margin-top: 14px;
  color: #244867;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.45;
}
.summary { max-width: 31rem; margin-top: 8px; color: #425b72; font-size: 1.1875rem; }
h2 { font-size: 1.4375rem; line-height: 1.35; letter-spacing: -.04em; }
.test-notice {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border: 1px solid #abc9e8;
  border-radius: 8px;
  background: #ebf5ff;
}

.download-card {
  padding: 27px;
  border: 1px solid #c2d5ea;
  border-top: 5px solid #176bc1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px #27557e1c;
}
.download-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
}
#download-status { grid-column: 2; color: #425b72; font-size: 1.0625rem; }
.download-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 11px;
  background: #e5f0fc;
  color: #155da6;
}
.download-icon::before {
  content: "";
  grid-area: 1 / 1;
  width: 17px;
  height: 7px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  transform: translateY(6px);
}
.download-icon::after {
  content: "↓";
  grid-area: 1 / 1;
  font: 700 19px/1 system-ui, sans-serif;
  transform: translateY(-4px);
}
.download-action { margin-top: 21px; }
.download-button {
  display: grid;
  place-content: center;
  width: 100%;
  min-height: 69px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #145eb0;
  color: #fff;
  font: inherit;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
a.download-button:hover { background: #114d8d; }
.download-button:disabled {
  border-color: #a1bcdb;
  background: #dbe9f9;
  color: #284a70;
  opacity: 1;
}
.release-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #d6e2ee;
  font-size: .9375rem;
}
.release-info dt { color: #4b637a; }
.release-info dd { margin: 1px 0 0; font-weight: 700; }

.guides {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding-block: 26px 28px;
}
.guide-card {
  min-width: 0;
  padding: 23px 25px;
  border: 1px solid #d0dce8;
  border-radius: 16px;
  background: #fff;
  scroll-margin-top: 18px;
}
.guide-card h2 { margin-bottom: 15px; }
.steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  counter-increment: install-step;
}
.steps li + li {
  padding-top: 13px;
  border-top: 1px solid #dfe8f2;
}
.steps li::before {
  content: counter(install-step);
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7f1fc;
  color: #155da6;
  font-size: 1.0625rem;
  font-weight: 700;
}
.steps strong { font-size: 1.1875rem; }
.steps p { font-size: 1.125rem; }
.support p { font-size: 1.0625rem; }
.steps p, .support p { color: #405a71; }
.steps p { margin-top: 3px; }
.contact-list {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #d6e2ee;
  border-radius: 10px;
  background: #f2f7fc;
}
.contact-list dt { color: #405a71; font-size: .9375rem; font-weight: 700; }
.contact-list dd {
  margin: 3px 0 0;
  color: #12273e;
  font-size: 1.0625rem;
  font-weight: 700;
}

.error-page { max-width: 760px; padding-block: 36px; }
.error-page h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.error-page p { margin-block: 14px; color: #405a71; font-size: 1.0625rem; }
.error-page .guide-card a { display: inline-flex; align-items: center; min-height: 44px; color: #155da6; }

@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); }
}

@media (max-width: 900px) {
  .hero-inner { gap: 24px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 0 8px; }
  .brand { gap: 7px; font-size: 1rem; line-height: 1.35; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .site-header nav { gap: 2px; }
  .site-header nav a { padding-inline: 6px; font-size: .875rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 15px; padding-block: 18px; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); line-height: 1.2; }
  .tagline { margin-top: 8px; font-size: 1.1875rem; }
  .summary { margin-top: 4px; font-size: 1.0625rem; }
  h2 { font-size: 1.3125rem; }
  .download-card { padding: 14px 16px; }
  .download-heading { justify-content: start; gap: 4px 9px; }
  .download-icon { grid-row: auto; width: 36px; height: 36px; }
  #download-status { grid-column: 1 / -1; }
  .download-action { margin-top: 10px; }
  .download-button { min-height: 62px; padding-inline: 8px; font-size: 1.1875rem; }
  .release-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 6px 8px;
    margin-top: 14px;
    padding-top: 10px;
  }
  .guides { grid-template-columns: 1fr; gap: 13px; padding-top: 18px; }
  .guide-card { padding: 16px 17px; }
  .guide-card h2 { margin-bottom: 10px; }
}
