/* =========================================================
   HFR Solutions — verainfacht.com
   Apple-inspired light design · brand accent #007bff
   ========================================================= */

@font-face { font-family:'Inter'; font-weight:400; font-display:swap; src:url('../assets/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-weight:600; font-display:swap; src:url('../assets/fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-weight:700; font-display:swap; src:url('../assets/fonts/Inter-700.woff2') format('woff2'); }

:root{
  --bg:#ffffff; --bg-alt:#f5f5f7; --ink:#1d1d1f; --ink-soft:#6e6e73;
  --brand:#007bff; --brand-press:#0a5fd0; --line:#d2d2d7;
  --maxw:1120px; --maxw-text:820px; --radius:18px; --nav-h:54px;
  --shadow:0 4px 24px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg:0 18px 50px rgba(0,0,0,.12);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Inter",system-ui,Segoe UI,Roboto,sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 24px); -webkit-text-size-adjust:100%; }
body{ font-family:var(--font); color:var(--ink); background:var(--bg);
  font-size:19px; line-height:1.5; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
img{ max-width:100%; display:block; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ color:var(--brand-press); }
:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:6px; }

/* ---------- layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:clamp(72px,11vh,128px) 0; }
.section--alt{ background:var(--bg-alt); }
.section__head{ max-width:var(--maxw-text); margin:0 auto clamp(40px,6vh,68px); text-align:center; }
.eyebrow{ display:inline-block; font-size:.82rem; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--brand); margin-bottom:16px; }

/* ---------- type ---------- */
h1,.h1{ font-size:clamp(34px,6.2vw,76px); font-weight:700; line-height:1.05; letter-spacing:-.022em; overflow-wrap:break-word; }
h2,.h2{ font-size:clamp(30px,4.4vw,50px); font-weight:700; line-height:1.08; letter-spacing:-.02em; }
h3{ font-size:clamp(21px,2.4vw,27px); font-weight:600; letter-spacing:-.01em; }
.lead{ font-size:clamp(19px,2.1vw,23px); color:var(--ink-soft); line-height:1.45; }
.muted{ color:var(--ink-soft); }
.section__head .lead{ margin-top:18px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:980px;
  font:inherit; font-weight:600; font-size:1.02rem; cursor:pointer; border:1px solid transparent;
  transition:background .2s,color .2s,transform .15s,box-shadow .2s; white-space:nowrap; }
.btn:active{ transform:scale(.98); }
.btn--primary{ background:var(--brand); color:#fff; }
.btn--primary:hover{ background:var(--brand-press); color:#fff; }
.btn--ghost{ background:rgba(0,0,0,.045); color:var(--ink); }
.btn--ghost:hover{ background:rgba(0,0,0,.08); color:var(--ink); }
.btn--lg{ padding:16px 32px; font-size:1.08rem; }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }
.section__head .btn-row{ justify-content:center; }

/* ---------- nav ---------- */
.nav{ position:fixed; inset:0 0 auto 0; height:var(--nav-h); z-index:1000;
  background:rgba(255,255,255,.72); backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px); border-bottom:1px solid transparent; transition:border-color .3s,background .3s; }
.nav.scrolled{ border-bottom-color:var(--line); }
.nav__inner{ height:100%; display:flex; align-items:center; justify-content:space-between; }
.nav__brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:-.01em; color:var(--ink); font-size:1.05rem; }
.nav__brand img{ width:26px; height:26px; }
.nav__links{ display:flex; align-items:center; gap:30px; }
.nav__links a{ color:var(--ink); font-size:.92rem; font-weight:500; }
.nav__links a:not(.btn):hover{ color:var(--brand); }
.nav__links .btn{ padding:8px 18px; font-size:.9rem; }
.nav__toggle{ display:none; width:42px; height:42px; border:0; background:none; cursor:pointer; flex-direction:column; gap:5px; justify-content:center; align-items:center; }
.nav__toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:.3s; }

/* ---------- hero ---------- */
.hero{ padding:calc(var(--nav-h) + clamp(48px,9vh,96px)) 0 clamp(56px,9vh,104px); overflow:hidden; }
.hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.hero__title{ margin:6px 0 0; hyphens:auto; }
.hero__title .accent{ color:var(--brand); }
.hero .lead{ margin:24px 0 32px; max-width:560px; }
.hero__art{ position:relative; display:flex; align-items:center; justify-content:center; min-height:340px; }
.hero__glow{ position:absolute; width:min(440px,80%); aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle,rgba(0,123,255,.18),transparent 65%); filter:blur(8px); }
.hero__logo{ width:min(300px,62%); position:relative; z-index:2; filter:drop-shadow(0 20px 50px rgba(0,123,255,.25)); }
.hero__circuit{ position:absolute; inset:0; width:100%; height:100%; z-index:1; overflow:visible; }
.hero__circuit path{ fill:none; stroke:var(--brand); stroke-width:1.6; opacity:.55;
  stroke-dasharray:var(--len); stroke-dashoffset:var(--len); }
