/* ============ TOKENS ============ */
:root{
  --ink-900:#1b2529;
  --ink-800:#22313a;
  --ink-700:#2d434b;
  --ink-500:#54696e;
  --ink-300:#93a6a8;
  --paper:#f4f7f6;
  --paper-2:#ffffff;
  --line:#dce4e3;
  --accent:#0f5c63;
  --accent-2:#52d6c5;
  --accent-ink:#0f5c63;
  --warn-bg:#fdece9;
  --warn-ink:#9a3b2c;
  --radius-lg:24px;
  --radius-md:16px;
  --radius-sm:10px;
  --shadow-sm:0 2px 8px rgba(27,37,41,.06);
  --shadow-md:0 12px 32px rgba(27,37,41,.10);
  --shadow-lg:0 24px 64px rgba(27,37,41,.16);
  --font-display:'Manrope', 'Inter', sans-serif;
  --font-body:'Inter', sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
h1,h2,h3,h4{font-family:var(--font-display); margin:0; color:var(--ink-900); font-weight:800; letter-spacing:-0.02em;}
p{margin:0;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
img,svg{display:block; max-width:100%;}
button{font-family:inherit;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.accent{color:var(--accent);}

.eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:14px;
}

.tag{
  display:inline-flex;
  align-items:center;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:6px 12px;
  border-radius:100px;
  margin-bottom:16px;
}
.tag--muted{background:#e6edec; color:var(--ink-500);}
.tag--accent{background:rgba(82,214,197,.18); color:var(--accent);}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 22px;
  border-radius:100px;
  font-weight:700;
  font-size:14.5px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn--primary{background:var(--ink-900); color:#fff;}
.btn--primary:hover{background:var(--accent-ink); transform:translateY(-1px); box-shadow:var(--shadow-md);}
.btn--ghost{background:transparent; color:var(--ink-900);}
.btn--ghost:hover{background:rgba(27,37,41,.06);}
.btn--outline{background:transparent; border-color:var(--line); color:var(--ink-900);}
.btn--outline:hover{border-color:var(--ink-900); transform:translateY(-1px);}
.btn--lg{padding:14px 28px; font-size:15.5px;}

/* ============ NAV ============ */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(244,247,246,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:800; font-size:19px;
}
.brand__mark{width:32px; height:32px; border-radius:9px; overflow:hidden; flex-shrink:0;}
.nav__links{display:flex; gap:32px; font-weight:600; font-size:14.5px;}
.nav__links a{color:var(--ink-700); transition:color .15s ease;}
.nav__links a:hover{color:var(--accent-ink);}
.nav__cta{display:flex; align-items:center; gap:10px;}
.nav__burger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; cursor:pointer;}
.nav__burger span{width:22px; height:2px; background:var(--ink-900); border-radius:2px;}
.nav__mobile{
  display:none; flex-direction:column; gap:2px;
  padding:8px 24px 20px;
  border-top:1px solid var(--line);
}
.nav__mobile a{padding:12px 4px; font-weight:600; border-bottom:1px solid var(--line);}
.nav__mobile .btn{margin-top:14px; width:100%;}
.nav__mobile.open{display:flex;}

/* ============ LANGUAGE SWITCH ============ */
.lang-switch{display:inline-flex; gap:2px; background:#e6edec; border-radius:100px; padding:3px;}
.lang-switch button{
  border:none; background:transparent; padding:6px 13px; border-radius:100px;
  font-family:inherit; font-weight:700; font-size:12.5px; letter-spacing:.03em;
  color:var(--ink-500); cursor:pointer;
  transition:background .15s ease, color .15s ease, box-shadow .15s ease;
}
.lang-switch button:hover{color:var(--ink-900);}
.lang-switch button.active{background:#fff; color:var(--accent); box-shadow:var(--shadow-sm);}
.lang-switch--mobile{margin-top:16px; align-self:flex-start;}

/* ============ HERO ============ */
.hero{padding:88px 0 64px; overflow:hidden;}
.hero__inner{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-size:clamp(34px, 4.4vw, 54px);
  line-height:1.08;
  margin-bottom:22px;
}
.hero__lead{
  font-size:18px; color:var(--ink-500); max-width:520px; margin-bottom:32px;
}
.hero__actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
.hero__proof{display:flex; gap:36px; flex-wrap:wrap;}
.proof__item{display:flex; flex-direction:column;}
.proof__item strong{font-family:var(--font-display); font-size:24px; font-weight:800; color:var(--ink-900);}
.proof__item span{font-size:13px; color:var(--ink-500);}

/* ---- hero visual mock ---- */
.hero__visual{position:relative;}
.mock-window{
  background:var(--paper-2);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  transform:rotate(-1.2deg);
}
.mock-window__bar{
  display:flex; gap:6px; padding:14px 18px; background:#e6edec; border-bottom:1px solid var(--line);
}
.mock-window__bar span{width:9px; height:9px; border-radius:50%; background:#c8d4d3;}
.mock-window__body{display:grid; grid-template-columns:1.4fr 1fr;}
.mock-col--list{padding:18px; border-right:1px solid var(--line);}
.mock-cat{font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-300); margin:14px 0 8px;}
.mock-cat:first-child{margin-top:0;}
.mock-row{
  display:flex; align-items:center; gap:10px;
  padding:9px 10px; border-radius:10px; margin-bottom:4px;
}
.mock-row--active{background:rgba(82,214,197,.14); outline:1.5px solid rgba(15,92,99,.35);}
.mock-thumb{width:34px; height:34px; border-radius:8px; background:linear-gradient(135deg,#c9d6d5,#e8efee); flex-shrink:0;}
.mock-row__text{display:flex; flex-direction:column; font-size:12.5px;}
.mock-row__text b{font-size:13px;}
.mock-row__text small{color:var(--ink-500);}
.mock-col--summary{padding:18px; background:#eef3f2; display:flex; flex-direction:column;}
.mock-summary__title{font-weight:800; font-size:13px; margin-bottom:12px;}
.mock-summary__line{display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink-500); margin-bottom:8px;}
.mock-summary__total{display:flex; justify-content:space-between; font-weight:800; font-size:14px; padding-top:10px; border-top:1px solid var(--line); margin-bottom:18px;}
.mock-sign{margin-top:auto; padding-top:12px; border-top:1px dashed var(--line);}
.mock-sign__path{width:100%; height:34px;}
.mock-sign span{font-size:11px; color:var(--ink-500);}
.floaty{
  position:absolute; background:#fff; border:1px solid var(--line);
  border-radius:100px; padding:9px 16px; font-size:12.5px; font-weight:700;
  box-shadow:var(--shadow-md);
}
.floaty--check{top:-8px; right:12px; color:var(--accent-ink);}
.floaty--link{bottom:18px; left:-18px; color:var(--ink-700);}

/* ============ STRIP ============ */
.strip{padding:28px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper-2);}
.strip__inner p{text-align:center; color:var(--ink-500); font-size:14.5px; font-weight:600;}

/* ============ SPLIT ============ */
.split{padding:96px 0;}
.split__inner{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
.split__col h3{font-size:24px; margin-bottom:20px; line-height:1.3;}
.x-list li, .check-list li{
  position:relative; padding:9px 0 9px 30px; color:var(--ink-500); font-size:15px; border-bottom:1px solid var(--line);
}
.x-list li:last-child, .check-list li:last-child{border-bottom:none;}
.x-list li::before{content:"–"; position:absolute; left:0; top:9px; color:var(--warn-ink); font-weight:800;}
.check-list li::before{content:"✓"; position:absolute; left:0; top:9px; color:var(--accent); font-weight:800;}

/* ============ SECTION HEAD ============ */
.section-head{max-width:640px; margin:0 auto 56px; text-align:center;}
.section-head h2{font-size:clamp(28px,3.2vw,38px); line-height:1.2;}
.section-lead{margin-top:14px; color:var(--ink-500); font-size:16.5px;}

/* ============ HOW IT WORKS ============ */
.how{padding:96px 0; background:var(--ink-900); color:#fff;}
.how .eyebrow{color:var(--accent-2);}
.how h2{color:#fff;}
.how__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.how__card{background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-md); padding:32px;}
.how__num{font-family:var(--font-display); font-size:15px; font-weight:800; color:var(--accent-2); margin-bottom:16px;}
.how__card h4{color:#fff; font-size:19px; margin-bottom:12px;}
.how__card p{color:rgba(255,255,255,.68); font-size:15px;}

/* ============ FEATURES ============ */
.features{padding:96px 0;}
.feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.feature-card{
  background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px; transition:transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md);}
.feature-card__icon{
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(82,214,197,.14); color:var(--accent);
  margin-bottom:16px;
}
.feature-card__icon svg{width:22px; height:22px;}
.feature-card h4{font-size:17px; margin-bottom:10px;}
.feature-card p{font-size:14.5px; color:var(--ink-500);}

/* ============ ROLES ============ */
.roles{padding:96px 0; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.roles__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.role-card{
  border:1px solid var(--line); border-radius:var(--radius-md); padding:32px; background:var(--paper);
}
.role-card--highlight{background:var(--ink-900); border-color:var(--ink-900);}
.role-card--highlight h4, .role-card--highlight p{color:#fff;}
.role-card--highlight p{color:rgba(255,255,255,.7);}
.role-card__badge{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  padding:5px 12px; border-radius:100px; background:rgba(82,214,197,.18); color:var(--accent); margin-bottom:18px;
}
.role-card--highlight .role-card__badge{background:rgba(82,214,197,.16); color:var(--accent-2);}
.role-card h4{font-size:19px; margin-bottom:12px;}
.role-card p{font-size:14.5px; color:var(--ink-500);}

/* ============ WHITE LABEL ============ */
.whitelabel{padding:96px 0;}
.whitelabel__inner{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.whitelabel h2{font-size:clamp(28px,3.2vw,36px); margin-bottom:18px;}
.whitelabel p{color:var(--ink-500); font-size:16px; max-width:480px; margin-bottom:26px;}
.badge-stack{position:relative; height:280px;}
.badge-card{
  position:absolute; width:100%; max-width:360px; background:var(--paper-2); border:1px solid var(--line);
  border-radius:var(--radius-md); padding:22px 24px; font-weight:700; font-size:15px; box-shadow:var(--shadow-md);
}
.badge-card .badge-card__sub{display:block; font-weight:500; font-size:13px; color:var(--ink-500); margin-top:4px;}
.badge-card--2{top:70px; left:24px; transform:rotate(-2deg);}
.badge-card--3{top:140px; left:48px; transform:rotate(1.5deg); background:var(--ink-900); color:#fff;}
.badge-card--3 .badge-card__sub{color:rgba(255,255,255,.65);}

/* ============ SECURITY ============ */
.security{padding:96px 0; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.security__grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.security__item{padding:26px; border-radius:var(--radius-md); background:var(--paper);}
.security__item h4{font-size:16px; margin-bottom:10px;}
.security__item p{font-size:14px; color:var(--ink-500);}

/* ============ BENEFITS ============ */
.benefits{padding:96px 0;}
.benefits__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:32px 28px;}
.benefit__num{font-family:var(--font-display); font-weight:800; color:var(--accent); font-size:14px;}
.benefit h4{font-size:17px; margin:10px 0 8px;}
.benefit p{font-size:14.5px; color:var(--ink-500);}

/* ============ FAQ ============ */
.faq{padding:96px 0; background:var(--paper-2); border-top:1px solid var(--line);}
.faq__list{max-width:760px; margin:0 auto;}
.faq__item{
  border:1px solid var(--line); border-radius:var(--radius-md);
  background:var(--paper); margin-bottom:12px; overflow:hidden;
}
.faq__item summary{
  list-style:none; cursor:pointer; padding:18px 22px;
  font-family:var(--font-display); font-weight:700; font-size:16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  transition:color .15s ease;
}
.faq__item summary::-webkit-details-marker{display:none;}
.faq__item summary::after{
  content:"+"; font-size:20px; font-weight:600; color:var(--accent);
  flex-shrink:0; transition:transform .2s ease;
}
.faq__item[open] summary::after{transform:rotate(45deg);}
.faq__item summary:hover{color:var(--accent);}
.faq__item p{padding:0 22px 20px; color:var(--ink-500); font-size:15px; max-width:640px;}

/* ============ CTA ============ */
.cta{padding:100px 0; background:var(--ink-900); color:#fff; text-align:center;}
.cta__inner{max-width:620px; margin:0 auto;}
.cta h2{color:#fff; font-size:clamp(28px,3.4vw,38px); margin-bottom:14px;}
.cta > .container > p, .cta__inner > p{color:rgba(255,255,255,.7); font-size:16px; margin-bottom:36px;}
.cta__form{display:flex; flex-direction:column; align-items:center; gap:14px;}
.cta__form-row{display:flex; flex-wrap:wrap; gap:12px; justify-content:center; width:100%;}
.cta__form input{
  flex:1 1 180px; padding:13px 16px; border-radius:100px; border:1.5px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:#fff; font-size:14.5px; font-family:inherit;
}
.cta__form input::placeholder{color:rgba(255,255,255,.45);}
.cta__form input:focus{outline:none; border-color:var(--accent-2);}
.cta__form button{width:100%; max-width:240px;}
.cta__note{margin-top:18px; font-size:14px; color:var(--accent-2); font-weight:600; min-height:20px;}
.cta__note.error{color:#ff9b8a;}
.hp-field{position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none;}

/* ============ FOOTER ============ */
.footer{padding:64px 0 0; background:var(--paper-2);}
.footer__inner{display:flex; justify-content:space-between; gap:48px; padding-bottom:48px; flex-wrap:wrap;}
.footer__brand{max-width:280px;}
.brand--footer{margin-bottom:14px;}
.footer__brand p{color:var(--ink-500); font-size:14px;}
.footer__cols{display:flex; gap:64px;}
.footer__cols h5{font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-300); margin-bottom:16px; font-family:var(--font-display); font-weight:800;}
.footer__cols a{display:block; color:var(--ink-700); font-size:14.5px; font-weight:600; margin-bottom:12px;}
.footer__bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  padding:22px 24px; border-top:1px solid var(--line); font-size:13px; color:var(--ink-300);
}

/* ============ REVEAL / PARALLAX ============ */
@media (prefers-reduced-motion: no-preference){
  html.js .reveal{
    opacity:0;
    transform:translateY(26px);
    transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  }
  html.js .reveal--fade{transform:none;}
  html.js .reveal.in{opacity:1; transform:translateY(0);}
  .mock-window, .floaty, .badge-stack{will-change:transform;}
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr; gap:48px;}
  .hero__visual{order:-1;}
  .split__inner{grid-template-columns:1fr; gap:40px;}
  .how__grid{grid-template-columns:1fr; }
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .roles__grid{grid-template-columns:1fr; }
  .whitelabel__inner{grid-template-columns:1fr;}
  .badge-stack{height:230px;}
  .security__grid{grid-template-columns:repeat(2,1fr);}
  .benefits__grid{grid-template-columns:repeat(2,1fr);}
}

@media (max-width: 720px){
  .nav__links{display:none;}
  .nav__cta{display:none;}
  .nav__burger{display:flex;}
  .hero{padding:56px 0 40px;}
  .feature-grid{grid-template-columns:1fr;}
  .security__grid{grid-template-columns:1fr;}
  .benefits__grid{grid-template-columns:1fr;}
  .footer__inner{flex-direction:column;}
  .footer__cols{gap:40px;}
}
