/* EPOSI marketing site. One stylesheet, phone first. Font self-hosted (OFL), no third-party requests. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/PlusJakartaSans.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --ink: #35103F; --body: #4A3D55; --muted: #6B6275; --violet: #7B22FF; --violet-text: #6A1FD9;
  --mint: #0F9D74; --tint: #F7F2FF; --soft: #F7F5FA; --line: #EEE9F3; --field: #D9CCE6; --err: #B42318;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-text); }
a:hover { color: #4E10B0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 45%, transparent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 26px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1; font-size: 15px; font-weight: 600; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--violet-text); }
.header-actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) { .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; white-space: nowrap; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: #6A12EE; color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--field); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; font-weight: 800; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border: 2px solid #fff; color: #fff; }
.btn-outline-light:hover, .btn-light:hover { color: var(--ink); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-shot { flex: 1 1 540px; min-width: 0; }
.badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #EFE4FF; color: #5A12C4; font-size: 13px; font-weight: 700; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -1px; }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 34em; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--body); }
.ticks li::before { content: "✓ "; color: var(--mint); font-weight: 800; }
.device { border-radius: 20px; padding: 12px; background: var(--ink); box-shadow: 0 30px 60px rgba(53,16,63,.25); }
.device img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.caption { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
h2 { margin: 0; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
h3 { margin: 0; font-size: 19px; font-weight: 800; }
.intro { max-width: 640px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.intro p, .card p { margin: 0; color: var(--body); }
.intro p { font-size: 17px; line-height: 1.6; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.card p { font-size: 15px; line-height: 1.6; }
.card-tint { background: var(--tint); border-color: transparent; }
.addon { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
.addon span { font-size: 14px; line-height: 1.5; color: #E4D8F0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.kit { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kit li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.kit strong { display: block; }
.kit span { font-size: 14px; color: var(--body); }
.price-card { width: 100%; max-width: 520px; margin: 0 auto; padding: 28px; border-radius: 20px; background: #fff; border: 2px solid var(--violet); display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.price-big { font-size: 44px; font-weight: 800; line-height: 1; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
details + details { margin-top: 12px; }
summary { font-size: 17px; font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--body); }
.cta-band { background: var(--violet); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.cta-band p { margin: 6px 0 0; font-size: 17px; color: #F1E8FF; }
.cta-band a:not(.btn) { color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #D9C9EA; font-size: 14px; line-height: 1.7; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.site-footer a { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.footer-logo { height: 24px; width: auto; margin-bottom: 8px; }

/* Forms */
.form-page { background: var(--tint); min-height: 70vh; }
.form-page .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; max-width: 1100px; }
.form-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-card { flex: 1 1 480px; min-width: 0; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(53,16,63,.10); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, legend { font-size: 14px; font-weight: 700; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field-row .field { flex: 1 1 200px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
textarea { min-height: 96px; resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.tiles label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--field); border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.tiles label:has(input:checked) { border: 2px solid var(--violet); background: var(--tint); }
input[type=radio], input[type=checkbox] { accent-color: var(--violet); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.check-list li::before { content: "✓ "; color: var(--mint); font-weight: 800; }
.error-box { padding: 12px 14px; border-radius: 10px; background: #FDECEA; color: var(--err); font-size: 15px; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: 0; }
.legal p, .legal li { color: var(--body); line-height: 1.7; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); }
.table-wrap { overflow-x: auto; }
