:root {
  --color-bg: #f9f9f9;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f6fb;
  --color-primary: #6b46c1;
  --color-primary-hover: #5a3fb5;
  --color-text: #212121;
  --color-muted: #5f6473;
  --color-success: #48bb78;
  --color-danger: #f56565;
  --color-border: #e2e8f0;
  --color-border-strong: #cfd8e4;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-8: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-h1: 700 40px/48px "Inter", "Segoe UI", Arial, sans-serif;
  --font-h2: 700 32px/40px "Inter", "Segoe UI", Arial, sans-serif;
  --font-h3: 700 24px/32px "Inter", "Segoe UI", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.site-wrap {
  min-height: 100vh;
}

.locale-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  background: rgba(16, 18, 24, 0.68);
  backdrop-filter: blur(3px);
}

.locale-picker-card {
  width: min(420px, 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 14px 36px rgba(15, 17, 23, 0.2);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locale-picker-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.locale-picker-icon-dot {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid var(--color-primary);
  position: relative;
}

.locale-picker-icon-dot::before,
.locale-picker-icon-dot::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  width: 30px;
  height: 30px;
}

.locale-picker-icon-dot::after {
  width: 14px;
  height: 46px;
  border-width: 0 2px;
  border-style: solid;
  border-color: var(--color-primary);
  border-radius: 0;
}

.locale-picker-card h2 {
  margin: 12px 0 6px;
  font-size: 26px;
  line-height: 1.15;
  text-align: center;
}

.locale-picker-card p {
  color: var(--color-muted);
  text-align: center;
}

.locale-picker-actions {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  width: 100%;
}

.container {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--color-border);
  background: rgba(249, 249, 249, 0.94);
  backdrop-filter: blur(8px);
}

.header__inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand__logo {
  width: auto;
  height: clamp(68px, 6.8vw, 104px);
}

.header__nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.nav-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  transition: 150ms ease;
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav-link--accent {
  color: #fff;
  background: var(--color-primary);
}

.nav-link--accent:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

.header__right {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
  background: var(--color-surface);
}

.language-switch a {
  min-height: 30px;
  min-width: 78px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 600;
  transition: 150ms ease;
}

.language-switch a.is-active {
  color: #fff;
  background: var(--color-primary);
}

.account-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--color-surface);
  font-size: 12px;
  color: var(--color-muted);
}

.page {
  padding: var(--space-6) 0 var(--space-8);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  color: var(--color-text);
}

h1 {
  font: var(--font-h1);
}

h2 {
  font: var(--font-h2);
}

h3 {
  font: var(--font-h3);
}

p {
  margin: 0;
}

.title-compact {
  margin: 0;
  font: var(--font-h3);
}

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

.eyebrow {
  display: none;
}