.hero__circuit circle{ fill:var(--brand); opacity:0; }
.hero.draw .hero__circuit path{ animation:draw 1.6s ease forwards; }
.hero.draw .hero__circuit circle{ animation:pop .5s ease forwards; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes pop{ to{ opacity:.8; } }

/* stats */
.stats{ display:flex; flex-wrap:wrap; gap:14px 36px; margin-top:36px; }
.stat__n{ font-size:1.7rem; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
.stat__l{ font-size:.92rem; color:var(--ink-soft); }

/* ---------- grids / cards ---------- */
.grid{ display:grid; gap:22px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }
.card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:30px;
  transition:transform .25s,box-shadow .25s; }
.section--alt .card{ background:#fff; border-color:transparent; box-shadow:var(--shadow); }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.card__ico{ width:46px; height:46px; display:flex; align-items:center; justify-content:center;
  border-radius:12px; background:rgba(0,123,255,.1); color:var(--brand); font-size:1.4rem; margin-bottom:18px; }
.card h3{ margin-bottom:10px; }
.card p{ color:var(--ink-soft); font-size:1rem; line-height:1.5; }

/* feature split */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.feature-list{ list-style:none; display:flex; flex-direction:column; gap:22px; }
.feature-list li{ display:flex; gap:16px; }
.feature-list .dot{ flex:0 0 auto; width:30px; height:30px; border-radius:9px; background:rgba(0,123,255,.1);
  color:var(--brand); display:flex; align-items:center; justify-content:center; font-weight:700; margin-top:2px; }
.feature-list h4{ font-size:1.12rem; margin-bottom:4px; }
.feature-list p{ color:var(--ink-soft); font-size:1rem; }
.check{ list-style:none; display:flex; flex-direction:column; gap:14px; }
.check li{ display:flex; gap:13px; align-items:flex-start; font-size:1.05rem; }
.check li::before{ content:"✓"; color:var(--brand); font-weight:700; flex:0 0 auto; }

/* channels */
.chip-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.chip{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; text-align:center; }
.section--alt .chip{ border-color:transparent; box-shadow:var(--shadow); }
.chip .ico{ font-size:1.6rem; margin-bottom:10px; }
.chip h4{ font-size:1rem; margin-bottom:6px; }
.chip p{ font-size:.9rem; color:var(--ink-soft); }

/* process steps (real sequence -> numbered) */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:step; }
.step{ position:relative; }
.step__n{ font-size:2.4rem; font-weight:700; color:var(--brand); letter-spacing:-.02em; line-height:1; margin-bottom:14px; }
.step h4{ font-size:1.12rem; margin-bottom:8px; }
.step p{ color:var(--ink-soft); font-size:.98rem; }

/* FAQ accordion */
.faq{ max-width:var(--maxw-text); margin:0 auto; }
.faq__group{ font-size:.8rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft); margin:34px 0 6px; }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{ width:100%; background:none; border:0; cursor:pointer; font:inherit; font-weight:600; font-size:1.08rem;
  color:var(--ink); text-align:left; padding:22px 40px 22px 0; position:relative; }
.faq__q::after{ content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%);
  font-size:1.5rem; font-weight:400; color:var(--brand); transition:transform .3s; }
