@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/outfit-latin.woff2) format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
}

:root {
  --ink: #1a1a1a;
  --paper: #fdf8f8;
  --paper-deep: #f2f2ed;
  --coral: #ff5f56;
  --coral-deep: #e84f47;
  --lime: #d8ff65;
  --blue: #b9d8ff;
  --muted: #444748;
  --line: rgba(26, 26, 26, 0.12);
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --max: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

p,
.button,
.nav-menu-copy,
.footer-copy {
  overflow-wrap: break-word;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
  /* Align nav content with the capped page column on very wide screens */
  padding: 0.8rem max(clamp(1rem, 3vw, 3rem), calc((100% - var(--max)) / 2 + 1.2rem));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid rgba(27, 25, 24, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-dot {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.6vw, 2.6rem);
}

.nav-links a,
.nav-product-trigger {
  position: relative;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-caret {
  display: inline;
  vertical-align: middle;
  margin-left: 0.3rem;
  transition: transform 200ms ease;
}

.nav-product:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-links a::after,
.nav-product-trigger::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after,
.nav-product-trigger:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-product {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: -1.5rem;
}

.nav-product-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(430px, 86vw);
  padding: 1.8rem 0.55rem 0.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(27, 25, 24, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 240ms var(--ease);
}

/* ponytail: top padding bridges the visual gap so hover does not drop between trigger and menu */
.nav-product-menu::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1.25rem;
  content: "";
}


.nav-product:hover .nav-product-menu,
.nav-product:focus-within .nav-product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-product-menu a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: 13px;
}

.nav-product-menu a::after {
  display: none;
}

.nav-product-menu a:hover {
  background: var(--paper-deep);
}

.nav-menu-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--coral);
  border-radius: 12px;
  color: #fff8f3;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
}

.nav-menu-icon.online {
  background: var(--ink);
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}

.nav-menu-copy strong,
.nav-menu-copy span {
  display: block;
}

.nav-menu-copy strong {
  font-family: var(--display);
  font-size: 0.92rem;
}

.nav-menu-copy span {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.lang-pill {
  position: fixed;
  top: calc(78px + 10px);
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.22rem 0.55rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(27,25,24,0.1);
  backdrop-filter: blur(10px);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-pill-btn {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  padding: 0.2rem 0.4rem;
  border: 0;
  background: none;
  color: #a09a94;
  cursor: pointer;
  place-items: center;
}

.lang-pill-btn.active,
.lang-pill-btn[aria-pressed="true"] {
  color: var(--ink);
}

.lang-pill-sep {
  color: var(--line);
  font-size: 0.6rem;
}

/* Legacy lang-switch inside nav (mobile menu) */
.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-switch button {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: #a09a94;
  cursor: pointer;
  place-items: center;
}

.lang-switch button.active {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}

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

.button-dark {
  background: var(--ink);
  color: #fffaf5;
}

.button-light {
  background: #fffaf5;
  color: var(--ink);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
}

.button-coral {
  background: var(--coral);
  color: #fffaf5;
}

/* Free-trial promo (in-person / €20 plan only) */
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  background: var(--lime);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trial-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ink);
}

.trial-note {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.trial-note strong {
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 3.5px auto;
  background: var(--ink);
  transition: transform 220ms ease;
}

.nav-mobile-footer {
  display: none;
}

.site-main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(0.65rem, 1.4vw, 1.2rem) 1rem;
}

.display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.83;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-wrap: balance;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--coral-deep);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-wrap: balance;
}

.display-title,
.section-title,
.footer-brand,
.signup-title,
.signup-success h3 {
  hyphens: none;
  word-break: normal;
}

.epos-frame {
  container-type: inline-size;
  padding: 0.8rem;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 36px 74px rgba(27, 25, 24, 0.28);
}

.epos-screen {
  overflow: hidden;
  background: #fffaf5;
  border-radius: 19px;
  color: var(--ink);
}

.epos-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.epos-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
}

.epos-brand img {
  width: 25px;
  height: 25px;
  border-radius: 7px;
}

