/* Reelit — "the highlighter". Paper 70% · ink 25% · yellow 5%. Mai testo giallo su carta. */
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-800.woff2) format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-500.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(../assets/fonts/jetbrains-500.woff2) format('woff2');font-weight:500;font-display:swap}

:root{
  --paper:#F4F5F0; --raised:#FFFFFF; --ink:#14161B; --muted:#545966; --rule:#D9DBD3;
  --yellow:#FFE24A; --yellow-soft:#FFF4B8; --stamp:#C2311D; --verified:#1F7A57;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:Manrope,system-ui,sans-serif; font-weight:500; line-height:1.55;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace; font-weight:500}
.wrap{max-width:var(--max); margin:0 auto; padding:0 22px}
section{padding:72px 0}
h1,h2,h3{font-weight:800; letter-spacing:-.03em; line-height:1.05; margin:0 0 .4em}
h1{font-size:clamp(34px,7vw,66px)}
h2{font-size:clamp(26px,4.2vw,42px)}
h3{font-size:clamp(18px,2.4vw,22px); letter-spacing:-.02em}
p{margin:0 0 1em; max-width:62ch}
.lead{font-size:clamp(17px,2.2vw,21px); color:var(--muted)}
a{color:inherit}

/* highlighter swipe — rettangolo giallo dietro UNA parola, inclinato -7°, si disegna in 250ms */
.hl{position:relative; white-space:nowrap; z-index:0}
.hl::before{
  content:""; position:absolute; z-index:-1; left:-.12em; right:-.12em; top:.06em; bottom:.04em;
  background:var(--yellow); border-radius:6px; transform:skewX(-7deg) scaleX(0);
  transform-origin:left center; transition:transform .25s ease-out;
}
.hl.in::before{transform:skewX(-7deg) scaleX(1)}

/* reveal on scroll */
.rise{opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease}
.rise.in{opacity:1; transform:none}

/* header */
header.top{position:sticky; top:0; z-index:40; background:rgba(244,245,240,.86); backdrop-filter:blur(8px); border-bottom:1px solid var(--rule)}
.top .wrap{display:flex; align-items:center; gap:18px; padding-top:14px; padding-bottom:14px}
.top .logo{height:26px; width:auto; display:block}
.top nav{margin-left:auto; display:flex; gap:22px; align-items:center}
.top nav a{text-decoration:none; color:var(--muted); font-weight:700; font-size:15px}
.top nav a:hover{color:var(--ink)}

/* buttons */
.btn{display:inline-flex; align-items:center; gap:8px; font-weight:700; text-decoration:none; border:none; cursor:pointer; border-radius:12px; padding:14px 22px; font-size:16px; font-family:inherit}
.btn.yellow{background:var(--yellow); color:var(--ink)}
.btn.yellow:hover{filter:brightness(.97)}
.btn.ink{background:var(--ink); color:var(--paper)}
.btn.ghost{background:transparent; color:var(--ink); border:1.5px solid var(--rule)}
.btn.sm{padding:10px 16px; font-size:14px; border-radius:10px}

/* hero */
.hero .wrap{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center}
.hero .cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}
.hero .fine{font-size:13px; color:var(--muted); margin-top:18px; max-width:46ch}
.phone{justify-self:center; width:min(300px,78vw); aspect-ratio:9/19.5; border-radius:34px; background:#000; padding:9px; box-shadow:0 30px 60px -24px rgba(20,22,27,.5), 0 0 0 1px var(--rule)}
.phone video,.phone .ph{width:100%; height:100%; object-fit:cover; border-radius:26px; display:block; background:var(--ink)}
.phone .ph{display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:13px; text-align:center; padding:20px}
@media(max-width:820px){ .hero .wrap{grid-template-columns:1fr; gap:30px} .hero .phone{order:-1} }

/* use cases */
.cases{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px}
.case{background:var(--raised); border:1px solid var(--rule); border-radius:16px; padding:22px}
.case .n{font-family:'JetBrains Mono',monospace; font-weight:500; color:var(--muted); font-size:13px; margin-bottom:10px}
.case h3{margin-bottom:.3em}
.case p{color:var(--muted); margin:0; font-size:15px}

/* steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset:s}
.step{position:relative; padding-top:14px}
.step::before{counter-increment:s; content:"0" counter(s); font-family:'JetBrains Mono',monospace; font-size:13px; color:var(--stamp); font-weight:500}
@media(max-width:720px){ .steps{grid-template-columns:1fr} }

/* sector examples */
.sectors{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px}
.sector{border:1px solid var(--rule); border-radius:14px; padding:16px 18px; background:var(--raised)}
.sector .mono{font-size:12px; color:var(--verified)}
.sector b{display:block; margin-top:4px}

/* pricing */
.toggle{display:inline-flex; background:var(--rule); border-radius:12px; padding:4px; gap:4px; margin:6px 0 26px}
.toggle button{border:none; background:transparent; font:inherit; font-weight:700; padding:9px 16px; border-radius:9px; color:var(--muted); cursor:pointer}
.toggle button.on{background:var(--raised); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.08)}
.prices{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px}
.price{background:var(--raised); border:1px solid var(--rule); border-radius:16px; padding:22px; display:flex; flex-direction:column; gap:6px}
.price .amt{font-weight:800; font-size:30px; letter-spacing:-.03em}
.price .per{color:var(--muted); font-weight:500; font-size:15px}
.price .nm{font-weight:700}
.price .bl{color:var(--muted); font-size:14px; flex:1}
.market-pick{display:inline-flex; gap:8px; margin-bottom:18px}
.founding-note{margin-top:18px; font-size:14px}
.founding-note .tag{background:var(--yellow); color:var(--ink); font-weight:700; padding:2px 8px; border-radius:6px}

/* faq */
.faq details{border-bottom:1px solid var(--rule); padding:16px 0}
.faq summary{cursor:pointer; font-weight:700; font-size:18px; list-style:none; display:flex; justify-content:space-between; gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--muted); font-weight:700}
.faq details[open] summary::after{content:"–"}
.faq p{color:var(--muted); margin:12px 0 0}

/* footer */
footer.foot{background:var(--ink); color:var(--paper); padding:56px 0}
footer.foot a{color:var(--paper); text-decoration:none; opacity:.85}
footer.foot a:hover{opacity:1}
.foot .wrap{display:flex; flex-wrap:wrap; gap:28px; justify-content:space-between}
.foot .logo{height:24px}
.foot .cols{display:flex; gap:48px; flex-wrap:wrap}
.foot .mono{color:#A9AEB8; font-size:12px}
.foot .prod{margin-top:16px}
.foot .prod a{display:inline-flex; align-items:center; opacity:.8}
.foot .prod a:hover{opacity:1}
.foot .badland{height:15px; width:auto; display:inline-block; vertical-align:middle}
.foot nav{display:flex; flex-direction:column; gap:8px}

/* disclaimer strip */
.disc{background:var(--yellow-soft); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule)}
.disc .wrap{display:flex; gap:12px; align-items:center; padding:14px 22px; font-size:14px}
.disc .mono{color:var(--stamp); font-size:12px; white-space:nowrap}

/* draft banner (legal pages) */
.draft{background:var(--stamp); color:#fff; text-align:center; padding:10px; font-weight:700; font-size:14px}
.legal{max-width:760px}
.legal h1{margin-top:28px}
.legal h2{font-size:24px; margin-top:34px}
.legal p,.legal li{color:var(--muted)}
.back{display:inline-block; margin:24px 0; font-weight:700; text-decoration:none; color:var(--stamp)}

/* cookie banner */
.cookie{position:fixed; left:0; right:0; bottom:0; z-index:60; background:var(--raised); border-top:1px solid var(--rule); box-shadow:0 -10px 30px -18px rgba(20,22,27,.4)}
.cookie .wrap{display:flex; gap:18px; align-items:center; flex-wrap:wrap; padding:16px 22px}
.cookie p{margin:0; flex:1; min-width:260px; font-size:14px; color:var(--muted)}
.cookie .acts{display:flex; gap:10px; flex-wrap:wrap}
.cookie .choose{display:none; width:100%; border-top:1px solid var(--rule); margin-top:4px; padding-top:14px}
.cookie .choose.show{display:block}
.cookie label{display:flex; gap:10px; align-items:center; font-size:14px; margin:8px 0}
.hidden{display:none!important}
