/* Homepage-only visual layer. Remove this link to restore the shared styling. */
html[data-page="home"] {
  --home-navy: #0b1120;
  --home-paper: #f7f7f5;
  --home-peach: #fff0e5;
  /* Public styles use an 8px rhythm; spacing tokens are optional here. */
  --home-section-space: calc(var(--space-6, 48px) * 2);
  --home-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:where(html[data-page="home"]) main > :is(.pricing-calc, .e-devlet, .okc, .products, .integrations, .home-posts, .solutions, .faq) {
  padding-block: var(--home-section-space);
}

:where(html[data-page="home"]) .section-header {
  margin-bottom: var(--space-6, 48px);
}

:where(html[data-page="home"]) .section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3, 24px);
}

:where(html[data-page="home"]) .section-label::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto var(--space-2, 16px);
  background: var(--accent);
}

/* Shared controls keep the site's orange; only the hover state moves to navy. */
:where(html[data-page="home"]) :is(.btn-accent, .btn-purchase, .btn-demo-talep) {
  background: var(--accent);
  border-color: var(--accent);
}

:where(html[data-page="home"]) :is(.btn-accent, .btn-purchase, .btn-demo-talep):hover {
  background: var(--home-navy);
  border-color: var(--home-navy);
}

:where(html[data-page="home"]) .whatsapp-float {
  background: var(--home-navy);
}

/* ---------- Hero: text column beside the POS mockup ---------- */
:where(html[data-page="home"]) .hero {
  padding: var(--home-section-space) 0 var(--space-6, 48px);
  background: var(--home-paper);
}

:where(html[data-page="home"]) .hero::after {
  content: none;
}

:where(html[data-page="home"]) .hero-content {
  align-items: center;
  gap: var(--space-6, 48px);
}

:where(html[data-page="home"]) .hero-text {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  text-align: left;
}

:where(html[data-page="home"]) .hero-text h1 {
  color: var(--home-navy);
  font-size: clamp(32px, 3.4vw, 48px);
}

