/* AVR© – Metakol s.r.l. · powered by Capitol Hill Technologies s.r.l. */
:root {
  --bg: #1A1917;
  --band: #201F1C;
  --surface: #252420;
  --line: #302E2A;
  --line-2: #45423C;
  --text: #E6E1D8;
  --text-2: #C2BCB1;
  --muted: #9E978B;
  --accent: #E0956A;           /* accent colour (soft copper) */
  --ink: #E6E1D8;              /* primary buttons (light on dark) */
  --on-ink: #1A1917;
  --icon: #6E6A62;             /* infographic line art */
  --on-accent: #1A1917;
  --radius: 20px;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.section { padding-block: 120px; display: flex; flex-direction: column; gap: 48px; }
.narrow { max-width: 900px; }
.band { background: var(--band); border-block: 1px solid var(--line); }

/* utilities */
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.muted-strong { color: var(--muted); font-weight: 500; }
.mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; }
.small { font-size: 12px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow.muted { color: var(--muted); }
.lead { font-size: 19px; color: var(--text-2); max-width: 640px; }
.display { font-weight: 500; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.015em; }
.h2-sm { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: 30px; line-height: 1.15; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border-radius: 999px; font: 600 16px/1 var(--font-body); border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { color: var(--on-ink); background: #FFFFFF; }
.btn-ghost { border-color: var(--line-2); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26, 25, 23, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 25px; width: auto; }
.brand-product { font: 600 30px/25px var(--font-display); letter-spacing: .02em; color: var(--accent); border-left: 1px solid var(--line-2); padding-left: 14px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.accent-link { color: var(--accent); }
.accent-link.is-active { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); width: 44px; height: 44px; border-radius: 12px; place-items: center; cursor: pointer; }

/* hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-block: 88px 40px; }
.hero .lead { max-width: 640px; font-size: 20px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { font: 13px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; color: var(--muted); }
.pill-accent { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* infographic */
.infographic-wrap { padding-block: 32px 112px; }
.infographic { background: var(--band); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 36px; }
.infographic-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.infographic-head > div { display: flex; flex-direction: column; gap: 8px; }
.tagline { font: 400 22px var(--font-display); color: var(--text-2); }
.steps { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr); align-items: stretch; gap: 12px; }
.chev { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.chev svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-top .mono { font-size: 12px; }
.step-card svg { width: 100%; height: auto; }
.step-card h3 { font-size: 22px; }
.step-card p { font-size: 15px; color: var(--muted); }
.ico-line { fill: none; stroke: var(--icon); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-line.thin { stroke-width: 1.2; }
.ico-accent { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; }
.ico-fill, .a-f { fill: var(--accent); }
.a-s { stroke: var(--accent); }
.ico-light { fill: var(--text); }
.ico-text { font: 10px var(--font-mono); fill: var(--muted); }
.devices { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.device-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.device-list li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.device-list svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .chev { display: none; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* animations (infographic + invite) */
@keyframes avrpulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes avrdash { to { stroke-dashoffset: -24 } }
@keyframes avrspin { to { transform: rotate(360deg) } }
@keyframes avrglobe { 0%,100% { transform: scaleX(1) } 50% { transform: scaleX(.15) } }
@keyframes avrrise { 0% { transform: translateY(8px); opacity: 0 } 35% { opacity: 1 } 100% { transform: translateY(-10px); opacity: 0 } }
@keyframes avrfloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
@keyframes avrInvEnv { 0%,4% { opacity: 0; transform: translate(0,0) } 8% { opacity: 1; transform: translate(0,0) } 22% { opacity: 1; transform: translate(105px,-34px) } 36% { opacity: 1; transform: translate(210px,0) } 40%,100% { opacity: 0; transform: translate(210px,0) } }
@keyframes avrInvRing { 0%,36% { opacity: 0; transform: scale(.6) } 44% { opacity: 1; transform: scale(1) } 54%,100% { opacity: 0; transform: scale(1.7) } }
@keyframes avrInvHs { 0%,38% { opacity: 0 } 44%,94% { opacity: 1 } 100% { opacity: 0 } }
@keyframes avrInvMeet { 0%,52% { opacity: 0; transform: scale(.85) } 60%,92% { opacity: 1; transform: scale(1) } 100% { opacity: 0; transform: scale(1) } }
@keyframes avrInvDim { 0%,52% { opacity: 1 } 60%,92% { opacity: .3 } 100% { opacity: 1 } }
@keyframes avrCap1 { 0%,2% { opacity: 0 } 6%,34% { opacity: 1 } 38%,100% { opacity: 0 } }
@keyframes avrCap2 { 0%,36% { opacity: 0 } 40%,54% { opacity: 1 } 58%,100% { opacity: 0 } }
@keyframes avrCap3 { 0%,56% { opacity: 0 } 60%,92% { opacity: 1 } 96%,100% { opacity: 0 } }
.avr-pulse { animation: avrpulse 2.6s ease-in-out infinite; }
.avr-flow { stroke-dasharray: 4 4; animation: avrdash 1.8s linear infinite; }
.avr-spin { transform-box: fill-box; transform-origin: center; animation: avrspin 9s linear infinite; }
.avr-globe { transform-box: fill-box; transform-origin: center; animation: avrglobe 3.4s ease-in-out infinite; }
.avr-rise { animation: avrrise 2.2s ease-out infinite; }
.avr-float { animation: avrfloat 3.2s ease-in-out infinite; }
.avr-inv-env { animation: avrInvEnv 9s linear infinite; }
.avr-inv-ring { transform-box: fill-box; transform-origin: center; animation: avrInvRing 9s ease-out infinite; }
.avr-inv-hs { animation: avrInvHs 9s linear infinite; }
.avr-inv-meet { transform-box: fill-box; transform-origin: center; animation: avrInvMeet 9s ease-out infinite; }
.avr-inv-dim { animation: avrInvDim 9s ease-in-out infinite; }
.avr-cap1 { animation: avrCap1 9s linear infinite; }
.avr-cap2 { animation: avrCap2 9s linear infinite; }
.avr-cap3 { animation: avrCap3 9s linear infinite; }

/* trust */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; font: 500 20px var(--font-display); color: var(--muted); }

/* cards & grids */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card-lg { padding: 40px; gap: 24px; border-radius: 24px; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); }
.step-num { font: 40px/1 var(--font-mono); color: var(--accent); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.section.grid-2 { display: grid; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.split { display: flex; flex-direction: row; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split-center { align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { min-height: 46px; padding: 12px 22px; border-radius: 999px; font: 500 16px var(--font-body); cursor: pointer; background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.tab:hover { border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.case-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.case-media { flex: 1 1 460px; min-width: 0; min-height: 340px; border-radius: 24px; border: 1px solid var(--line); background: var(--band); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 32px; }
.invite-anim { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-caption { position: relative; display: flex; flex-direction: column; gap: 8px; }
.case-caption[hidden], .tab-panel[hidden] { display: none; }
.case-tag { font-size: 12px; letter-spacing: .08em; }
.case-title { font: 500 28px var(--font-display); }
.case-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* specs & chips */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 18px; font: 500 16px var(--font-display); }
.chip-accent { border-color: var(--accent); color: var(--accent); }

/* CTA */
.cta-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(32px, 5vw, 64px); border-color: var(--line-2); border-radius: 28px; }
.cta-card > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 500 21px var(--font-display); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 22px; font: 22px var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); padding-bottom: 24px; max-width: 720px; }

/* contact & form */
.contact { font-style: normal; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); margin-top: 12px; }
.contact strong { color: var(--text); }
.form { gap: 18px; padding: 36px; border-radius: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.field em { font-style: normal; }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; color: var(--text); font: 16px var(--font-body); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field [aria-invalid="true"] { border-color: #F28B82; }
.field-err { color: #F28B82; font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.alert-ok { background: rgba(224, 149, 106, .1); border: 1px solid var(--accent); }
.alert-err { background: rgba(242, 139, 130, .08); border: 1px solid #F28B82; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px 24px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 27px; width: auto; }
.powered { font: 14px var(--font-mono); letter-spacing: .03em; color: var(--muted); }
.powered strong { color: var(--text); font-weight: 500; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }

/* responsive */
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 32px 24px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; border-bottom: 0; }
  .section { padding-block: 80px; }
  .hero { padding-block: 56px 24px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card, .card-lg, .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .avr-pulse, .avr-flow, .avr-spin, .avr-globe, .avr-rise, .avr-float, .avr-inv-env, .avr-inv-ring, .avr-inv-hs, .avr-inv-meet, .avr-inv-dim, .avr-cap1, .avr-cap2, .avr-cap3 { animation: none; }
  .avr-inv-env, .avr-inv-ring, .avr-cap1, .avr-cap2 { opacity: 0; }
  .avr-inv-dim { opacity: .3; }
}
