:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --ink: #16171a;
  --muted: #5c626b;
  --line: #dfe3e8;
  --graphite: #2b2e33;
  --red: #e44643;
  --yellow: #efbc32;
  --green: #6b985e;
  --violet: #8b4da1;
  --shadow: 0 24px 70px rgba(20, 24, 31, .12);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

input,
textarea,
select,
button {
  color-scheme: light;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  min-height: 78px;
  margin: 12px auto 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(214, 219, 225, .78);
  border-radius: 8px;
  box-shadow: 0 14px 45px rgba(20, 24, 31, .08);
  backdrop-filter: blur(18px);
}

.brand img,
.footer-brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.login-link:hover,
.text-link:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-link {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: none;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.mobile-menu summary::before {
  content: "</>";
  color: var(--ink);
  font-family: Consolas, "SFMono-Regular", "Roboto Mono", monospace;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.mobile-menu[open] summary::before {
  color: var(--red);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 10px 8px;
  color: var(--muted);
  font-weight: 750;
}

.mobile-menu nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 720px;
  margin-top: -102px;
  overflow: hidden;
  background: #eef0f2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 247, 248, .98) 0%, rgba(246, 247, 248, .92) 30%, rgba(246, 247, 248, .3) 62%, rgba(246, 247, 248, .1) 100%),
    linear-gradient(180deg, rgba(246, 247, 248, .88) 0%, rgba(246, 247, 248, .05) 26%, rgba(246, 247, 248, .85) 100%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  min-height: 720px;
  margin: 0 auto;
  padding: 190px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 620px;
  color: #3f454c;
  font-size: 20px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 35px rgba(22, 23, 26, .22);
}

.button.secondary {
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary.dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}

.button.full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 58px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(223, 227, 232, .72);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  font-size: 26px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 22px;
}

.section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.section-action {
  margin-top: 24px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  color: var(--muted);
  font-size: 19px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  min-height: 260px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(20, 24, 31, .05);
}

.module-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-red .card-icon {
  background: var(--red);
}

.accent-yellow .card-icon {
  background: var(--yellow);
}

.accent-green .card-icon {
  background: var(--green);
}

.accent-violet .card-icon {
  background: var(--violet);
}

.api-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.api-copy p,
.trust-copy p,
.cta p,
.cabinet-copy p {
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 850;
}

.api-panel,
.login-card {
  padding: 24px;
  background: #1e2127;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
}

.panel-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.panel-bar span:nth-child(2) {
  background: var(--yellow);
}

.panel-bar span:nth-child(3) {
  background: var(--green);
}

.api-flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.api-flow li {
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.api-flow strong {
  display: block;
  margin-bottom: 6px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 15px;
}

.api-flow span {
  color: rgba(255, 255, 255, .68);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-grid article {
  min-height: 270px;
  padding: 24px;
  background: var(--surface);
}

.process-grid span {
  display: block;
  margin-bottom: 44px;
  color: var(--red);
  font-weight: 850;
}

.process-grid p {
  color: var(--muted);
}

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

.roadmap-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roadmap-grid strong {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
}

.roadmap-grid p {
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-list span {
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 90px;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(228, 70, 67, .26), rgba(139, 77, 161, .2)),
    #17191d;
  border-radius: 8px;
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, .7);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 30px max(18px, calc((100% - 1180px) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
}

.site-footer small {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 28px;
}

.page-hero h1 {
  max-width: 960px;
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 20px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 64px;
}

.catalog-toolbar a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 138px;
  padding: 18px;
  color: var(--graphite);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(20, 24, 31, .05);
  font-weight: 850;
}

.catalog-toolbar a:nth-child(2) {
  border-top-color: var(--yellow);
}

.catalog-toolbar a:nth-child(3) {
  border-top-color: var(--green);
}

.catalog-toolbar a:nth-child(4) {
  border-top-color: var(--violet);
}

.catalog-toolbar a:nth-child(5) {
  border-top-color: #0071e3;
}

.catalog-toolbar a span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.catalog-toolbar a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(20, 24, 31, .1);
}

.catalog-group {
  margin-bottom: 62px;
}

.modules-page .page-hero,
.news-index-page .page-hero,
.price-page .page-hero,
.price-page .purchase-flow .section-head {
  text-align: center;
}

.modules-page .page-hero h1,
.modules-page .page-hero p:not(.eyebrow),
.news-index-page .page-hero h1,
.news-index-page .page-hero p:not(.eyebrow),
.price-page .page-hero h1,
.price-page .page-hero p:not(.eyebrow),
.price-page .purchase-flow .section-head {
  margin-left: auto;
  margin-right: auto;
}

.modules-page .catalog-section .section-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.price-page .price-card {
  text-align: center;
}

.price-page .price-card .status {
  align-self: center;
}

.price-page .price-card .button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: rgba(22, 23, 26, .36);
  box-shadow:
    inset 0 0 0 1px rgba(22, 23, 26, .12),
    0 10px 24px rgba(20, 24, 31, .06);
}

.price-page .price-card.featured .button.primary {
  color: #15161a;
  background: #fff;
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.price-page .price-card .button.secondary:hover {
  border-color: var(--red);
  box-shadow:
    inset 0 0 0 1px rgba(228, 70, 67, .35),
    0 14px 32px rgba(20, 24, 31, .1);
}

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

.catalog-card,
.news-card,
.news-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(20, 24, 31, .05);
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.catalog-card .text-link {
  margin-top: auto;
}

.catalog-card-image,
.price-card-image,
.news-item-image,
.article-image {
  width: 100%;
  object-fit: cover;
  background: #edf1f6;
  border: 1px solid rgba(214, 219, 225, .78);
  border-radius: 8px;
}

.catalog-card-image,
.price-card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
}

.news-item-image {
  aspect-ratio: 16 / 7;
  margin-bottom: 18px;
}

.article-image {
  max-width: 860px;
  aspect-ratio: 16 / 8;
  margin: 26px 0 0;
}

.catalog-card p,
.news-card p,
.news-item p {
  color: var(--muted);
}

.catalog-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.status.available {
  color: #235f38;
  background: rgba(107, 152, 94, .15);
}

.status.planned {
  color: #7a5610;
  background: rgba(239, 188, 50, .18);
}

.status.neutral {
  color: var(--graphite);
  background: #eef0f2;
}

.add-card {
  border-style: dashed;
}

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

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

.case-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(20, 24, 31, .05);
}