.section-head {
  margin: var(--space-5) 0 var(--space-3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}

.section-head p {
  color: var(--color-muted);
  max-width: 760px;
}

.section-head--with-action {
  align-items: flex-end;
}

.section-head--compact {
  margin: var(--space-4) 0 var(--space-3);
  align-items: center;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.quick-actions {
  margin-top: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: var(--space-3);
}

.quick-actions .meta-label {
  margin-bottom: var(--space-2);
}

.quick-actions__list {
  margin-top: 0;
}

.hero-grid,
.split-layout,
.card-grid,
.portal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
}

.hero-grid {
  align-items: stretch;
}

.hero {
  grid-column: span 7;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero .lead {
  max-width: 640px;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 10px;
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.kpi-grid {
  margin-top: auto;
  padding-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.kpi-box {
  min-height: 92px;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.kpi-box span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
}

.kpi-box strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
}

.card-main {
  grid-column: span 8;
}

.card-side {
  grid-column: span 4;
}

.card-wide {
  grid-column: span 12;
}

.auth-layout {
  align-items: stretch;
}

.auth-layout > .card-main,
.auth-layout > .card-side {
  height: 100%;
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.auth-layout > .card-main h1,
.auth-layout > .card-side h2 {
  margin: 0;
}

.auth-layout > .card-main .lead,
.auth-layout > .card-main .stack-form,
.auth-layout > .card-main .meta,
.auth-layout > .card-side .steps-list {
  margin-top: 0;
}

.auth-layout > .card-main .meta {
  margin-top: auto;
}

.auth-layout > .card-side .steps-list {
  grid-auto-rows: 1fr;
}

.detail-layout,
.support-layout {
  align-items: start;
}

.product-layout {
  align-items: stretch;
}

.product-layout .card-main {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  height: 100%;
}

.product-layout .card-main .lead {
  margin-top: -4px;
}

.product-layout .card-main .detail-grid {
  margin-top: 0;
  gap: var(--space-3);
}

.product-layout .product-panels {
  margin-top: 0;
  gap: var(--space-3);
}

.product-layout .card-side {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  height: 100%;
}

.product-layout .card-side .lead,
.product-layout .card-side .price-line,
.product-layout .card-side .detail-grid,
.product-layout .card-side .stack-cluster,
.product-layout .card-side .actions,
.product-layout .card-side .notice {
  margin-top: 0;
}

.product-layout .card-side .detail-grid {
  gap: var(--space-3);
}

.product-layout .card-side .actions {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.product-layout .card-side .actions .button,
.product-layout .card-side .actions button.button {
  width: 100%;
}

.proof-card h2 {
  margin-top: 6px;
}

.proof-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.proof-grid {
  margin-top: auto;
  padding-top: var(--space-3);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.proof-item {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
}

.proof-item span {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
}

.proof-item strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.featured-single {
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: var(--space-4);
  align-items: stretch;
}

.featured-single__main {
  display: grid;
  gap: var(--space-3);
}

.featured-single__side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: var(--space-3);
  width: min(100%, 340px);
  margin-left: auto;
}

.featured-single__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.service-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.service-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-mark img {
  width: 50px;
  height: 50px;
}

.service-title-block small {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
}

.service-title-block {
  min-width: 0;
}

.service-title-block strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.35;
}

.pill-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--color-muted);
}

.badge-success {
  background: var(--color-success);
}

.badge-danger {
  background: var(--color-danger);
}

.price-line {
  margin-top: var(--space-3);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-single__side .price-line {
  margin-top: auto;
  justify-content: flex-end;
  align-items: baseline;
  text-align: right;
  width: 100%;
}

.featured-single__side .actions {
  margin-top: 0;
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: var(--space-2);
}

.featured-single__side .actions .button,
.featured-single__side .actions button.button {
  width: auto;
  min-width: 130px;
}

.price-line span {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.price-line small {
  color: var(--color-muted);
  font-size: 15px;
}

.catalog-grid {
  margin-top: var(--space-2);
  gap: var(--space-4);
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.catalog-grid .product-card {
  grid-column: span 4;
  min-height: 322px;
}

.catalog-grid .product-card:last-child:nth-child(3n + 1) {
  grid-column: span 12;
}

.catalog-grid .product-card:nth-last-child(2):nth-child(3n + 1),
.catalog-grid .product-card:last-child:nth-child(3n + 2) {
  grid-column: span 6;
}

.summary-grid {
  margin-top: var(--space-3);
}

.summary-grid .summary-card {
  grid-column: span 4;
}

.entity-grid .entity-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.entity-title {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}

.catalog-grid .product-card--featured-like {
  grid-column: span 12;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: var(--space-4);
  align-items: stretch;
}

.product-card--featured-like .product-card__main {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.product-card--featured-like .product-card__side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: var(--space-3);
  width: min(100%, 340px);
  margin-left: auto;
}

.product-card--featured-like .product-card__side .price-line {
  margin-top: auto;
  justify-content: flex-end;
  align-items: baseline;
  text-align: right;
  width: 100%;
}

.product-card--featured-like .product-card__side .actions {
  margin-top: 0;
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: var(--space-2);
}

.product-card--featured-like .product-card__side .actions .button,
.product-card--featured-like .product-card__side .actions button.button {
  width: auto;
  min-width: 130px;
}

.catalog-grid .product-card .lead {
  min-height: 52px;
}

.catalog-grid .product-card--featured-like .lead {
  min-height: 0;
}

.product-panels > .soft-panel {
  grid-column: span 6;
  min-width: 0;
}

.card-grid.product-panels > .soft-panel {
  grid-column: span 6;
}

.product-card .actions {
  margin-top: auto;
}

.info-split .stack-cluster {
  margin-top: var(--space-3);
}

.steps-list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.steps-list article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface-soft);
  min-height: 94px;
}

.steps-list strong {
  display: block;
  margin-bottom: 4px;
}

.steps-list p {
  color: var(--color-muted);
  font-size: 14px;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.step-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  background: var(--color-surface);
  font-size: 12px;
  font-weight: 600;
}

.step-chip.is-active {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.step-chip.is-done {
  color: #fff;
  background: var(--color-success);
  border-color: var(--color-success);
}

.checkout-layout {
  align-items: stretch;
}

.checkout-layout > .card-main,
.checkout-layout > .card-side {
  height: 100%;
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.checkout-layout > .card-main h1,
.checkout-layout > .card-side h2 {
  margin: 0;
}

.checkout-layout > .card-main .lead,
.checkout-layout > .card-side .lead,
.checkout-layout > .card-main .stack-form,
.checkout-layout > .card-main .steps-list,
.checkout-layout > .card-side .price-line,
.checkout-layout > .card-side .actions {
  margin-top: 0;
}

.checkout-layout > .card-side .actions {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.checkout-layout > .card-side .actions .button,
.checkout-layout > .card-side .actions button.button {
  width: 100%;
}

.status-banner {
  margin: var(--space-3) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.status-banner > div {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface-soft);
}

.status-banner strong {
  display: block;
}

.status-banner small {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

.trust-strip {
  margin: 0 0 var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.trust-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.section-label {
  margin-top: var(--space-3);
}

.method-stack {
  display: grid;
  gap: var(--space-3);
}

.method-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: var(--space-3);
}

.method-section h3 {
  margin: 0;
  font-size: 18px;
}

.method-section .form-hint {
  margin-top: var(--space-2);
}

.method-list {
  margin-top: var(--space-2);
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-form {
  margin: 0;
}

.button,
button.button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 150ms ease;
  box-shadow: var(--shadow-sm);
}

.button:hover,
button.button:hover {
  background: var(--color-primary-hover);
}

.button-secondary,
button.button-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.button-secondary:hover,
button.button-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

.button-full {
  width: 100%;
}

.button-sm,
button.button-sm {
  min-height: 38px;
  padding: 0 10px;
  font-size: 13px;
}

.actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.compact-actions .button,
.compact-actions button.button {
  min-height: 40px;
  font-size: 14px;
}

.stack-form {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-3);
}

.stack-form label,
.stack-form .field {
  display: grid;
  gap: var(--space-1);
}

.stack-form label span {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--color-text);
  font-size: 15px;
  outline: none;
}

.input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--color-text);
  font-size: 15px;
}

.has-error .input,
.has-error input,
.has-error textarea,
.has-error select {
  border-color: var(--color-danger);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #8db4ff;
  box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.2);
}

.inline-form {
  margin-top: var(--space-2);
}

.checkout-rail {
  position: sticky;
  top: 92px;
}

.purchase-rail,
.detail-rail {
  position: sticky;
  top: 92px;
}

.form-hint,
.meta {
  color: var(--color-muted);
  font-size: 14px;
}

.notice {
  margin-top: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fdfefe;
  padding: var(--space-3);
  color: var(--color-muted);
  font-size: 14px;
}

.detail-grid {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.detail-grid-compact {
  grid-template-columns: 1fr;
}

.detail-grid-tight {
  margin-top: 0;
}

.detail-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: var(--space-3);
}

.detail-box span {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
}

.detail-box strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.detail-box a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-border-strong);
}

