:root {
  color-scheme: light;
  --ink: #0b1730;
  --navy: #07152b;
  --blue: #1268e8;
  --sky: #7bd3f3;
  --paper: #f6f8fc;
  --muted: #52627a;
  --line: #dce5f0;
  --accent: #194a94;
  font-family: Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {
  outline: 3px solid #eb9f34;
  outline-offset: 3px;
}

.shell {
  width: min(1152px,calc(100% - 56px));
  margin-inline: auto;
}

.header {
  background: var(--navy);
  color: white;
}

.bar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,.nav {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #6cd4ef;
  color: #9de6fb;
  border-radius: 8px;
}

.nav {
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav a[aria-current] {
  color: #8edff8;
}

.hero {
  color: #fff;
  background: #07152b url('/uploads/mt979ilzyuzgpp.webp') right center/auto 100% no-repeat;
}

.hero-inner {
  padding: 92px 0 94px;
  min-height: 430px;
}

.hero-inner>div {
  width: min(100%,610px);
  position: relative;
  isolation: isolate;
}

.hero-inner>div::before {
  content: "";
  position: absolute;
  inset: -50px -55px;
  z-index: -1;
  background: radial-gradient(ellipse at left,#07152b 35%,#07152bdb 56%,transparent 78%);
  pointer-events: none;
}

.eyebrow {
  color: #a0e3f6;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,.detail h1 {
  font-size: clamp(42px,7.6vw,86px);
  line-height: 1.04;
  letter-spacing: -.05em;
  margin: 16px 0 18px;
}

.hero-copy {
  color: #dbe9fb;
  line-height: 1.7;
  font-size: 18px;
  max-width: 365px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 750;
  line-height: 1.25;
}

.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.ghost {
  background: #07152baa;
  border-color: #6e92bb;
  color: #fff;
}

.button:hover {
  filter: brightness(.93);
}

.catalog {
  padding: 55px 0 64px;
  scroll-margin: 12px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(23px,3vw,34px);
  margin: 0;
}

.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filters button {
  border: 0;
  padding: 7px 12px;
  border-radius: 100px;
  color: var(--muted);
  background: transparent;
}

.filters button[aria-pressed=true] {
  color: #0b4091;
  background: #e0edff;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  border-color: #9ab9e4;
}

.card h3 {
  font-size: 24px;
  margin: 8px 0 0;
}

.card .category {
  font-size: 13px;
  color: var(--accent);
  font-weight: 800;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 21px;
}

.card .card-link {
  margin-top: auto;
  color: #0a57bb;
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 34px;
  font-size: 14px;
}

.inner {
  min-height: 72vh;
  padding: 47px 0 65px;
}

.breadcrumb {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 700;
}

.detail {
  max-width: 740px;
}

.detail .eyebrow {
  color: var(--accent);
}

.detail h1 {
  font-size: clamp(35px,5.6vw,59px);
}

.lede {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
}

.brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 24px 0;
}

.panel,.brief div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 19px;
}

.brief strong {
  display: block;
  margin-bottom: 6px;
}

.brief div,.panel p,.help {
  line-height: 1.65;
  color: var(--muted);
}

form {
  max-width: 650px;
}

label {
  display: block;
  font-weight: 740;
  margin: 14px 0 6px;
}

input,textarea {
  display: block;
  width: 100%;
  border: 1px solid #bdc9da;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  line-height: 1.5;
}

textarea {
  min-height: 105px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 500;
  line-height: 1.5;
}

.consent input {
  display: inline-block;
  width: auto;
}

.consent a,.help a {
  color: #0a57bb;
  text-decoration: underline;
}

.status {
  margin-top: 15px;
}

.status[data-error=true] {
  color: #a92328;
}

.orders {
  display: grid;
  gap: 10px;
  max-width: 800px;
}

.order-row {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}

.order-row strong {
  display: block;
}

.order-row p {
  margin: 5px 0;
}

.small {
  font-size: 13px;
}

.qr {
  width: 220px;
  height: 220px;
  display: block;
  margin: 12px 0;
}

.status-tag {
  font-size: 13px;
  color: #114788;
  font-weight: 750;
}

.price {
  font-size: 23px;
  font-weight: 850;
}

.preline {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media(max-width:780px) {
  .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .hero {
    background-image: linear-gradient(90deg,#07152bee,#07152b5c),url('/uploads/mt98x2d8wwg41l.webp');
    background-size: cover;
  }
  .hero-inner {
    min-height: auto;
    padding: 66px 0;
  }
  .hero-inner>div::before {
    display: none;
  }
}

@media(max-width:520px) {
  .shell {
    width: calc(100% - 32px);
  }
  .bar {
    height: 58px;
  }
  .brand {
    gap: 6px;
  }
  .nav {
    gap: 12px;
    font-size: 12px;
  }
  .nav a[href='/#path'] {
    display: none;
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-inner {
    padding: 60px 0;
  }
  .catalog,.inner {
    padding-top: 33px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .cards,.brief {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .order-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