.case-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf1f6;
}

.case-image-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(228, 70, 67, .86), rgba(0, 113, 227, .72)),
    #1d1d1f;
}

.case-image-fallback span {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
}

.case-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.case-body h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

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

.news-card time,
.news-item time {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(20, 24, 31, .05);
}

.price-card.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(228, 70, 67, .22), rgba(139, 77, 161, .22)),
    #1e2127;
  border-color: rgba(255, 255, 255, .12);
}

.price-card.featured .price-card-image {
  border-color: rgba(255, 255, 255, .18);
}

.price-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.price-card p {
  color: var(--muted);
}

.price-card.featured p {
  color: rgba(255, 255, 255, .72);
}

.price-value {
  display: block;
  margin: auto 0 22px;
  font-size: 30px;
  line-height: 1;
}

.support-card {
  border-style: dashed;
}

.cabinet-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(228, 70, 67, .11), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(107, 152, 94, .12), transparent 32%),
    var(--bg);
}

.cabinet-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 620px;
  margin: 0 auto;
  padding: 92px 0 30px;
}

.cabinet-copy h1 {
  max-width: 720px;
}

.login-card {
  background: #fff;
  color: var(--ink);
}

.login-card h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.login-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--graphite);
  font-weight: 750;
}

.login-card input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.login-card input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(228, 70, 67, .14);
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open,
  .main-nav.is-static {
    display: flex;
  }

  .main-nav.is-static {
    position: static;
    flex-direction: row;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .mobile-menu {
    display: block;
  }

  .site-header .main-nav.is-static {
    display: none;
  }

  .module-grid,
  .process-grid,
  .roadmap-grid,
  .catalog-grid,
  .case-grid,
  .news-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .api-section,
  .trust,
  .cabinet-hero {
    grid-template-columns: 1fr;
  }

  .cta,
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 66px;
    margin-top: 8px;
    gap: 10px;
  }

  .brand img {
    width: 170px;
  }

  .login-link {
    display: none;
  }

  .main-nav.is-static {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero {
    margin-top: -86px;
  }

  .hero-bg {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(246, 247, 248, .98) 0%, rgba(246, 247, 248, .88) 44%, rgba(246, 247, 248, .62) 100%);
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding-top: 150px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead,
  .intro-grid,
  .api-copy p,
  .trust-copy p,
  .cta p,
  .cabinet-copy p {
    font-size: 17px;
  }

  .hero-metrics,
  .intro-grid,
  .module-grid,
  .process-grid,
  .roadmap-grid,
  .catalog-grid,
  .case-grid,
  .news-grid,
  .price-grid,
  .trust-list div {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .section {
    width: calc(100% - 28px);
    padding: 62px 0;
  }

  .module-card,
  .process-grid article {
    min-height: auto;
  }

  .api-panel,
  .login-card,
  .cta {
    padding: 22px;
  }

  .cta {
    width: calc(100% - 28px);
    margin-bottom: 62px;
  }

  .cabinet-hero {
    width: calc(100% - 28px);
    min-height: auto;
    padding-top: 64px;
  }

  .site-footer {
    align-items: start;
  }

  .page-hero {
    width: calc(100% - 28px);
    padding-top: 62px;
  }

  .catalog-toolbar {
    position: static;
  }
}

/* Premium product storytelling layer */
.home-page {
  background: #f5f5f7;
}

.home-page .site-header {
  width: min(1280px, calc(100% - 28px));
  min-height: 62px;
  margin-top: 10px;
  padding: 8px 14px;
  border-color: rgba(210, 210, 215, .72);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.home-page .brand img {
  width: 176px;
}

.home-page .main-nav {
  gap: 20px;
  font-size: 13px;
}

.hero-premium {
  min-height: 860px;
  margin-top: -82px;
  background: #f5f5f7;
}

.hero-premium .hero-bg {
  object-position: center;
}

.hero-premium .hero-overlay {
  background:
    linear-gradient(90deg, rgba(245, 245, 247, .98) 0%, rgba(245, 245, 247, .92) 28%, rgba(245, 245, 247, .28) 58%, rgba(245, 245, 247, .06) 100%),
    linear-gradient(180deg, rgba(245, 245, 247, .9) 0%, rgba(245, 245, 247, .18) 42%, rgba(245, 245, 247, .96) 100%);
}

.premium-hero-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 820px;
  padding-top: 178px;
}

.premium-hero-inner h1 {
  max-width: 780px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: .94;
  font-weight: 850;
}

.premium-hero-inner .hero-lead {
  max-width: 680px;
  color: #34363b;
  font-size: 23px;
  line-height: 1.35;
}

.hero-product-strip {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(960px, calc(100% - 36px));
  overflow: hidden;
  background: rgba(255, 255, 255, .54);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .12);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.hero-product-strip div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .42);
}

