:root {
  --color-bg: #12151c;
  --color-bg-elevated: #191e28;
  --color-bg-card: #1c222d;
  --color-surface: #262d3a;
  --color-border: #343a4a;
  --color-text: #e6eaef;
  --color-text-muted: #9aa3b2;
  --color-accent: #d4a574;
  --color-accent-dim: #b8864f;
  --color-accent-contrast: #1a140c;
  --color-warm: #e8c08a;
  --color-warm-hover-text: #1a1208;
  --color-danger: #d97757;
  --color-success: #6b8f7a;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.78rem + 0.25vw, 0.9375rem);
  --fs-base: clamp(0.9375rem, 0.88rem + 0.35vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-3xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --lh-tight: 1.2;
  --lh-body: 1.65;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --space-xs: 0.35rem;
  --space-sm: 0.6rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;
  --max-width: 1120px;
  --header-height: 3.5rem;
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(212, 165, 116, 0.11), transparent 50%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-warm);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 0;
  background: rgba(18, 21, 28, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-height);
}

.logo {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: nowrap;
}

.logo:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--color-surface);
  color: var(--color-warm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-toggle-icon {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-md);
}

.site-nav a {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.site-nav a:hover {
  color: var(--color-accent);
  background: rgba(212, 165, 116, 0.09);
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    margin: 0;
    margin-top: 0;
    padding: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--transition-base), visibility var(--transition-base);
  }

  .site-nav.is-open {
    max-height: min(70vh, 480px);
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-xs);
  }

  .site-nav a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
  }
}

main {
  overflow-x: hidden;
}

.section {
  padding: var(--space-2xl) var(--space-md);
}

.section--tight {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}

.section-intro--centered {
  margin-left: auto;
  margin-right: auto;
}

.optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.disclaimer-box .section-heading {
  font-size: var(--fs-lg);
}

.cookie-dialog-lead {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.cookie-fieldset-desc {
  font-size: var(--fs-sm);
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

.hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.hero-visual {
  position: relative;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.badge--trust {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.22), rgba(155, 175, 205, 0.12));
  border-color: var(--color-accent-dim);
  color: var(--color-accent);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.hero-lead {
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.price-current {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-accent);
}

.price-old {
  font-size: var(--fs-lg);
  text-decoration: line-through;
  color: var(--color-text-muted);
}

.form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: var(--fs-xl);
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.22);
}

.form-group textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-group .error-msg {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-danger);
  margin-top: var(--space-xs);
  min-height: 1.25em;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--color-danger);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-dim));
  color: var(--color-accent-contrast);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(145deg, #e8c08a, #a67440);
  color: var(--color-warm-hover-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent-dim);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg-card);
  color: var(--color-warm);
  border-color: var(--color-warm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: linear-gradient(165deg, var(--color-bg-card), var(--color-bg-elevated));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-sm);
  color: var(--color-accent);
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.benefit-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg-elevated);
  border-left: 4px solid var(--color-warm);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: background var(--transition-fast);
}

.benefit-item:hover {
  background: var(--color-bg-card);
}

.benefit-item strong {
  display: block;
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.detail-block {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.detail-block h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-top: 0;
}

.usage-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.usage-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: var(--space-lg);
  border-left: 2px solid var(--color-border);
  padding-bottom: var(--space-md);
}

.usage-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--radius-full);
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.ingredient-card {
  padding: var(--space-md);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}

.ingredient-card h3 {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-base);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.review-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card blockquote {
  margin: 0 0 var(--space-md);
  font-style: italic;
  color: var(--color-text-muted);
}

.review-meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.faq-list details {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-list summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  background: var(--color-surface);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--color-border);
}

.faq-list .faq-answer {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-muted);
  margin: 0;
}

.cta-panel {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-card));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  margin: 0 0 var(--space-md);
}

.disclaimer-box {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background: rgba(66, 133, 244, 0.1);
  border: 1px solid rgba(66, 133, 244, 0.35);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.disclaimer-box p {
  margin: 0 0 var(--space-md);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-address,
.footer-email-line {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.footer-col h3 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: var(--space-md);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-settings-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-settings-actions .btn {
    width: 100%;
  }
}

.cookie-settings-form fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.cookie-settings-form legend {
  padding: 0 var(--space-sm);
  font-weight: 600;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.toggle-row label {
  font-size: var(--fs-sm);
}

.toggle-row input[type="checkbox"] {
  width: 2.5rem;
  height: 1.35rem;
  accent-color: var(--color-accent);
}

dialog.cookie-dialog {
  max-width: 32rem;
  width: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}

dialog.cookie-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.cookie-dialog-inner {
  padding: var(--space-lg);
}

.cookie-dialog h2 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
}

.table-wrap table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

.table-wrap th {
  background: var(--color-surface);
}

.legal-page {
  padding: var(--space-2xl) var(--space-md);
  padding-bottom: var(--space-3xl);
}

.legal-page article {
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.legal-page article h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.legal-page article h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--color-text);
}

.legal-page article p {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
}

.legal-page article p:last-child {
  margin-bottom: 0;
}

.legal-page article strong {
  color: var(--color-text);
}

.legal-nav {
  margin-bottom: var(--space-xl);
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.btn-home {
  display: inline-flex;
  margin-bottom: var(--space-md);
}

.thank-you-block {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  max-width: 36rem;
  margin: 0 auto;
}

.thank-you-block h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

.thank-you-home-wrap {
  margin-top: var(--space-xl);
}

.extra-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  text-align: left;
}

.extra-blocks article {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.extra-blocks h2 {
  font-size: var(--fs-lg);
  margin-top: 0;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}