.epos-device {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.epos-device::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #6ecc70;
  border-radius: 50%;
  content: "";
}

.epos-workspace {
  display: grid;
  min-height: 410px;
  grid-template-columns: minmax(0, 1.25fr) minmax(170px, 0.75fr);
}

.epos-catalog {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.epos-section-head,
.epos-order-head,
.epos-line,
.epos-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.epos-section-head span,
.epos-order-head span {
  color: var(--muted);
  font-size: 0.62rem;
}

.epos-section-head strong,
.epos-order-head strong {
  font-family: var(--display);
  font-size: 0.8rem;
}

.epos-categories {
  display: flex;
  gap: 0.35rem;
  margin: 0.85rem 0;
  overflow: hidden;
}

.epos-categories span {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  background: var(--paper-deep);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
}

.epos-categories span:first-child {
  background: var(--ink);
  color: #fffaf5;
}

.epos-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.epos-product {
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: space-between;
  padding: 0.7rem;
  background: var(--paper-deep);
  border: 1px solid rgba(27, 25, 24, 0.06);
  border-radius: 13px;
}

.epos-product-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--blue);
  border-radius: 9px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
}

.epos-product:nth-child(2) .epos-product-mark {
  background: #ffd2c8;
}

.epos-product:nth-child(3) .epos-product-mark {
  background: var(--lime);
}

.epos-product:nth-child(4) .epos-product-mark {
  background: #e3d7ff;
}

.epos-product span {
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epos-product strong {
  font-family: var(--display);
  font-size: 0.76rem;
}

.epos-order {
  display: grid;
  min-width: 0;
  align-content: start;
  padding: 1rem;
  background: #fffdf9;
}

.epos-lines {
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.epos-line {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.62rem;
}

.epos-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epos-line strong {
  flex: 0 0 auto;
}

.epos-total {
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 900;
}

.epos-total span {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.epos-total strong {
  font-size: clamp(1.35rem, 5cqi, 2.35rem);
  letter-spacing: -0.05em;
}

.epos-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--coral);
  border-radius: 12px;
  color: #fffaf5;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 850;
}

@container (max-width: 470px) {
  .epos-toolbar {
    min-height: 48px;
    padding: 0.65rem 0.75rem;
  }

  .epos-device {
    font-size: 0.5rem;
  }

  .epos-workspace {
    min-height: 340px;
    grid-template-columns: minmax(0, 1.05fr) minmax(130px, 0.95fr);
  }

  .epos-catalog,
  .epos-order {
    padding: 0.7rem;
  }

  .epos-categories {
    margin: 0.55rem 0;
  }

  .epos-categories span:nth-child(n+3),
  .epos-product:nth-child(4) {
    display: none;
  }

  .epos-products {
    gap: 0.4rem;
  }

  .epos-product {
    min-height: 86px;
    padding: 0.55rem;
  }

  .epos-line {
    padding: 0.55rem 0;
  }
}

@container (max-width: 330px) {
  .epos-device,
  .epos-section-head span,
  .epos-order-head span,
  .epos-product:nth-child(3),
  .epos-line:nth-child(2) {
    display: none;
  }

  .epos-workspace {
    min-height: 300px;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 0.9fr);
  }

  .epos-products {
    grid-template-columns: 1fr;
  }
}

.merchant-app-phone {
  container-type: inline-size;
  width: min(54%, 380px);
  aspect-ratio: 393 / 852;
  box-sizing: border-box;
  padding: 0.62rem;
  overflow: hidden;
  background: #171616;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 48px;
  box-shadow: 0 36px 74px rgba(27,25,24,0.3);
}

.merchant-app-screen {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fbf8f2;
  border-radius: 39px;
  color: var(--ink);
}

