/* Shared, incremental brand polish for the four public page templates. */
:root {
  --bg:#F6F7F3; --surface:#fff; --section:#EDF4F2;
  --border:#D5DDD9; --border-strong:#C7D5CF;
  --text:#25302E; --text-2:#596461; --muted:#596461;
  --primary:#356C76; --primary-pressed:#28545D; --primary-dark:#28545D;
  --primary-soft:#E5F0F0; --orange:#E28235; --edge:#234B53;
  --edge-2:#BDCFCB; --success:#3E7048; --wa:#25D366;
  --panel:8px 16px 8px 8px;
}
#top, #main-content, #how, #trades, #jobs, #faq, #pricing, .fg, .fg h2 {
  scroll-margin-top:calc(var(--header-h, 120px) + 12px);
}
h1, h2, h3, .faq summary, .fg summary { text-wrap:balance; }
p { text-wrap:pretty; }
.pcard__price, .price, .steps__n, .readout__stage, .stat { font-variant-numeric:tabular-nums; }
.rot-ticket { overflow:hidden; clip-path:inset(0 round 8px 16px 8px 8px); }
.hero h1 .rotating-slot { position:relative; }
.rotating-slot > span.is-out { position:absolute; inset:0; }
a, button, summary, label { touch-action:manipulation; }
html :is(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline:3px solid #356C76; outline-offset:3px;
}
.btn, button, .newcard, .play-badge, .appstore-badge, summary {
  transition:transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out;
}
html .btn:active, html .newcard:active { transform:translateY(3px); box-shadow:0 0 0 transparent; }
html button:not(.btn):active { transform:scale(.985); }
html button.send:active { transform:translateY(3px); box-shadow:0 0 0 transparent; }
html .newcard:active { transform:translateY(3px)!important; }
html .play-badge:active, html .appstore-badge:active, html summary:active { transform:scale(.985); }
.skip-link {
  position:fixed; top:8px; inset-inline-start:12px; z-index:1000;
  padding:12px 16px; border-radius:8px; background:#fff; color:#28545D;
  transform:translateY(-200%); font-weight:700;
}
.skip-link:focus { transform:none; }
.skip-link [lang] { display:none; }
html[lang="el"] .skip-link [lang="el"], html[lang="en"] .skip-link [lang="en"],
html[lang="ru"] .skip-link [lang="ru"], html[lang="ar"] .skip-link [lang="ar"] { display:inline; }
html .pcard, html .access-card, html .newcard, html .card, html .fg {
  border-radius:8px 16px 8px 8px; border:1px solid #C7D5CF;
  box-shadow:0 3px 0 #DCE5DD; background:#fff;
}
html .fg { padding:20px; }
html[dir="rtl"] .pcard, html[dir="rtl"] .access-card, html[dir="rtl"] .card,
html[dir="rtl"] .newcard, html[dir="rtl"] .fg, html[dir="rtl"] .motto {
  border-radius:8px 16px 8px 8px;
}
html .pcard--highlight, html .card--founding {
  position:relative; background:#356C76; color:#fff; box-shadow:0 3px 0 #234B53;
}
html .pcard--highlight:hover, html .card--founding:hover {
  background:#356C76; box-shadow:0 3px 0 #234B53;
}
.pcard--highlight::after, .card--founding::after, .motto::after {
  content:""; position:absolute; top:0; right:0; width:10px; height:10px;
  border-top:2px solid #E28235; border-right:2px solid #E28235; pointer-events:none;
}
html .newcard:hover { background:#EDF4F2; box-shadow:0 3px 0 #DCE5DD; }
html .newcard__plate, .pcard__lock, .pcard__tag, .pcard__price-box, .icon-plate { border-radius:8px; }
.pcard__limit, .pcard__discount strong, .limit, .discount b { border-radius:999px; }
html .pcard__features, html .card > ul { align-content:start; flex:1 1 auto; gap:12px; }
.pcard--highlight .pcard__features { gap:12px; }
html .pcard .btn, html .card > .btn { margin-top:auto; }
.pcard__features li::before, .pcard--highlight .pcard__features li::before {
  background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233E7048" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m4 12 5 5L20 6"/%3E%3C/svg%3E');
}
.pcard__features li.plus::before, .card li.plus::before, .card li.extra::before {
  content:""; width:18px; height:18px; flex:none; display:block;
  background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="none" stroke="%23356C76" stroke-width="16" stroke-linecap="round"%3E%3Cpath d="M40 128h176M128 40v176"/%3E%3C/svg%3E') center/contain no-repeat;
}
.pcard--highlight .pcard__features li::before, .card--founding li::before {
  background-color:#fff; border-radius:999px;
}
.card li::before { color:#3E7048; }
html .unlimited-badge { display:inline-flex; align-items:center; gap:8px; }
html .unlimited-badge svg { width:22px; height:22px; stroke-width:2; color:#356C76; flex:none; vertical-align:middle; }
html .unlimited-badge svg path { vector-effect:non-scaling-stroke; stroke-width:2; }
html .motto {
  position:relative; border:1px solid rgba(255,255,255,.12);
  border-radius:8px 16px 8px 8px;
}
.eyebrow, .pcard__discount, .pcard__saving, .discount, .saving, .meter-reset svg { color:#28545D; }
html .trades li.active .n, html .build__end b { color:inherit; }
.pcard--highlight .pcard__discount, .pcard--highlight .pcard__saving,
.card--founding .discount, .card--founding .saving { color:#fff; }
html header { background:rgba(246,247,243,.92); }
/* Compact one-row header (about 56px) on every width; mirrors in RTL via flex + logical props. */
html header .bar, html header.site .bar {
  display:flex; flex-wrap:nowrap; align-items:center; gap:10px; column-gap:10px;
  width:min(1280px, calc(100% - 32px)); margin-inline:auto; min-height:56px; padding-block:0; padding-inline:0;
}
html header.site .brand { flex-shrink:0; font-size:21px; }
html header.site .brand svg { width:27px; height:36px; }
html header.site nav.links { display:flex; flex-wrap:nowrap; order:0; flex:0 1 auto; flex-basis:auto; justify-content:flex-start; white-space:nowrap; gap:16px; font-size:14px; margin-inline-start:auto; }
html header .nav { white-space:nowrap; }
html header .nav a.btn { color:#fff; }
html header .locale-controls { order:0; display:flex; flex:0 0 auto; flex-basis:auto; flex-wrap:nowrap; align-items:center; gap:6px; margin-inline-start:auto; min-width:0; }
html header.site nav.links + .locale-controls { margin-inline-start:12px; }
html header .header-country summary, html header .header-country--fixed {
  min-height:32px; padding:0 10px; gap:5px; font-size:13.5px; line-height:1;
}
html header .header-country svg, html header .header-country img, html header .header-country .icon-3d { width:16px!important; height:16px!important; flex:none; }
html header .header-country summary .country-chevron { width:12px!important; height:12px!important; }
html header.site .btn--small { order:1; min-height:38px; padding-inline:12px; font-size:14px; white-space:nowrap; }
html header .signin { order:2; min-height:44px; padding:0 2px; font-size:14px; white-space:nowrap; }
html header.site .signin { display:inline-flex; }
@media(max-width:1279px) { html header.site nav.links { display:none; } html header.site .btn--small { display:none; } }
@media(max-width:380px) {
  html header .bar, html header.site .bar { width:calc(100% - 24px); gap:6px; }
  html header.site .brand { font-size:19px; }
  html header .header-country summary, html header .header-country--fixed { padding-inline:7px; font-size:12.5px; }
}
/* Homepage hero spacing only (hero directly followed by the tools section). */
.hero:has(+ .mrl-tools) { padding-top:clamp(20px, 3.5vw, 44px); padding-bottom:clamp(12px, 2vw, 24px); }
.hero:has(+ .mrl-tools) .hero__lead { margin-top:16px; }
.hero:has(+ .mrl-tools) .proof { margin-top:14px; gap:20px; }
.hero:has(+ .mrl-tools) .store-row { margin-top:2px; }
.hero:has(+ .mrl-tools) + .mrl-tools { padding-top:14px; }
@media(max-width:640px) {
  .hero:has(+ .mrl-tools) .proof { gap:2px; }
  .hero:has(+ .mrl-tools) .proof li { height:34px; }
  .hero:has(+ .mrl-tools) .store-row .play-badge, .hero:has(+ .mrl-tools) .store-row .appstore-badge { padding-block:4px; }
}
@media(min-width:820px) { .hero:has(+ .mrl-tools) + .mrl-tools { padding-top:24px; } }
@media(prefers-reduced-motion:reduce) {
  .btn, button, .newcard, .play-badge, .appstore-badge, summary { transition:none!important; }
  html { scroll-behavior:auto; }
}