.hero-product-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.hero-product-strip span {
  color: var(--muted);
  font-size: 14px;
}

.statement-section,
.ecosystem-section {
  padding: 118px max(18px, calc((100% - 1180px) / 2));
  text-align: center;
}

.statement-section h2,
.ecosystem-section h2 {
  max-width: 1040px;
  margin: 0 auto 22px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
}

.statement-section p:not(.eyebrow),
.ecosystem-section .section-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 22px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
  padding: 124px max(18px, calc((100% - 1280px) / 2));
}

.showcase-light {
  background: #fff;
}

.showcase-dark {
  display: block;
  color: #fff;
  background: #111216;
}

.showcase-dark .eyebrow {
  color: #ff6a63;
}

.showcase-dark p,
.showcase-dark .section-lead {
  color: rgba(255, 255, 255, .68);
}

.showcase-copy h2 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}

.showcase-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.center-copy {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.center-copy h2,
.center-copy p {
  margin-left: auto;
  margin-right: auto;
}

.product-stage {
  min-height: 540px;
  display: grid;
  place-items: center;
}

.configurator-window {
  width: min(620px, 100%);
  padding: 18px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(210, 210, 215, .9);
  border-radius: 8px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .14);
}

.window-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.window-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.window-toolbar span:nth-child(2) {
  background: var(--yellow);
}

