:root {
  color: #17212b;
  background: #eef2f4;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  border-left: 8px solid #143b58;
  background: #eef2f4;
}

.gateway {
  width: min(960px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  padding: 34px 0 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #143b58;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.brand-name {
  color: #143b58;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 2px;
  padding: 3px;
  border: 1px solid #c7d0d6;
  border-radius: 6px;
  background: #fff;
}

.language-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #52616d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-button:hover,
.language-button:focus-visible {
  color: #143b58;
  outline: 2px solid #7894a5;
  outline-offset: -2px;
}

.language-button.is-active {
  background: #143b58;
  color: #fff;
}

.choice-panel {
  align-self: center;
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #b3462f;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #17212b;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.intro {
  margin: 18px 0 24px;
  color: #52616d;
  font-size: 17px;
  line-height: 1.7;
}

.notice {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 4px solid #b3462f;
  background: #fff;
  box-shadow: 0 8px 22px rgb(29 49 63 / 6%);
}

.notice strong {
  display: block;
  margin-bottom: 7px;
  color: #923621;
  font-size: 15px;
}

.notice p {
  margin: 0;
  color: #42515c;
  font-size: 14px;
  line-height: 1.75;
}

.notice a {
  color: #143b58;
  font-weight: 700;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.choice {
  min-height: 136px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid #c7d0d6;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(29 49 63 / 8%);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.choice:hover,
.choice:focus-visible {
  border-color: #577385;
  box-shadow: 0 14px 34px rgb(29 49 63 / 14%);
  transform: translateY(-2px);
  outline: none;
}

.choice-new {
  border-top: 4px solid #b3462f;
}

.choice-old {
  border-top: 4px solid #27745c;
}

.choice-icon {
  display: grid;
  width: 48px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #e6ecef;
  color: #143b58;
  font-size: 15px;
  font-weight: 800;
}

.choice-new .choice-icon {
  background: #f8e7e2;
  color: #923621;
}

.choice-old .choice-icon {
  background: #e1f0ea;
  color: #1e654f;
}

.choice-copy {
  min-width: 0;
}

.choice-copy strong,
.choice-copy small {
  display: block;
}

.choice-copy strong {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
}

.choice-copy small {
  color: #64727c;
  font-size: 14px;
  line-height: 1.55;
}

.arrow {
  color: #143b58;
  font-size: 24px;
}

footer {
  padding-top: 20px;
  border-top: 1px solid #cfd7dc;
  color: #6a7780;
  font-size: 12px;
}

@media (max-width: 700px) {
  body {
    border-top: 6px solid #143b58;
    border-left: 0;
    background: #eef2f4;
  }

  .gateway {
    width: min(100% - 30px, 560px);
    gap: 24px;
    padding-top: 24px;
  }

  .topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .language-button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

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

  .choice {
    min-height: 118px;
    padding: 20px;
  }

  .notice {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .choice {
    transition: none;
  }
}