.merchant-app-screen::before {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 4;
  width: 30%;
  height: 1.25rem;
  background: #171616;
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.app-statusbar {
  display: flex;
  height: calc(38 * 100cqw / 216);
  align-items: center;
  justify-content: space-between;
  padding: calc(8.8 * 100cqw / 216) calc(18.4 * 100cqw / 216) 0;
  font-size: calc(8.32 * 100cqw / 216);
  font-weight: 850;
}

.app-status-icons {
  display: flex;
  align-items: center;
  gap: calc(4.48 * 100cqw / 216);
}

.app-status-icons i {
  display: block;
  width: calc(8.32 * 100cqw / 216);
  height: calc(5.44 * 100cqw / 216);
  border: 1.5px solid currentColor;
  border-radius: calc(2 * 100cqw / 216);
}

.app-status-icons i:first-child {
  width: calc(7.36 * 100cqw / 216);
  height: calc(6.72 * 100cqw / 216);
  border-width: 0 0 1.5px 1.5px;
  border-radius: 0;
  transform: skew(-16deg);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 1rem 0.85rem;
}

.app-store {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.app-store img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.app-store span,
.app-store strong {
  display: block;
}

.app-store span {
  color: #7d746c;
  font-size: 0.54rem;
  font-weight: 750;
}

.app-store strong {
  margin-top: 0.08rem;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: -0.025em;
}

.app-menu {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  background: #eee8e0;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.app-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin: 0 1rem;
  padding: 0.25rem;
  background: #ede7df;
  border-radius: 12px;
}

.app-mode span {
  padding: 0.52rem 0.3rem;
  border-radius: 9px;
  color: #756c65;
  font-size: 0.56rem;
  font-weight: 800;
  text-align: center;
}

.app-mode .active {
  background: #fffdf9;
  box-shadow: 0 2px 8px rgba(27,25,24,0.08);
  color: var(--ink);
}

.app-till-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.75rem 1rem 0;
  padding: 0.58rem 0.7rem;
  background: rgba(184, 217, 255, 0.28);
  border: 1px solid rgba(70, 112, 160, 0.12);
  border-radius: 11px;
  font-size: 0.52rem;
}

.app-till-reference span {
  color: #65717e;
  font-weight: 750;
}

.app-till-reference strong {
  font-family: var(--display);
  font-size: 0.62rem;
}

.app-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.55rem;
}

.app-section-head strong {
  font-family: var(--display);
  font-size: 0.78rem;
}

.app-section-head span {
  color: var(--coral);
  font-size: 0.52rem;
  font-weight: 850;
}

.app-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 1rem;
}

.app-product {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 92px;
  align-content: space-between;
  padding: 0.68rem;
  background: #fffdf9;
  border: 1px solid rgba(27,25,24,0.07);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(27,25,24,0.045);
}

.app-product-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  background: var(--blue);
  border-radius: 9px;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 900;
}

.app-product:nth-child(2) .app-product-icon { background: #ffd2c8; }
.app-product:nth-child(3) .app-product-icon { background: var(--lime); }
.app-product:nth-child(4) .app-product-icon { background: #e3d7ff; }

.app-product-copy strong,
.app-product-copy span {
  display: block;
}

.app-product-copy strong {
  overflow: hidden;
  font-size: 0.57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-product-copy span {
  margin-top: 0.14rem;
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 900;
}

.app-product-add {
  position: absolute;
  top: 0.58rem;
  right: 0.58rem;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  background: #eee8e0;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.app-custom-amount {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  margin: 0.65rem 1rem 6.4rem;
  padding: 0.65rem;
  background: #fffdf9;
  border: 1px solid rgba(27,25,24,0.07);
  border-radius: 14px;
}

.app-custom-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: var(--coral);
  border-radius: 10px;
  color: #fffaf5;
  font-weight: 900;
}

.app-custom-copy strong,
.app-custom-copy span {
  display: block;
}

.app-custom-copy strong {
  font-size: 0.57rem;
}

.app-custom-copy span {
  margin-top: 0.12rem;
  color: #81776f;
  font-size: 0.48rem;
}

.app-custom-arrow {
  color: #81776f;
  font-size: 0.9rem;
}

.app-basket {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  padding: 0.72rem;
  background: #1b1918;
  border-radius: 17px;
  box-shadow: 0 10px 26px rgba(27,25,24,0.22);
  color: #fffaf5;
}

.app-basket-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.18rem 0.55rem;
}

.app-basket-summary span {
  color: #cfc6bd;
  font-size: 0.52rem;
  font-weight: 750;
}

.app-basket-summary strong {
  font-family: var(--display);
  font-size: 1rem;
}

.app-payment-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.78rem;
  background: var(--coral);
  border-radius: 12px;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 850;
}