.window-toolbar span:nth-child(3) {
  background: var(--green);
}

.furniture-preview {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 16px;
  min-height: 340px;
}

.wardrobe,
.kitchen {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8dadd;
  border-radius: 8px;
  background: linear-gradient(145deg, #f5f5f7, #ffffff);
}

.wardrobe::before,
.wardrobe::after,
.kitchen::before,
.kitchen::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 10px solid #a9794e;
  border-top-width: 22px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0, 0, 0, .12) 33%, transparent 34%, transparent 66%, rgba(0, 0, 0, .12) 67%, transparent 68%),
    linear-gradient(#fff, #f4f1ed);
}

.wardrobe::after {
  inset: 78px 38px 28px;
  border: 0;
  background:
    linear-gradient(90deg, #c7ccd2 0 42%, transparent 42% 58%, #c7ccd2 58% 100%),
    linear-gradient(#ffffff 0 28%, transparent 28% 36%, #ffffff 36% 64%, transparent 64% 72%, #ffffff 72%);
}

.kitchen::before {
  inset: 40px 22px 120px;
  border-color: #b48d63;
}

.kitchen::after {
  inset: auto 22px 44px;
  height: 70px;
  border: 0;
  background:
    linear-gradient(90deg, #eceff2 0 18%, #ffffff 18% 34%, #e9edf0 34% 50%, #ffffff 50% 66%, #eceff2 66% 82%, #ffffff 82%),
    linear-gradient(#c4c7cb 0 4px, transparent 4px);
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.swatch-row span {
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #ddd;
}

.swatch-row span:nth-child(1) {
  background: #f0ebe4;
}

.swatch-row span:nth-child(2) {
  background: #b58a5b;
}

.swatch-row span:nth-child(3) {
  background: #2c3036;
}

.swatch-row span:nth-child(4) {
  background: #8b4da1;
}

.sales-workbench {
  width: min(680px, 100%);
  padding: 18px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 59, 48, .16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(0, 113, 227, .16), transparent 30%),
    rgba(255, 255, 255, .9);
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr);
  gap: 14px;
}

.project-view,
.order-panel {
  position: relative;
  min-height: 380px;
  border: 1px solid rgba(178, 183, 191, .56);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  overflow: hidden;
}

.project-view {
  display: grid;
  place-items: center;
  padding: 48px 32px 34px;
  background:
    linear-gradient(90deg, rgba(0, 113, 227, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 113, 227, .06) 1px, transparent 1px),
    linear-gradient(135deg, #f7faff, #fff7ef);
  background-size: 34px 34px, 34px 34px, auto;
}

.project-label {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(210, 214, 220, .78);
  font-size: 13px;
  font-weight: 850;
}

.dimension {
  position: absolute;
  color: #0071e3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.dimension-width {
  left: 80px;
  right: 40px;
  bottom: 20px;
  text-align: center;
  border-top: 2px solid rgba(0, 113, 227, .46);
  padding-top: 6px;
}

.dimension-height {
  top: 86px;
  left: 16px;
  writing-mode: vertical-rl;
  border-right: 2px solid rgba(0, 113, 227, .46);
  padding-right: 6px;
}

.kitchen-scene {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1.28;
  transform: perspective(700px) rotateX(58deg) rotateZ(-33deg);
  transform-style: preserve-3d;
}

.kitchen-scene span {
  position: absolute;
  display: block;
  border-radius: 5px;
}

.wall-line {
  inset: 8% 10% 10%;
  border: 16px solid rgba(180, 137, 91, .92);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(241, 244, 248, .82)),
    linear-gradient(90deg, transparent 0 32%, rgba(0, 0, 0, .08) 32% 33%, transparent 33% 66%, rgba(0, 0, 0, .08) 66% 67%, transparent 67%);
  box-shadow: 0 32px 60px rgba(50, 56, 68, .2);
}

.upper,
.base,
.tall-unit,
.countertop {
  transform: translateZ(34px);
  box-shadow: 0 12px 20px rgba(43, 48, 57, .16);
}

.upper {
  top: 20%;
  width: 18%;
  height: 32%;
  background: linear-gradient(150deg, #ffffff, #dce2e8);
}

.upper-1 { left: 20%; }
.upper-2 { left: 42%; }
.upper-3 { left: 64%; }

.countertop {
  left: 18%;
  right: 12%;
  top: 57%;
  height: 8%;
  background: linear-gradient(90deg, #2c3036, #4b525c);
}

.base {
  top: 66%;
  width: 20%;
  height: 22%;
  background: linear-gradient(150deg, #b78958, #f3c783);
}

.base-1 { left: 18%; }
.base-2 { left: 42%; }
.base-3 { left: 66%; }

.tall-unit {
  right: 9%;
  top: 22%;
  width: 18%;
  height: 66%;
  background: linear-gradient(160deg, #f6f7fa, #c8d0d8);
}

.order-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 248, 252, .88));
}

.status-pill {
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.status-pill.ok {
  color: #166534;
  background: rgba(52, 199, 89, .16);
}

.panel-row,
.order-total,
.warning-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(215, 219, 226, .78);
  color: #6b7280;
  font-size: 14px;
}

.panel-row strong,
.order-total strong {
  color: #1d1d1f;
}

.warning-note {
  justify-content: flex-start;
  color: #8a5b00;
  background: rgba(255, 204, 0, .14);
}

.warning-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffcc00;
  box-shadow: 0 0 0 5px rgba(255, 204, 0, .18);
}

.order-total {
  margin-top: 4px;
  color: #1d1d1f;
  background: linear-gradient(135deg, #1d1d1f, #3a3f49);
}

.order-total span,
.order-total strong {
  color: #fff;
}

.workbench-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.workbench-footer span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 8px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(215, 219, 226, .74);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.premium-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.premium-module-grid article {
  min-height: 310px;
  padding: 26px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
}

.premium-module-grid span {
  display: inline-flex;
  margin-bottom: 68px;
  color: #ff6a63;
  font-weight: 850;
}

.premium-module-grid h3 {
  color: #fff;
  font-size: 24px;
}

.premium-module-grid p {
  color: rgba(255, 255, 255, .66);
}

.api-showcase {
  background: #f5f5f7;
}

.premium-api-panel {
  min-height: 460px;
  padding: 30px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ecosystem-section {
  background: #fff;
}

.center-head {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.ecosystem-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 46px auto 0;
}

.map-node {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  color: var(--graphite);
  background: #f5f5f7;
  border: 1px solid #e2e3e7;
  border-radius: 8px;
  font-weight: 850;
  text-align: center;
}

.map-node.core {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(228, 70, 67, .32), rgba(139, 77, 161, .28)),
    #17191d;
}

.premium-process {
  width: auto;
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
}

.price-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 92px max(18px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(228, 70, 67, .26), rgba(107, 152, 94, .16), rgba(139, 77, 161, .24)),
    #17191d;
}

.price-teaser h2 {
  max-width: 820px;
}

.price-teaser p {
  max-width: 720px;
  color: rgba(255, 255, 255, .72);
  font-size: 20px;
}

.premium-cta {
  width: auto;
  margin: 0;
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
  border-radius: 0;
}

.premium-cta .button.secondary.dark {
  color: #1d1d1f;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}

.premium-cta .button.secondary.dark:hover {
  background: #ffffff;
}

@media (max-width: 980px) {
  .home-page .site-header {
    width: calc(100% - 20px);
  }

  .showcase,
  .api-showcase,
  .price-teaser {
    grid-template-columns: 1fr;
  }

  .premium-module-grid,
  .ecosystem-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-page .brand img {
    width: 170px;
  }

  .hero-premium {
    min-height: 760px;
    margin-top: -76px;
  }

  .premium-hero-inner {
    width: calc(100% - 28px);
    min-height: 650px;
    padding-top: 132px;
  }

  .premium-hero-inner h1 {
    max-width: 360px;
    font-size: 45px;
  }

  .premium-hero-inner .hero-lead {
    max-width: 350px;
    font-size: 18px;
  }

  .hero-product-strip {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin: -36px auto 34px;
    transform: none;
  }

  .statement-section,
  .ecosystem-section,
  .showcase,
  .price-teaser {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .statement-section h2,
  .ecosystem-section h2,
  .showcase-copy h2 {
    font-size: 39px;
  }

  .statement-section p:not(.eyebrow),
  .ecosystem-section .section-lead,
  .showcase-copy p,
  .price-teaser p {
    font-size: 18px;
  }

  .product-stage {
    min-height: auto;
  }

  .furniture-preview {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

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

  .project-view,
  .order-panel {
    min-height: auto;
  }

  .project-view {
    min-height: 320px;
    padding: 54px 24px 42px;
  }

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

  .premium-module-grid,
  .ecosystem-map {
    grid-template-columns: 1fr;
  }

  .map-node.core {
    grid-column: auto;
  }

  .premium-module-grid article {
    min-height: auto;
  }

  .premium-module-grid span {
    margin-bottom: 38px;
  }

  .price-teaser {
    align-items: start;
  }
}

/* User logo/favicon are managed manually; these rules only control layout and color. */
.home-page {
  --red: #ff3b30;
  --yellow: #ffcc00;
  --green: #34c759;
  --violet: #af52de;
  --blue: #0071e3;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 34%, #ffffff 68%, #f5f5f7 100%);
}

.home-page .site-header {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 38px rgba(26, 31, 45, .08);
}

.home-page .button.primary {
  background: linear-gradient(135deg, #111216 0%, #1f2430 54%, #2d1635 100%);
  box-shadow: 0 18px 44px rgba(23, 25, 36, .24);
}

.home-page .button.secondary {
  background: rgba(255, 255, 255, .9);
}

.hero-premium {
  min-height: 920px;
  background:
    linear-gradient(120deg, rgba(255, 59, 48, .12), transparent 26%),
    linear-gradient(300deg, rgba(52, 199, 89, .12), transparent 22%),
    #f5f7fb;
}

.hero-premium .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 28%, rgba(255, 255, 255, .26) 58%, rgba(255, 255, 255, .04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(245, 247, 251, .2) 46%, rgba(245, 247, 251, .98) 100%);
}

.premium-hero-inner {
  z-index: 3;
}

.premium-hero-inner h1 {
  color: #15161a;
}

.premium-hero-inner h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.8vw, 78px);
}

.premium-hero-inner .hero-lead {
  font-size: 20px;
}

.statement-section h2,
.ecosystem-section h2 {
  font-size: clamp(34px, 4.8vw, 66px);
}

.showcase-copy h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.showcase-copy p,
.statement-section p:not(.eyebrow),
.ecosystem-section .section-lead,
.price-teaser p {
  font-size: 19px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
  filter: blur(8px);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.premium-module-grid article:nth-child(2),
.process-grid article:nth-child(2),
.news-card:nth-child(2),
.map-node:nth-child(2) {
  transition-delay: .07s;
}

.premium-module-grid article:nth-child(3),
.process-grid article:nth-child(3),
.news-card:nth-child(3),
.map-node:nth-child(3) {
  transition-delay: .14s;
}

.premium-module-grid article:nth-child(4),
.process-grid article:nth-child(4),
.map-node:nth-child(4) {
  transition-delay: .21s;
}

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

  .button,
  .reveal-item {
    transition: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.premium-hero-inner .eyebrow,
.statement-section .eyebrow,
.showcase-copy .eyebrow,
.center-head .eyebrow,
.price-teaser .eyebrow,
.premium-cta .eyebrow {
  color: #ff3b30;
}

.hero-product-strip {
  left: auto;
  right: max(34px, calc((100% - 1280px) / 2));
  bottom: 44px;
  width: min(760px, calc(100% - 470px));
  min-width: 650px;
  transform: none;
  background: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 80px rgba(26, 31, 45, .16);
}

.hero-product-strip div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .48));
}

.hero-product-strip div:nth-child(1) {
  border-top: 3px solid var(--red);
}

.hero-product-strip div:nth-child(2) {
  border-top: 3px solid var(--yellow);
}

.hero-product-strip div:nth-child(3) {
  border-top: 3px solid var(--violet);
}

.statement-section {
  --statement-dark: 0;
  position: relative;
  overflow: hidden;
  color: #15161a;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 204, 0, .22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(0, 113, 227, .14), transparent 30%),
    linear-gradient(180deg, #f6f8fc 0%, #eef3fa 100%);
  transition: color .35s ease;
}

.statement-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--statement-dark);
  background:
    linear-gradient(135deg, rgba(255, 59, 48, .18), transparent 34%),
    linear-gradient(300deg, rgba(175, 82, 222, .22), transparent 30%),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .06), transparent 30%),
    #101116;
  transition: opacity .25s ease-out;
}

