/* H2VORA company profile. Colors follow the H2VORA apps (primary blue, slate/navy, Inter). No external assets. */
:root {
  --primary: #1d63d2;
  --primary-hover: #1853b3;
  --primary-soft: #eaf1fd;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --navy-3: #1e3a8a;
  --text: #1b2130;
  --muted: #5b6475;
  --border: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --wait: #92580a;
  --wait-soft: #fef3c7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--primary); }
img, svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--text); border-color: var(--border); background: #fff; }
.btn-ghost:hover { border-color: #c7cfdb; background: var(--bg-alt); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary); color: #fff;
}
.brand-mark .icon { width: 20px; height: 20px; }
.brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; }
.brand-mark.sm .icon { width: 15px; height: 15px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav > a:hover { color: var(--text); background: var(--bg-alt); }
.nav-actions { display: inline-flex; gap: 8px; margin-left: 12px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.login-mobile { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* Hero */
.hero {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; margin-bottom: 14px; }
.eyebrow.dark { color: var(--primary); }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.lead { margin-top: 20px; font-size: 18px; color: #cbd5e1; max-width: 38em; }
.lead strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: #cbd5e1; font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #4ade80; width: 18px; height: 18px; }

.hero-visual { justify-self: center; width: 100%; max-width: 380px; }
.device {
  background: #fff; color: var(--text); border-radius: 22px; padding: 18px;
  box-shadow: 0 30px 60px rgba(2, 6, 23, .45), 0 0 0 8px rgba(255, 255, 255, .06);
}
.device-top { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 4px 4px 14px; border-bottom: 1px solid var(--border); }
.receipt { display: grid; gap: 10px; padding: 14px 0; }
.receipt-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.cat-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.cat-dot.c2 { background: #fef3c7; color: #b45309; }
.cat-dot.c3 { background: #dcfce7; color: #15803d; }
.cat-dot .icon { width: 19px; height: 19px; }
.r-title { font-weight: 600; font-size: 14px; }
.r-sub { font-size: 12px; color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-wait { background: var(--wait-soft); color: var(--wait); }
.balance { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 12px; background: var(--navy-2); color: #cbd5e1; font-size: 13px; }
.balance strong { color: #fff; font-size: 14px; }
.visual-note { text-align: center; margin-top: 14px; font-size: 12px; color: #94a3b8; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 16px; }

.products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.product:hover { border-color: #bcd0f3; box-shadow: var(--shadow); transform: translateY(-2px); }
.p-icon, .f-icon, .t-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 16px;
}
.p-icon .icon, .f-icon .icon, .t-icon .icon { width: 22px; height: 22px; }
.product h3, .feature h3 { font-size: 17px; font-weight: 700; }
.product p, .feature p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier h3 { font-size: 22px; font-weight: 800; }
.t-lead { margin-top: 6px; color: var(--muted); }
.checks { display: grid; gap: 10px; margin: 20px 0 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: 3px; width: 18px; height: 18px; }
.tier .btn { margin-top: auto; align-self: flex-start; }

.features { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.s-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.cta-band { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-inner p { margin-top: 8px; color: #cbd5e1; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--border);
  border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none;
}
a.contact-item:hover { border-color: #bcd0f3; box-shadow: var(--shadow); }
.contact-item .c-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.contact-item .c-label { display: block; font-size: 13px; color: var(--muted); }
.contact-item .c-value { font-weight: 600; word-break: break-word; }
.contact-fallback { color: var(--muted); align-self: center; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: 48px; }
.site-footer .brand { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-tag { margin-top: 12px; max-width: 28em; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: #94a3b8; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%); }
.notfound h1 { font-size: 40px; margin: 18px 0 10px; }
.notfound p { color: #cbd5e1; margin-bottom: 24px; }
.notfound .brand { justify-content: center; color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* With JavaScript the menu collapses behind the toggle; without it the links stay visible below the logo. */
  .js .menu-toggle { display: inline-flex; margin-left: 8px; }
  .js .login-mobile { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 14px; }
  .js .nav-actions .btn-login { display: none; } /* the header already shows Login on small screens */
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(16, 24, 40, .08);
  }
  .js .menu-open .nav { display: flex; }
  .js .nav > a { padding: 12px; }
  .js .nav-actions { margin: 10px 0 0; flex-direction: column; }
  .js .nav-actions .btn { width: 100%; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .nav { flex-wrap: wrap; margin-left: 0; }
  .tiers, .contact { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .features, .steps { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .product { padding: 18px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .lead { font-size: 17px; }
  .tier { padding: 24px; }
}
@media (max-width: 360px) {
  .products { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