/* ===== Charge keypad screen (in-app mockup) ===== */
.charge-screen,
.qrcharge-screen {
  display: flex;
  flex-direction: column;
  padding-top: calc(34 * 100cqw / 216);
}

.charge-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(4.8 * 100cqw / 216);
  margin: calc(2.4 * 100cqw / 216) calc(12.8 * 100cqw / 216) 0;
  padding: calc(4.16 * 100cqw / 216);
  background: #ece6de;
  border-radius: calc(13 * 100cqw / 216);
}

.charge-tabs span {
  padding: calc(8 * 100cqw / 216) calc(4.8 * 100cqw / 216);
  border-radius: calc(9 * 100cqw / 216);
  color: #8a8079;
  font-size: calc(8.8 * 100cqw / 216);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.charge-tabs .active {
  background: #fffdf9;
  box-shadow: 0 2px 8px rgba(27,25,24,0.08);
  color: var(--coral);
}

.charge-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: calc(1.28 * 100cqw / 216);
  padding: calc(16 * 100cqw / 216) 0 calc(13.6 * 100cqw / 216);
  font-family: var(--display);
  font-size: calc(40 * 100cqw / 216);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.charge-amount .cur {
  align-self: flex-start;
  margin-top: calc(6.4 * 100cqw / 216);
  font-size: calc(19.2 * 100cqw / 216);
  color: #b3a99f;
}

.charge-amount .dec { color: #b3a99f; }

.charge-pad {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(6.08 * 100cqw / 216);
  min-height: 0;
  padding: 0 calc(12.8 * 100cqw / 216);
}

.charge-pad button {
  display: grid;
  place-items: center;
  border: 0;
  background: #fffdf9;
  border-radius: calc(14 * 100cqw / 216);
  box-shadow: 0 1px 3px rgba(27,25,24,0.05);
  color: var(--ink);
  font-family: var(--display);
  font-size: calc(20.8 * 100cqw / 216);
  font-weight: 700;
}

.charge-pad .charge-del {
  background: #efe8e0;
  box-shadow: none;
}

.charge-pad .charge-del svg {
  width: calc(16.8 * 100cqw / 216);
  height: calc(16.8 * 100cqw / 216);
}

.charge-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6.4 * 100cqw / 216);
  margin: calc(9.6 * 100cqw / 216) calc(12.8 * 100cqw / 216) 0;
  padding: calc(13.6 * 100cqw / 216);
  background: var(--coral);
  border-radius: calc(16 * 100cqw / 216);
  color: #fffaf5;
  font-family: var(--display);
  font-size: calc(13.12 * 100cqw / 216);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.charge-cta svg {
  width: calc(14.4 * 100cqw / 216);
  height: calc(14.4 * 100cqw / 216);
}

.charge-cta.charge-ghost {
  background: #1b1918;
}

.charge-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  margin-top: calc(8 * 100cqw / 216);
  padding: calc(7.2 * 100cqw / 216) calc(4 * 100cqw / 216) calc(9.6 * 100cqw / 216);
  border-top: 1px solid #efe9e1;
}

.charge-tabbar span {
  display: grid;
  justify-items: center;
  gap: calc(2.88 * 100cqw / 216);
  color: #b0a69d;
  font-size: calc(6.4 * 100cqw / 216);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.charge-tabbar span svg {
  width: calc(15.2 * 100cqw / 216);
  height: calc(15.2 * 100cqw / 216);
}

.charge-tabbar .charge-tab-charge {
  position: relative;
}

.charge-tabbar .charge-bolt {
  display: grid;
  place-items: center;
  width: calc(28 * 100cqw / 216);
  height: calc(28 * 100cqw / 216);
  margin-top: -calc(8 * 100cqw / 216);
  background: var(--ink);
  border-radius: 50%;
  color: #fffaf5;
}

.charge-tabbar .charge-bolt svg {
  width: calc(13.6 * 100cqw / 216);
  height: calc(13.6 * 100cqw / 216);
}

/* ===== QR charge screen (in-app mockup) — Zahlo styled ===== */
.qrcharge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: calc(4 * 100cqw / 216) calc(13 * 100cqw / 216) calc(8 * 100cqw / 216);
}