.statement-section > * {
  position: relative;
  z-index: 1;
}

.statement-section h2 {
  color: #15161a;
  transition: color .25s ease-out;
}

.statement-section p:not(.eyebrow) {
  color: var(--muted);
  transition: color .25s ease-out;
}

.statement-section.is-scroll-dark h2 {
  color: #fff;
}

.statement-section.is-scroll-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, .68);
}

.showcase-light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 249, 255, 1) 58%, rgba(255, 247, 231, 1) 100%);
}

.configurator-window {
  border-color: rgba(255, 255, 255, .98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  box-shadow: 0 36px 110px rgba(35, 62, 110, .18);
}

.configurator-window.sales-workbench {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 59, 48, .16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(0, 113, 227, .16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
}

.showcase-dark {
  background:
    linear-gradient(135deg, rgba(255, 59, 48, .18), transparent 34%),
    linear-gradient(300deg, rgba(175, 82, 222, .22), transparent 30%),
    #101116;
}

.premium-module-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .065));
  border-color: rgba(255, 255, 255, .16);
}

.premium-module-grid article:nth-child(1) {
  box-shadow: inset 0 3px 0 var(--red);
}

.premium-module-grid article:nth-child(2) {
  box-shadow: inset 0 3px 0 var(--yellow);
}

