/* Key24 public website.
   Colours come from the project's own styles: #139340 brand green and #e3f4e9 soft green (admin panel --br / --brs),
   #0f7a35 dark green (kiosk page --br-d, used where text must stay readable: 5.4:1 on white), #19b052 the "24" of the
   wordmark, #0a0f14 brand black, #111827 text and #cfd5de lines (panel --tx / --ln), #f4f7fa light background (kiosk --bg).
   Font: Plus Jakarta Sans (brand), Noto Sans Georgian for Georgian and Noto Sans for Russian text (Plus Jakarta Sans has neither). Mobile first. */
:root {
  --green: #139340;
  --green-text: #0f7a35;
  --green-hi: #19b052;
  --green-soft: #e3f4e9;
  --black: #0a0f14;
  --ink: #111827;
  --muted: #4b5563;
  --line: #cfd5de;
  --tint: #f4f7fa;
  --radius: 20px;
  --font: 'Plus Jakarta Sans', 'Noto Sans Georgian', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
svg { width: 1em; height: 1em; }
a { color: var(--green-text); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; max-width: 24ch; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--black); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-hi); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-text); margin-bottom: 12px; }

/* wordmark, as on the panel's sign-in screen */
.wm { display: inline-block; padding: 8px 0; font-weight: 800; font-size: 27px; letter-spacing: -0.04em; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; }
.wm span { color: var(--green-hi); }
.wm sup { font-size: 9px; font-weight: 600; vertical-align: top; margin-left: 2px; letter-spacing: 0; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 16px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green-text); color: #fff; }
.btn-primary:hover { background: #0c6a2e; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 12px 4px; }
.text-link:hover { color: var(--green-text); }
.text-link svg { width: 18px; height: 18px; }

/* header */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 20; }
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.menu-btn { display: inline-flex; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--black); padding: 8px 16px 22px; flex-direction: column; gap: 2px; border-top: 1px solid #1d242c; }
.site-nav.open { display: flex; }
.site-nav > a:not(.btn) { color: #d7dde4; text-decoration: none; font-weight: 600; padding: 12px 4px; }
.site-nav > a, .site-nav .btn { white-space: nowrap; }
.site-nav > a:not(.btn):hover { color: #fff; }
.site-nav .btn { margin-top: 10px; }
/* language switch: always visible in the header, next to the wordmark (also on phones, outside the menu) */
.langs { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.langs .globe { display: none; width: 20px; height: 20px; fill: none; stroke: #c4ced9; stroke-width: 1.6; margin-right: 4px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; color: #e2e8ee; text-decoration: none; font-weight: 800; font-size: 14px; padding: 6px 9px; border-radius: 999px; border: 1.5px solid #3a434d; }
.langs a:hover { border-color: #fff; color: #fff; }
.langs a[aria-current='true'] { color: #fff; background: var(--green-text); border-color: var(--green-text); }
/* English · Español · ქართული · Русский where there is room; EN / ES / GE / RU on narrower screens */
.langs .ln-full { display: none; }
@media (min-width: 1280px) { .langs .ln-full { display: inline; } .langs .ln-short { display: none; } .langs a { padding: 6px 12px; } }
@media (min-width: 720px) { .langs .globe { display: block; } .langs a { min-width: 46px; min-height: 40px; font-size: 15px; } }
@media (min-width: 980px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; gap: 20px; background: none; }
  .site-nav > a:not(.btn) { padding: 6px 0; font-size: 15px; }
  .site-nav .btn { margin-top: 0; }
  .site-nav { margin-left: auto; }
  .langs { order: 3; margin-left: 8px; }
}

/* hero: what Key24 does, the benefit, the kiosk's real screen, one main action */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 44px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1fr 380px; gap: 64px; } }
.hero h1 em { font-style: normal; color: var(--green-text); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #374151; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.chips li svg { width: 16px; height: 16px; color: var(--green-text); }
.fine-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; max-width: 40em; }

/* the owner's kiosk line drawings (presentation, "Product reference") as a faint background */
.drawn { position: relative; overflow: hidden; isolation: isolate; }
.drawn::before { content: ''; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain; opacity: 0.07; }
.drawn-34::before { background-image: url(/assets/drawing-34.png); width: 520px; height: 1170px; left: -170px; top: 10px; }
.drawn-views::before { background-image: url(/assets/drawing-views.png); background-position: right bottom; width: min(1100px, 120%); aspect-ratio: 1812 / 1188; right: -60px; bottom: -40px; opacity: 0.08; }
.drawn-front::before { background-image: url(/assets/drawing-front.png); width: 360px; height: 890px; right: -60px; top: 40px; }
@media (min-width: 960px) { .drawn-34::before { left: 34%; top: -30px; width: 600px; height: 1350px; } }
.screen-figure { margin: 0 auto; width: min(100%, 360px); }
.screen-frame { position: relative; aspect-ratio: 800 / 1106; /* the real start screen, cropped just below "Dealer staff" */ border-radius: 18px; overflow: hidden; background: #f4f7fa; border: 10px solid var(--black); box-shadow: 0 20px 44px rgb(10 15 20 / 0.18); }
.screen-frame iframe { position: absolute; left: 0; top: 0; width: 800px; height: 1280px; border: 0; transform-origin: 0 0; pointer-events: none; }
.screen-figure figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.screen-label { font-weight: 600; }
.screen-langs { display: inline-flex; gap: 6px; }
.screen-langs button { font: 700 13px var(--font); min-width: 44px; min-height: 36px; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.screen-langs button[aria-pressed='true'] { background: var(--green-text); border-color: var(--green-text); color: #fff; }

/* sections */
.sub { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 0; }

.section { padding: 52px 0; }
@media (min-width: 900px) { .section { padding: 76px 0; } }
.section-tint { background: var(--tint); }
.f-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-bottom: 14px; }
.f-ic svg { width: 24px; height: 24px; }
.item p, .card p, .feature p, .step p, .case p { color: var(--muted); margin: 0; }
.grid4, .grid3, .grid2-cards, .grid3-cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .grid3-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
/* "More than a key drop box": drop off -> pick up -> both on record */
.flow { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.flow-step { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.flow-step .f-ic { margin: 0; }
.flow-step h3 { font-size: 18px; margin-bottom: 4px; }
.flow-step p { color: var(--muted); margin: 0; }
.flow-note { margin: 22px 0 0; font-weight: 600; color: var(--ink); max-width: 52ch; }
.item-check { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.item-check > svg { width: 24px; height: 24px; flex: none; color: #fff; background: var(--green-text); border-radius: 50%; padding: 4px; margin-top: 2px; }
.item-check h3 { font-size: 18px; margin-bottom: 4px; }
.item-check p { color: var(--muted); margin: 0; }
@media (min-width: 640px) { .grid4, .grid2-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } .grid3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.grid3 .item { border-top: 3px solid var(--green); padding-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-text); align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; }


/* the kiosk */
.product-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .product-grid { grid-template-columns: 1fr 320px; gap: 48px; } }
.features { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 680px) { .features { grid-template-columns: 1fr 1fr; } .feature:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.feature { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.feature .f-ic { margin: 0; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 16px; }
.need { background: var(--black); color: #fff; border-radius: var(--radius); padding: 28px; }
@media (min-width: 1000px) { .need { margin-top: 64px; } }
.need h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.checks { display: grid; gap: 12px; margin-top: 18px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: #fff; background: var(--green-text); border-radius: 50%; padding: 3px; flex: none; margin-top: 2px; }
.need .checks { margin-top: 0; }
.need .checks li { color: #e2e8ee; font-weight: 500; }

/* how it works */
.steps { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.drop { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tint); }
.drop .f-ic { margin: 0; }
.drop p { margin: 0; color: var(--muted); }

/* use cases */
.cases { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 860px) { .cases { grid-template-columns: 1fr 1fr; gap: 24px; } }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.case h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; }


/* numbers / quotes (switched off until there is real data) */
.proof .stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 28px 0; }
.proof .stats b { display: block; font-size: 44px; font-weight: 800; color: var(--green-text); }
.proof blockquote { margin: 0; padding: 24px; border-left: 4px solid var(--green); background: var(--tint); }

/* final CTA + form */
.final { background: var(--tint); }
.final-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.final .lead { color: var(--muted); font-size: 19px; }
.form-card { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--line); }
@media (min-width: 720px) { .form-card { padding: 32px; } }
.req-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.req-form input, .req-form textarea { display: block; width: 100%; margin-top: 6px; font: 400 16px var(--font); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #9aa6b2; border-radius: 12px; background: #fff; }
.req-form input:focus, .req-form textarea:focus { border-color: var(--green-text); outline: 3px solid rgb(19 147 64 / 0.25); outline-offset: 0; }
.req-form [aria-invalid='true'] { border-color: #b91c1c; }
.req-form .grid2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .req-form .grid2 { grid-template-columns: 1fr 1fr; } }
.req-form .btn { width: 100%; margin-top: 4px; }
.req-form .hp { position: absolute; left: -9999px; }
.cf-turnstile { margin: 4px 0 12px; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.form-status { font-weight: 600; margin: 10px 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--green-text); }
.form-status.err { color: #b91c1c; }
.field-err { display: block; color: #b91c1c; font-size: 14px; font-weight: 600; margin-top: 4px; }

/* footer */
.site-footer { background: var(--black); color: #c4ced9; padding: 48px 0 28px; font-size: 15px; }
.ftr { display: grid; gap: 28px; }
@media (min-width: 820px) { .ftr { grid-template-columns: 1fr auto; } }
.site-footer p { margin: 14px 0 0; }
.site-footer a { color: #e2e8ee; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; }
.site-footer nav a { text-decoration: none; padding: 10px 0; }
.site-footer nav a:hover { text-decoration: underline; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1d242c; font-size: 13px; color: #a9b3bd; }