.qrcharge-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * 100cqw / 216);
  font-family: var(--display);
  font-size: calc(14 * 100cqw / 216);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.qrcharge-brand img {
  width: calc(18 * 100cqw / 216);
  height: calc(18 * 100cqw / 216);
  border-radius: calc(5 * 100cqw / 216);
}

.qrcharge-store {
  color: #8a8079;
  font-size: calc(9.5 * 100cqw / 216);
  font-weight: 800;
}

.qrcharge-amount {
  margin: 0 calc(13 * 100cqw / 216);
}

.qrcharge-due {
  display: block;
  margin-bottom: calc(2 * 100cqw / 216);
  color: var(--coral);
  font-family: var(--display);
  font-size: calc(9 * 100cqw / 216);
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qrcharge-amount strong {
  font-family: var(--display);
  font-size: calc(33 * 100cqw / 216);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--ink);
}

.qrcharge-sticker {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: calc(11 * 100cqw / 216);
  margin: calc(11 * 100cqw / 216) calc(13 * 100cqw / 216);
  padding: calc(18 * 100cqw / 216);
  background: var(--lime);
  border: calc(2 * 100cqw / 216) solid var(--ink);
  border-radius: calc(24 * 100cqw / 216);
  box-shadow: calc(6 * 100cqw / 216) calc(7 * 100cqw / 216) 0 var(--ink);
}

.qrcharge-sticker svg {
  width: 74%;
  max-width: calc(160 * 100cqw / 216);
  aspect-ratio: 1;
  padding: calc(8 * 100cqw / 216);
  background: #fff;
  border-radius: calc(12 * 100cqw / 216);
}

.qrcharge-scan {
  font-family: var(--display);
  font-size: calc(15 * 100cqw / 216);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.qrcharge-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * 100cqw / 216);
  margin: 0 calc(13 * 100cqw / 216) calc(2 * 100cqw / 216);
  color: #8a8079;
  font-size: calc(9.5 * 100cqw / 216);
  font-weight: 750;
}

.qrcharge-status .qrcharge-dot {
  width: calc(7 * 100cqw / 216);
  height: calc(7 * 100cqw / 216);
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,98,88,0.5);
  animation: qrcharge-pulse 1.8s ease-out infinite;
}

.qrcharge-cta {
  margin-top: calc(8 * 100cqw / 216);
}

@keyframes qrcharge-pulse {
  to { box-shadow: 0 0 0 calc(7 * 100cqw / 216) rgba(255,98,88,0); }
}

.section-copy {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  width: min(calc(100% - 2rem), calc(var(--max) - 2rem));
  margin: 0 auto 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--ink);
}

.footer-brand {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.footer-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.8rem 2.4rem;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.signup-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  padding: 1rem;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.signup-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.signup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 25, 24, 0.68);
  backdrop-filter: blur(8px);
}

.signup-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(94dvh, 820px);
  overflow: auto;
  padding: clamp(1.35rem, 4vw, 3.2rem);
  background: var(--paper);
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(27, 25, 24, 0.35);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 220ms ease, transform 420ms var(--ease);
}

.signup-popup.is-open .signup-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.signup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
}

.signup-intro {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.signup-eyebrow {
  color: var(--coral-deep);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signup-title {
  margin: 0.55rem 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.signup-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.signup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.signup-input,
.signup-select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  outline: 0;
  background: #fffdf9;
  border-radius: 14px;
  color: var(--ink);
  font-size: 16px;
}

.signup-select {
  position: relative;
  z-index: 20;
}

.signup-input:focus,
.signup-select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 98, 88, 0.13);
}

.signup-select:focus {
  z-index: 100;
}