.premium-module-grid article:nth-child(3) {
  box-shadow: inset 0 3px 0 var(--green);
}

.premium-module-grid article:nth-child(4) {
  box-shadow: inset 0 3px 0 var(--violet);
}

.api-showcase {
  background:
    linear-gradient(125deg, #f6f9ff 0%, #ffffff 48%, #fff7eb 100%);
}

.premium-api-panel {
  background:
    linear-gradient(135deg, rgba(255, 59, 48, .16), rgba(0, 113, 227, .16)),
    #17191f;
}

.ecosystem-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.map-node {
  background: #ffffff;
  box-shadow: 0 12px 38px rgba(26, 31, 45, .06);
}

.map-node.core {
  background:
    linear-gradient(135deg, rgba(255, 59, 48, .62), rgba(255, 204, 0, .38), rgba(175, 82, 222, .55)),
    #17191d;
}

.price-teaser,
.premium-cta {
  background:
    linear-gradient(135deg, rgba(255, 59, 48, .42), rgba(255, 204, 0, .16) 38%, rgba(52, 199, 89, .18) 58%, rgba(175, 82, 222, .35)),
    #15161d;
}

@media (max-width: 1180px) {
  .hero-product-strip {
    right: 24px;
    width: min(700px, calc(100% - 420px));
    min-width: 560px;
  }
}

@media (max-width: 980px) {
  .hero-product-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 28px));
    min-width: 0;
    margin: -96px auto 48px;
    transform: none;
  }

  .hero-product-strip div {
    border-top: 0;
    border-left: 3px solid var(--red);
  }

  .hero-product-strip div:nth-child(2) {
    border-left-color: var(--yellow);
  }

  .hero-product-strip div:nth-child(3) {
    border-left-color: var(--violet);
  }
}