:where(html[data-page="home"]) .hero-text h1 .hero-accent-line {
  background: none;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

:where(html[data-page="home"]) .hero-actions {
  justify-content: flex-start;
}

/* Text column keeps at least 44% of the row; the demo takes the rest (56% minus the gap). */
:where(html[data-page="home"]) .hero-image-placeholder {
  display: block;
  position: relative;
  flex: 0 0 calc(56% - var(--space-6, 48px));
  min-width: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

:where(html[data-page="home"]) .hero-image-placeholder::before,
:where(html[data-page="home"]) .hero-image-placeholder::after {
  content: none;
}

/* ---------- Product demo: reserved stage for landscape POS and portrait kiosk ---------- */
.home-hero-demo { position: relative; z-index: 1; container-type: inline-size; }
.hd-stage { display: flex; align-items: flex-start; justify-content: center; height: max(560px, 62.5cqw); }
html[data-page="home"] .hero-image-placeholder.fade-in-section,
html[data-page="home"] .home-hero-demo.reveal { opacity: 1; transform: none; filter: none; animation: none; }
html[data-page="home"] .hero-image-placeholder:hover { transform: none !important; box-shadow: none; }
.hd-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.hd-tab { min-height: 44px; padding: 8px 18px; border: 1px solid var(--border); border-radius: 100px; background: #ffffff; color: #0b1120; font: 600 13px var(--font-sans); cursor: pointer; }
.hd-tab.is-active { background: #fc6800; border-color: #fc6800; color: #0b1120; }
.home-hero-demo :is(button, summary, input):focus-visible { outline: 2px solid #0b1120; outline-offset: -3px; }
.hd-frame { position: relative; display: flex; flex-direction: column; width: 100%; height: 62.5cqw; aspect-ratio: 16 / 10; flex-shrink: 0; overflow: hidden; background: #ffffff; border: 1px solid #dedede; border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(11,17,32,.3); color: #0b1120; font: 500 clamp(10px, 1.85cqw, 12px)/1.35 var(--font-sans); transition: none; transform: translateZ(0); }
.home-hero-demo[data-screen="kiosk"] .hd-frame { width: 315px; height: 560px; aspect-ratio: 9 / 16; font-size: 12px; }
.hd-frame button, .hd-frame input, .hd-frame summary { font: inherit; color: inherit; }
.hd-frame button { cursor: pointer; min-height: 44px; min-width: 44px; }
.hd-frame button:disabled { opacity: .48; cursor: default; }
.hd-frame [hidden] { display: none !important; }
.hd-head { display: flex; align-items: center; gap: 10px; flex: 0 0 36px; padding: 0 10px; border-bottom: 1px solid #dedede; }
.hd-brand { font-family: 'Moderna', serif; font-size: 21px; font-weight: 400; letter-spacing: .02em; white-space: nowrap; }
.hd-brand > span { color: #fc6800; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .76em; font-weight: 700; letter-spacing: 0; }
#hdContext { margin-left: auto; font-size: .86em; font-weight: 600; }
.hd-date { font-size: .8em; color: #666666; white-space: nowrap; }
.hd-action-toggle { display: none; }
.hd-body, .hd-screens { display: flex; flex: 1; min-height: 0; min-width: 0; }
.hd-screens { position: relative; }
.hd-screen { position: absolute; inset: 0; display: none; gap: 6px; padding: 7px; background: #f7f7f5; }
.hd-screen.is-active { display: flex; }
.hd-action-column { display: flex; flex-direction: column; gap: 4px; flex: 0 0 12%; min-width: 0; min-height: 0; overflow: hidden; }
.hd-action { flex: 1 1 0; padding: 4px 2px; border: 1px solid #dedede; border-radius: 4px; background: #ffffff; font-size: 11px !important; line-height: 1.2 !important; }
.hd-action:nth-last-child(-n+2) { background: #fff0e5; }
.hd-receipt { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 0 0 34%; background: #ffffff; border: 1px solid #dedede; border-radius: 6px; }
.hd-receipt-head { padding: 8px; background: #fff0e5; font-size: 1em; font-weight: 700; }
.hd-receipt-meta { padding: 5px 8px; color: #666666; font-size: .8em; }
.hd-lines { flex: 1; min-height: 0; overflow: hidden; margin: 0; padding: 0 8px; list-style: none; }
.hd-lines li { display: flex; justify-content: space-between; gap: 5px; padding: 8px 0; border-bottom: 1px solid #eeeeee; font-size: .88em; }
.hd-lines li > span { min-width: 0; }
.hd-lines small { display: block; color: #666666; font-size: .9em; margin-top: 3px; }
.hd-lines li > strong { white-space: nowrap; font-size: .94em; font-variant-numeric: tabular-nums; }
.hd-lines li.is-new { background: #fff0e5; animation: hdRowIn .25s ease-out; }
.hd-empty { color: #666666; padding: 10px 0; }
.hd-sums { padding: 8px; border-top: 1px dashed #cccccc; }
.hd-total { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; font-size: .9em; }
.hd-total strong { font-size: 1.65em; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd-receipt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 6px 6px; }
.hd-btn { min-height: 30px; padding: 5px; border: 1px solid #fc6800; border-radius: 5px; background: #fc6800; font-weight: 700 !important; }
.hd-btn-ghost { background: #fff0e5; border-color: #dedede; }
#hdAdd, #hdRetailPay { grid-column: 1 / -1; }
.hd-map, .hd-retail-catalog { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.hd-map-head, .hd-sale-tabs { display: flex; gap: 3px; margin-bottom: 6px; flex-shrink: 0; }
.hd-map-head button, .hd-sale-tabs button { flex: 1; min-width: 44px; min-height: 44px; padding: 4px; border: 1px solid #dedede; border-radius: 4px; background: #ffffff; font-size: .85em; font-weight: 600; }
.hd-map-head .is-active, .hd-sale-tabs .is-active { background: #fc6800; border-color: #fc6800; }
.hd-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--hd-product-rows, 2), minmax(0, 1fr)); gap: 6px; flex: 1; min-height: 0; overflow: hidden; }
.hd-item { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; min-height: 68px; padding: 10px 8px; border: 1px solid #dedede; border-radius: 5px; background: #ffffff; text-align: left; }
.hd-item:hover { border-color: #fc6800; background: #fff0e5; }
.hd-item > .hd-art { width: 100%; height: 34px; flex-shrink: 0; }
.hd-item strong { font-size: .98em; line-height: 1.3; }
.hd-item em { font-style: normal; font-size: .94em; font-weight: 700; padding-right: 14px; }
.hd-tile-add { position: absolute; right: 6px; bottom: 5px; color: #fc6800; font-size: 16px; line-height: 1.35; }
.hd-keypad { position: relative; flex-shrink: 0; margin-top: 6px; background: #ffffff; border: 1px solid #dedede; border-radius: 5px; }
.hd-keypad summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 8px; list-style: none; cursor: pointer; }
.hd-keypad summary::-webkit-details-marker { display: none; }
.hd-keypad output { font-weight: 700; color: #fc6800; }
.hd-keypad summary > span { margin-left: auto; color: #666666; }
.hd-keys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; padding: 4px; }
.hd-key { min-height: 24px; min-width: 0; border: 1px solid #dedede; border-radius: 3px; background: #f7f7f5; font-size: .8em !important; }
.hd-key:last-child { background: #fff0e5; font-size: .65em !important; }
.hd-keypad:not([open]) > .hd-keys { display: none; }
.hd-keypad[open] .hd-keys { position: fixed; z-index: 6; inset: auto 5px 26px; padding: 5px; background: #ffffff; border: 1px solid #dedede; border-radius: 5px; box-shadow: 0 -8px 24px rgba(11,17,32,.12); }
.hd-barcode { display: grid; grid-template-columns: minmax(44px, 1fr) 44px; gap: 3px; padding: 5px; }
.hd-barcode label { font-size: .75em; color: #666666; }
.hd-barcode label[for="hdRetailQty"] { grid-column: 2; grid-row: 1; }
.hd-barcode input { width: 100%; min-width: 44px; height: 44px; padding: 3px; border: 1px solid #dedede; border-radius: 3px; background: #ffffff; }
.hd-retail-categories { display: flex; flex-direction: column; gap: 5px; flex: 0 0 13%; }
.hd-category { min-width: 0; min-height: 48px; padding: 6px 3px; border: 1px solid #dedede; border-radius: 5px; background: #ffffff; font-size: .85em !important; }
.hd-category.is-active { background: #fff0e5; border-color: #fc6800; }
#hdPerakende .hd-receipt { flex-basis: 32%; }
#hdPerakende .hd-products { grid-template-columns: minmax(0, 1fr); }
#hdPerakende .hd-item { min-height: 61px; }
#hdPerakende .hd-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 7px; }
#hdPerakende .hd-item > .hd-art { grid-row: 1 / 3; align-self: center; }
#hdPerakende .hd-item em { grid-column: 2; }
#hdRetailPriceList { line-height: 1.4; }
#hdPerakende .hd-receipt > .hd-keypad { margin: 0 5px 5px; }
.hd-flash { position: absolute; z-index: 3; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 10px; background: #fff0e5; text-align: center; pointer-events: none; }
.hd-flash.is-on { display: flex; animation: hdRowIn .25s ease-out; }
.hd-strip { display: flex; align-items: center; gap: 6px; flex: 0 0 25px; padding: 4px 10px; border-top: 1px solid #dedede; background: #ffffff; color: #666666; font-size: .85em; }
.hd-check { width: 17px; height: 17px; fill: none; stroke: #fc6800; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hd-strip .hd-check { visibility: hidden; }
.hd-strip.is-sent { color: #0b1120; background: #fff0e5; }
.hd-strip.is-sent .hd-check { visibility: visible; }
.hd-strip.is-sent .hd-check { animation: hdRowIn .5s cubic-bezier(.22,1,.36,1); }

@keyframes hdRowIn { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }
/* Kiosk: category rail, illustrated menu, basket and checkout. */
#hdKiosk { flex-direction: column; gap: 6px; padding: 8px 12px; background: #ffffff; }
.hd-kiosk-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; flex-shrink: 0; }
.hd-kiosk-head > div > strong { color: #fc6800; font-size: 1.2em; font-weight: 800; }
.hd-kiosk-head small { display: block; font-size: .72em; color: #666666; }
.hd-flags { display: flex; gap: 5px; }
.hd-flags .hd-flag { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #dedede; border-radius: 4px; font-size: .75em; }
.hd-flags .is-active { border-color: #fc6800; background: #fff0e5; }
.hd-flags svg { width: 22px; height: 16px; }
.hd-kiosk-catalog { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.hd-category-rail { display: flex; gap: 4px; flex-shrink: 0; }
.hd-category-rail .hd-category { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: 1; min-height: 52px; padding: 3px; border-color: transparent; font-size: 9px !important; }
.hd-category-rail .hd-category.is-active { border-color: #fc6800; }
.hd-category-rail .hd-art { height: 24px; width: 30px; border-radius: 50%; background: #f7f7f5; }
.hd-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.hd-menu-card { display: flex; flex-direction: column; min-width: 0; padding: 5px 6px 4px; background: #f7f7f5; border: 1px solid #eeeeee; border-radius: 9px; }
.hd-menu-card > .hd-art { width: 100%; height: 28px; }
.hd-menu-card > strong { flex: 1; font-size: .85em; line-height: 1.3; }
.hd-menu-card > div { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: 3px; }
.hd-menu-card em, .hd-basket-name em { font-style: normal; font-size: .92em; font-weight: 700; }
.hd-plus, .hd-minus, .hd-back, .hd-remove, .hd-clear { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 26px; min-height: 26px; padding: 4px; border: 1px solid #dedede; border-radius: 6px; background: #ffffff; }
.hd-plus { background: #fc6800; border-color: #fc6800; font-size: 17px !important; }
.hd-basket-bar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; width: 100%; min-height: 34px; padding: 6px 12px; border: 0; border-radius: 8px; background: #fc6800; font-weight: 700 !important; }
.hd-basket-bar > span:last-child { margin-left: auto; }
.hd-basket-count { display: grid; place-items: center; width: 22px; height: 22px; background: #fff0e5; border-radius: 50%; }
.hd-basket-lines { list-style: none; flex: 1; min-height: 0; overflow: hidden; margin: 0; padding: 0; }
.hd-basket-lines li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 44px; align-items: center; gap: 5px; padding: 8px 0; border-bottom: 1px solid #eeeeee; }
.hd-basket-lines .hd-quantity { grid-column: 2; grid-row: 2; }
.hd-basket-lines .hd-remove { grid-column: 3; grid-row: 1 / 3; }
.hd-basket-lines .hd-art { width: 36px; height: 44px; background: #f7f7f5; border-radius: 8px; flex-shrink: 0; }
.hd-basket-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.hd-basket-name > strong { font-size: .95em; }
.hd-quantity { display: flex; align-items: center; gap: 6px; }
.hd-quantity output { min-width: 12px; text-align: center; font-weight: 700; }
.hd-remove svg { width: 15px; height: 15px; fill: none; stroke: #666666; stroke-width: 1.5; }
.hd-checkout { padding: 8px; border-radius: 10px; background: #f7f7f5; flex-shrink: 0; }
.hd-grand-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hd-grand-total > strong:last-child { font-size: 1.5em; }
.hd-checkout-options { display: flex; gap: 8px; margin-bottom: 6px; }
.hd-qr { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 25%; font-size: .65em; text-align: center; }
.hd-qr .hd-art { width: 58px; height: 44px; flex-shrink: 0; }
.hd-dining { display: flex; flex-direction: column; flex: 1; gap: 6px; }
.hd-choice { flex: 1; padding: 5px; min-height: 44px; border: 1px solid #dedede; border-radius: 7px; background: #ffffff; font-size: .85em !important; }
.hd-choice[aria-pressed="true"] { background: #fff0e5; border: 1px solid #fc6800; box-shadow: inset 0 0 0 1px #fc6800; }
.hd-confirmation { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; text-align: center; }
.hd-confirmation .hd-check { width: 40px; height: 40px; padding: 8px; background: #fff0e5; border-radius: 50%; }
.hd-confirmation > strong { font-size: 2em; }
.home-hero-demo[data-screen="kiosk"] .hd-head { flex-basis: 44px; }
.home-hero-demo[data-screen="kiosk"] .hd-date { display: none; }
.home-hero-demo[data-screen="kiosk"] #hdContext { font-size: 9px; }
.home-hero-demo[data-screen="kiosk"] .hd-strip { min-height: 32px; font-size: 9px; }
/* Narrow POS workspaces scroll vertically while every control keeps its touch size. */
@container (max-width: 540px) {
  .hd-head { flex-basis: 44px; }
  .hd-date { display: none; }
  .hd-action-toggle { display: block; border: 0; background: #ffffff; }
  .hd-action-column { display: none; }
  .hd-actions-open .hd-action-column { display: flex; position: absolute; z-index: 5; inset: 4px auto 4px 4px; width: 120px; padding: 5px; background: #ffffff; border: 1px solid #dedede; }
  #hdRestoran, #hdPerakende { overflow-y: auto; align-items: flex-start; }
  #hdRestoran > .hd-receipt, #hdRestoran > .hd-map,
  #hdPerakende > .hd-receipt, #hdPerakende > .hd-retail-catalog { height: 320px; flex-shrink: 0; }
  .hd-brand { font-size: 18px; }
  #hdContext { font-size: 8px; }
  #hdPerakende .hd-receipt { flex-basis: 40%; }
  #hdPerakende .hd-retail-categories { flex-basis: 16%; }
  #hdPerakende .hd-item { display: flex; }
  #hdPerakende .hd-item > .hd-art { height: 28px; }
  .hd-sale-tabs { flex-direction: column; }
}
@media (max-width: 768px) {
  .hd-tabs { justify-content: center; }
  .hd-tab { padding-inline: 18px; }
  .hd-stage { height: max(520px, 62.5cqw); }
  .hd-frame { width: 100%; height: 62.5cqw; font-size: 10px; }
  .home-hero-demo[data-screen="kiosk"] .hd-frame { width: 100%; height: min(520px, 177.778cqw); max-height: 520px; }
  .hd-head { flex-basis: 44px; gap: 5px; padding-inline: 7px; }
  .hd-date { display: none; }
  #hdContext { font-size: 8px; }
  .hd-brand { font-size: 18px; }
  .hd-action-toggle { display: block; min-width: 44px; min-height: 44px; border: 0; background: #ffffff; font-size: 9px !important; }
  .hd-action-column { display: none; }
  .hd-actions-open .hd-action-column { display: flex; position: absolute; z-index: 5; inset: 4px auto 4px 4px; width: 120px; background: #ffffff; padding: 5px; border: 1px solid #dedede; box-shadow: 8px 0 24px rgba(11,17,32,.15); }
  .hd-screen { padding: 5px; gap: 5px; }
  .hd-receipt, #hdPerakende .hd-receipt { flex-basis: 38%; }
  .hd-receipt-head { padding: 6px; font-size: 9px; }
  .hd-lines { padding-inline: 5px; }
  .hd-lines li { flex-wrap: wrap; gap: 3px; padding-block: 6px; }
  .hd-lines li > strong { margin-left: auto; }
  .hd-receipt-meta { padding-inline: 5px; font-size: 8px; }
  .hd-sums { padding: 5px; }
  .hd-total { flex-wrap: wrap; }
  .hd-total strong { margin-left: auto; font-size: 17px; }
  .hd-receipt-actions { gap: 3px; padding: 0 3px 3px; }
  .hd-btn, .hd-action, .hd-category, .hd-key, .hd-plus, .hd-minus, .hd-back, .hd-remove, .hd-clear { min-width: 44px; min-height: 44px; }
  .hd-btn { font-size: 9px !important; padding: 3px; }
  .hd-map-head button, .hd-sale-tabs button { min-width: 44px; min-height: 44px; padding: 3px; font-size: 9px; }
  .hd-products { gap: 4px; }
  .hd-item { min-height: 70px; padding: 7px 5px; }
  .hd-item strong { font-size: 10px; }
  .hd-item em { font-size: 9px; }
  .hd-keypad summary { min-height: 44px; }
  .hd-keypad:not([open]) > .hd-keys { display: none; }
  .home-hero-demo:not(.is-ready) .hd-keypad > .hd-keys { display: none; }
  .hd-keypad[open] .hd-keys { position: fixed; inset: auto 5px 26px; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 5px; gap: 3px; }
  .hd-frame { transform: translateZ(0); }
  .hd-key:last-child { font-size: 8px !important; }
  .hd-retail-categories { flex-basis: 17%; }
  .hd-retail-categories .hd-category { font-size: 8px !important; }
  #hdPerakende .hd-item { min-height: 74px; }
  .hd-barcode { grid-template-columns: minmax(0, 1fr) 44px; }
  .hd-barcode input { height: 44px; }
  #hdPerakende .hd-receipt-head { display: block; }
  #hdPerakende .hd-receipt > .hd-keypad { margin: 0 3px 3px; }
  .hd-strip { font-size: 9px; }
  #hdKiosk { padding: 4px 6px; gap: 4px; }
  .hd-kiosk-catalog { gap: 5px; }
  .hd-category-rail { flex-basis: auto; }
  .hd-category-rail .hd-category { min-height: 52px; flex-shrink: 0; font-size: 9px !important; }
  .hd-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .hd-menu-card { padding: 3px 5px; }
  .hd-menu-card > .hd-art { height: 26px; }
  .hd-menu-card > strong { font-size: 11px; }
  .hd-menu-card em { font-size: 11px; }
  .hd-basket-bar { min-height: 44px; }
  .hd-basket-lines { min-height: 52px; }
  .hd-basket-lines li { gap: 4px; }
  .hd-basket-lines .hd-art { width: 32px; }
  .hd-basket-name > strong { font-size: 11px; }
  .hd-quantity { gap: 3px; }
  .hd-checkout { padding: 5px; }
  .hd-grand-total { margin-bottom: 4px; }
  .hd-grand-total > strong:last-child { font-size: 17px; }
  .hd-checkout-options { gap: 5px; margin-bottom: 4px; }
  .hd-qr { width: 22%; flex-direction: column; font-size: 6px; text-align: center; gap: 0; }
  .hd-qr .hd-art { height: 30px; width: 40px; }
  .hd-choice { font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-frame, .hd-frame *, .hd-tab { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Product slider: every slide sits in a light card ---------- */
:where(html[data-page="home"]) .hero-slider {
  min-height: 560px;
  background: var(--white);
}

:where(html[data-page="home"]) .hero-slide-bg {
  width: 100%;
  max-width: min(640px, 100%);
  min-width: 0;
  margin-inline: auto;
  padding: 10px;
  background: var(--home-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 32px -16px rgba(11, 17, 32, 0.4);
}

:where(html[data-page="home"]) .hero-slide-img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 10px;
  filter: none;
}

:where(html[data-page="home"]) .hero-slide.active .hero-slide-img {
  animation: none;
}

:where(html[data-page="home"]) .hero-slide.active .hero-slide-bg {
  animation: heroSlideImgIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

:where(html[data-page="home"]) .calc-tabs-slider {
  background: var(--accent);
}

:where(html[data-page="home"]) .module-item.always-included.checked {
  background: var(--home-peach);
  border-color: var(--border);
}

:where(html[data-page="home"]) .module-item.checked .module-check,
:where(html[data-page="home"]) .module-item.always-included.checked .module-check {
  background: var(--accent);
  border-color: var(--accent);
}

:where(html[data-page="home"]) .module-free {
  color: var(--accent) !important;
}

:where(html[data-page="home"]) .pricing-calc {
  background: var(--home-paper);
}

:where(html[data-page="home"]) .calc-container {
  background: var(--white);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 20px 56px -36px rgba(11, 17, 32, 0.24);
}

:where(html[data-page="home"]) .e-devlet {
  background: linear-gradient(180deg, var(--home-peach), var(--home-paper) calc(100% - 120px), var(--home-paper));
  border: 0;
  color: var(--home-navy);
}

:where(html[data-page="home"]) .e-devlet .section-header h2,
:where(html[data-page="home"]) .e-devlet-card h3 {
  color: var(--home-navy);
}

:where(html[data-page="home"]) .e-devlet .section-header p,
:where(html[data-page="home"]) .e-devlet-card p {
  color: #666666;
}

.home-edevlet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--space-6, 48px);
}

.home-edevlet-visual {
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) * 2);
  filter: drop-shadow(0 12px 18px rgba(11, 17, 32, 0.1));
}

.home-edevlet-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

:where(html[data-page="home"]) .e-devlet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2, 16px);
}

:where(html[data-page="home"]) .e-devlet-card {
  background: var(--white);
  border-color: var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: var(--space-3, 24px);
  text-align: left;
}

:where(html[data-page="home"]) .e-devlet-card:hover {
  background: var(--white);
  border-color: rgba(252, 104, 0, 0.45);
}

:where(html[data-page="home"]) .e-devlet-icon {
  margin-left: 0;
  background: var(--home-peach);
  color: var(--accent);
}

/* The shared paper edge continues into a 96px feather before the white section. */
:where(html[data-page="home"]) .okc {
  background: linear-gradient(180deg, var(--home-paper), #ffffff 96px);
  border: 0;
  overflow-x: clip;
}

html[data-page="home"] .okc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
html[data-page="home"] .okc-visual { order: 0; min-width: 0; background: none; border: 0; border-radius: 0; padding: 0; overflow: visible; }
html[data-page="home"] .okc-visual > h3 { font-size: 20px; font-weight: 700; color: #0b1120; margin-bottom: 12px; }
html[data-page="home"] .okc-visual > p { max-width: 64ch; font-size: 13px; line-height: 1.7; color: #666666; margin-bottom: 24px; }
html[data-page="home"] .okc-models { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html[data-page="home"] .okc-card { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 8px; text-align: left; font-family: inherit; cursor: pointer; background: #ffffff; border: 1px solid #dedede; border-radius: 14px; transition: transform 240ms ease; box-shadow: none; }
html[data-page="home"] .okc-card:hover { transform: translateY(-2px); border-color: #fc6800; box-shadow: none; }
html[data-page="home"] .okc-card[aria-expanded="true"] { border-color: #fc6800; }
html[data-page="home"] :is(.okc-card, .okc-details-close, .okc-device-quote, .okc-device-sources a):focus-visible { outline: 2px solid #fc6800; outline-offset: 3px; }
html[data-page="home"] .okc-card .okc-card-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 8px; background: #f7f7f5; transform: none; }
html[data-page="home"] .okc-card-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; mix-blend-mode: multiply; }
html[data-page="home"] .okc-card-body { display: block; padding: 14px 6px 8px; }
.okc-device-brand { display: block; color: #666666; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
html[data-page="home"] .okc-model-list { display: block; margin-top: 4px; }
html[data-page="home"] .okc-model-chip { display: block; padding: 0; background: none; border: 0; border-radius: 0; color: #0b1120; font-size: 15px; font-weight: 700; line-height: 1.4; }
html[data-page="home"] .okc-model-chip:hover { color: #0b1120; background: none; }
.okc-card-hint { display: block; margin-top: 10px; color: #666666; font-size: 11px; line-height: 1.5; }
html[data-page="home"] .okc-info { order: 1; min-width: 0; padding: 24px; border-radius: 16px; background: #f7f7f5; }
html[data-page="home"] .okc-info h3 { margin-bottom: 8px; font-family: var(--font-sans); font-size: 20px; line-height: 1.4; color: #0b1120; }
html[data-page="home"] .okc-regulations { gap: 0; }
html[data-page="home"] .okc-reg-item { gap: 12px; padding: 20px 0; border: 0; border-radius: 0; background: none; transition: none; }
html[data-page="home"] .okc-reg-item + .okc-reg-item { border-top: 1px solid #dedede; }
html[data-page="home"] .okc-reg-item:last-child { padding-bottom: 0; }
html[data-page="home"] .okc-reg-icon { width: 36px; height: 36px; background: #fff0e5; color: #fc6800; border-radius: 10px; }
html[data-page="home"] .okc-reg-text h4 { margin-bottom: 6px; font-weight: 700; line-height: 1.5; color: #0b1120; }
html[data-page="home"] .okc-reg-text p { color: #666666; line-height: 1.65; }
.okc-details-slot { display: flow-root; min-width: 0; }
.okc-details { position: relative; inset: auto; width: 100%; max-width: none; max-height: none; margin: 24px 0 0; padding: 28px; color: #0b1120; background: #ffffff; border: 1px solid #fc6800; border-radius: 16px; overflow: hidden; transform-origin: top; }
.okc-details:not([open]) { display: none; }
.okc-details-content { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 24px; }
.okc-details-visual { margin: 20px 0 0; min-width: 0; }
.okc-details-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 16px; border-radius: 12px; background: #f7f7f5; mix-blend-mode: multiply; }
.okc-details-visual figcaption { margin-top: 10px; color: #777777; font-size: 10px; line-height: 1.5; }
html[data-page="home"] .okc-details-copy h3 { margin: 4px 32px 16px 0; color: #0b1120; font-size: 22px; line-height: 1.3; }
.okc-device-features { list-style: none; padding: 0; margin: 0 0 16px; }
.okc-device-features li { padding: 8px 0; border-bottom: 1px solid #eeeeee; color: #333333; font-size: 13px; line-height: 1.6; }
html[data-page="home"] .okc-device-note { margin: 0 0 12px; color: #666666; font-size: 12px; line-height: 1.6; }
.okc-device-sources { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.okc-device-sources a { color: #666666; font-size: 11px; padding-block: 6px; text-decoration: underline; text-underline-offset: 3px; }
.okc-details-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #0b1120; background: #f7f7f5; border: 0; border-radius: 50%; cursor: pointer; }
.okc-device-quote { width: 100%; min-height: 44px; padding: 12px; font-size: 13px; text-align: center; }
@media (max-width: 1100px) {
  html[data-page="home"] .okc-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  html[data-page="home"] .okc-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  html[data-page="home"] .okc-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  html[data-page="home"] .okc-models { gap: 12px; }
  html[data-page="home"] .okc-card .okc-card-img { aspect-ratio: 1; }
  .okc-details { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 88vh; max-height: 88dvh; margin: 0; padding: 28px 24px calc(24px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #dedede; border-radius: 24px 24px 0 0; overflow-y: auto; overscroll-behavior: contain; transform-origin: bottom; }
  .okc-details::backdrop { background: rgba(11,17,32,.45); }
  .okc-details-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .okc-details-visual { margin: 0; display: flex; align-items: center; gap: 16px; padding-right: 36px; }
  .okc-details-visual img { width: 108px; flex: 0 0 108px; padding: 8px; }
  .okc-details-visual figcaption { max-width: 18ch; margin: 0; }
  html[data-page="home"] .okc-details-copy h3 { margin-bottom: 12px; }
  .okc-details-close { top: 12px; right: 12px; }
  html:has(.okc-details:modal) { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-page="home"] .okc-card { transition: none; }
  html[data-page="home"] .okc-card:hover { transform: none; }
}

/* ---------- Products: three wide cards, banners framed on paper ---------- */
:where(html[data-page="home"]) .products {
  background: var(--home-paper);
}

:where(html[data-page="home"]) .products > .container {
  max-width: 1264px;
}

/* Flex keeps the incomplete last row centred (3 + 2). */
:where(html[data-page="home"]) .products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

:where(html[data-page="home"]) .product-card {
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  border-color: var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 12px -8px rgba(11, 17, 32, 0.16);
}

:where(html[data-page="home"]) .product-card:hover {
  transform: none;
  translate: 0 -3px;
  box-shadow: 0 18px 36px -18px rgba(11, 17, 32, 0.28);
}

/* The frame follows the banner ratio so the illustration fills the card instead of letterboxing. */
:where(html[data-page="home"]) .product-img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  padding: 12px;
  background: var(--home-paper);
  border-bottom: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  transition: background-color 0.25s ease;
}

:where(html[data-page="home"]) .product-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 45%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

:where(html[data-page="home"]) .product-card:hover .product-img {
  opacity: 1;
  background: var(--home-peach);
}

:where(html[data-page="home"]) .product-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 28px;
}

:where(html[data-page="home"]) .product-body h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--home-navy);
  margin-bottom: 10px;
}

:where(html[data-page="home"]) .product-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

/* Text link with the arrow; the 44px tap area is kept without moving the layout. */
:where(html[data-page="home"]) .product-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 0;
  margin-bottom: -12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

:where(html[data-page="home"]) .product-link:hover {
  color: var(--home-navy);
}

/* ---------- Integrations: stationary logo grid ---------- */
:where(html[data-page="home"]) .integrations {
  background: var(--white);
}

.home-integrations-intro {
  margin-bottom: var(--space-6, 48px);
}

.home-integrations-intro .section-header {
  margin-bottom: 0;
}

.home-integrations-visual {
  min-width: 0;
}

:where(html[data-page="home"]) .integrations-section {
  margin-bottom: var(--space-5, 40px);
}

:where(html[data-page="home"]) .integrations-section:last-child {
  margin-bottom: 0;
}

:where(html[data-page="home"]) .integrations-section h3 {
  gap: 10px;
  margin-bottom: var(--space-2, 16px);
  color: var(--home-navy);
}

:where(html[data-page="home"]) .integrations-section h3 > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* The shared marquee is neutralised here only; style.css keeps it for other pages. */
:where(html[data-page="home"]) .integrations .marquee-container {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

:where(html[data-page="home"]) .integrations .marquee-track {
  display: grid;
  grid-template-columns: repeat(var(--home-integration-columns, 7), minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  animation: none !important;
  transform: none;
}

:where(html[data-page="home"]) .integrations-section:first-child {
  --home-integration-columns: 4;
}

:where(html[data-page="home"]) .integrations-section:last-child {
  --home-integration-columns: 6;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only {
  width: auto;
  min-width: 0;
  height: 96px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: none;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: none; /* style.css greys partner logos; the homepage shows them in colour */
  opacity: 1;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only img.logo-wide {
  max-height: 56px;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only:hover {
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
  translate: 0 -2px;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only .logo-text {
  color: var(--home-navy);
  text-shadow: none;
}

:where(html[data-page="home"]) .integrations .bento-cell.logo-only:hover .logo-text {
  color: var(--accent);
  text-shadow: none;
}

/* ---------- Latest posts: server-injected cards, hidden when empty ---------- */
.home-posts {
  background: var(--white);
}

.home-posts:not(:has(.home-post-card)) {
  display: none;
}

.home-posts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3, 24px);
  margin-bottom: var(--space-6, 48px);
}

.home-posts-head .section-header {
  text-align: left;
  margin-bottom: 0;
}

.home-posts-head .section-label::before {
  margin-left: 0;
}

.home-posts-head .section-header p {
  margin: 0;
}

.home-posts-all {
  flex: 0 0 auto;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.home-posts-all:hover {
  color: var(--home-navy);
}

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

.home-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px -8px rgba(11, 17, 32, 0.16);
  transition: translate 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-post-card:hover {
  translate: 0 -3px;
  border-color: rgba(252, 104, 0, 0.45);
  box-shadow: 0 18px 36px -18px rgba(11, 17, 32, 0.28);
}

.home-post-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--home-paper);
  border-bottom: 1px solid var(--border);
}

.home-post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-post-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 24px;
}

.home-post-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 10px;
}

.home-post-title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--home-navy);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-post-title a {
  color: inherit;
}

.home-post-title a:hover {
  color: var(--accent);
}

.home-post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-post-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 0;
  margin-bottom: -12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.home-post-link::after {
  content: " \2192";
}

.home-post-link:hover {
  color: var(--home-navy);
}

/* ---------- Solutions: four cards across the full width ---------- */
:where(html[data-page="home"]) .solutions {
  background: var(--home-paper);
}

:where(html[data-page="home"]) .solutions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2, 16px);
}

:where(html[data-page="home"]) .solution-card {
  padding: var(--space-3, 24px);
  text-align: left;
  background: var(--white);
  border-color: var(--border);
  border-radius: calc(var(--radius) * 1.5);
}

:where(html[data-page="home"]) .solution-card:hover {
  border-color: rgba(252, 104, 0, 0.45);
}

:where(html[data-page="home"]) .solution-icon {
  justify-content: flex-start;
  margin-bottom: var(--space-2, 16px);
}

:where(html[data-page="home"]) .solution-icon svg {
  width: 32px;
  height: 32px;
}

:where(html[data-page="home"]) .faq {
  background: var(--home-paper);
}

:where(html[data-page="home"]) .faq-list {
  background: var(--white);
}

/* ---------- Reveal stagger: 60ms steps in DOM order ----------
   main.js writes an inline transition-delay per card; the important shorthand
   below wins and keeps the delay on the reveal properties only, so hover and
   press feedback (translate / scale) stay immediate. */
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section {
  --home-reveal-delay: 0ms;
  transition:
    opacity 0.55s var(--home-reveal-ease) var(--home-reveal-delay),
    transform 0.55s var(--home-reveal-ease) var(--home-reveal-delay),
    translate 0.18s ease,
    scale 0.12s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease !important;
}

:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(2) { --home-reveal-delay: 60ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(3) { --home-reveal-delay: 120ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(4) { --home-reveal-delay: 180ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(5) { --home-reveal-delay: 240ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(6) { --home-reveal-delay: 300ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(7) { --home-reveal-delay: 360ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(8) { --home-reveal-delay: 420ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(9) { --home-reveal-delay: 480ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(10) { --home-reveal-delay: 540ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(11) { --home-reveal-delay: 600ms; }
:where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section:nth-child(n + 12) { --home-reveal-delay: 660ms; }

/* Hover lift and press feedback use translate / scale so the reveal delay never touches them. */
:where(html[data-page="home"]) :is(.e-devlet-card, .okc-card):hover {
  transform: none;
  translate: 0 -2px;
}

:where(html[data-page="home"]) :is(.product-card, .solution-card, .bento-cell, .okc-card):active {
  transform: none;
  scale: 0.97;
}

/* Slider dots keep their 10px look; the hit area grows to 44px. */
:where(html[data-page="home"]) .hero-slider-dot {
  position: relative;
}

:where(html[data-page="home"]) .hero-slider-dot::after {
  content: "";
  position: absolute;
  inset: -17px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :where(html[data-page="home"]) .integrations-section:last-child {
    --home-integration-columns: 3;
  }

  :where(html[data-page="home"]) .integrations .marquee-track {
    grid-template-columns: repeat(var(--home-integration-columns, 4), minmax(0, 1fr));
  }

  :where(html[data-page="home"]) .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(html[data-page="home"]) .product-card {
    flex-basis: calc((100% - 24px) / 2);
  }

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

@media (max-width: 768px) {
  html[data-page="home"] {
    --home-section-space: calc(var(--space-4, 32px) * 2);
  }

  :where(html[data-page="home"]) .section-header {
    margin-bottom: var(--space-4, 32px);
  }

  :where(html[data-page="home"]) .hero {
    padding-top: var(--space-6, 48px);
    padding-bottom: var(--space-4, 32px);
  }

  :where(html[data-page="home"]) .hero-content {
    flex-direction: column;
    gap: var(--space-3, 24px);
  }

  :where(html[data-page="home"]) .hero-text {
    text-align: center;
  }

  :where(html[data-page="home"]) .hero-actions {
    justify-content: center;
  }

  :where(html[data-page="home"]) .hero-image-placeholder {
    flex: 0 0 auto;
    width: 100%;
  }

  :where(html[data-page="home"]) .hero-slider { min-height: 420px; }

  :where(html[data-page="home"]) .hero-slider-arrow {
    width: 44px;
    height: 44px;
  }

  /* Let module prices and steppers wrap on narrow phones. */
  :where(html[data-page="home"]) .modules-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(html[data-page="home"]) .module-item { flex-wrap: wrap; }
  :where(html[data-page="home"]) .module-name { min-width: 0; flex-basis: 96px; }
  :where(html[data-page="home"]) .module-user-stepper { margin-left: auto; }

  .home-edevlet-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4, 32px);
  }

  .home-edevlet-visual {
    width: 100%;
    max-width: 391px;
    margin-inline: auto;
  }

  .home-edevlet-visual img { max-height: 220px; }

  :where(html[data-page="home"]) .integrations .marquee-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  :where(html[data-page="home"]) .integrations .bento-cell.logo-only {
    height: 88px;
    padding: 14px 16px;
  }

  :where(html[data-page="home"]) .e-devlet-card {
    padding: var(--space-2, 16px);
  }

  :where(html[data-page="home"]) .okc-visual {
    padding: var(--space-3, 24px) var(--space-2, 16px);
  }

  :where(html[data-page="home"]) .okc-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  :where(html[data-page="home"]) .okc-card-body { padding: 12px; }
  :where(html[data-page="home"]) .okc-model-chip { overflow-wrap: anywhere; }

  :where(html[data-page="home"]) .products-grid {
    gap: 20px;
  }

  :where(html[data-page="home"]) .product-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  :where(html[data-page="home"]) .product-body { padding: 20px 20px 24px; }
  :where(html[data-page="home"]) .product-body h3 { font-size: 20px; }

  .home-posts-head {
    flex-direction: column;
    align-items: center;
    gap: var(--space-1, 8px);
    margin-bottom: var(--space-4, 32px);
  }

  .home-posts-head .section-header { text-align: center; }
  .home-posts-head .section-label::before { margin-left: auto; }

  .home-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .home-integrations-intro .section-header {
    text-align: center;
    margin-bottom: 0;
  }

  .home-integrations-intro .section-label::before { margin-left: auto; }

  :where(html[data-page="home"]) .faq-list { padding-inline: var(--space-3, 24px); }
}

@media (max-width: 600px) {
  :where(html[data-page="home"]) .integrations .marquee-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(html[data-page="home"]) .product-card {
    flex-basis: 100%;
    max-width: 480px;
  }

  .home-posts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(html[data-page="home"]) .solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(html[data-page="home"]) :is(.products-grid, .solutions-grid, .e-devlet-grid, .marquee-track, .trust-bar, .okc-models) > .fade-in-section {
    transition: none !important;
  }

  :where(html[data-page="home"]) .integrations .bento-cell.logo-only,
  :where(html[data-page="home"]) .product-card,
  :where(html[data-page="home"]) .e-devlet-card,
  :where(html[data-page="home"]) .okc-card,
  .home-post-card {
    transition: none;
  }

  :where(html[data-page="home"]) .integrations .bento-cell.logo-only:hover,
  :where(html[data-page="home"]) .product-card:hover,
  :where(html[data-page="home"]) .e-devlet-card:hover,
  :where(html[data-page="home"]) .okc-card:hover,
  .home-post-card:hover {
    translate: none;
  }

  .hd-screen,
  .hd-flash,
  .hd-table,
  .hd-tab { transition: none; }

  .hd-lines li.is-new,
  .hd-strip.is-sent .hd-check path,
  :where(html[data-page="home"]) .hero-slide.active .hero-slide-bg { animation: none; }
}

/* ---------- Pricing: segmented selection, module ledger and receipt ---------- */
html[data-page="home"] .pricing-calc {
  --receipt-top: 96px;
  --fx-paper-inset: 32px;
  --pricing-ease: cubic-bezier(.22, 1, .36, 1);
  --receipt-shadow: 0 1px 2px rgba(11,17,32,.06), 0 8px 24px rgba(11,17,32,.10), 0 24px 48px -24px rgba(11,17,32,.18);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
html[data-page="home"] .pricing-calc .container { max-width: 1184px; }
html[data-page="home"] .pricing-calc .section-header {
  max-width: 1120px; margin: 0 auto 32px; text-align: left;
}
html[data-page="home"] .pricing-calc .section-header p { max-width: 760px; margin-inline: 0; }
html[data-page="home"] .pricing-calc .section-label::before { margin-left: 0; }
html[data-page="home"] .pricing-calc :is(h2, h4, button, .stepper-value, .mus-value, .installment-opt) {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
html[data-page="home"] .pricing-calc .calc-container {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'tabs' 'steppers' 'info' 'modules' 'summary' 'footnote';
  max-width: 1120px; padding: 24px; background: #f7f7f5;
  border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: none;
}
html[data-page="home"] .pricing-calc,
html[data-page="home"] .pricing-calc * {
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: none; animation: none; filter: none;
}
/* Flatten only the layout wrapper; the renderer's source order remains intact. */
html[data-page="home"] .pricing-calc #calcContentContainer { display: contents; }
html[data-page="home"] .pricing-calc #calcTabsContainer { grid-area: tabs; min-width: 0; }
html[data-page="home"] .pricing-calc .calc-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  padding: 0; margin: 0 0 16px; background: transparent;
  border: 1px solid #e5e7eb; border-radius: 0;
}
html[data-page="home"] .pricing-calc .calc-tabs-slider { display: none; }
html[data-page="home"] .pricing-calc .calc-tab {
  min-width: 0; min-height: 64px; padding: 10px 14px; border: 0;
  border-right: 1px solid #e5e7eb; border-radius: 0; background: transparent;
  color: #666666; font-size: 16px; font-weight: 700; line-height: 1.45;
  text-align: left; box-shadow: none; transition: none;
}
html[data-page="home"] .pricing-calc .calc-tab:last-of-type { border-right: 0; }
html[data-page="home"] .pricing-calc .calc-tab small {
  color: #666666; font-size: 13px; font-weight: 400; line-height: 1.5;
}
html[data-page="home"] .pricing-calc .calc-tab.active { color: #0b1120; background: #ffffff; box-shadow: none; }
html[data-page="home"] .pricing-calc .calc-tab:hover { color: #0b1120; background: #fff0e5; }
html[data-page="home"] .pricing-calc .fx-tab-underline {
  position: absolute; inset: auto auto -1px 0; width: calc(100% / 3); height: 3px;
  background: #fc6800; z-index: 2; pointer-events: none;
  transition: transform 240ms var(--pricing-ease);
}
html[data-page="home"] .pricing-calc .calc-steppers {
  grid-area: steppers; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0;
}
html[data-page="home"] .pricing-calc .calc-stepper {
  min-width: 0; min-height: 84px; flex-wrap: nowrap; gap: 16px; padding: 16px 0;
  border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0; background: transparent;
}
html[data-page="home"] .pricing-calc .calc-stepper.disabled { filter: none; opacity: 1 !important; }
html[data-page="home"] .pricing-calc .calc-stepper.disabled :is(.stepper-label, .stepper-value) { color: #777777; }
html[data-page="home"] .pricing-calc .calc-stepper.disabled .stepper-btn { color: #999999; border-color: #cccccc; }
html[data-page="home"] .pricing-calc .stepper-label { min-width: 0; font-size: 14px; color: #0b1120; }
html[data-page="home"] .pricing-calc .stepper-label small { margin-top: 4px; font-size: 12px; color: #666666; line-height: 1.6; }
html[data-page="home"] .pricing-calc .maks-badge {
  margin-left: 6px; padding: 4px 10px; border: 0; border-radius: 6px;
  background: #fff0e5; color: #fc6800; font-size: 12px; font-weight: 700;
  text-transform: none;
}
html[data-page="home"] .pricing-calc .user-stepper-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
html[data-page="home"] .pricing-calc .user-stepper-label .maks-badge { margin: 0; max-width: 100%; }
html[data-page="home"] .pricing-calc .user-stepper-label small { flex-basis: 100%; margin-top: 0; }
html[data-page="home"] .pricing-calc .branch-limit {
  display: inline-block; margin-left: 6px; max-width: 100%; white-space: nowrap; vertical-align: middle;
}
html[data-page="home"] .pricing-calc .branch-limit .maks-badge { margin: 0; }
html[data-page="home"] .pricing-calc .stepper-label .branch-footnote-marker {
  display: inline; margin: 0 0 0 3px; font-size: 11px; color: #666666; vertical-align: super;
}
html[data-page="home"] .pricing-calc .stepper-controls { margin-left: auto; flex-shrink: 0; gap: 8px; }
html[data-page="home"] .pricing-calc :is(.stepper-btn, .mus-btn) {
  width: 44px; height: 44px; flex-shrink: 0; padding: 0;
  border: 1px solid #0b1120; border-radius: 50%; background: transparent;
  color: #0b1120; font-size: 20px; transition: none;
}
html[data-page="home"] .pricing-calc :is(.stepper-btn, .mus-btn):hover {
  background: #fff0e5; color: #0b1120; border-color: #0b1120;
}
html[data-page="home"] .pricing-calc :is(.stepper-btn, .mus-btn):active { background: #fff0e5; color: #0b1120; }
html[data-page="home"] .pricing-calc :is(.stepper-value, .mus-value) {
  min-width: 24px; color: #0b1120; font-size: 20px; font-variant-numeric: tabular-nums; transition: none;
}
html[data-page="home"] .pricing-calc .calc-pkg-info {
  grid-area: info; margin: 0; padding: 16px 0 24px; background: transparent;
  border: 0; border-radius: 0; font-size: 13px; line-height: 1.7; color: #666666; text-align: left;
}
html[data-page="home"] .pricing-calc .calc-pkg-info strong { color: #0b1120; }
html[data-page="home"] .pricing-calc .calc-pkg-info .calc-promo-badge { display: table; margin-top: 8px; padding: 3px 10px; border: 1px solid var(--accent); border-radius: var(--radius-xs); color: var(--accent); background: var(--off-white); font-weight: 600; }
html[data-page="home"] .pricing-calc .calc-modules { grid-area: modules; min-width: 0; margin: 0 0 24px; position: relative; }
html[data-page="home"] .pricing-calc .calc-modules h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #0b1120; }
html[data-page="home"] .pricing-calc .modules-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #e5e7eb; }
html[data-page="home"] .pricing-calc .module-item {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(84px, 140px);
  min-width: 0; min-height: 56px; gap: 8px 12px; padding: 12px 8px;
  border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0;
  background: transparent; color: #0b1120; transition: none; isolation: isolate;
}
/* Fade the peach layer, so selection animates opacity rather than paint. */
html[data-page="home"] .pricing-calc .module-item::before {
  content: ''; position: absolute; inset: 0; background: #fff0e5;
  opacity: 0; z-index: -1; pointer-events: none; transition: opacity 160ms var(--pricing-ease);
}
html[data-page="home"] .pricing-calc .module-item:hover { background: #ffffff; border-color: #e5e7eb; }
html[data-page="home"] .pricing-calc .module-item.checked { background: transparent; border-color: #e5e7eb; }
html[data-page="home"] .pricing-calc .module-item.checked:not(.always-included)::before { opacity: 1; }
html[data-page="home"] .pricing-calc .module-item.always-included.checked {
  background: #ffffff; border-color: #e5e7eb; border-left: 3px solid #fff0e5;
  padding-left: 8px; cursor: default;
}
html[data-page="home"] .pricing-calc .modules-included-heading {
  padding: 20px 0 8px; color: #777777; font-size: 12px; line-height: 18px;
  letter-spacing: .06em; text-transform: uppercase;
}
html[data-page="home"] .pricing-calc .calc-module-icon { display: none; }
html[data-page="home"] .pricing-calc .module-check {
  grid-column: 1; grid-row: 1; width: 20px; height: 20px;
  border: 1px solid #999999; border-radius: 3px; color: transparent; background: transparent;
  transform: scale(.85); transition: transform 160ms var(--pricing-ease);
}
html[data-page="home"] .pricing-calc .module-item.checked .module-check {
  background: #0b1120; border-color: #0b1120; color: #ffffff; transform: scale(1);
}
html[data-page="home"] .pricing-calc .module-item.always-included.checked .module-check {
  appearance: none; display: block; position: relative; margin: 0; opacity: 1;
  background: #ffffff; border-color: #0b1120; color: #0b1120;
}
html[data-page="home"] .pricing-calc .module-item.always-included .module-check::after {
  content: ''; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px;
  border: solid #0b1120; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
html[data-page="home"] .pricing-calc .module-name { grid-column: 2; grid-row: 1; min-width: 0; font-size: 13px; font-weight: 500; color: #0b1120; line-height: 1.6; }
html[data-page="home"] .pricing-calc .module-price {
  grid-column: 3; grid-row: 1; min-width: 0; max-width: none; font-size: 13px;
  font-weight: 700; color: #0b1120; white-space: normal; text-align: right; font-variant-numeric: tabular-nums;
}
html[data-page="home"] .pricing-calc .module-price small { display: block; font-size: 11px; font-weight: 400; color: #666666; line-height: 1.5; }
html[data-page="home"] .pricing-calc .module-included-chip {
  display: inline-block; padding: 3px 7px; border: 1px solid #0b1120; border-radius: 4px;
  color: #0b1120; font-size: 11px; font-weight: 600; line-height: 16px; white-space: nowrap;
}
html[data-page="home"] .pricing-calc .module-included-note {
  grid-column: 2 / -1; grid-row: 2; color: #666666; font-size: 11px; line-height: 18px;
}
html[data-page="home"] .pricing-calc .module-user-stepper { display: grid; grid-template-columns: 44px 24px 44px; grid-column: 2 / -1; grid-row: 2; gap: 4px 8px; margin: 0; }
html[data-page="home"] .pricing-calc .module-user-stepper .mus-value { font-size: 16px; }
/* The receipt grows with its selected items; controls remain in normal flow. */
html[data-page="home"] .pricing-calc .calc-total {
  grid-area: summary; position: relative; align-self: start; min-width: 0;
  gap: 0; padding: 76px calc(var(--fx-paper-inset) + 16px) 24px; margin: 0; background: #ffffff;
  border: 1px solid #e5e7eb; border-radius: 3px; box-shadow: var(--receipt-shadow); color: #0b1120;
  text-align: left; align-items: stretch; overflow-anchor: none; scroll-margin-top: 112px;
}
html[data-page="home"] .pricing-calc .calc-total:has(.fx-receipt-paper) {
  isolation: isolate; background: transparent; border-color: transparent; box-shadow: none;
}
html[data-page="home"] .pricing-calc .fx-receipt-paper {
  position: absolute; inset: var(--fx-slot-bottom, 55px) var(--fx-paper-inset) -1px; z-index: -1; pointer-events: none; transform-origin: top;
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: 3px;
  box-shadow: var(--receipt-shadow);
}
html[data-page="home"] .pricing-calc :is(.fx-receipt-paper, .fx-receipt-face)::before {
  content: ''; position: absolute; top: -1px; left: 1px; right: 1px; height: 1px;
  background: rgba(255,255,255,.85); pointer-events: none;
}
html[data-page="home"] .pricing-calc .calc-total::before,
html[data-page="home"] .pricing-calc .calc-total::after {
  content: ''; position: absolute; top: calc(var(--fx-perforation, 63px) - 7px); width: 14px; height: 14px;
  border: 1px solid #e5e7eb; border-radius: 50%; background: #f7f7f5; pointer-events: none; z-index: 6;
}
html[data-page="home"] .pricing-calc .calc-total::before { left: calc(var(--fx-paper-inset) - 7px); border-left-color: transparent; }
html[data-page="home"] .pricing-calc .calc-total::after { right: calc(var(--fx-paper-inset) - 7px); border-right-color: transparent; }
html[data-page="home"] .pricing-calc .calc-receipt-heading {
  position: absolute; top: -1px; left: -1px; right: -1px; height: 56px; z-index: 7;
  display: flex; align-items: center; padding: 0 48px 10px 24px; margin: 0;
  border: 1px solid #333333; border-radius: 9px 9px 5px 5px;
  background: #0b1120; color: #f7f7f5; box-shadow: 0 1px 2px rgba(11,17,32,.12), inset 0 1px 0 rgba(255,255,255,.10);
  font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: .09em; font-variant-caps: all-small-caps;
}
/* The fixed slot masks the feed; its lower edge sits exactly on the paper. */
html[data-page="home"] .pricing-calc .calc-receipt-heading::after {
  content: ''; position: absolute; bottom: -1px; left: var(--fx-paper-inset); right: var(--fx-paper-inset); height: 6px;
  border: 1px solid #222222; border-top-color: #666666; border-radius: 3px 3px 1px 1px;
  background: #111111; box-shadow: 0 1px 0 rgba(11,17,32,.18); pointer-events: none;
}
html[data-page="home"] .pricing-calc .calc-total-breakdown {
  width: 100%; margin: 0; padding: 0; border: 0; text-align: left;
}
html[data-page="home"] .pricing-calc .calc-receipt-line {
  display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start;
  gap: 12px; padding: 6px 0; color: #666666; font-size: 13px; line-height: 20px;
}
html[data-page="home"] .pricing-calc .calc-receipt-line span { margin: 0; }
html[data-page="home"] .pricing-calc .calc-receipt-included {
  margin: 4px 0 0; color: #777777; font-size: 11px; line-height: 18px;
}
html[data-page="home"] .pricing-calc .calc-line-name {
  min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere; font-weight: 400;
}
html[data-page="home"] .pricing-calc .calc-line-amount {
  color: #0b1120; font-size: 13px; font-weight: 600; text-align: right;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
html[data-page="home"] .pricing-calc .calc-total-main {
  flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb;
}
html[data-page="home"] .pricing-calc .calc-total-label {
  color: #666666; font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: .07em;
  font-variant-caps: all-small-caps;
}
html[data-page="home"] .pricing-calc .calc-total-price {
  color: #0b1120; font: 800 40px/1.3 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
html[data-page="home"] .pricing-calc [data-amount] { position: relative; white-space: nowrap; }
html[data-page="home"] .pricing-calc .calc-installment {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0 0;
}
html[data-page="home"] .pricing-calc .calc-monthly-amount {
  color: #0b1120; font-size: 18px; font-weight: 600; line-height: 26px;
  letter-spacing: 0; font-variant-numeric: tabular-nums;
}
html[data-page="home"] .pricing-calc .installment-opt { color: #666666; font-size: 12px; font-weight: 400; line-height: 20px; }
html[data-page="home"] .pricing-calc .payment-type-row {
  position: relative; display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap;
  gap: 8px; margin: 24px 0 16px;
}
html[data-page="home"] .pricing-calc .pt-label { color: #666666; font-size: 12px; font-weight: 500; }
html[data-page="home"] .pricing-calc .payment-type-toggle {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px; gap: 2px; width: 100%; border: 1px solid #e5e7eb; border-radius: 5px; background: #f7f7f5;
}
html[data-page="home"] .pricing-calc .fx-payment-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 10px) / 3);
  background: #0b1120; border-radius: 3px; z-index: 2; pointer-events: none; overflow: hidden;
}
/* Counter-translate the clipped white labels so they stay legible as the pill passes. */
html[data-page="home"] .pricing-calc .fx-payment-ink {
  position: absolute; inset: 0 auto 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
}
html[data-page="home"] .pricing-calc .fx-payment-ink > span {
  display: grid; place-items: center; color: #ffffff; font-size: 12px; font-weight: 600; white-space: nowrap;
}
html[data-page="home"] .pricing-calc .pt-btn {
  min-width: 0; min-height: 44px; padding: 8px 4px; border-radius: 3px;
  font-size: 12px; color: #666666; transition: none;
}
html[data-page="home"] .pricing-calc .pt-btn.active { color: #ffffff; background: #0b1120; box-shadow: none; }
html[data-page="home"] .pricing-calc .payment-type-toggle:has(.fx-payment-pill) .pt-btn.active { background: transparent; color: #666666; }
html[data-page="home"] .pricing-calc .pt-btn:hover:not(.active) { color: #0b1120; background: #fff0e5; }
/* Translated labels and their moving ink share the same wrapping geometry. */
html[data-page="home"]:is(:lang(en), :lang(de)) .pricing-calc :is(.pt-btn, .fx-payment-ink > span) {
  display: grid; place-items: center; min-width: 0; padding: 8px 4px;
  font-size: 12px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; text-align: center;
}
html[data-page="home"]:is(:lang(en), :lang(de)) .pricing-calc .calc-line-name {
  text-wrap: balance;
}
html[data-page="home"]:is(:lang(en), :lang(de)) .e-devlet-card p {
  overflow-wrap: anywhere; hyphens: auto;
}
html[data-page="home"]:is(:lang(en), :lang(de)) :is(.hero-text h1, .hero-slide-content h2) {
  text-wrap: balance;
}
html[data-page="home"] .pricing-calc .calc-actions {
  position: relative; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; margin: 0; padding: 0;
}
html[data-page="home"] .pricing-calc .calc-actions .btn {
  flex: 0 0 auto; min-width: 0; min-height: 48px; padding: 12px 8px;
  border: 1px solid #0b1120; border-radius: 4px; font-size: 13px;
  line-height: 22px; font-weight: 700; box-shadow: none; transform: none; transition: none;
}
html[data-page="home"] .pricing-calc .calc-actions .open-teklif-modal {
  order: 0; background: #fc6800; border-color: #fc6800; color: #0b1120;
}
html[data-page="home"] .pricing-calc .calc-actions .btn-demo-talep {
  order: 1; background: #ffffff; border-color: #0b1120; color: #0b1120;
}
html[data-page="home"] .pricing-calc .calc-actions .btn:hover { background: #fff0e5; color: #0b1120; border-color: #0b1120; box-shadow: none; transform: none; }
html[data-page="home"] .pricing-calc .calc-footnote {
  grid-area: footnote; margin: 16px 0 0; padding: 0; border: 0;
  background: transparent; color: #666666; font-size: 12px; font-style: normal;
}
html[data-page="home"] .pricing-calc button:focus-visible { outline: 2px solid #0b1120; outline-offset: 3px; }
html[data-page="home"] .pricing-calc .stepper-limit { animation: pricingLimitShake 240ms var(--pricing-ease); }
html[data-page="home"] .pricing-calc .maks-badge.limit-pulse { animation: pricingLimitPulse 240ms var(--pricing-ease); }
@keyframes pricingLimitShake {
  0%, 100% { transform: translateX(0); }
  25%, 75% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}
@keyframes pricingLimitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
html[data-page="home"] .pricing-calc .stepper-limit-label {
  max-width: 100%; white-space: normal; text-align: center; background: #0b1120;
  color: #ffffff; animation: none; filter: none;
}
html[data-page="home"] .pricing-calc .stepper-limit-label.out { animation: none; opacity: 0; }
html[data-page="home"] .pricing-calc .fx-receipt-marker {
  position: absolute; top: 19px; right: 24px; width: 6px; height: 6px; z-index: 8;
  background: #fc6800; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.06); pointer-events: none;
}
html[data-page="home"] .pricing-calc .fx-amount-overlay { position: absolute; inset: 0 auto auto 0; margin: 0; pointer-events: none; white-space: nowrap; font: inherit; letter-spacing: inherit; }
html[data-page="home"] .pricing-calc .fx-amount-source { opacity: 0; }
html[data-page="home"] .pricing-calc .fx-receipt-ghost { position: absolute; margin: 0; pointer-events: none; z-index: 2; }
html[data-page="home"] .pricing-calc .fx-ledger-ghost { position: absolute; margin: 0; pointer-events: none; z-index: 2; }
/* The original card reserves its complete height, including during printing. */
html[data-page="home"] .pricing-calc .fx-receipt-perforation {
  position: absolute; top: var(--fx-perforation, 63px); left: var(--fx-paper-inset); right: var(--fx-paper-inset); height: 1px;
  border-top: 1px dashed #cccccc;
  pointer-events: none; z-index: 6;
}
html[data-page="home"] .pricing-calc .fx-perforation-shimmer {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  border-top: 1px dashed #fc6800; top: -1px;
}
html[data-page="home"] .pricing-calc :is(.fx-receipt-bottom, .fx-receipt-feed-perforation) {
  position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  border-top: 1px dashed #cccccc; pointer-events: none; z-index: 6;
}
html[data-page="home"] .pricing-calc .calc-total > .fx-receipt-bottom {
  left: var(--fx-paper-inset); right: var(--fx-paper-inset);
}
html[data-page="home"] .pricing-calc :is(.fx-receipt-bottom, .fx-receipt-feed-perforation)::before,
html[data-page="home"] .pricing-calc :is(.fx-receipt-bottom, .fx-receipt-feed-perforation)::after {
  content: ''; position: absolute; top: -8px; width: 14px; height: 14px;
  border: 1px solid #e5e7eb; border-radius: 50%; background: #f7f7f5;
}
html[data-page="home"] .pricing-calc :is(.fx-receipt-bottom, .fx-receipt-feed-perforation)::before { left: -7px; border-left-color: transparent; }
html[data-page="home"] .pricing-calc :is(.fx-receipt-bottom, .fx-receipt-feed-perforation)::after { right: -7px; border-right-color: transparent; }
html[data-page="home"] .pricing-calc .fx-receipt-feed-perforation { top: 8px; bottom: auto; }
html[data-page="home"] .pricing-calc .calc-total:is(.fx-receipt-tearing, .fx-receipt-printing) > :is(.calc-total-breakdown, .calc-receipt-totals, .payment-type-row, .calc-actions) {
  opacity: 0; pointer-events: none;
}
html[data-page="home"] .pricing-calc .calc-total.fx-receipt-tearing { z-index: 2; }
html[data-page="home"] .pricing-calc .calc-total:is(.fx-receipt-tearing, .fx-receipt-printing) > :is(.fx-receipt-paper, .fx-receipt-bottom, .fx-receipt-perforation),
html[data-page="home"] .pricing-calc .calc-total.fx-receipt-printing::before,
html[data-page="home"] .pricing-calc .calc-total.fx-receipt-printing::after {
  opacity: 0;
}
html[data-page="home"] .pricing-calc .fx-receipt-feed {
  position: absolute; left: var(--fx-paper-inset); right: var(--fx-paper-inset);
  clip-path: inset(0 -64px -64px); z-index: 5; pointer-events: none;
}
html[data-page="home"] .pricing-calc .fx-receipt-feed > .fx-receipt-body { left: 0; right: 0; }
html[data-page="home"] .pricing-calc .fx-receipt-stub {
  position: absolute; top: var(--fx-slot-bottom); left: var(--fx-paper-inset); right: var(--fx-paper-inset);
  height: 32px; background: #ffffff; border-inline: 1px solid #e5e7eb; z-index: 5; pointer-events: none;
}
html[data-page="home"] .pricing-calc .fx-receipt-body {
  position: absolute; top: var(--fx-perforation); left: var(--fx-paper-inset); right: var(--fx-paper-inset);
  display: block; margin: 0; padding: 0; z-index: 5; pointer-events: none;
  border: 1px solid transparent; border-top: 0; border-radius: 0 0 3px 3px;
  box-shadow: var(--receipt-shadow);
  transform-origin: top right; isolation: isolate;
}
/* Clip the paper face, leaving the outer shadow free to lift with the tear. */
html[data-page="home"] .pricing-calc .fx-receipt-face {
  position: absolute; inset: 0 -1px -1px; display: block;
  background: #ffffff; border: 1px solid #e5e7eb; border-top: 0; border-radius: 0 0 3px 3px;
}
html[data-page="home"] .pricing-calc .fx-receipt-body::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 12px 28px rgba(11,17,32,.08), 0 32px 56px -24px rgba(11,17,32,.18);
  opacity: 0; pointer-events: none;
}
html[data-page="home"] .pricing-calc .fx-receipt-body .calc-total-price { position: relative; }
html[data-page="home"] .pricing-calc .fx-receipt-stamp {
  position: absolute; top: 96px; right: 16px; padding: 3px 8px;
  border: 1px solid #0b1120; border-radius: 2px; background: #ffffff; color: #fc6800;
  font-size: 11px; line-height: 18px; font-weight: 700; letter-spacing: .02em;
  transform: rotate(-8deg); pointer-events: none;
}
html[data-page="home"] .pricing-calc .calc-total.fx-receipt-received > .fx-receipt-paper {
  background: #fff0e5;
}
@media (min-width: 769px) {
  html[data-page="home"] .pricing-calc .module-item:has(.module-user-stepper) .module-name { padding-right: 144px; }
  html[data-page="home"] .pricing-calc .module-user-stepper { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (min-width: 1024px) {
  html[data-page="home"] .pricing-calc .calc-container {
    grid-template-columns: minmax(0, 1fr) 380px; column-gap: 32px;
    grid-template-areas: 'tabs summary' 'steppers summary' 'info summary' 'modules summary' 'footnote summary';
    grid-template-rows: auto auto auto 1fr auto;
  }
  html[data-page="home"] .pricing-calc .calc-modules { margin-bottom: 0; }
  html[data-page="home"] .pricing-calc .calc-total { position: sticky; top: var(--receipt-top); }
}
@media (max-width: 1100px) and (min-width: 1024px) {
  html[data-page="home"] .pricing-calc .calc-container { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 24px; }
  html[data-page="home"] .pricing-calc .calc-tab { padding-inline: 8px; }
}
@media (max-width: 768px) {
  html[data-page="home"] .pricing-calc .container { padding-inline: 16px; }
  html[data-page="home"] .pricing-calc .section-header { margin-bottom: 24px; }
  html[data-page="home"] .pricing-calc .calc-container { padding: 16px 0; }
  html[data-page="home"] .pricing-calc .calc-tab { min-height: 80px; padding: 8px 6px; overflow-wrap: normal; }
  html[data-page="home"] .pricing-calc .calc-tabs { margin-bottom: 8px; border-inline: 0; }
  html[data-page="home"] .pricing-calc .calc-stepper { gap: 8px; padding-block: 14px; }
  html[data-page="home"] .pricing-calc .stepper-controls { gap: 4px; }
  html[data-page="home"] .pricing-calc .stepper-label { font-size: 13px; }
  html[data-page="home"] .pricing-calc .stepper-label small { font-size: 11px; }
  html[data-page="home"] .pricing-calc .module-item { grid-template-columns: 20px minmax(0, 1fr) 84px; gap: 8px; padding: 12px 0; }
  html[data-page="home"] .pricing-calc .module-price { font-size: 12px; }
  html[data-page="home"] .pricing-calc .module-user-stepper { grid-column: 2 / -1; }
  html[data-page="home"] .pricing-calc .calc-total { --fx-paper-inset: 28px; }
  html[data-page="home"] .pricing-calc .calc-receipt-heading { padding-left: 20px; }
  html[data-page="home"] .pricing-calc .fx-receipt-marker { right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-page="home"] .pricing-calc *,
  html[data-page="home"] .pricing-calc *::before,
  html[data-page="home"] .pricing-calc *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  html[data-page="home"] .pricing-calc .fx-amount-source { opacity: 1; }
  html[data-page="home"] .pricing-calc :is(.fx-amount-overlay, .fx-ledger-ghost, .fx-receipt-ghost, .fx-receipt-body, .fx-receipt-feed, .fx-receipt-stub, .fx-perforation-shimmer) { display: none; }
  html[data-page="home"] .pricing-calc .calc-total:is(.fx-receipt-tearing, .fx-receipt-printing) > :is(.calc-total-breakdown, .calc-receipt-totals, .payment-type-row, .calc-actions) { opacity: 1; pointer-events: auto; }
  html[data-page="home"] .pricing-calc .calc-total:is(.fx-receipt-tearing, .fx-receipt-printing) > :is(.fx-receipt-paper, .fx-receipt-bottom, .fx-receipt-perforation),
  html[data-page="home"] .pricing-calc .calc-total.fx-receipt-printing::before,
  html[data-page="home"] .pricing-calc .calc-total.fx-receipt-printing::after { opacity: 1; }
}
/* Homepage palette aliases also cover renderer-owned shared components. */
html[data-page="home"] {
  --accent-hover: #0b1120; --accent-teal-hover: #0b1120; --off-white: #f7f7f5; --surface: #f7f7f5;
  --light-gray: #eeeeee; --primary-light: #333333; --dark-gray: #0b1120;
  --text-light: #777777; --text-secondary: #666666; --text-muted: #777777; --gray: #999999;
  --green: #0b1120; --green-bg: #fff0e5; --red: #0b1120; --red-bg: #fff0e5;
  --blue: #0b1120; --blue-bg: #f7f7f5; --yellow: #0b1120; --yellow-bg: #fff0e5;
}
html[data-page="home"] .hero-slide-bg { background: #f7f7f5; border: 1px solid #dedede; box-shadow: 0 18px 32px -20px rgba(11,17,32,.2); }
/* Separate 44px slider targets; enlarged pseudo-elements must not overlap. */
html[data-page="home"] .hero-slider-nav { gap: 4px; }
html[data-page="home"] .hero-slider-dot,
html[data-page="home"] .hero-slider-dot.active,
html[data-page="home"] .hero-slider-dot:hover {
  width: 44px; height: 44px; flex: 0 0 44px; background: transparent; border-radius: 0;
}
html[data-page="home"] .hero-slider-dot::after {
  inset: auto; left: 50%; top: 50%; width: 10px; height: 10px;
  transform: translate(-50%, -50%); border-radius: 100px; background: #cccccc; pointer-events: none;
}
html[data-page="home"] .hero-slider-dot.active::after { width: 28px; background: #fc6800; }
html[data-page="home"] .hero-slider-dot:focus-visible { outline: 2px solid #0b1120; outline-offset: -3px; }

/* Homepage follow-up: stable demo stages and room for every touch control. */
html[data-page="home"] .hd-stage { height: 560px; align-items: center; }
html[data-page="home"] .hd-frame { height: clamp(420px, 62.5cqw, 560px); max-width: 100%; transition: none; }
html[data-page="home"] .home-hero-demo[data-screen="kiosk"] .hd-frame { width: min(360px, 100%); height: 560px; max-height: none; }
html[data-page="home"] .hd-tabs { gap: 6px; }
html[data-page="home"] .hd-tab { min-width: 0; padding-inline: clamp(12px, 3cqw, 18px); }
html[data-page="home"] .hd-head { min-height: 44px; flex-shrink: 0; }
html[data-page="home"] #hdContext { min-width: 0; white-space: normal; line-height: 1.4; }
html[data-page="home"] .hd-strip { min-height: 32px; flex-shrink: 0; }
html[data-page="home"] .hd-lines li { flex-wrap: wrap; }
html[data-page="home"] .hd-lines li > strong { margin-left: auto; }
html[data-page="home"] .hd-kiosk-catalog { flex-direction: row; gap: 8px; }
html[data-page="home"] .hd-category-rail {
  order: 0; flex: 0 0 72px; flex-direction: column; align-self: stretch;
  gap: 4px; padding: 4px 0; border-right: 1px solid #eeeeee; background: #f7f7f5; border-radius: 8px;
}
html[data-page="home"] .hd-category-rail .hd-category {
  flex: 0 0 auto; min-height: 72px; width: 100%; padding: 6px 2px;
  background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 5px;
}
html[data-page="home"] .hd-category-rail .hd-category.is-active { background: #fff0e5; border-left-color: #fc6800; }
html[data-page="home"] .hd-category-rail .hd-art { width: 40px; height: 32px; background: transparent; }
html[data-page="home"] .hd-menu { order: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-page="home"] .hd-menu-card { padding: 6px; }
html[data-page="home"] .hd-menu-card > .hd-art { height: 38px; }
html[data-page="home"] .hd-menu-card > div { flex-wrap: wrap; }
html[data-page="home"] .hd-menu-card em { font-size: 10px; font-variant-numeric: tabular-nums; }
html[data-page="home"] .hd-menu-card .hd-plus { margin-left: auto; }
html[data-page="home"] .hd-basket-bar { min-height: 44px; }
@container (max-width: 540px) {
  html[data-page="home"] .hd-frame { height: 520px; }
  html[data-page="home"] #hdRestoran,
  html[data-page="home"] #hdPerakende { align-items: stretch; overflow: hidden; }
  html[data-page="home"] #hdRestoran > .hd-receipt,
  html[data-page="home"] #hdRestoran > .hd-map,
  html[data-page="home"] #hdPerakende > .hd-receipt,
  html[data-page="home"] #hdPerakende > .hd-retail-catalog { height: auto; min-height: 0; }
  html[data-page="home"] #hdRestoran > .hd-receipt { flex-basis: 43%; }
  html[data-page="home"] #hdPerakende:is(.is-active, .is-leaving) { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); grid-template-rows: minmax(0, 1fr) auto; }
  html[data-page="home"] #hdPerakende > .hd-receipt { grid-column: 1; grid-row: 1; }
  html[data-page="home"] #hdPerakende > .hd-retail-catalog { grid-column: 2; grid-row: 1; }
  html[data-page="home"] #hdPerakende .hd-retail-categories { grid-column: 1 / -1; display: flex; flex-direction: row; }
  html[data-page="home"] .hd-retail-categories .hd-category { flex: 1; min-height: 44px; }
  html[data-page="home"] .hd-total { flex-wrap: wrap; }
  html[data-page="home"] .hd-total strong { margin-left: auto; }
  html[data-page="home"] .hd-map-head { flex-wrap: wrap; }
  html[data-page="home"] .hd-map-head button { flex: 1 1 44px; }
  html[data-page="home"] .hd-receipt-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  html[data-page="home"] .hero-content { flex-direction: column; gap: 32px; }
  html[data-page="home"] .hero-text { width: 100%; max-width: 700px; text-align: center; }
  html[data-page="home"] .hero-actions { justify-content: center; }
  html[data-page="home"] .hero-image-placeholder { display: block; flex: 0 0 auto; width: 100%; max-width: 760px; }
}
@media (max-width: 540px) {
  html[data-page="home"] .hero .container { padding-inline: 16px; }
  html[data-page="home"] .trust-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; padding-inline: 16px; }
  html[data-page="home"] .trust-item { flex-direction: column; gap: 4px; text-align: center; }
  html[data-page="home"] .hd-frame { height: 560px; }
  html[data-page="home"] .hd-keypad[open] .hd-keys { grid-template-columns: repeat(6, minmax(44px, 1fr)); }
  html[data-page="home"] #hdKiosk { padding: 6px; }
  html[data-page="home"] .hd-kiosk-catalog { gap: 6px; }
  html[data-page="home"] .hd-menu-card { padding: 4px; }
}

/* Hero demo motion stays within the reserved stage; the static tab keeps its own fill. */
html[data-page="home"] .hd-stage { position: relative; }
html[data-page="home"] .hd-frame { transform-origin: 0 0; }
html[data-page="home"] .hd-tabs { position: relative; isolation: isolate; }
.hd-tab-pill { display: none; position: absolute; top: 0; left: 0; z-index: -1; background: #fc6800; border-radius: 100px; transform-origin: 0 0; pointer-events: none; }
.is-ready .hd-tab-pill { display: block; }
html[data-page="home"] .is-ready .hd-tab { background: transparent; }
html[data-page="home"] .is-ready .hd-tab.is-active { border-color: transparent; }
html[data-page="home"] .hd-screen.is-leaving { display: flex; z-index: 3; pointer-events: none; overflow: hidden; }
.hd-screen.is-leaving :is(button, input, summary) { font: inherit; color: inherit; }
.hd-screen.is-leaving button { min-height: 44px; min-width: 44px; }
.hd-screen.is-leaving button:disabled { opacity: .48; }
.hd-screen.is-leaving [hidden] { display: none !important; }
html[data-page="home"] .hd-flags { flex-shrink: 0; }
html[data-page="home"] .hd-flags .hd-flag { justify-content: center; background: #ffffff; font-size: 9px; }
html[data-page="home"] .hd-flags .hd-flag.is-active { background: #fff0e5; border-color: #fc6800; }
html[data-page="home"] .hd-kiosk-head > div:first-child { min-width: 0; }
/* Shared category highlight moves independently of the controls and reserved product viewport. */
.hd-category-fx { position: relative; isolation: isolate; }
.hd-category-indicator {
  position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none;
  background: #fff0e5; border-left: 3px solid #fc6800; border-radius: 5px; transform-origin: 0 0;
}
html[data-page="home"] .hd-category-fx > button,
html[data-page="home"] .hd-category-fx > button.is-active,
html[data-page="home"] .hd-category-fx > button.hd-category.is-active {
  background: transparent; border-color: transparent;
}
html[data-page="home"] .hd-category-fx > button:hover { background: transparent; }
.hd-showcase-caption { display: none; }
.home-hero-static { display: none; }
@media (max-width: 768px) {
  html[data-page="home"] :is(.home-hero-demo, .hero-demo) { display: none !important; }
  .home-hero-static { display: block; width: 100%; height: min(62.5vw, 260px); max-height: 260px; overflow: hidden; padding: 8px; background: #ffffff; border: 1px solid #dedede; border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(11,17,32,.3); }
  .home-hero-static img { display: block; width: 100%; height: 100%; object-fit: contain; background: #f7f7f5; border-radius: 7px; }
}
html[data-page="home"] .home-hero-demo * {
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(.22,1,.36,1);
  animation-timing-function: cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  html[data-page="home"] .home-hero-demo *,
  html[data-page="home"] .home-hero-demo *::before,
  html[data-page="home"] .home-hero-demo *::after { animation: none !important; transition: none !important; }
}

/* All five grid items reserve the tallest slide, including during crossfades. */
html[data-page="home"] .hero-slider { display: block; min-height: 560px; padding: 48px 0 24px; background: #ffffff; }
html[data-page="home"] .hero-slider-track { width: calc(100% - 192px); max-width: 1200px; margin-inline: auto; }
html[data-page="home"] .hero-slide {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 0;
  min-width: 0; opacity: 0; visibility: hidden; transform: none; transition: none;
}
html[data-page="home"] .hero-slide.active { opacity: 1; visibility: visible; }
html[data-page="home"] .hero-slide-bg { display: flex; max-width: none; padding: 8px; align-self: center; }
html[data-page="home"] .hero-slide-img { aspect-ratio: 8 / 5; }
html[data-page="home"] .hero-slide.active :is(.hero-slide-img, .hero-slide-bg) { animation: none; }
html[data-page="home"] .hero-slide-content { min-width: 0; gap: 20px; align-items: flex-start; text-align: left; }
html[data-page="home"] .hero-slide-content h2 { font-size: clamp(28px, 3.2vw, 44px); }
html[data-page="home"] .hero-slide-features { gap: 8px; justify-content: flex-start; }
html[data-page="home"] .hero-slide-features > span { padding: 8px 12px; }
html[data-page="home"] .hero-slide-features > span > span { padding: 0; border: 0; background: none; border-radius: 0; }
html[data-page="home"] .hero-slide-cta { grid-template-columns: minmax(0, 1fr); }
html[data-page="home"] .hero-slide-cta .hero-slide-content { align-items: center; text-align: center; }
html[data-page="home"] .hero-slide.is-leaving {
  visibility: visible; pointer-events: none; opacity: 0; transform: translateX(var(--slide-exit-x));
  transition: opacity 260ms ease, transform 260ms cubic-bezier(.22,1,.36,1);
}
html[data-page="home"] .hero-slide.enter-start { opacity: 0; transform: translateX(var(--slide-enter-x)); }
html[data-page="home"] .hero-slide.is-entering {
  transition: opacity 320ms cubic-bezier(.22,1,.36,1), transform 320ms cubic-bezier(.22,1,.36,1);
}
html[data-page="home"] .hero-slide.enter-start .hero-slide-content > * { opacity: 0; transform: translateX(var(--slide-enter-x)); }
html[data-page="home"] .hero-slide.is-entering .hero-slide-content > * {
  opacity: 1; transform: none;
  transition: opacity 320ms cubic-bezier(.22,1,.36,1), transform 320ms cubic-bezier(.22,1,.36,1);
}
html[data-page="home"] .hero-slide.is-entering .hero-slide-content > :nth-child(2) { transition-delay: 40ms; }
html[data-page="home"] .hero-slide.is-entering .hero-slide-content > :nth-child(3) { transition-delay: 80ms; }
html[data-page="home"] .hero-slide.is-entering .hero-slide-content > :nth-child(4) { transition-delay: 120ms; }
html[data-page="home"] .hero-slider-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 24px auto 0; width: max-content; max-width: 100%; }
html[data-page="home"] .hero-slider-nav { position: static; transform: none; gap: 0; }
html[data-page="home"] .hero-slider-dot::after { width: 6px; height: 6px; transition: width 200ms ease, background-color 200ms ease; }
html[data-page="home"] .hero-slider-dot.active::after { width: 24px; }
html[data-page="home"] .hero-slider-arrow { position: static; flex: 0 0 44px; transform: none; width: 44px; height: 44px; color: #0b1120; transition: transform 100ms ease, background-color 160ms ease; }
html[data-page="home"] .hero-slider-arrow:hover { transform: scale(1.04); }
html[data-page="home"] .hero-slider-arrow:active { transform: scale(.92); background: #fff0e5; }
html[data-page="home"] .hero-slider-progress { background: #fc6800; box-shadow: none; }
@media (max-width: 1199px) {
  html[data-page="home"] .hero-slider { padding: 40px 0 20px; min-height: 0; }
  html[data-page="home"] .hero-slider-track { width: calc(100% - 64px); }
  html[data-page="home"] .hero-slide { gap: 28px; }
  html[data-page="home"] .hero-slider-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 24px auto 0; width: max-content; max-width: 100%; }
  html[data-page="home"] .hero-slider-nav { position: static; transform: none; }
  html[data-page="home"] .hero-slider-arrow { position: static; flex: 0 0 44px; transform: none; }
  html[data-page="home"] .hero-slider-arrow:hover { transform: scale(1.04); }
  html[data-page="home"] .hero-slider-arrow:active { transform: scale(.92); }
}
@media (max-width: 900px) {
  html[data-page="home"] .hero-slider-track { width: calc(100% - 32px); }
  html[data-page="home"] .hero-slide { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 28px; }
  html[data-page="home"] .hero-slide-bg { width: 100%; }
  html[data-page="home"] .hero-slide-content { width: 100%; max-width: 680px; margin-inline: auto; align-items: center; text-align: center; }
  html[data-page="home"] .hero-slide-features { justify-content: center; }
  html[data-page="home"] .hero-slide-cta { align-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-page="home"] .hero-slide,
  html[data-page="home"] .hero-slide *,
  html[data-page="home"] .hero-slider-arrow,
  html[data-page="home"] .hero-slider-dot::after { transition: none !important; animation: none !important; }
  html[data-page="home"] .hero-slide.is-leaving { visibility: hidden; }
}

/* Fit the homepage sample to its reserved frame, including longer site translations. */
html[data-page="home"] :is(.hd-frame, .hd-screen.is-leaving) * { min-width: 0; overflow: hidden; }
html[data-page="home"] :is(#hdRestoran, #hdPerakende) {
  grid-template-columns: 80px minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: minmax(0, 1fr); align-items: stretch; overflow: hidden;
}
html[data-page="home"] :is(#hdRestoran, #hdPerakende):is(.is-active, .is-leaving) { display: grid; }
html[data-page="home"] :is(#hdRestoran, #hdPerakende) > .hd-action-column {
  display: flex; position: static; grid-column: 1; grid-row: 1 / -1; width: auto; height: 100%;
  padding: 0; border: 0; background: transparent; box-shadow: none;
}
html[data-page="home"] .hd-action {
  min-height: 0; font-size: 11px !important; line-height: 1.25 !important;
  white-space: nowrap; overflow-wrap: normal; hyphens: manual; padding: 3px;
}
html[data-page="home"] .hd-action-toggle { display: none; }
html[data-page="home"] :is(#hdRestoran, #hdPerakende) > .hd-receipt { grid-column: 2; grid-row: 1 / -1; height: auto; }
html[data-page="home"] :is(#hdRestoran > .hd-map, #hdPerakende > .hd-retail-catalog) { grid-column: 3; grid-row: 1; height: auto; }
html[data-page="home"] #hdPerakende { grid-template-rows: minmax(0, 1fr) 38px; }
html[data-page="home"] #hdPerakende .hd-retail-categories { grid-column: 3; grid-row: 2; flex-direction: row; gap: 3px; }
html[data-page="home"] .hd-retail-categories .hd-category { flex: 1 1 0; min-height: 0; padding: 3px; }
html[data-page="home"] :is(.hd-receipt-head, .hd-receipt-meta, .hd-sums, .hd-receipt-actions, .hd-barcode, #hdRestKeypad) { flex-shrink: 0; }
html[data-page="home"] :is(.hd-receipt-head, .hd-sums) { padding: 6px; }
html[data-page="home"] .hd-receipt-meta { padding: 4px 6px; }
html[data-page="home"] .hd-lines { padding-inline: 6px; }
html[data-page="home"] .hd-lines li { padding-block: 5px; gap: 3px; }
html[data-page="home"] .hd-lines small { margin-top: 2px; }
html[data-page="home"] :is(.hd-lines, .hd-basket-lines) .hd-more-lines {
  display: block; padding: 2px 0; border: 0; color: #666666; font-size: 11px; line-height: 1.4; text-align: right;
}
html[data-page="home"] .hd-receipt-actions .hd-btn { min-height: 32px; padding: 4px; }
html[data-page="home"] :is(.hd-map-head, .hd-sale-tabs) { flex-direction: row; flex-wrap: nowrap; margin-bottom: 5px; }
html[data-page="home"] :is(.hd-map-head, .hd-sale-tabs) button { flex: 1 1 0; min-height: 34px; padding: 3px; }
html[data-page="home"] #hdPerakende .hd-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-page="home"] :is(.hd-item, #hdPerakende .hd-item) {
  display: flex; flex-direction: column; min-height: 0; gap: 3px; padding: 6px;
}
html[data-page="home"] .hd-item > .hd-art { height: 30px; flex: 0 1 30px; min-height: 16px; }
html[data-page="home"] .hd-item strong { flex-shrink: 0; font-size: 11px; line-height: 1.3; }
html[data-page="home"] .hd-item em { flex-shrink: 0; font-size: 10px; line-height: 1.4; }
html[data-page="home"] .hd-keypad summary { min-height: 32px; }
html[data-page="home"] .hd-barcode input { height: 32px; }
html[data-page="home"] .hd-category-rail .hd-category { flex: 1 1 0; min-height: 0; }
html[data-page="home"] .hd-menu-card { min-height: 0; }
html[data-page="home"] .hd-menu-card > .hd-art { height: 38px; flex: 0 1 38px; min-height: 20px; }
html[data-page="home"] .hd-menu-card > strong { flex: 1 0 auto; }
html[data-page="home"] .hd-menu-card > div { flex-wrap: nowrap; flex-shrink: 0; }
html[data-page="home"] .hd-menu-card .hd-plus { min-width: 28px; min-height: 28px; padding: 2px; }
html[data-page="home"] .hd-basket-lines li {
  grid-template-columns: 32px minmax(0, 1fr) auto 26px; gap: 4px; padding: 5px 0;
}
html[data-page="home"] .hd-basket-lines :is(.hd-quantity, .hd-remove) { grid-column: auto; grid-row: auto; }
html[data-page="home"] .hd-basket-lines :is(.hd-plus, .hd-minus, .hd-remove) { min-width: 26px; min-height: 28px; padding: 2px; }
html[data-page="home"] .hd-basket-lines .hd-art { width: 32px; height: 36px; }
html[data-page="home"] .hd-basket-name { gap: 2px; }
html[data-page="home"] .hd-quantity { gap: 3px; }
html[data-page="home"] .hd-basket-bar > :is(strong, span) { flex-shrink: 0; }
html[data-page="home"] .hd-strip { line-height: 1.4; }
@media (min-width: 769px) and (max-width: 1100px) {
  html[data-page="home"] .hd-menu-card > .hd-art { height: 32px; flex-basis: 32px; }
}
/* Give the full German payment label the same space in the button and moving ink. */
html[data-page="home"]:lang(de) .pricing-calc :is(.payment-type-toggle, .fx-payment-ink) {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}
html[data-page="home"]:lang(de) .pricing-calc :is(.pt-btn, .fx-payment-ink > span) { white-space: nowrap; overflow-wrap: normal; }