.signup-wide {
  grid-column: 1 / -1;
}

.signup-submit {
  width: 100%;
  margin-top: 0.8rem;
}

.signup-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  line-height: 1.45;
}

.signup-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0.05rem 0 0;
  accent-color: var(--coral);
}

.signup-error {
  margin: 0.75rem 0 0;
  color: #a92e29;
  font-size: 0.82rem;
}

.signup-fineprint {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.signup-success {
  display: none;
  min-height: 420px;
  align-content: center;
  text-align: center;
}

.signup-card.is-success .signup-form-view {
  display: none;
}

.signup-card.is-success .signup-success {
  display: grid;
}

.success-mark {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 1.5rem;
  place-items: center;
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
}

.signup-success h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.signup-success p {
  max-width: 440px;
  margin: 1rem auto 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  /* Mobile dropdown panel — extends the navbar, matches the desktop Products menu */
  .nav-links {
    position: fixed;
    top: 62px;
    right: 0.6rem;
    left: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    max-height: calc(100dvh - 74px);
    padding: 0.55rem;
    overflow-y: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(27, 25, 24, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 240ms var(--ease);
    z-index: 100;
  }

  .site-nav.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Main links — clean rows, display font, title case */
  .nav-links > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 0.85rem;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: left;
    border-radius: 13px;
    transition: background 160ms ease, color 160ms ease;
  }

  .nav-links > a::after {
    display: none;
  }

  .nav-links > a:hover,
  .nav-links > a:focus-visible {
    background: var(--paper-deep);
  }

  .nav-links > a[aria-current="page"] {
    color: var(--coral);
  }

  /* "Products" becomes a quiet section label */
  .nav-product-trigger {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem 0.45rem;
    color: var(--muted);
    font-family: var(--display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: left;
    pointer-events: none;
  }

  .nav-product-trigger::after {
    display: none;
  }

  .nav-product-trigger .nav-caret {
    display: none;
  }

  /* Product items keep their desktop icon + copy layout */
  .nav-product-menu,
  .nav-product:hover .nav-product-menu,
  .nav-product:focus-within .nav-product-menu {
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-product-menu a {
    padding: 0.7rem 0.85rem;
  }

  .nav-product {
    padding-bottom: 0.2rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  /* Footer: coral CTA + language switch */
  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.3rem;
    padding: 0.7rem 0.35rem 0.35rem;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-footer .button {
    width: 100%;
    background: var(--coral);
    color: #fffaf5;
  }

  .nav-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding-bottom: 0.25rem;
    color: #a09a94;
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .nav-mobile-lang button {
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    border: 0;
    background: none;
    color: #a09a94;
    cursor: pointer;
    font: inherit;
    transition: color 150ms ease;
  }

  .nav-mobile-lang button[aria-pressed="true"],
  .nav-mobile-lang button.active {
    color: var(--ink);
  }

  .nav-mobile-lang span {
    color: var(--line);
  }

  /* Burger → X */
  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(2.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
  }

  .nav-actions .button {
    display: none;
  }

  .lang-pill {
    top: calc(68px + 8px);
  }

  .site-nav.menu-open ~ .lang-pill,
  .site-nav.menu-open + .lang-pill {
    opacity: 0;
    pointer-events: none;
  }

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

  .footer-links {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-nav {
    gap: 0.6rem;
    padding-inline: 0.8rem;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .lang-switch button {
    min-width: 44px;
    min-height: 44px;
  }

  .signup-popup {
    padding: 0.4rem;
  }

  .signup-card {
    max-height: 97dvh;
    border-radius: 24px;
  }

  .signup-fields {
    grid-template-columns: 1fr;
  }

  .signup-wide {
    grid-column: auto;
  }

  .site-footer {
    width: calc(100% - 1rem);
    padding: 2.2rem 1.4rem;
    border-radius: 22px;
  }

  .footer-brand {
    font-size: clamp(5rem, 20vw, 7.5rem);
    line-height: 0.78;
    margin-bottom: 1.4rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, auto);
  }

  .display-title,
  .section-title {
    overflow-wrap: normal;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