@media (max-width: 700px) {
  .hero-premium {
    min-height: 810px;
  }

  .hero-product-strip {
    margin-top: -54px;
  }
}

@media (max-width: 520px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: calc(100% - 16px);
    padding: 8px 10px;
  }

  .home-page .brand img {
    width: min(156px, 48vw);
  }

  .header-actions {
    min-width: 0;
    justify-content: end;
  }

  .mobile-menu nav {
    min-width: min(240px, calc(100vw - 28px));
  }

  .hero-premium {
    min-height: auto;
  }

  .premium-hero-inner {
    width: calc(100% - 24px);
    min-height: 650px;
    padding-top: 124px;
  }

  .premium-hero-inner h1,
  .statement-section h2,
  .ecosystem-section h2,
  .showcase-copy h2,
  .price-teaser h2,
  .premium-cta h2 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.02;
  }

  .premium-hero-inner .hero-lead,
  .statement-section p:not(.eyebrow),
  .ecosystem-section .section-lead,
  .showcase-copy p,
  .price-teaser p,
  .premium-cta p {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-actions,
  .inline-actions,
  .cta-actions,
  .share-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .hero-product-strip {
    width: calc(100% - 20px);
    margin: -34px auto 34px;
  }

  .statement-section,
  .ecosystem-section,
  .showcase,
  .api-showcase,
  .price-teaser,
  .share-section,
  .premium-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-stage,
  .configurator-window,
  .sales-workbench,
  .api-panel,
  .premium-api-panel {
    width: 100%;
    min-width: 0;
  }

  .configurator-window,
  .sales-workbench {
    padding: 12px;
  }

  .project-view {
    min-height: 280px;
    padding: 52px 18px 40px;
  }

  .dimension-height {
    left: 8px;
  }

  .dimension-width {
    left: 58px;
    right: 24px;
  }

  .kitchen-scene {
    width: min(280px, 88%);
  }

  .order-panel {
    padding: 14px;
  }

  .workbench-footer {
    grid-template-columns: 1fr;
  }

  .premium-module-grid,
  .ecosystem-map {
    gap: 10px;
  }

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

  .news-item-image,
  .article-image {
    aspect-ratio: 16 / 10;
  }

  .map-node {
    min-height: 62px;
  }

  .premium-cta {
    text-align: left;
  }
}

