/* Billetio — company & help pages */
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
:root {
  --violet: #6842F4; --violet-dark: #5428E0; --violet-soft: #F5F3FF; --lime: #D9FF65;
  --ink: #17152D; --ink-2: #3c365c; --muted: #6e6888; --line: #e6e4f2; --line-strong: #d4d0e6;
  --ease: cubic-bezier(.2, .8, .2, 1); --max: 1120px; --pad: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.todo { background: #fff6d8; border-radius: 4px; padding: 0 3px; font-family: ui-monospace, Menlo, monospace; font-size: .92em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-head .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo img { height: 36px; width: auto; }
.head-nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; margin-left: auto; }
.head-nav a { color: var(--ink-2); transition: color .2s; }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--violet-dark); }
.head-cta { background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; }

/* Hero */
.hero { padding: 72px 0 48px; background: radial-gradient(70% 120% at 100% 0%, #ece6ff 0%, #fff 60%); }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--violet-dark); background: var(--violet-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -1.4px; margin: 16px 0 14px; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); }
.hero p.lead { font-size: 18.5px; color: var(--ink-2); max-width: 680px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px; font-weight: 800; font-size: 15px; transition: transform .15s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 22px rgba(104,66,244,.3); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--violet); }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: #faf9ff; }
.block h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.8px; line-height: 1.12; margin-bottom: 12px; }
.block p.sub { color: var(--ink-2); font-size: 16.5px; max-width: 700px; margin-bottom: 28px; }
.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; transition: transform .2s var(--ease), box-shadow .25s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,21,45,.08); border-color: #d9d1ff; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-soft); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--violet); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.2px; }
.card p { color: var(--ink-2); font-size: 15px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { list-style: none; counter-increment: s; border-radius: 20px; padding: 22px; background: var(--ink); color: #fff; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.steps li b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps li span { color: #c9c3e6; font-size: 14.5px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }
.facts b { font-size: 15.5px; }
.empty-state { text-align: center; border: 1.5px dashed var(--line-strong); border-radius: 20px; padding: 40px 20px; color: var(--muted); font-weight: 600; }
.empty-state b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.prose { max-width: 760px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-2); font-size: 16.5px; }

/* Forms */
.form { display: grid; gap: 12px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104,66,244,.12); }
.form .note { font-size: 12.5px; color: var(--muted); }
.form-ok { background: #e7f7ee; color: #0f6b3a; font-weight: 700; border-radius: 12px; padding: 14px 16px; }

/* Help center */
.help-search { position: relative; max-width: 640px; margin-top: 26px; }
.help-search input { width: 100%; height: 58px; border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 0 18px 0 50px; font-size: 17px; background: #fff; box-shadow: 0 6px 20px rgba(23,21,45,.06); }
.help-search input:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104,66,244,.12); }
.help-search svg { position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cats button { border: 1.5px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.cats button[aria-pressed="true"] { background: var(--lime); border-color: transparent; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d9d1ff; box-shadow: 0 10px 26px rgba(23,21,45,.06); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 800; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .ans { padding: 0 18px 18px; color: var(--ink-2); font-size: 15.5px; animation: fade-up .3s var(--ease); }
.faq .ans p + p { margin-top: 8px; }
.faq-empty { color: var(--muted); font-weight: 600; padding: 20px 0; }
.contact-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; }
.contact-box h3 { font-size: 22px; font-weight: 800; }
.contact-box p { color: #c9c3e6; }
.contact-box .btn-primary { box-shadow: none; }

/* Footer */
.site-foot { margin-top: 24px; border-top: 1px solid var(--line); padding: 40px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.foot-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 280px; }
.foot-col h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-2); line-height: 2.1; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.locale { display: grid; gap: 8px; }
.locale label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; height: 44px; font-size: 14px; color: var(--ink-2); }
.locale svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex: none; }
.locale select { flex: 1; border: 0; background: transparent; height: 100%; font-size: 14px; outline: 0; cursor: pointer; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.legal a { color: var(--violet); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 900px) {
  .grid.c3, .steps { grid-template-columns: 1fr; }
  .grid.c2, .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .head-nav { display: none; }
  .head-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --pad: 16px; }
  .hero { padding: 48px 0 32px; }
  .hero p.lead { font-size: 16.5px; }
  section.block { padding: 40px 0; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }
