/* CriptoTasse — landing. Palette/typografia dal Brand Guide v0.2. */
:root {
  --navy: #122A45;
  --teal: #0E9E8E;
  --teal-bright: #16C2A3;
  --light: #EAF3F2;
  --ink: #1B2A3A;
  --grey: #5A6472;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
  --font: 'Hanken Grotesk', 'Segoe UI', system-ui, Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .98rem; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: rgba(18,42,69,.3); }
.btn-outline-dark:hover { border-color: var(--navy); background: rgba(18,42,69,.05); }
.btn-ghost { background: var(--light); color: var(--navy); }
.btn-ghost:hover { background: #dcebe9; background: #d7eae7; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #e8eef0;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--grey); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--navy); }
.site-header .btn-ghost { margin-left: 8px; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(680px 420px at 88% 0%, rgba(22,194,163,.12), transparent 62%),
    var(--navy);
  color: #fff; padding: 96px 0 104px;
}
.hero-inner { max-width: 820px; }
.hero-mark { width: 92px; height: 92px; display: block; margin: 0 0 26px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.28)); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 600; color: var(--teal-bright); margin: 0 0 18px; background: rgba(22,194,163,.12);
  padding: 6px 14px; border-radius: 999px;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0 0 22px; }
.hero h1 .accent { color: var(--teal-bright); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; color: #cdd9e5; max-width: 640px; margin: 0 0 32px; }
.lead strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.center-cta { justify-content: center; }
.hero-note { margin-top: 22px; color: #a7b6c6; font-size: .92rem; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--light); }
.section-lead { font-size: 1.12rem; color: var(--grey); }
.narrow.center .section-lead { margin-left: auto; margin-right: auto; }
h2.center { margin-bottom: 40px; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  background: #fff; border: 1px solid #e3ecec; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(18,42,69,.04);
}
/* Icona piccola e nuda (niente box arrotondato sopra l'heading = tell template). */
.card-ico { color: var(--teal); margin-bottom: 14px; }
.card-ico svg { width: 28px; height: 28px; }
.card p { color: var(--grey); margin: 0; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid #e3ecec; border-radius: var(--radius); padding: 28px; position: relative; }
.step-n {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--grey); margin: 0; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { background: #fff; border: 1px solid #e3ecec; border-radius: var(--radius); padding: 18px 22px; }
.faq-item summary {
  font-family: var(--font-display); font-weight: 700; color: var(--navy); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; font-weight: 600; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--grey); margin: 14px 0 0; }

/* ===== Trust ===== */
.trust { background: var(--navy); color: #fff; padding: 40px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { color: var(--teal-bright); font-size: 1.05rem; }
.trust-item span { color: #b9c6d4; font-size: .95rem; }

/* ===== CTA ===== */
.cta { padding: 90px 0; background: var(--light); }
.cta h2 { margin-bottom: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #fff; padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-tag { color: var(--teal-bright); font-weight: 500; margin: 6px 0 0; }
.footer-legal { color: #93a6b8; font-size: .85rem; margin: 8px 0 0; }

/* ===== Motion: ingresso hero orchestrato (non fade-on-scroll su ogni sezione) ===== */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero h1, .hero .lead, .hero-cta, .hero-note {
  animation: rise .7s cubic-bezier(.22, 1, .36, 1) both;
}
.hero h1 { animation-delay: .04s; }
.hero .lead { animation-delay: .15s; }
.hero-cta { animation-delay: .26s; }
.hero-note { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lead, .hero-cta, .hero-note { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid #e3ecec; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18,42,69,.18);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-text { margin: 0; font-size: 13.5px; color: var(--grey); flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; }
.cookie-actions .btn { padding: 9px 18px; }

/* ===== Responsive ===== */
.only-mobile { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .cards, .steps, .trust-inner { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 56px 0; }
  .header-inner { gap: 12px; }
  .hide-mobile { display: none; }
  .only-mobile { display: inline; }
}