.faq__item.open .faq__q::after{ transform:translateY(-50%) rotate(45deg); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq__a p{ color:var(--ink-soft); font-size:1.02rem; padding:0 40px 22px 0; }

/* demo video */
.video{ max-width:920px; margin:0 auto; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-lg); background:#000; }
.video iframe{ width:100%; height:100%; border:0; display:block; }

/* vision / founder */
.founder{ display:grid; grid-template-columns:300px 1fr; gap:40px; align-items:center;
  background:#fff; border-radius:var(--radius); padding:34px; box-shadow:var(--shadow); margin-top:44px; }
.founder img{ width:100%; border-radius:14px; }
.vision-text p{ margin-bottom:18px; color:var(--ink-soft); }
.vision-text p:first-child{ color:var(--ink); font-size:1.2rem; }

/* reviews */
.reviews-head{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:10px; }
.rating{ display:inline-flex; align-items:center; gap:8px; font-weight:600; }
.stars{ color:#f5a623; letter-spacing:2px; }
.review{ background:#fff; border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); max-width:640px; margin:0 auto; }
.review .stars{ font-size:1.1rem; margin-bottom:14px; }
.review blockquote{ font-size:1.15rem; line-height:1.5; margin-bottom:18px; }
.review .who{ font-weight:600; }
.review .who span{ color:var(--ink-soft); font-weight:400; }
.placeholder{ border:2px dashed var(--line); border-radius:var(--radius); padding:28px; text-align:center;
  color:var(--ink-soft); font-size:.95rem; background:rgba(0,0,0,.015); }
.placeholder b{ color:var(--ink); }

/* calendly */
.calendly{ min-height:680px; border-radius:var(--radius); overflow:hidden; }

/* contact */
.contact{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.form{ display:grid; gap:16px; }
.form .row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:.9rem; font-weight:600; }
.field input,.field textarea{ font:inherit; font-size:1rem; padding:13px 15px; border:1px solid var(--line);
  border-radius:12px; background:#fff; color:var(--ink); transition:border-color .2s,box-shadow .2s; }
.field textarea{ min-height:140px; resize:vertical; }
.field input:focus,.field textarea:focus{ outline:0; border-color:var(--brand); box-shadow:0 0 0 4px rgba(0,123,255,.15); }
.contact__info{ display:flex; flex-direction:column; gap:24px; }
.contact__info .item .l{ font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); margin-bottom:4px; }
.contact__info .item .v{ font-size:1.15rem; font-weight:600; }

/* footer */
.footer{ background:var(--bg-alt); padding:48px 0; border-top:1px solid var(--line); }
.footer__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; }
.footer__brand{ display:flex; align-items:center; gap:10px; font-weight:700; }
.footer__brand img{ width:24px; }
.footer__links{ display:flex; gap:24px; flex-wrap:wrap; }
.footer__links a{ color:var(--ink-soft); font-size:.92rem; }
.footer__links a:hover{ color:var(--brand); }
.footer__copy{ color:var(--ink-soft); font-size:.85rem; margin-top:16px; }

/* ---------- reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease,transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .nav__links{ position:fixed; inset:var(--nav-h) 0 auto 0; flex-direction:column; align-items:stretch; gap:0;
    background:rgba(255,255,255,.96); backdrop-filter:blur(20px); border-bottom:1px solid var(--line);
    padding:8px 24px 18px; transform:translateY(-130%); transition:transform .35s ease; }
  .nav__links.open{ transform:none; }
  .nav__links a{ padding:14px 0; border-bottom:1px solid var(--line); font-size:1rem; }
  .nav__links .btn{ margin-top:12px; justify-content:center; padding:13px; }
  .nav__toggle{ display:flex; }
  .hero__grid,.split,.contact{ grid-template-columns:1fr; gap:36px; }
  .hero__art{ order:-1; min-height:260px; }
  .grid--3,.grid--4,.steps,.chip-grid{ grid-template-columns:1fr 1fr; }
  .founder{ grid-template-columns:1fr; text-align:center; }
  .founder img{ max-width:220px; margin:0 auto; }
}
@media (max-width:560px){
  body{ font-size:18px; }
  .grid--3,.grid--4,.steps,.chip-grid,.form .row{ grid-template-columns:1fr; }
  .btn{ width:100%; justify-content:center; }
  .nav__links .btn,.hero .btn{ width:100%; }
  .stats{ gap:14px 24px; }
}

/* ---------- consent video ---------- */
.video__consent{ width:100%; height:100%; border:0; cursor:pointer; display:flex; flex-direction:column; gap:18px;
  align-items:center; justify-content:center; text-align:center; padding:32px; font:inherit;
  background:linear-gradient(135deg,#0a0a0a,#16263f); color:#fff; }
.video__play{ width:74px; height:74px; border-radius:50%; background:rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; transition:background .2s,transform .2s; }
.video__consent:hover .video__play{ background:var(--brand); transform:scale(1.05); }
.video__hint{ font-size:.95rem; max-width:460px; line-height:1.5; color:rgba(255,255,255,.85); }
.video__hint a{ color:#fff; text-decoration:underline; }

/* ---------- form consent ---------- */
.consent{ display:flex; gap:11px; align-items:flex-start; font-size:.9rem; color:var(--ink-soft); line-height:1.45; cursor:pointer; }
.consent input{ margin-top:3px; flex:0 0 auto; width:18px; height:18px; accent-color:var(--brand); }
.consent a{ color:var(--brand); }

/* ---------- legal sub-pages ---------- */
.legal{ max-width:780px; margin:0 auto; padding:calc(var(--nav-h) + 56px) 24px 90px; }
.legal .back{ display:inline-block; margin-bottom:22px; font-weight:600; }
.legal h1{ font-size:clamp(32px,5vw,46px); margin-bottom:6px; }
.legal .updated{ color:var(--ink-soft); font-size:.9rem; margin-bottom:30px; }
.legal h2{ font-size:1.4rem; margin:32px 0 10px; letter-spacing:-.01em; }
.legal h3{ font-size:1.1rem; margin:22px 0 6px; }
.legal p,.legal li{ color:#33333a; font-size:1.02rem; line-height:1.6; margin-bottom:12px; }
.legal ul{ padding-left:22px; margin-bottom:12px; }
.legal .note{ background:#fff8e6; border:1px solid #f0d98c; border-radius:12px; padding:16px 18px;
  font-size:.92rem; color:#6b5a1f; margin-bottom:30px; }
.legal .note b{ color:#5a4a14; }

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
  .hero__circuit path{ stroke-dashoffset:0; } .hero__circuit circle{ opacity:.8; }
}
