:root {
  --ink: #17203d;
  --muted: #65708a;
  --paper: #f6f7fc;
  --paper-deep: #e9ecf7;
  --white: #ffffff;
  --tomato: #3646f5;
  --tomato-dark: #1324dc;
  --leaf: #27366f;
  --leaf-light: #e9ecff;
  --mustard: #aeb8ff;
  --line: rgba(23, 32, 61, .13);
  --shadow: 0 22px 60px rgba(28, 38, 91, .13);
  --sans: "IBM Plex Sans", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "DM Mono", monospace;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.68 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .36; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
img { display: block; max-width: 100%; }
p { margin: 0 0 20px; color: var(--muted); }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 6.6vw, 88px); line-height: .96; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; }
h3 { font-size: 20px; line-height: 1.25; }
em { color: var(--tomato); font-style: italic; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--tomato); font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(246, 247, 252, .9); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; }
.primary-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
.primary-nav a { position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--tomato); transition: right .2s ease; }
.primary-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; font-weight: 700; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; left: 16px; right: 16px; top: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; padding: 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-menu nav a:last-child { border: 0; color: var(--tomato); }

/* Language switcher (header) */
.lang-switcher { position: relative; }
.lang-switcher > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--ink); font: 600 13px var(--sans); cursor: pointer; list-style: none; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary::marker { content: ""; }
.lang-switcher > summary:hover { border-color: var(--tomato); color: var(--tomato); }
.lang-switcher[open] > summary { border-color: var(--ink); color: var(--ink); }
.lang-switcher .lang-globe { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; }
.lang-switcher .lang-current { letter-spacing: .01em; }
.lang-switcher .lang-caret { width: 10px; height: 10px; flex: none; opacity: .7; transition: transform .18s ease; }
.lang-switcher[open] .lang-caret { transform: rotate(180deg); }
.lang-options { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); z-index: 50; }
.lang-options a, .lang-options .lang-current-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: var(--ink); font: 600 13px var(--sans); white-space: nowrap; }
.lang-options a:hover { background: var(--leaf-light); color: var(--ink); }
.lang-options .lang-current-option { color: var(--tomato); cursor: default; }
.lang-options .lang-current-option::after { content: "✓"; margin-left: auto; color: var(--tomato); font-weight: 800; }
@media (max-width: 720px) {
  .lang-switcher { display: none; }
  .mobile-menu .lang-mobile-link { color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu .lang-mobile-link::before { content: "🌐"; margin-right: 8px; opacity: .7; }
}

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 4px 4px 0 var(--mustard); }
.button:hover { color: #fff; background: var(--tomato); border-color: var(--tomato); transform: translate(-1px, -1px); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line); box-shadow: none; }
.button-secondary:hover { color: var(--tomato); background: transparent; border-color: var(--tomato); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 var(--mustard); }
.button-light:hover { color: var(--ink); background: var(--mustard); border-color: var(--mustard); }
.button-dark { color: #fff; background: #111936; border-color: #111936; box-shadow: none; }

.hero-section { position: relative; overflow: hidden; padding: 84px 0 90px; border-bottom: 1px solid var(--line); }
.hero-section::after { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; top: -110px; border-radius: 50%; border: 70px solid rgba(54, 70, 245, .1); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .76fr); gap: 72px; align-items: center; }
.hero-copy h1 { max-width: 780px; margin-bottom: 24px; }
.hero-lede { max-width: 680px; font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.action-icon { width: 17px; height: 17px; display: inline-flex; }
.action-icon svg, .fact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-icon svg.fill-icon { fill: currentColor; stroke: none; }
.source-facts { margin-top: 42px; padding: 22px; border: 1px solid rgba(54, 70, 245, .14); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(233,236,255,.7)); box-shadow: 0 18px 45px rgba(28, 38, 91, .08); }
.facts-header { display: grid; gap: 6px; margin-bottom: 16px; }
.facts-kicker { color: var(--tomato); font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.facts-header strong { max-width: 500px; font-size: 14px; line-height: 1.45; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.fact-item { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(23, 32, 61, .09); border-radius: 10px; background: rgba(255,255,255,.82); }
.fact-item.wide { grid-column: 1 / -1; }
.fact-icon { width: 38px; height: 38px; display: grid; place-items: center; padding: 9px; border-radius: 9px; color: #3041dc; background: #e6eaff; }
.fact-item:nth-child(2) .fact-icon { color: #b36228; background: #fff0df; }
.fact-item:nth-child(3) .fact-icon { color: #27715e; background: #def5ec; }
.fact-item:nth-child(4) .fact-icon { color: #8a4f91; background: #f5e6f7; }
.fact-item:nth-child(5) .fact-icon { color: #35618a; background: #e2f0fb; }
.fact-item:nth-child(6) .fact-icon { color: #9a6a16; background: #fff4cf; }
.fact-item b, .fact-item small { display: block; }
.fact-item b { margin-bottom: 2px; font-size: 13px; line-height: 1.25; }
.fact-item small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.product-panel { position: relative; padding: 8px; border: 1px solid rgba(23,32,61,.22); border-radius: 13px; background: #111f21; box-shadow: 16px 18px 0 var(--tomato), var(--shadow); transform: rotate(1deg); }
.product-panel::before { content: "THE ACTUAL FLOPOS WORKFLOW"; position: absolute; top: -29px; right: 3px; color: var(--leaf); font: 500 10px var(--mono); letter-spacing: .08em; }
.pos-app { min-height: 425px; display: grid; grid-template-columns: 28px minmax(0,1fr); overflow: hidden; border-radius: 7px; background: #fff; color: #181c2b; font-family: Arial, sans-serif; }
.pos-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 11px 4px; border-right: 1px solid #e8eaf1; background: #fbfbfd; }
.pos-rail img { width: 12px; height: 12px; margin-bottom: 2px; }
.pos-rail b { width: 18px; height: 18px; display: grid; place-items: center; color: #3d4353; font-size: 8px; font-weight: 400; }
.pos-rail b.active { border-radius: 4px; background: #eceeff; color: #3646f5; }
.pos-workspace { min-width: 0; padding: 11px 12px; }
.pos-topline { display: flex; gap: 5px; padding-bottom: 9px; border-bottom: 1px solid #e9eaf0; }
.pos-topline > span { min-width: 58px; padding: 5px 8px; border: 1px solid #e7e9ef; border-radius: 5px; color: #a1a4ad; font-size: 7px; }
.pos-topline .grow { flex: 1; }
.pos-topline .printer { color: #2c9c5c; }
.pos-columns { display: grid; grid-template-columns: minmax(0, 1fr) 152px; gap: 9px; padding-top: 8px; }
.pos-search { padding: 7px 8px; border: 1px solid #e4e6ed; border-radius: 5px; color: #9da1ad; font-size: 8px; }
.pos-tabs { display: flex; gap: 5px; margin: 7px 0; }
.pos-tabs span, .pos-tabs b { padding: 5px 10px; border: 1px solid transparent; border-radius: 5px; font-size: 7px; font-weight: 500; }
.pos-tabs b { border-color: #3646f5; background: #3646f5; color: #fff; }
.pos-tabs .tab-food { border-color: #f5d7be; background: #fff1e5; color: #9a552d; }
.pos-tabs .tab-drink { border-color: #c8e7e4; background: #e8f8f5; color: #28776d; }
.pos-tabs .tab-dessert { border-color: #dfd2f5; background: #f3edff; color: #70549e; }
.pos-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.pos-product { min-width: 0; padding: 6px; border: 1px solid #eceef3; border-radius: 7px; background: #fff; }
.pos-product i { height: 56px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 6px; font-style: normal; }
.pos-product i svg { width: 47px; height: 47px; overflow: visible; fill: none; stroke: #38405b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pos-product strong, .pos-product em { display: block; }
.pos-product strong { min-height: 19px; font-size: 6.5px; line-height: 1.35; font-weight: 500; }
.pos-product em { margin-top: 2px; color: #3646f5; font-size: 9px; font-style: normal; font-weight: 700; }
.product-peach i { background: #fff0e5; }.product-lilac i { background: #f2edff; }.product-blue i { background: #eaf1ff; }
.product-mint i { background: #e7f8f1; }.product-pink i { background: #ffedf2; }.product-yellow i { background: #fff7d9; }
.pos-product .bun { fill: #f5b85d; stroke: #9c632b; }.pos-product .fill { fill: #8f4b35; }.pos-product .green { fill: #78b76c; stroke: #4d8746; }
.pos-product .plate { fill: #e7e2f6; }.pos-product .brown { fill: #75452e; stroke: #4c2a1c; }.pos-product .frost { fill: #b97a52; }.pos-product .chip { fill: #493024; stroke: none; }
.pos-product .cup, .pos-product .glass { fill: rgba(255,255,255,.65); }.pos-product .drink { fill: #8a4e37; }.pos-product .straw { stroke: #ed6675; stroke-width: 3; }.pos-product .bubble { fill: rgba(255,255,255,.72); stroke: none; }
.pos-product .lime { fill: #bce97f; }.pos-product .slice { fill: #d7f29a; stroke: #71a841; }.pos-product .slice-line { stroke: #71a841; }
.pos-product .cone { fill: #e2a55e; stroke: #9f6b34; }.pos-product .scoop-one { fill: #f6a8bd; stroke: #b96680; }.pos-product .scoop-two { fill: #fff0c7; stroke: #c99b55; }.pos-product .cone-line { stroke: #b87e40; }
.pos-product .wrap { fill: #e6b766; stroke: #a6762e; }.pos-product .paper { fill: #f7f1dd; stroke: #b7a983; }.pos-product .tomato { stroke: #e66e5c; stroke-width: 3; }
.pos-cart { align-self: start; padding: 8px; border: 1px solid #e9ebf1; border-radius: 7px; box-shadow: 0 4px 12px rgba(31,38,78,.05); }
.pos-modes { display: flex; gap: 4px; padding: 4px; border-radius: 5px; background: #f5f6fa; color: #747987; font-size: 6px; white-space: nowrap; }
.pos-modes b { color: #3646f5; }
.pos-table { margin: 6px 0; padding: 6px; border: 1px dashed #dfe2e9; border-radius: 5px; color: #838794; text-align: center; font-size: 7px; }
.cart-lines { min-height: 102px; border-bottom: 1px solid #f0f1f4; }
.cart-lines > div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px solid #f0f1f4; }
.cart-lines > div:last-child { border-bottom: 0; }
.cart-lines span, .cart-lines strong, .cart-lines small { display: block; }
.cart-lines strong { font-size: 6.5px; font-weight: 600; }
.cart-lines small { margin-top: 2px; color: #969aa7; font-size: 5.5px; }
.cart-lines > div > b { color: #3646f5; font-size: 7px; }
.cart-total span, .cart-total strong { display: flex; justify-content: space-between; margin-top: 5px; font-size: 8px; }
.cart-total strong { font-size: 10px; }
.cart-total em { color: #3646f5; font-style: normal; }
.pos-cart button { width: 100%; margin-top: 8px; padding: 7px; border: 0; border-radius: 5px; background: #3646f5; color: #fff; font-size: 7px; }
.product-caption { display: flex; justify-content: space-between; margin: 9px 5px 1px; color: rgba(255,255,255,.66); font: 500 8px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.kds-hero .hero-grid { grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr); gap: 56px; }
.kds-panel { background: #f8fbff; box-shadow: 16px 18px 0 #2f9e73, var(--shadow); transform: rotate(-.7deg); }
.kds-panel::before { content: "KITCHEN DISPLAY WORKFLOW"; color: #2f7d60; }
.kds-panel .product-caption { color: rgba(23,32,61,.58); }
.kds-app { min-height: 450px; overflow: hidden; border: 1px solid #e3e8f1; border-radius: 7px; background: #ffffff; color: #17203d; font-family: Arial, sans-serif; }
.kds-topbar { min-height: 56px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid #e6ebf3; background: #f7f9fd; }
.kds-topbar strong, .kds-topbar span { display: block; }
.kds-topbar strong { font-size: 15px; line-height: 1.1; }
.kds-topbar span { margin-top: 3px; color: #66738a; font-size: 10px; }
.kds-topbar time { color: #17203d; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.kds-topbar b { padding: 5px 8px; border-radius: 4px; background: #1f9d67; color: #fff; font-size: 9px; text-transform: uppercase; }
.kds-stations { display: flex; gap: 6px; padding: 10px 14px; overflow: auto; border-bottom: 1px solid #e8edf5; background: #fff; }
.kds-stations b, .kds-stations span { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #dfe5ef; border-radius: 5px; color: #66738a; font-size: 10px; font-weight: 700; }
.kds-stations b { border-color: #2f9e73; background: #e9f8f1; color: #176143; }
.kds-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 10px; }
.kds-lane { min-width: 0; padding: 8px; border: 1px solid #e6ebf3; border-radius: 7px; background: #f6f8fc; }
.kds-lane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: #4d5a70; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.kds-lane-head b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.12); color: #fff; font-size: 10px; }
.lane-new .kds-lane-head b { background: #e95f45; }
.lane-cooking .kds-lane-head b { background: #d99a22; }
.lane-ready .kds-lane-head b { background: #26996a; }
.kds-ticket { display: grid; gap: 7px; margin-bottom: 8px; padding: 10px; border: 1px solid #e4e9f2; border-left: 4px solid #6f83ff; border-radius: 6px; background: #ffffff; color: #17203d; box-shadow: 0 8px 16px rgba(23,32,61,.07); }
.kds-ticket:last-child { margin-bottom: 0; }
.kds-ticket h3 { color: #17203d; font-size: 12px; line-height: 1.2; }
.kds-ticket p { margin: 0; color: #5e687c; font-size: 10px; line-height: 1.35; }
.kds-ticket ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; color: #30394d; font-size: 10px; line-height: 1.25; }
.ticket-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px; }
.ticket-meta strong { color: #17203d; font-size: 12px; }
.ticket-meta span, .ticket-meta em { padding: 3px 5px; border-radius: 4px; background: #e9ecf7; color: #526077; font-size: 8px; font-style: normal; font-weight: 700; }
.ticket-meta em { color: #fff; background: #3646f5; }
.kds-ticket footer { display: flex; justify-content: space-between; align-items: center; padding-top: 3px; border-top: 1px solid #e6eaf3; }
.kds-ticket footer span { color: #68748a; font-size: 9px; font-weight: 700; }
.kds-ticket button { min-width: 52px; padding: 6px 8px; border: 0; border-radius: 4px; background: #17203d; color: #fff; font-size: 9px; font-weight: 700; }
.kds-ticket.urgent { border-left-color: #e95f45; }
.kds-ticket.cooking { border-left-color: #d99a22; }
.kds-ticket.ready { border-left-color: #26996a; background: #f2fbf6; }
.kds-ticket.warning .ticket-meta em { background: #e95f45; }

.section { padding: 86px 0; }
.section-muted { border-block: 1px solid var(--line); background: rgba(255,253,248,.64); }
.section-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.section-heading { max-width: 790px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: left; }
.section-heading h2, .two-column h2 { margin-bottom: 22px; }
.section-heading p:not(.eyebrow), .two-column > div > p { font-size: 17px; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 76px; align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,253,248,.56); }
.info-card:nth-child(3n+2) { transform: translateY(10px); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; padding: 12px; border-radius: 13px; color: #3041dc; background: #e6eaff; box-shadow: inset 0 0 0 1px rgba(54,70,245,.08); }
.card-icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card:nth-child(3n+2) .card-icon { color: #a85b24; background: #fff0df; }
.info-card:nth-child(3n+3) .card-icon { color: #27715e; background: #def5ec; }
.info-card h3 { margin-bottom: 14px; }
.info-card p { font-size: 15px; }
.info-card a { display: inline-flex; margin-top: 5px; color: var(--tomato); font-weight: 700; }
.info-card a::after { content: "→"; margin-left: 7px; }
.info-card.highlight { color: #fff; background: var(--leaf); border-color: var(--leaf); }
.info-card.highlight h3, .info-card.highlight p, .info-card.highlight a { color: #fff; }
.info-card.highlight .card-icon { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-grid article { min-height: 215px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid article::before { content: counter(item, decimal-leading-zero); counter-increment: item; display: block; margin-bottom: 48px; color: var(--tomato); font: 500 11px var(--mono); }
.audience-grid { counter-reset: item; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: var(--line); }
.metric-grid > div { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: var(--white); }
.metric-grid strong { color: var(--tomato); font: 700 34px var(--serif); }
.metric-grid span { color: var(--muted); font-size: 13px; }
.github-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.country-link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.country-link-grid a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.35); font-size: 13px; }
.country-link-grid a:hover { color: #fff; background: var(--leaf); border-color: var(--leaf); }
.world-presence { overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.56), rgba(233,236,255,.58)); }
.world-presence-intro { margin-bottom: 46px; }
.world-presence-intro > div:first-child { max-width: none; }
.world-presence-intro h2 { max-width: 980px; }
.world-presence-intro p:not(.eyebrow) { max-width: 900px; }
.world-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.world-stats div { min-height: 116px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); }
.world-stats strong { color: var(--tomato); font: 700 46px/1 var(--serif); }
.world-stats span { color: var(--muted); font-size: 13px; }
.world-map-card { width: 100%; min-height: 500px; position: relative; margin-inline: auto; border: 1px solid rgba(23,32,61,.16); border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 22% 24%, rgba(54,70,245,.2), transparent 25%), radial-gradient(circle at 76% 36%, rgba(47,158,115,.2), transparent 24%), radial-gradient(circle at 50% 72%, rgba(217,154,34,.18), transparent 22%), #fbfcff; box-shadow: 14px 14px 0 var(--mustard), var(--shadow); }
.world-map-card::before { content: ""; position: absolute; inset: 0; opacity: .52; background-image: linear-gradient(rgba(23,32,61,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,61,.08) 1px, transparent 1px); background-size: 52px 52px; }
.world-map-shell { position: absolute; inset: 0 0 62px; }
.world-map { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.world-map-land { fill: rgba(54,70,245,.16); stroke: none; }
.world-map-marker-label circle { stroke: #fff; stroke-width: 1.5px; filter: drop-shadow(0 2px 3px rgba(18,65,48,.28)); vector-effect: non-scaling-stroke; }
.world-map-marker-label text { fill: #fff; font-size: 13px; font-weight: 800; font-family: var(--sans); }
.world-map-unavailable::after { content: "Map data could not load. The country list is still available below."; position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 30px; color: var(--muted); text-align: center; }
.world-map-card p { position: absolute; left: 28px; right: 28px; bottom: 18px; margin: 0; color: var(--muted); font-size: 12px; }
.usage-country-cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 44px; }
.usage-country-cloud span { padding: 7px 10px; border: 1px solid rgba(23,32,61,.1); border-radius: 999px; background: rgba(255,255,255,.62); color: #4d5870; font-size: 12px; line-height: 1.2; }
.ecosystem-preview { background: #111936; }
.ecosystem-preview h2 { color: #fff; }
.ecosystem-preview .section-heading > p:not(.eyebrow) { color: #aeb7d2; }
.ecosystem-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.ecosystem-strip a { min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.ecosystem-strip .card-icon { width: 38px; height: 38px; margin-bottom: 24px; padding: 9px; color: #fff; background: rgba(174,184,255,.12); box-shadow: inset 0 0 0 1px rgba(174,184,255,.16); }
.ecosystem-strip a:hover { background: rgba(54,70,245,.24); }
.ecosystem-strip span { margin-bottom: auto; color: #9ba7cd; font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ecosystem-strip strong { color: #fff; font-family: var(--serif); font-size: 24px; }
.ecosystem-strip small { color: #9ba7cd; font-size: 11px; }
.privacy-stack { position: relative; display: grid; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 14px 14px 0 var(--mustard), var(--shadow); }
.privacy-stack > div:not(.privacy-switch) { padding: 24px; border-radius: 8px; }
.privacy-stack span, .privacy-stack strong, .privacy-stack small { display: block; }
.privacy-stack > div > span { margin-bottom: 18px; font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.privacy-stack strong { margin-bottom: 5px; font: 700 34px var(--serif); }
.privacy-stack small { color: var(--muted); }
.privacy-local { border: 1px solid var(--line); }
.privacy-local span { color: var(--leaf); }
.privacy-optional { background: var(--leaf-light); }
.privacy-optional span, .privacy-optional strong { color: var(--tomato-dark); }
.privacy-switch { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 11px; }
.privacy-switch i { width: 28px; height: 15px; position: relative; border-radius: 20px; background: #cbd0df; }
.privacy-switch i::after { content: ""; position: absolute; width: 11px; height: 11px; left: 2px; top: 2px; border-radius: 50%; background: #fff; }
.product-family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.family-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.5); }
.family-card > span { color: var(--muted); font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.family-card .card-icon { margin-top: 28px; margin-bottom: 0; }
.family-card h3 { margin: auto 0 14px; font: 700 38px var(--serif); }
.family-card p { font-size: 14px; }
.family-card a { color: var(--tomato); font-weight: 700; }
.active-product { border-color: var(--tomato); background: var(--tomato); box-shadow: 8px 8px 0 var(--mustard); }
.active-product > span, .active-product h3, .active-product p, .active-product a { color: #fff; }
.active-product .card-icon { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.principle-list { display: grid; border-top: 1px solid var(--line); }
.principle-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principle-list span { grid-row: 1 / 3; color: var(--tomato); font: 500 10px var(--mono); }
.principle-list strong { font-size: 16px; }
.principle-list small { color: var(--muted); font-size: 13px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card { min-height: 380px; display: flex; flex-direction: column; padding: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.service-card h2 { margin-bottom: 18px; }
.service-card .card-icon { width: 54px; height: 54px; margin: 8px 0 28px; }
.service-card > p:not(.eyebrow) { max-width: 520px; }
.service-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.service-path span { padding: 8px 10px; border-radius: 4px; background: var(--leaf-light); color: var(--leaf); font: 500 9px var(--mono); text-transform: uppercase; }
.service-path i { color: var(--tomato); font-style: normal; }
.founder-note { padding: 34px; border-radius: 10px; background: #111936; box-shadow: 12px 12px 0 var(--mustard); color: #fff; transform: rotate(1deg); }
.founder-note > span { color: #aeb8ff; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.founder-note blockquote { margin: 50px 0 28px; color: #fff; font: 600 28px/1.35 var(--serif); }
.founder-note small { color: #9ba7c7; }
.history-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.history-line::before { content: ""; position: absolute; left: 7%; right: 7%; top: 67px; height: 2px; background: linear-gradient(90deg, #3041dc, #2f9e73, #d99a22); }
.history-line article { position: relative; min-height: 300px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 16px 36px rgba(28,38,91,.08); }
.history-line article:nth-child(2n) { transform: translateY(18px); }
.journey-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 22px; padding: 13px; border-radius: 50%; color: #3041dc; background: #e6eaff; box-shadow: 0 0 0 8px var(--paper); }
.journey-icon .card-icon { width: 100%; height: 100%; margin: 0; padding: 0; border-radius: 0; color: inherit; background: transparent; box-shadow: none; }
.journey-icon .card-icon svg { stroke-width: 2; }
.history-line article:nth-child(2) .journey-icon { color: #a85b24; background: #fff0df; }
.history-line article:nth-child(3) .journey-icon { color: #27715e; background: #def5ec; }
.history-line article:nth-child(4) .journey-icon { color: #8a4f91; background: #f5e6f7; }
.history-line article:nth-child(5) .journey-icon { color: #35618a; background: #e2f0fb; }
.history-line time { color: var(--tomato); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.history-line strong { position: absolute; right: 18px; top: 16px; color: rgba(54,70,245,.12); font: 700 48px/1 var(--serif); }
.history-line h3 { margin-top: auto; margin-bottom: 12px; font-family: var(--serif); font-size: 23px; }
.history-line p { margin: 0; font-size: 13px; }
.project-record a, .about-hero a { color: var(--tomato); text-decoration: underline; text-underline-offset: 3px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.primary-price { border: 2px solid var(--tomato); box-shadow: 8px 8px 0 var(--mustard); }
.trust-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-strip span { min-width: 0; display: flex; align-items: center; gap: 9px; color: var(--leaf); font-size: 13px; font-weight: 650; line-height: 1.3; }
.trust-strip span::before { content: "✓"; width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; color: var(--tomato-dark); background: var(--leaf-light); font: 700 12px var(--sans); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.table { width: 100%; border-collapse: collapse; background: var(--white); }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
.sidebar { position: sticky; top: 96px; }
.sidebar a { display: block; padding: 8px 0; color: var(--muted); }
.content { max-width: 780px; }
.content h2, .content h3 { margin: 38px 0 14px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 0; cursor: pointer; font-weight: 700; }
.faq-list details p { max-width: 720px; }

.article-hero { position: relative; padding: 76px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.article-hero::before { content: ""; position: absolute; inset: auto -60px -110px auto; width: 250px; height: 250px; border: 48px solid rgba(54,70,245,.1); border-radius: 50%; }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr); gap: 68px; align-items: center; }
.article-hero-copy h1 { max-width: 800px; margin-bottom: 22px; font-size: clamp(44px, 5.6vw, 72px); }
.blog-home .article-hero-copy h1 { font-size: clamp(42px, 5vw, 64px); }
.article-hero-copy .hero-lede { max-width: 710px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.post-meta span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font: 500 10px var(--mono); text-transform: uppercase; }
.article-media { margin: 0; }
.article-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; filter: saturate(.82) contrast(.96); box-shadow: 12px 12px 0 var(--mustard); }
.article-media figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; }
.article-media figcaption a { text-decoration: underline; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 74px; align-items: start; }
.article-content { font-size: 18px; line-height: 1.74; }
.article-content > p:first-of-type { color: var(--ink); font-size: 22px; line-height: 1.55; }
.article-content h2 { margin: 54px 0 18px; font-size: clamp(30px, 3vw, 42px); }
.article-content h3 { margin: 34px 0 12px; }
.article-content ul, .article-content ol { padding-left: 22px; color: var(--muted); }
.article-content li { margin-bottom: 10px; padding-left: 6px; }
.article-content a { color: var(--tomato); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-aside { position: sticky; top: 102px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--tomato); background: var(--white); }
.aside-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 22px; }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.aside-card li { margin-bottom: 8px; }
.article-note { margin: 34px 0; padding: 24px 26px; border-left: 4px solid var(--mustard); background: rgba(54,70,245,.08); }
.article-note strong { display: block; margin-bottom: 6px; }
.operator-quote { margin: 42px 0; padding: 30px 0; border-block: 1px solid var(--line); color: var(--leaf); font: 600 28px/1.32 var(--serif); }
.checklist { margin: 28px 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.checklist div { padding: 17px 19px; background: var(--white); }
.checklist strong { display: block; margin-bottom: 3px; font-size: 15px; }
.checklist span { color: var(--muted); font-size: 14px; }
.source-list { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.source-list h3 { margin: 0 0 12px; font-size: 15px; }
.source-list p { margin-bottom: 8px; font-size: 13px; }
.link-grid-card { display: grid; border-top: 1px solid var(--line); }
.cluster-link { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cluster-link strong { font-size: 15px; }
.cluster-link span { color: var(--muted); font-size: 13px; }
.cluster-link:hover strong { color: var(--tomato); }
.blog-card { min-height: 250px; display: flex; flex-direction: column; }
.blog-card .card-number { margin-bottom: 45px; color: var(--tomato); font: 500 11px var(--mono); }
.blog-card a { margin-top: auto; }
.blog-intro { max-width: 670px; }

.cta-panel { width: min(var(--max), calc(100% - 48px)); margin: 70px auto; padding: 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; border-radius: 10px; background: var(--tomato); color: #fff; box-shadow: 12px 12px 0 var(--mustard); }
.cta-panel h2 { max-width: 650px; margin-bottom: 12px; color: #fff; font-size: clamp(32px, 4vw, 50px); }
.cta-panel p { max-width: 620px; margin: 0; color: rgba(255,255,255,.82); }
.cta-panel .eyebrow { color: #fff; margin-bottom: 12px; }
.cta-actions { display: flex; flex-shrink: 0; gap: 10px; }
.site-footer { padding: 64px 0 30px; background: #111936; color: #c2c8dc; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 38px; }
.footer-intro p { max-width: 250px; margin-top: 18px; color: #929dbb; font-size: 13px; }
.site-footer .brand { color: #fff; }
.site-footer h2 { margin-bottom: 14px; color: var(--mustard); font: 500 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.site-footer a { display: block; margin: 7px 0; color: #c2c8dc; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

/* Language note banner on legal pages */
.language-note { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--tomato); border-radius: 6px; background: var(--leaf-light); color: var(--ink); font-size: 13px; }
.language-note p { margin: 0; color: var(--ink); }

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid, .article-hero-grid { grid-template-columns: 1fr; }
  .kds-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 76px; }
  .product-panel { max-width: 620px; }
  .kds-panel { max-width: 760px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .ecosystem-strip { grid-template-columns: repeat(3, 1fr); }
  .history-line { grid-template-columns: repeat(3, 1fr); }
  .history-line::before { display: none; }
  .editorial-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 42px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 64px; }
  .header-actions { display: none; }
  .mobile-menu { display: block; }
  .hero-section, .article-hero { padding: 58px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 68px; }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .source-facts { padding: 18px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .product-panel { padding: 6px; box-shadow: 9px 10px 0 var(--tomato); }
  .pos-app { min-height: 330px; }
  .pos-columns { grid-template-columns: 1fr 120px; }
  .pos-products { grid-template-columns: repeat(2, 1fr); }
  .pos-product:nth-child(n+5) { display: none; }
  .pos-product i { height: 54px; }
  .kds-app { min-height: 0; }
  .kds-topbar { grid-template-columns: 1fr auto; gap: 10px; }
  .kds-topbar b { display: none; }
  .kds-topbar time { font-size: 18px; }
  .kds-board { grid-template-columns: 1fr; }
  .kds-ticket h3 { font-size: 13px; }
  .section { padding: 64px 0; }
  .two-column, .card-grid, .pricing-grid, .doc-layout, .editorial-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-card:nth-child(3n+2) { transform: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .world-presence-intro { margin-bottom: 34px; }
  .world-stats { grid-template-columns: 1fr 1fr; }
  .github-metrics { grid-template-columns: 1fr 1fr; }
  .world-map-card { min-height: 390px; box-shadow: 9px 9px 0 var(--mustard); }
  .usage-country-cloud span { font-size: 11px; }
  .audience-grid article { min-height: 170px; }
  .audience-grid article::before { margin-bottom: 28px; }
  .article-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .article-hero-copy h1, .blog-home .article-hero-copy h1 { font-size: clamp(40px, 12vw, 56px); }
  .article-aside { position: static; order: -1; }
  .article-content { font-size: 17px; }
  .article-content > p:first-of-type { font-size: 20px; }
  .cluster-link { grid-template-columns: 1fr; gap: 4px; }
  .ecosystem-strip, .product-family, .service-grid, .history-line { grid-template-columns: 1fr; }
  .history-line article:nth-child(2n) { transform: none; }
  .ecosystem-strip a { min-height: 130px; }
  .privacy-stack { padding: 18px; box-shadow: 9px 9px 0 var(--mustard); }
  .family-card, .service-card { min-height: 260px; }
  .founder-note { padding: 26px; }
  .founder-note blockquote { margin-top: 36px; font-size: 24px; }
  .history-line article { min-height: 210px; }
  .cta-panel { width: calc(100% - 32px); margin: 54px auto; padding: 30px; display: block; }
  .cta-actions { margin-top: 24px; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

@media (max-width: 440px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact-item.wide { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .article-hero-copy { animation: rise .55s ease both; }
  .product-panel, .article-media { animation: rise .55s .12s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }
  .product-panel { animation-name: panel-rise; }
  @keyframes panel-rise { from { opacity: 0; transform: translateY(18px) rotate(1.2deg); } to { opacity: 1; transform: rotate(1.2deg); } }
}
