:root {
  --bg: #08070b;
  --bg-soft: #111016;
  --surface: rgba(19, 17, 24, 0.88);
  --surface-strong: #17141d;
  --surface-cream: #f8f4ec;
  --line: rgba(200, 154, 82, 0.18);
  --line-strong: rgba(200, 154, 82, 0.34);
  --text: #f1e8da;
  --text-soft: #b5a38b;
  --text-muted: #7f715f;
  --accent: #c89a52;
  --accent-bright: #e2b470;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.22);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 42px);
  --section: clamp(72px, 9vw, 118px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tg-theme-bg-color: #08070b;
  --tg-theme-secondary-bg-color: #131118;
  --tg-theme-text-color: #f1e8da;
  --tg-theme-hint-color: #a29076;
  --tg-theme-link-color: #c89a52;
  --tg-theme-button-color: #c89a52;
  --tg-theme-button-text-color: #09070d;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding-top: 96px;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
}

body {
  margin: 0;
  min-height: 100dvh;
  color-scheme: dark;
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(200, 154, 82, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(200, 154, 82, 0.06), transparent 30%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 92%);
}

body.tg-light {
  --bg: #ebe5da;
  --bg-soft: #f7f1e8;
  --surface: rgba(252, 248, 242, 0.92);
  --surface-strong: #fffaf2;
  --line: rgba(124, 94, 48, 0.14);
  --line-strong: rgba(124, 94, 48, 0.28);
  --text: #241d16;
  --text-soft: #635240;
  --text-muted: #8a7359;
  --shadow: 0 22px 60px rgba(89, 63, 28, 0.1);
  --shadow-soft: 0 16px 34px rgba(89, 63, 28, 0.08);
  background:
    radial-gradient(circle at top, rgba(200, 154, 82, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(200, 154, 82, 0.08), transparent 28%),
    var(--bg);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease),
    color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: rgba(200, 154, 82, 0.28);
}

.page-shell {
  position: relative;
  min-height: 100dvh;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.ambient--top {
  top: 4%;
  left: 10%;
  width: 260px;
  height: 260px;
  background: rgba(200, 154, 82, 0.11);
}

.ambient--bottom {
  right: -4%;
  bottom: 20%;
  width: 340px;
  height: 340px;
  background: rgba(200, 154, 82, 0.08);
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section) 0;
}

.section--compact {
  padding: clamp(34px, 5vw, 54px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(8, 7, 11, 0.84), rgba(8, 7, 11, 0.38));
  border-bottom: 1px solid rgba(200, 154, 82, 0.08);
}

body.tg-light .site-header {
  background: linear-gradient(to bottom, rgba(235, 229, 218, 0.92), rgba(235, 229, 218, 0.74));
}

.site-header__inner,
.site-footer__inner,
.hero__layout,
.split-grid,
.feature-grid,
.metrics-grid {
  display: grid;
  gap: 24px;
}

.site-header__inner {
  padding: 18px 0;
  grid-template-columns: 1fr;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark__ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-mark__text strong {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark__text small {
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.site-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-pill,
.badge-chip,
.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.status-pill,
.badge-chip {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.overline {
  color: var(--accent-bright);
}

.overline::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero {
  padding-top: clamp(70px, 10vw, 110px);
}

.hero__layout {
  grid-template-columns: 1fr;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero__title,
.section-heading h2,
.prose-card h2,
.footer-note h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__title {
  font-size: clamp(3.3rem, 10vw, 6.8rem);
  max-width: 9ch;
}

.hero__subtitle {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--text-soft);
}

.hero__body,
.section-heading p,
.feature-card p,
.metric-card__label,
.product-card__summary,
.product-card__meta-value,
.prose-card li,
.prose-card p,
.footer-note p,
.site-footer p,
.empty-state p {
  margin: 0;
  line-height: 1.72;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.hero__visual,
.card-surface {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual::before,
.card-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(200, 154, 82, 0.14), transparent 30%);
  pointer-events: none;
}

.hero__visual-frame {
  position: relative;
  min-height: 560px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero__seal {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: rgba(255, 255, 255, 0.025);
  align-self: center;
}

.hero__seal span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.hero__seal strong {
  color: var(--accent-bright);
  font-size: 2.6rem;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__label,
.product-card__meta-label {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__copy strong {
  font-size: 1.25rem;
  line-height: 1.4;
}

.hero__feature-list,
.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__feature-list li,
.list-clean li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}

.hero__feature-list li + li,
.list-clean li + li {
  margin-top: 12px;
}

.hero__feature-list li::before,
.list-clean li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 154, 82, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button[disabled] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #0b0910;
  box-shadow: 0 12px 28px rgba(200, 154, 82, 0.26);
}

.button--outline {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button--outline:hover {
  background: rgba(200, 154, 82, 0.08);
}

.button--ghost {
  border-color: var(--line);
  color: var(--text-soft);
  background: transparent;
}

.metrics-grid,
.feature-grid,
.catalog-grid {
  grid-template-columns: 1fr;
}

.bundle-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bundle-selector,
.bundle-preview {
  padding: clamp(22px, 3vw, 30px);
}

.bundle-selector__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.bundle-selector__header strong,
.bundle-preview__title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
}

.bundle-selector__header strong {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}

.bundle-selector__list {
  display: grid;
  gap: 12px;
}

.bundle-chip {
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundle-chip:hover {
  background: rgba(200, 154, 82, 0.08);
  border-color: var(--line-strong);
}

.bundle-chip.is-active {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(200, 154, 82, 0.16), rgba(200, 154, 82, 0.04));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.bundle-chip__title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bundle-chip__hint {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.bundle-preview__content,
.bundle-preview__empty {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bundle-preview__title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.bundle-preview__tagline {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--accent-bright);
}

.bundle-preview__description {
  margin: 0;
  line-height: 1.72;
  color: var(--text-soft);
}

.bundle-preview__meta {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 154, 82, 0.08);
}

.bundle-preview__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bundle-preview__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.bundle-preview__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.bundle-preview__actions {
  padding-top: 10px;
}

.metric-card,
.feature-card,
.prose-card,
.footer-note {
  padding: clamp(22px, 3vw, 30px);
}

.metric-card__value,
.feature-card__index {
  display: inline-flex;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--accent-bright);
}

.metric-card__value {
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.feature-card__index {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}

.feature-card h3,
.product-card__title,
.empty-state h3 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 760px;
}

.section-heading h2,
.prose-card h2,
.footer-note h2 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

.catalog-grid {
  display: grid;
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}

.product-card__media-wrap {
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(200, 154, 82, 0.1);
}

.product-card__media {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card__meta {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(200, 154, 82, 0.08);
}

.product-card__button {
  width: 100%;
}

.catalog-grid--loading .product-card--skeleton {
  min-height: 420px;
}

.product-card__line {
  height: 12px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.product-card__line--short {
  width: 62%;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 1.4s infinite;
}

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

.footer-note {
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer-note__disclaimer {
  padding-top: 4px;
  font-size: 0.94rem;
  color: var(--text);
}

.site-footer {
  padding: 24px 0 48px;
  border-top: 1px solid rgba(200, 154, 82, 0.08);
}

.site-footer__inner {
  grid-template-columns: 1fr;
}

.site-footer__brand,
.site-footer__meta {
  display: grid;
  gap: 10px;
}

.site-footer__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
}

.empty-state {
  padding: 32px;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@media (min-width: 720px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bundle-layout {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .footer-note {
    grid-template-columns: 1.5fr auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 40px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