.legal-page {
  padding-bottom: 86px;
}

.legal-page h1 {
  max-width: 920px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
}

.legal-page > p:not(.eyebrow) {
  max-width: 840px;
  font-size: 18px;
}

.legal-content {
  max-width: 860px;
  margin-top: 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(20, 24, 31, .06);
}

.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin: 28px 0 0;
}

.legal-doc-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(20, 24, 31, .05);
}

.legal-doc-nav a:hover,
.legal-content a:hover {
  color: var(--red);
}

.legal-meta {
  padding: 16px 18px;
  background: #f6f7f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h2 {
  margin-top: 28px;
  font-size: 22px;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
}

.legal-content ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.share-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 82px max(18px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(255, 204, 0, .22), rgba(52, 199, 89, .12), rgba(0, 113, 227, .14)),
    #fff;
}

.share-section h2 {
  max-width: 720px;
  font-size: clamp(32px, 4.2vw, 56px);
}

.share-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: #17191d;
  border-radius: 8px;
  font-weight: 850;
}

.share-actions a:nth-child(2) {
  background: var(--red);
}

.share-actions a:nth-child(3) {
  background: var(--violet);
}

.article-share {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .share-section {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 980px) {
  .home-page .api-showcase .showcase-copy {
    order: 1;
  }

  .home-page .api-showcase .api-panel {
    order: 2;
  }
}

@media (max-width: 700px) {
  .home-page .premium-hero-inner,
  .home-page .showcase-copy,
  .home-page .premium-process .section-head,
  .home-page .price-teaser,
  .home-page .share-section,
  .home-page .premium-cta {
    text-align: center;
    justify-items: center;
  }

  .home-page .premium-hero-inner h1,
  .home-page .premium-hero-inner .hero-lead,
  .home-page .showcase-copy h2,
  .home-page .showcase-copy p,
  .home-page .premium-process .section-head,
  .home-page .price-teaser h2,
  .home-page .price-teaser p,
  .home-page .share-section h2,
  .home-page .share-section p,
  .home-page .premium-cta h2,
  .home-page .premium-cta p {
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .hero-actions,
  .home-page .inline-actions,
  .home-page .cta-actions,
  .home-page .share-actions {
    justify-content: center;
  }

  .home-page .api-showcase,
  .home-page .price-teaser,
  .home-page .share-section,
  .home-page .premium-cta {
    justify-items: center;
  }

  .home-page .product-stage,
  .home-page .api-panel,
  .home-page .premium-api-panel {
    justify-self: center;
  }

  .home-page .process-grid article,
  .home-page .premium-module-grid article {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .home-page .premium-cta {
    text-align: center;
  }

  .home-page .hero-actions,
  .home-page .inline-actions,
  .home-page .cta-actions,
  .home-page .share-actions {
    justify-items: center;
  }
}
