:root {
  color-scheme: dark;
  --bg: #090c18;
  --bg-soft: #101527;
  --panel: rgba(17, 23, 43, .78);
  --panel-solid: #11182d;
  --line: rgba(161, 182, 217, .14);
  --line-strong: rgba(116, 244, 212, .38);
  --text: #f5f8ff;
  --muted: #97a7c4;
  --accent: #74f4d4;
  --accent-2: #8b7dff;
  --danger: #ff6d83;
  --warning: #ffcb6b;
  --success: #57e9ad;
  --shadow: 0 28px 90px rgba(0, 0, 0, .33);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(116, 244, 212, .1), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(139, 125, 255, .13), transparent 32%),
    linear-gradient(155deg, #090c18, #070a14 52%, #0e1221);
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.ambient-a {
  top: 34%;
  left: -220px;
  width: 460px;
  height: 460px;
  background: rgba(116, 244, 212, .08);
}

.ambient-b {
  right: -160px;
  bottom: 12%;
  width: 430px;
  height: 430px;
  background: rgba(139, 125, 255, .1);
}

.nav {
  width: min(1200px, calc(100% - 48px));
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: .02em;
}

.brand-mark {
  width: 41px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 244, 212, .33);
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(116, 244, 212, .18), rgba(139, 125, 255, .13));
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.support-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 404px;
  align-items: center;
  gap: 76px;
  padding: 66px 0 52px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 64px);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -.05em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--accent), #97dcff 45%, #bcb5ff);
  background-clip: text;
  font-style: normal;
}

.lead {
  max-width: 585px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.button-primary,
.button-quiet,
.button-secondary {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 25px;
  font-size: 15px;
  font-weight: 650;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}

.button-primary {
  background: linear-gradient(115deg, var(--accent), #49d9c9);
  color: #06151a;
  box-shadow: 0 13px 30px rgba(116, 244, 212, .18);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-quiet {
  border: 1px solid var(--line);
  background: rgba(16, 21, 39, .65);
  color: var(--text);
}

.button-secondary {
  background: rgba(116, 244, 212, .1);
  color: var(--accent);
}

.wide {
  width: 100%;
  margin-top: 4px;
}

button:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    linear-gradient(150deg, rgba(116, 244, 212, .06), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
}

.service-head {
  height: 59px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.service-head button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(87, 233, 173, .13);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.stock-grid.is-single {
  grid-template-columns: 1fr;
}

.stock-grid div {
  display: grid;
  gap: 8px;
  padding: 25px 22px;
  background: var(--panel-solid);
}

.stock-grid span,
.stock-grid small {
  color: var(--muted);
  font-size: 13px;
}

.stock-grid strong {
  color: var(--accent);
  font-size: 32px;
  font-weight: 730;
}

.mini-note {
  min-height: 45px;
  margin: 0;
  padding: 14px 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.privacy-strip {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-bottom: 34px;
  padding: 16px 21px;
  border: 1px solid rgba(116, 244, 212, .16);
  border-radius: 17px;
  background: rgba(116, 244, 212, .045);
}

.privacy-strip strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 14px;
}

.privacy-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(480px, 1.12fr) minmax(370px, .88fr);
  gap: 22px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 29px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .15);
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}

.section-head .section-label {
  margin-bottom: 9px;
}

.section-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 690;
  letter-spacing: -.03em;
}

.step-chip {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(139, 125, 255, .12);
  color: #b6adff;
  font-size: 12px;
  white-space: nowrap;
}

.selected-product {
  display: grid;
  margin-bottom: 25px;
}

.product {
  min-height: 111px;
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(9, 12, 24, .48);
  color: var(--text);
  max-width: 245px;
  text-align: left;
}

.product.is-active {
  border-color: rgba(116, 244, 212, .42);
  background: rgba(116, 244, 212, .055);
}

.product-logo {
  min-width: 32px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 750;
}

.product-logo.is-chat {
  background: rgba(116, 244, 212, .12);
  color: var(--accent);
}

.product strong {
  font-size: 14px;
}

.product small {
  color: var(--muted);
  font-size: 12px;
}

.form-stack {
  display: grid;
  gap: 17px;
}

.field {
  display: grid;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.field-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.field-title a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.field input,
.field textarea,
.lookup-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: rgba(7, 10, 20, .58);
  color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.field input {
  height: 51px;
  padding: 0 15px;
}

.field textarea {
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.58;
}

.field input:focus,
.field textarea:focus,
.lookup-form input:focus {
  border-color: rgba(116, 244, 212, .58);
  box-shadow: 0 0 0 4px rgba(116, 244, 212, .075);
}

.field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.consent-row,
.force-row {
  display: flex;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.consent-row input,
.force-row input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.force-row {
  padding: 12px 13px;
  border: 1px solid rgba(255, 203, 107, .25);
  border-radius: 12px;
  background: rgba(255, 203, 107, .06);
  color: var(--warning);
}

.notice {
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.notice.is-info {
  border-color: rgba(139, 125, 255, .3);
  background: rgba(139, 125, 255, .075);
  color: #c4beff;
}

.notice.is-success {
  border-color: rgba(87, 233, 173, .28);
  background: rgba(87, 233, 173, .075);
  color: var(--success);
}

.notice.is-error {
  border-color: rgba(255, 109, 131, .3);
  background: rgba(255, 109, 131, .075);
  color: #ff9aab;
}

.notice.is-warning {
  border-color: rgba(255, 203, 107, .3);
  background: rgba(255, 203, 107, .075);
  color: var(--warning);
}

.task-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(116, 244, 212, .2);
  border-radius: 14px;
  background: rgba(116, 244, 212, .045);
}

.task-box strong {
  display: block;
  color: var(--accent);
  font-size: 14px;
}

.task-box.is-complete {
  border-color: rgba(87, 233, 173, .28);
  background: rgba(87, 233, 173, .075);
}

.task-box.is-complete .spinner {
  display: none;
}

.task-box.is-complete strong {
  color: var(--success);
}

.task-box p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.spinner {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border: 2px solid rgba(116, 244, 212, .2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.query-intro {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-bottom: 15px;
}

.lookup-form input {
  height: 51px;
  padding: 0 14px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 17px 0 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
}

.result-grid div {
  padding: 14px;
  background: rgba(7, 10, 20, .52);
}

.result-grid dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.result-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
}

.guide {
  margin: 22px 0 55px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.guide-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 10, 20, .38);
}

.guide-grid span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .2em;
}

.guide-grid h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer {
  width: min(1200px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero,
  .workspace {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 38px;
  }

  .service-card {
    width: min(100%, 480px);
  }
}

@media (max-width: 660px) {
  .nav,
  .shell,
  .footer {
    width: min(100% - 28px, 1200px);
  }

  .nav {
    height: 70px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 43px 0 30px;
  }

  .hero h1 {
    font-size: clamp(35px, 11.5vw, 46px);
  }

  .lead {
    font-size: 15px;
  }

  .privacy-strip {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .panel,
  .guide {
    padding: 20px 16px;
    border-radius: 19px;
  }

  .selected-product,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .product {
    min-height: 76px;
    align-items: center;
    grid-template-columns: auto 1fr;
  }

  .product small {
    grid-column: 2;
  }

  .lookup-form {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