.detail-box a:hover {
  text-decoration-color: var(--color-primary);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.detail-head {
  align-items: flex-start;
}

.stack-cluster {
  display: grid;
  gap: var(--space-2);
}

.soft-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface-soft);
}

.soft-panel strong {
  display: block;
  margin-bottom: 4px;
}

.soft-panel,
.detail-box,
.proof-item,
.kpi-box {
  min-width: 0;
}

.soft-panel p,
.soft-panel li,
.proof-item span {
  overflow-wrap: anywhere;
}

.trust-panel {
  border-color: var(--color-border-strong);
}

.trust-points {
  margin-top: var(--space-2);
}

.list-clean {
  margin: 0;
  padding-left: 20px;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.artifact-steps {
  margin-top: 12px;
}

.message-list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.message-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: var(--space-3);
}

.message-item header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 8px;
}

.message-item header small {
  color: var(--color-muted);
}

.message-item p {
  white-space: pre-wrap;
}

.artifact-list {
  display: grid;
  gap: var(--space-2);
}

.artifact {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface-soft);
}

.artifact-value {
  margin-top: 8px;
  word-break: break-word;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
}

.qr-layout {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.qr-canvas {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #111317;
}

.portal-grid > .card:first-child {
  grid-column: span 4;
}

.portal-grid > .card:last-child {
  grid-column: span 8;
}

.process-strip {
  margin-top: var(--space-4);
}

.info-split {
  margin-top: var(--space-4);
  align-items: stretch;
}

.info-split > .card {
  height: 100%;
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.info-split > .card h2 {
  margin: 0;
}

.info-split .stack-cluster,
.info-split .steps-list {
  margin-top: 0;
  gap: var(--space-3);
  grid-auto-rows: 1fr;
}

.info-split .soft-panel,
.info-split .steps-list article {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.process-strip > .card {
  grid-column: span 4;
}

.empty-state {
  text-align: left;
}

.card-meta-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: 13px;
}

.button.is-copied,
button.button.is-copied {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

.footer {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-8);
  background: #fff;
}

.footer__inner {
  padding: var(--space-4) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.footer__col strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.footer__col span {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1199px) {
  :root {
    --font-h1: 700 34px/42px "Inter", "Segoe UI", Arial, sans-serif;
    --font-h2: 700 28px/36px "Inter", "Segoe UI", Arial, sans-serif;
  }

  .hero-grid,
  .split-layout,
  .card-grid,
  .portal-grid {
    gap: var(--space-3);
  }

  .hero,
  .card-main {
    grid-column: span 12;
  }

  .proof-card {
    grid-column: span 12;
  }

  .card-side {
    grid-column: span 12;
  }

  .checkout-rail {
    position: static;
  }

  .purchase-rail,
  .detail-rail {
    position: static;
  }

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

  .summary-grid .summary-card {
    grid-column: span 6;
  }

  .catalog-grid .product-card {
    grid-column: span 6;
  }

  .catalog-grid .product-card--featured-like {
    grid-column: span 12;
  }

  .catalog-grid .product-card:last-child:nth-child(3n + 1),
  .catalog-grid .product-card:nth-last-child(2):nth-child(3n + 1),
  .catalog-grid .product-card:last-child:nth-child(3n + 2) {
    grid-column: span 6;
  }

  .catalog-grid .product-card .lead {
    min-height: 0;
  }

  .product-panels > .soft-panel {
    grid-column: span 12;
  }

  .card-grid.product-panels > .soft-panel {
    grid-column: span 12;
  }

  .process-strip > .card {
    grid-column: span 6;
  }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: var(--space-4) 0;
  }
}

@media (max-width: 900px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .header__nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
  }

  .header__nav .nav-link {
    justify-content: flex-start;
  }

  .header__right {
    margin-left: auto;
  }

  .brand__logo {
    width: auto;
    height: clamp(58px, 10vw, 86px);
  }

  .kpi-grid,
  .proof-grid,
  .detail-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .summary-grid .summary-card,
  .entity-grid .entity-card,
  .catalog-grid .product-card,
  .process-strip > .card {
    grid-column: span 12;
  }

  .catalog-grid .product-card--featured-like {
    grid-template-columns: 1fr;
  }

  .product-card--featured-like .product-card__side {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .product-card--featured-like .product-card__side .price-line {
    margin-top: 0;
    width: auto;
    text-align: left;
    justify-content: flex-start;
  }

  .product-card--featured-like .product-card__side .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .product-card--featured-like .product-card__side .actions .button,
  .product-card--featured-like .product-card__side .actions button.button {
    width: 100%;
    min-width: 0;
  }

  .featured-single {
    grid-template-columns: 1fr;
  }

  .featured-single__side {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .featured-single__side .price-line {
    margin-top: 0;
    width: auto;
    text-align: left;
    justify-content: flex-start;
  }

  .featured-single__side .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .featured-single__side .actions .button,
  .featured-single__side .actions button.button {
    width: 100%;
    min-width: 0;
  }

  .steps-list article {
    min-height: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --font-h1: 700 30px/38px "Inter", "Segoe UI", Arial, sans-serif;
    --font-h2: 700 24px/32px "Inter", "Segoe UI", Arial, sans-serif;
    --space-6: 32px;
  }

  .container {
    width: min(1240px, calc(100vw - 24px));
  }

  .page {
    padding: var(--space-4) 0;
  }

  .hero,
  .card {
    padding: var(--space-3);
  }

  .hero .lead,
  .card .lead,
  .steps-list p {
    font-size: 15px;
    line-height: 1.45;
  }

  .section-head {
    margin: var(--space-5) 0 var(--space-3);
  }

  .section-head,
  .section-head--with-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-title-block strong {
    font-size: 15px;
  }

  .service-mark {
    width: 50px;
    height: 50px;
  }

  .service-mark img {
    width: 44px;
    height: 44px;
  }

  .language-switch a {
    min-width: 64px;
  }

  .brand__logo {
    width: auto;
    height: clamp(52px, 14vw, 76px);
  }

  .proof-item strong {
    font-size: 20px;
  }

  .message-item header {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-steps {
    gap: 6px;
  }

  .step-chip {
    flex: 1 1 100%;
    justify-content: center;
  }

  .actions {
    flex-direction: column;
  }

  .actions .button,
  .actions button.button,
  .hero-actions .button,
  .hero-actions button.button {
    width: 100%;
  }

  .section-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-actions .button,
  .section-actions button.button {
    width: 100%;
  }

  .quick-actions {
    padding: var(--space-2);
  }
}
