:root {
  --bg: #f7f1e6;
  --surface: rgba(255, 252, 246, 0.9);
  --surface-strong: #fffaf2;
  --surface-dark: #40200c;
  --text: #2d2016;
  --muted: #705d4d;
  --line: rgba(64, 32, 12, 0.14);
  --accent: #d97904;
  --accent-strong: #a44d00;
  --accent-soft: #f4d7b7;
  --success: #235b38;
  --shadow: 0 18px 48px rgba(56, 33, 17, 0.12);
  --bg-orb-1: rgba(244, 215, 183, 0.9);
  --bg-orb-2: rgba(217, 121, 4, 0.12);
  --bg-grad-start: #fbf6ee;
  --bg-grad-mid: #f6efe4;
  --bg-grad-end: #efe5d7;
  --topbar-bg: rgba(251, 246, 238, 0.82);
  --border-soft: rgba(64, 32, 12, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.58);
  --surface-soft-strong: rgba(255, 255, 255, 0.75);
  --surface-soft-alt: rgba(255, 255, 255, 0.55);
  --surface-soft-footer: rgba(255, 255, 255, 0.65);
  --interactive-soft: rgba(64, 32, 12, 0.06);
  --interactive-border: rgba(64, 32, 12, 0.16);
  --brand-mid: #e79f2a;
  --brand-shadow: rgba(164, 77, 0, 0.26);
  --button-shadow: rgba(164, 77, 0, 0.25);
  --eyebrow-bg: rgba(217, 121, 4, 0.12);
  --accent-panel-orb: rgba(255, 255, 255, 0.14);
  --accent-panel-start: #40200c;
  --accent-panel-mid: #5c2d10;
  --accent-panel-end: #87400f;
  --accent-panel-shadow: rgba(64, 32, 12, 0.28);
  --accent-panel-text: rgba(255, 245, 235, 0.86);
  --success-soft: rgba(35, 91, 56, 0.12);
  --on-accent: #fff;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

[data-theme="industrial"] {
  --bg: #eef2f4;
  --surface: rgba(252, 253, 253, 0.9);
  --surface-strong: #ffffff;
  --surface-dark: #1f3a45;
  --text: #1f2b30;
  --muted: #5b6d75;
  --line: rgba(31, 58, 69, 0.14);
  --accent: #0d8a8f;
  --accent-strong: #1b5f73;
  --accent-soft: #cdeef0;
  --success: #21654e;
  --shadow: 0 18px 48px rgba(31, 58, 69, 0.12);
  --bg-orb-1: rgba(169, 214, 220, 0.65);
  --bg-orb-2: rgba(13, 138, 143, 0.11);
  --bg-grad-start: #f5f9fa;
  --bg-grad-mid: #edf4f6;
  --bg-grad-end: #e3edf0;
  --topbar-bg: rgba(245, 249, 250, 0.84);
  --border-soft: rgba(31, 58, 69, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-soft-strong: rgba(255, 255, 255, 0.88);
  --surface-soft-alt: rgba(255, 255, 255, 0.68);
  --surface-soft-footer: rgba(255, 255, 255, 0.76);
  --interactive-soft: rgba(31, 58, 69, 0.06);
  --interactive-border: rgba(31, 58, 69, 0.16);
  --brand-mid: #58bbc0;
  --brand-shadow: rgba(27, 95, 115, 0.24);
  --button-shadow: rgba(27, 95, 115, 0.22);
  --eyebrow-bg: rgba(13, 138, 143, 0.12);
  --accent-panel-orb: rgba(255, 255, 255, 0.1);
  --accent-panel-start: #1f3a45;
  --accent-panel-mid: #235262;
  --accent-panel-end: #0d8a8f;
  --accent-panel-shadow: rgba(31, 58, 69, 0.24);
  --accent-panel-text: rgba(239, 249, 250, 0.88);
  --success-soft: rgba(33, 101, 78, 0.12);
  --on-accent: #fff;
}

[data-theme="corporate"] {
  --bg: #f3f5fa;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-dark: #1c2d5a;
  --text: #1f2740;
  --muted: #5e6987;
  --line: rgba(28, 45, 90, 0.12);
  --accent: #2f67d8;
  --accent-strong: #1c3f8c;
  --accent-soft: #dce7ff;
  --success: #1f6c4d;
  --shadow: 0 18px 48px rgba(28, 45, 90, 0.12);
  --bg-orb-1: rgba(220, 231, 255, 0.78);
  --bg-orb-2: rgba(47, 103, 216, 0.1);
  --bg-grad-start: #f8faff;
  --bg-grad-mid: #eef3fc;
  --bg-grad-end: #e6edf9;
  --topbar-bg: rgba(248, 250, 255, 0.84);
  --border-soft: rgba(28, 45, 90, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-soft-strong: rgba(255, 255, 255, 0.88);
  --surface-soft-alt: rgba(255, 255, 255, 0.68);
  --surface-soft-footer: rgba(255, 255, 255, 0.76);
  --interactive-soft: rgba(28, 45, 90, 0.06);
  --interactive-border: rgba(28, 45, 90, 0.16);
  --brand-mid: #78a1f5;
  --brand-shadow: rgba(28, 63, 140, 0.22);
  --button-shadow: rgba(28, 63, 140, 0.22);
  --eyebrow-bg: rgba(47, 103, 216, 0.12);
  --accent-panel-orb: rgba(255, 255, 255, 0.1);
  --accent-panel-start: #1c2d5a;
  --accent-panel-mid: #23468d;
  --accent-panel-end: #2f67d8;
  --accent-panel-shadow: rgba(28, 45, 90, 0.24);
  --accent-panel-text: rgba(241, 246, 255, 0.9);
  --success-soft: rgba(31, 108, 77, 0.12);
  --on-accent: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, var(--bg-orb-1), transparent 34%),
    radial-gradient(circle at top right, var(--bg-orb-2), transparent 28%),
    linear-gradient(180deg, var(--bg-grad-start) 0%, var(--bg-grad-mid) 46%, var(--bg-grad-end) 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.shell {
  min-height: 100vh;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border-soft);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

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

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-mid) 45%, var(--accent-strong) 100%);
  box-shadow: 0 10px 22px var(--brand-shadow);
  letter-spacing: 0.06em;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__title {
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav .is-active {
  color: var(--surface-dark);
  background: var(--interactive-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 30px var(--button-shadow);
}

.btn--secondary {
  border-color: var(--interactive-border);
  background: var(--surface-soft-alt);
}

.hero {
  padding: 70px 0 48px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel--hero {
  padding: 38px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--eyebrow-bg);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.title {
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 1.6rem + 1.8vw, 4rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.title--page {
  font-size: clamp(2.1rem, 1.5rem + 1.2vw, 3.2rem);
}

.lead {
  max-width: 62ch;
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stat-grid,
.card-grid,
.feature-grid,
.two-col,
.mini-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft-strong);
  border: 1px solid var(--border-soft);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.hero-card {
  padding: 26px;
}

.hero-card h2,
.section h2,
.section h3,
.callout h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

.hero-card p:not(.eyebrow),
.section p:not(.eyebrow),
.callout p:not(.eyebrow),
.kicker {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--interactive-soft);
  color: var(--surface-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 22px 0 58px;
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.section__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 1.05;
}

.section__copy {
  max-width: 58ch;
  color: var(--muted);
}

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

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

.mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.callout,
.list-card,
.timeline,
.fact {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3,
.list-card h3,
.timeline h3,
.fact h3,
.callout h3 {
  font-size: 1.32rem;
}

.list,
.timeline__list,
.price-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.list li,
.timeline__list li,
.price-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: var(--muted);
}

.list li::before,
.timeline__list li::before,
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.accent-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top right, var(--accent-panel-orb), transparent 30%), linear-gradient(135deg, var(--accent-panel-start) 0%, var(--accent-panel-mid) 54%, var(--accent-panel-end) 100%);
  color: var(--on-accent);
  box-shadow: 0 24px 56px var(--accent-panel-shadow);
}

.section .accent-panel p:not(.eyebrow),
.accent-panel .lead,
.accent-panel .section__copy,
.accent-panel .kicker,
.accent-panel .list li,
.accent-panel .price-list li {
  color: var(--accent-panel-text);
}

.accent-panel .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fbff;
}

.accent-panel .list li::before,
.accent-panel .price-list li::before {
  background: var(--on-accent);
}

.price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 20px 0 8px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.download-panel__intro {
  max-width: 40rem;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.download-qr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.download-qr-image {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  border-radius: 12px;
}

.price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 0.9;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.table td {
  padding: 14px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}

.table td:first-child {
  width: 36%;
  padding-right: 18px;
  color: var(--muted);
}

.footer {
  padding: 26px 0 42px;
}

.footer__box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: var(--surface-soft-footer);
}

.footer__box p {
  margin: 0;
  color: var(--muted);
}

.theme-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: block;
}

.cookie-notice {
  position: fixed;
  left: 18px;
  width: min(560px, calc(100vw - 112px));
  bottom: 18px;
  z-index: 9997;
}

.cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--interactive-border);
  background: var(--surface-soft-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-notice p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.cookie-notice__button {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px var(--button-shadow);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
  transform: translateY(-1px);
}

.theme-fab__toggle {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  transition: 0.2s ease;
}

.theme-fab__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 30px var(--button-shadow);
  font-weight: 700;
}

.theme-fab__toggle:hover,
.theme-fab__toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-fab__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.muted {
  color: var(--muted);
}

.legal-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.policy-doc {
  max-width: 980px;
  margin: 0 auto;
}

.policy-doc h1 {
  margin-top: 0;
}

.policy-doc h2 {
  margin: 34px 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.policy-doc p,
.policy-doc li {
  color: var(--text);
}

.policy-doc p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.policy-doc ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-doc li + li {
  margin-top: 8px;
}

.policy-doc a {
  color: var(--accent-strong);
}

.policy-date {
  margin: 0 0 28px;
  color: var(--muted);
}

.space-top {
  margin-top: 26px;
}

@media (max-width: 1100px) {
  .hero__grid,
  .card-grid,
  .mini-grid,
  .feature-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .topbar__row,
  .footer__box,
  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  .panel--hero,
  .hero-card,
  .card,
  .callout,
  .list-card,
  .timeline,
  .fact,
  .accent-panel {
    padding: 22px;
  }

  .title {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

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

  .table td,
  .table tr,
  .table tbody {
    display: block;
    width: 100%;
  }

  .table td:first-child {
    width: 100%;
    padding-bottom: 6px;
  }

  .theme-fab {
    right: 12px;
    bottom: 96px;
  }

  .cookie-notice[hidden] ~ .theme-fab {
    bottom: 12px;
  }

  .cookie-notice {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }

  .cookie-notice__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-notice__button {
    width: 100%;
  }

  .theme-fab__toggle {
    width: auto;
  }

  .download-panel {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .download-links {
    justify-content: flex-start;
  }
}
