:root {
  color-scheme: light;
  --ink: #171b26;
  --muted: #737986;
  --line: #e7e8eb;
  --paper: #fbfaf8;
  --accent: #c9ef73;
  --night: #101522;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.site-header {
  align-items: center;
  background: var(--night);
  color: #fff;
  display: flex;
  height: 82px;
  justify-content: space-between;
  padding: 0 max(7.5vw, 28px);
}

.brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 11px;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--night);
  display: inline-flex;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.brand-light { color: #adb2bc; font-weight: 500; }
.brand-label { text-transform: uppercase; }

.header-link {
  color: #d7d9de;
  font-size: 13px;
  text-decoration: none;
}

.header-link span { color: var(--accent); margin-left: 7px; }

.hero {
  background: var(--night);
  color: white;
  min-height: 572px;
  overflow: hidden;
  padding: 88px max(7.5vw, 28px) 25px;
  position: relative;
}

.hero-copy { max-width: 570px; position: relative; z-index: 1; }

.eyebrow {
  align-items: center;
  color: #7d8492;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 9px;
  letter-spacing: .18em;
  margin: 0 0 19px;
  text-transform: uppercase;
}

.hero .eyebrow { color: #bdc1ca; }
.eyebrow-dot { background: var(--accent); border-radius: 50%; height: 6px; width: 6px; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(42px, 5.7vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 590px;
}

h1 span { color: var(--accent); }

.hero-description {
  color: #aeb3be;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 425px;
}

.primary-link {
  align-items: center;
  background: var(--accent);
  border-radius: 3px;
  color: var(--night);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 28px;
  justify-content: space-between;
  min-width: 157px;
  padding: 14px 17px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.primary-link:hover { background: #d7f69a; transform: translateY(-2px); }

.trust-note {
  align-items: center;
  color: #838a98;
  display: flex;
  font-size: 11px;
  gap: 9px;
  margin-top: 27px;
}

.lock-icon { color: var(--accent); font-size: 17px; }

.hero-art {
  height: 420px;
  position: absolute;
  right: max(8vw, 35px);
  top: 62px;
  width: 420px;
}

.orbit {
  border: 1px solid rgba(201, 239, 115, .15);
  border-radius: 50%;
  height: 360px;
  left: 30px;
  position: absolute;
  top: 18px;
  transform: rotate(-31deg) scaleY(.48);
  width: 360px;
}

.orbit-one { border-color: rgba(201, 239, 115, .25); transform: rotate(38deg) scaleY(.52); }
.orbit-two { height: 275px; left: 72px; top: 59px; width: 275px; }

.orb-core {
  align-items: center;
  background: radial-gradient(circle at 34% 28%, #303b48, #18212d 65%, #111722);
  border: 1px solid rgba(201, 239, 115, .42);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(201, 239, 115, .08), inset 0 0 60px rgba(201, 239, 115, .05);
  color: var(--accent);
  display: flex;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 44px;
  height: 184px;
  justify-content: center;
  left: 117px;
  letter-spacing: -.08em;
  position: absolute;
  top: 104px;
  width: 184px;
}

.orb-core:after {
  border: 1px solid rgba(201, 239, 115, .4);
  border-radius: 50%;
  content: "";
  inset: -14px;
  position: absolute;
}

.art-caption, .art-index {
  color: #8d95a2;
  font-size: 9px;
  letter-spacing: .16em;
  line-height: 1.7;
  position: absolute;
}

.art-caption { right: 3px; top: 162px; }
.art-index { bottom: 56px; left: 24px; }

.hero-meta {
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #717987;
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: .17em;
  margin-top: 57px;
  padding-top: 18px;
}

.catalog-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 92px 7.5vw 112px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading .eyebrow { margin-bottom: 12px; }

h2 {
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 0;
}

.section-aside {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 3px;
}

.catalog-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.filter-group { display: flex; gap: 24px; }

.filter-button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #828793;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 0 0 14px;
}

.filter-button:hover, .filter-button.is-active { color: var(--ink); }
.filter-button.is-active { border-bottom-color: var(--ink); }
.catalog-count { color: #8a8e98; font-size: 11px; margin: 0 0 14px; }

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}

.product-card:hover { border-color: #c7cbd0; transform: translateY(-3px); }
.product-image { background: #f0f1ed; height: 175px; object-fit: cover; width: 100%; }
.product-image-placeholder { align-items: center; background: #f1f2ed; color: #8c977b; display: flex; font: 600 38px "Segoe UI", Arial, sans-serif; height: 175px; justify-content: center; letter-spacing: -.08em; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 21px 20px; }
.product-type { color: #78805f; font-size: 9px; font-weight: 700; letter-spacing: .16em; margin-bottom: 11px; text-transform: uppercase; }
.product-card h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin-bottom: 9px; overflow-wrap: anywhere; }
.product-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 22px; white-space: pre-line; }
.price-list { border-top: 1px solid var(--line); margin-top: auto; }
.price-option { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 10px; justify-content: space-between; padding: 14px 0; }
.price-option:last-child { border-bottom: 0; padding-bottom: 0; }
.price-value { font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.price-frequency { color: #8a8e98; font-size: 10px; margin-top: 3px; }
.buy-button { background: var(--night); border: 1px solid var(--night); border-radius: 2px; color: #fff; cursor: pointer; font: inherit; font-size: 10px; font-weight: 600; padding: 10px 12px; white-space: nowrap; }
.buy-button:hover { background: #293041; }
.buy-button:disabled { cursor: wait; opacity: .65; }

.catalog-status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 11px;
  justify-content: center;
  min-height: 130px;
  text-align: center;
}

.catalog-status[hidden] { display: none; }
.loading-mark { animation: spin 1s linear infinite; border: 2px solid #e1e4dc; border-radius: 50%; border-top-color: #82945d; height: 17px; width: 17px; }
.status-error { color: #a13939; }
.empty-state { color: var(--muted); font-size: 13px; grid-column: 1 / -1; padding: 25px 0; }

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #858994;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding: 25px max(7.5vw, 28px);
}

.footer-brand { color: var(--ink); font-size: 10px; }
.footer-brand .brand-mark { height: 28px; width: 28px; }
.site-footer p { margin: 0; }

.success-page { align-items: center; background: var(--night); color: #fff; display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.return-card { background: #191f2c; border: 1px solid #303747; border-radius: 6px; max-width: 520px; padding: 45px; text-align: center; width: 100%; }
.return-card .brand { justify-content: center; margin-bottom: 34px; }
.return-card h1 { font-size: 34px; margin: 0 auto 15px; }
.return-card p { color: #adb3bd; font-size: 14px; line-height: 1.8; margin-bottom: 27px; }
.return-card .primary-link { justify-content: center; }

html[data-brand-theme="nova"] {
  --ink: #11182a;
  --muted: #737d92;
  --line: #e2e8f0;
  --paper: #f7f9fc;
  --accent: #65ead6;
  --night: #0a1020;
  font-family: "Segoe UI", Arial, sans-serif;
}

html[data-brand-theme="nova"] .hero {
  background:
    radial-gradient(ellipse at 82% 36%, rgba(86, 115, 255, .18), transparent 34%),
    radial-gradient(ellipse at 57% 92%, rgba(54, 220, 199, .1), transparent 42%),
    var(--night);
}

html[data-brand-theme="nova"] .brand-mark {
  background: linear-gradient(135deg, #65ead6, #a5a8ff);
  box-shadow: 0 0 24px rgba(101, 234, 214, .22);
}

html[data-brand-theme="nova"] .orbit { border-color: rgba(101, 234, 214, .2); }
html[data-brand-theme="nova"] .orbit-one { border-color: rgba(138, 150, 255, .3); }

html[data-brand-theme="nova"] .orb-core {
  background: radial-gradient(circle at 34% 28%, #303960, #151d39 65%, #0b1124);
  border-color: rgba(101, 234, 214, .58);
  box-shadow: 0 0 90px rgba(101, 234, 214, .14), inset 0 0 60px rgba(138, 150, 255, .1);
}

html[data-brand-theme="nova"] .orb-core:after { border-color: rgba(138, 150, 255, .5); }
html[data-brand-theme="nova"] .primary-link { border-radius: 6px; }
html[data-brand-theme="nova"] .primary-link:hover { background: #8af3e3; }
html[data-brand-theme="nova"] .product-card { border-radius: 12px; box-shadow: 0 8px 26px rgba(24, 37, 66, .045); }
html[data-brand-theme="nova"] .product-card:hover { border-color: #b7c1d5; box-shadow: 0 14px 32px rgba(24, 37, 66, .09); }
html[data-brand-theme="nova"] .product-image { background: #eaf0ff; }
html[data-brand-theme="nova"] .product-image-placeholder { background: linear-gradient(135deg, #e8f0ff, #dff9f4); color: #5370a8; }
html[data-brand-theme="nova"] .product-type { color: #347e85; }
html[data-brand-theme="nova"] .buy-button { border-radius: 6px; }
html[data-brand-theme="nova"] .buy-button:hover { background: #283756; }
html[data-brand-theme="nova"] .loading-mark { border-top-color: #507edc; }
html[data-brand-theme="nova"] .return-card { background: #111a31; border-color: #263453; border-radius: 14px; }

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

@media (max-width: 850px) {
  .hero { min-height: 550px; }
  .hero-art { opacity: .55; right: -120px; }
  .hero-copy { max-width: 520px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .site-header { height: 68px; padding: 0 22px; }
  .brand { font-size: 10px; gap: 8px; }
  .brand-mark { height: 30px; width: 30px; }
  .header-link { font-size: 11px; }
  .hero { min-height: 575px; padding: 77px 24px 23px; }
  .hero-art { opacity: .27; right: -220px; top: 155px; transform: scale(.85); transform-origin: top left; }
  h1 { font-size: clamp(43px, 12vw, 59px); }
  .hero-description { font-size: 14px; max-width: 335px; }
  .hero-meta { font-size: 8px; margin-top: 72px; }
  .catalog-section { padding: 67px 23px 78px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 31px; }
  .section-aside br { display: none; }
  .catalog-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .filter-group { gap: 17px; }
  .filter-button { font-size: 11px; }
  .catalog-count { margin-bottom: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image, .product-image-placeholder { height: 190px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
