/* Rekler — components. Read with the partials in src/brands/rekler/partials/,
   which carry these class names. Reference: design/rekler/home.html. */

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.kicker { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.skip, .skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #FFF; padding: 12px 16px; z-index: 10; }
.skip:focus, .skip-link:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: the orange bar, then a reflective band */
.top { background: var(--ground); color: var(--ink); border-bottom: 4px solid var(--ink); }
.top::after { content: ""; display: block; height: 12px; background: var(--reflective); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.top .wm { min-height: 48px; }
.top nav { order: 3; width: 100%; }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 17px/1 var(--display); text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.lang select { font: 600 15px/1 var(--text); color: var(--ink); background: transparent; border: 0; min-height: 44px; padding: 0 2px; cursor: pointer; max-width: 9.5em; }
.login { font: 700 16px/1 var(--display); min-height: 44px; padding: 0 16px; border: 2.5px solid var(--ink); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
@media (min-width: 960px) { .top nav { order: 0; width: auto; } }

/* Plates: enamel signs with an inner keyline */
.plate { position: relative; background: var(--plate); border: 4px solid var(--ink); border-radius: var(--r); padding: 26px 20px; }
.plate::after { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--ink); border-radius: calc(var(--r) - 5px); pointer-events: none; }
.tile { width: 56px; height: 56px; border-radius: 10px; background: var(--action); display: grid; place-items: center; flex: none; }
.tile svg { width: 34px; height: 34px; stroke: var(--on-action); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile--ink { background: var(--plate); border: 2.5px solid var(--ink); }
.tile--ink svg { stroke: var(--ink); }

/* Buttons: one action colour */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 24px; border-radius: 12px; background: var(--action); color: var(--on-action);
  font: 800 21px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border: 0; box-shadow: 5px 5px 0 var(--ink); cursor: pointer; }
.btn:hover { background: var(--action-hover); }
.btn .wa { width: 22px; height: 22px; flex: none; }

/* Hero */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; } .hero { padding: 48px 0 64px; } }
.hero-plate { padding: 28px 22px 30px; }
@media (min-width: 760px) { .hero-plate { padding: 44px; } }
.hero-head { display: flex; gap: 16px; align-items: center; margin: 0 0 20px; }
.hero-head .kicker { margin: 0; }
.hero-sub { font-size: 20px; margin: 20px 0 26px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.arrow { width: 56px; height: 28px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; display: none; }
@media (min-width: 760px) { .arrow { display: block; } }
@media (prefers-reduced-motion: no-preference) and (min-width: 760px) {
  .arrow { animation: point .7s cubic-bezier(.3, 1.4, .5, 1) .5s both; }
  @keyframes point { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.fallback { font-size: 16px; color: var(--ink2); margin: 12px 0 0; }
.fallback a { color: var(--ink); font-weight: 600; }
.counts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.counts li { border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 16px; background: var(--plate); }
.counts b { font-family: var(--display); font-weight: 700; font-size: 19px; }
.side { display: grid; gap: 20px; align-content: start; }
.info h2 { font-size: 24px; }
.info-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2.5px solid var(--ink); }
.pill { background: var(--action); color: var(--on-action); border-radius: 999px; padding: 4px 12px; font: 600 15px/1.2 var(--display); }
.info dl { margin: 0; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1.5px solid var(--line); }
.info dt { color: var(--ink2); }
.info dd { margin: 0; font: 700 19px/1.25 var(--display); text-align: right; }
.info-seal { margin: 16px 0 0; font: 600 19px/1.25 var(--display); }
.bloc-a { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.bloc-a p { margin: 0; font-size: 16px; color: var(--ink2); }
.bloc-a strong { display: block; color: var(--ink); font: 600 19px/1.3 var(--display); }
.bloc-a a { font: 600 18px/1 var(--display); min-height: 44px; display: inline-flex; align-items: center; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Bands: white bands framed by reflective strips */
.band { padding: 56px 0; }
.band--white { background: var(--plate); position: relative; }
.band--white::before, .band--white::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--reflective); }
.band--white::before { top: 0; }
.band--white::after { bottom: 0; }
.lead { font-size: 19px; color: var(--ink2); margin: 14px 0 0; max-width: 54ch; }
.band:not(.band--white) .lead { color: var(--ink); }
.trio { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio li { display: flex; gap: 16px; align-items: flex-start; }
.trio p { margin: 6px 0 0; color: var(--ink2); }
.no { position: relative; width: 56px; height: 56px; flex: none; }
.no svg { width: 56px; height: 56px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* each "no" sign carries three glyphs; the list position picks one */
.no .g { display: none; }
.trio li:nth-child(3n+1) .no .g1, .trio li:nth-child(3n+2) .no .g2, .trio li:nth-child(3n) .no .g3 { display: inline; }

/* How it works: wayfinding route */
.how-grid { display: grid; gap: 24px; margin: 32px 0 0; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.route { list-style: none; margin: 0; padding: 0; display: grid; }
.route li { display: flex; gap: 16px; align-items: flex-start; }
.route .num { font: 700 30px/1 var(--display); color: var(--on-action); }
.route p { margin: 6px 0 0; color: var(--ink2); }
.route .down { display: block; width: 56px; height: 36px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; margin: 6px 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps p { margin: 8px 0 0; color: var(--ink2); }

/* Video slot: fixed ratio, no layout shift */
.slot { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r); border: 4px dashed var(--ink); background: var(--plate); display: grid; place-items: center; text-align: center; padding: 16px; }
@media (min-width: 860px) { .slot { aspect-ratio: 4 / 5; } }
.slot-in { display: grid; gap: 6px; }
.slot-cap { font: 700 22px/1.2 var(--display); }
.slot-sub { font-size: 15px; color: var(--ink2); }

/* Pricing: the tariff sign */
.tariff { display: grid; gap: 24px; margin: 28px 0 0; }
@media (min-width: 1000px) { .tariff { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
.price strong { display: block; font: 900 clamp(72px, 22vw, 128px)/.95 var(--display); letter-spacing: -.02em; }
.price span { font: 600 22px/1.2 var(--display); color: var(--ink2); }
.price-note { font-size: 18px; margin: 0 0 10px; }
.price-tva { font-size: 15px; color: var(--ink); margin: 0; }
.conds { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.conds li { display: flex; gap: 12px; align-items: flex-start; }
.conds svg { width: 26px; height: 26px; flex: none; stroke: var(--action); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.boxnote { margin: 20px 0 0; border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; background: var(--plate); }
.boxnote p { margin: 0; }
.boxnote p + p { margin-top: 6px; }
.more { display: inline-flex; min-height: 44px; align-items: center; margin: 12px 0 0; font: 700 19px/1 var(--display); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cadences { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .cadences { grid-template-columns: repeat(3, 1fr); } }
.cadences strong { display: block; font: 900 clamp(44px, 12vw, 64px)/1 var(--display); }
.cadences .per { margin: 8px 0 0; font: 600 19px/1.25 var(--display); }
.cadences .total { margin: 10px 0 0; padding-top: 10px; border-top: 1.5px solid var(--line); color: var(--ink2); font-size: 15px; }
.trial { max-width: 64ch; }

/* Guarantee: the big navy plate */
.grt { background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: 32px 22px; position: relative; }
.grt::after { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--on-deep); border-radius: calc(var(--r) - 6px); pointer-events: none; }
@media (min-width: 760px) { .grt { padding: 52px 48px; } }
.grt-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .grt-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } }
.grt .kicker, .grt-sub { color: var(--on-deep-2); }
.grt h2 { color: var(--grt-title); font-size: clamp(48px, 13vw, 110px); line-height: .98; }
.grt-lead { font-size: 20px; margin: 18px 0 0; max-width: 40ch; }
.grt-lead strong { display: block; margin-top: 8px; }
.grt .cgu { display: inline-flex; min-height: 44px; align-items: center; font: 600 18px/1 var(--display); text-decoration-thickness: 2px; text-underline-offset: 5px; position: relative; z-index: 1; }
.binary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px; position: relative; z-index: 1; }
.binary div { background: #FFFFFF; color: var(--ink); border-radius: 12px; padding: 16px; }
.binary strong { display: block; font: 800 48px/1 var(--display); }
.binary span { font-size: 15px; color: var(--ink2); }
.btn--on-dark { background: #FFFFFF; color: var(--deep); position: relative; z-index: 1; }
.btn--on-dark:hover { background: #FFFFFF; filter: brightness(1.06); }

/* FAQ */
.faq-list { margin: 28px 0 0; display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--plate); border: 2.5px solid var(--ink); border-radius: 12px; padding: 0 18px; }
.faq-item summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 700 20px/1.25 var(--display); padding: 12px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.chev { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink2); }

/* Footer */
.foot { background: var(--foot); color: var(--on-foot-2); font-size: 15px; margin-top: 56px; }
.foot::before { content: ""; display: block; height: 14px; background: var(--reflective); }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 44px 16px; }
.foot .wm { color: #FFFFFF; margin-bottom: 18px; }
.foot-about { font: 600 22px/1.3 var(--display); color: var(--on-foot); margin: 0 0 24px; }
.foot-cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot h2 { font-size: 18px; margin: 0 0 6px; color: var(--on-foot); text-transform: uppercase; }
.foot-links { display: grid; justify-items: start; }
.foot-links a { min-height: 32px; display: inline-flex; align-items: center; }
.foot-editor { margin: 28px 0 0; line-height: 1.6; font-size: 13px; color: var(--on-foot-2); max-width: none; }
.foot-copy { margin: 12px 0 0; font-size: 13px; }

/* Lost-link dialog */
.dlg { border: 4px solid var(--ink); border-radius: var(--r); padding: 30px 22px 22px; max-width: 440px; width: calc(100% - 32px); background: var(--plate); color: var(--ink); }
.dlg::backdrop { background: rgba(17, 17, 17, .6); }
.dlg h2 { font-size: 28px; padding-right: 40px; }
.dlg p { color: var(--ink2); }
.dlg-hint { font-size: 14px; margin: 12px 0 0; }
.dlg-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.dlg-close svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 2.5; fill: none; }

/* Long words (Polish, Hungarian, Finnish) in the condensed display face may
   not fit a 360 px plate: let headings break them, hyphenated where the
   browser knows the language. */
h1, h2, h3, .display { overflow-wrap: break-word; hyphens: auto; }
