:root {
  color-scheme: light;
  font-family: system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #e8f0fc;
  color: #182d50;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 22%, #f9fbff 3%, transparent 56%),
    linear-gradient(158deg, #e0eafa, #eff4fd 52%, #dae8fb);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #075bdd; outline-offset: 4px; }

.site-bar {
  min-height: 62px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  background: #f8fbffbb;
  border-bottom: 1px solid #ffffffed;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(124px, 18vw, 176px); height: auto; }
.site-bar nav { display: flex; flex-wrap: wrap; gap: 5px; font-size: 14px; }
.site-bar nav a { padding: 8px 12px; border-radius: 9px; }
.site-bar nav a:hover { background: #dbe9fc; }

.chooser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 62px);
  padding: clamp(26px, 4vw, 58px) max(20px, calc((100% - 1130px) / 2)) clamp(36px, 6vw, 82px);
}
.chooser::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -82% -45% -22%;
  transform: perspective(650px) rotateX(52deg);
  transform-origin: 50% 70%;
  background-image:
    linear-gradient(#7ba7e439 1px, transparent 1px),
    linear-gradient(90deg, #7ba7e439 1px, transparent 1px);
  background-size: 68px 42px;
  mask-image: linear-gradient(transparent 8%, #000 66%);
  pointer-events: none;
}
.heading { text-align: center; margin-bottom: clamp(22px, 3vw, 42px); }
.heading h1 {
  display: flex;
  gap: clamp(10px, 4vw, 44px);
  justify-content: center;
  align-items: center;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 850;
  font-style: italic;
  letter-spacing: .065em;
  line-height: 1.2;
}
.heading h1::before,
.heading h1::after {
  content: "";
  width: clamp(21px, 6vw, 71px);
  height: 6px;
  transform: skewX(-38deg);
  background: repeating-linear-gradient(90deg, #2d7aff 0 9px, #edf5ff 9px 12px);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
}
.heading h1::after { mask-image: linear-gradient(270deg, transparent, #000 85%); }
.heading p { margin: 12px 0 0; color: #40577b; font-size: clamp(13px, 1.25vw, 16px); letter-spacing: .09em; }

.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 25px); }
.model-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px clamp(18px, 2.5vw, 34px) clamp(19px, 2.5vw, 31px);
  border: 2px solid #ffffffdf;
  border-radius: 28px;
  background: linear-gradient(148deg, #f9fcffd9, #f0f6ffe8);
  box-shadow: 0 15px 32px #315c9b1d, inset 0 1px 5px #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.model-card--primary,
.model-card:focus-visible {
  border-color: #5599ff;
  box-shadow: 0 10px 28px #3b81f641, inset 0 1px 5px #fff;
}
@media (hover: hover) {
  .model-card:hover {
    border-color: #5599ff;
    box-shadow: 0 17px 36px #3b81f644, inset 0 1px 5px #fff;
    transform: translateY(-3px);
  }
}
.model-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: clamp(170px, 18vw, 242px);
}
.model-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 4% 8% 4%;
  height: 35%;
  border-radius: 50%;
  border: 2px solid #fff9;
  background: radial-gradient(ellipse, #cfe2fd 10%, #f9fcffcf 68%);
  box-shadow: 0 11px 0 #dbe8fb, 0 19px 26px #4879be20;
}
.model-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 7px #12274435);
}
.model-copy h2 {
  margin: 5px 0 0;
  font-size: clamp(23px, 3.1vw, 42px);
  font-style: italic;
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -.047em;
}
.model-copy h2 span { color: #1463e7; }
.model-copy h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 62px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #176bff 55%, #b3d2ff 56%, transparent);
}
.model-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 21px;
  color: #3d5273;
  font-size: clamp(12px, 1.16vw, 15px);
}
.model-copy li + li { padding-inline-start: 10px; border-inline-start: 1px solid #9fb4d3; }

.model-action {
  align-self: center;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: min(190px, 100%);
  padding: 9px 22px;
  margin-top: auto;
  border: 1px solid #a5c5fb;
  border-radius: 13px;
  color: #124cb9;
  background: #f6f9ff;
  font-weight: 750;
  box-shadow: 0 4px 10px #2a64b319;
}
.model-action span { font-size: 21px; line-height: 1; }
.model-card--primary .model-action {
  border-color: #559cff;
  color: #fff;
  background: linear-gradient(155deg, #1d6de8, #154fcb);
  box-shadow: 0 6px 15px #075ee539;
}

@media (max-width: 660px) {
  .site-bar { padding: 10px 16px; }
  .chooser { padding-inline: max(14px, calc((100% - 490px) / 2)); }
  .models { grid-template-columns: 1fr; }
  .model-art { height: clamp(175px, 51vw, 230px); }
  .model-copy h2 { font-size: clamp(25px, 7.7vw, 36px); }
  .model-card { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .model-card { transition: none; }
  .model-card:hover { transform: none; }
}
