/* ==========================================================
   YouPPO — landing page
   Palette from the brand: LinkedIn-banner yellow, typewriter ink,
   hippo lavender. Typewriter display (Courier Prime) + DM Sans body.
   ========================================================== */

:root {
  --yellow: #F6D54A;
  --yellow-soft: #FBEBA0;
  --yellow-deep: #E3B812;
  --ink: #17171C;
  --ink-2: #3A3A44;
  --muted: #6B6B76;
  --paper: #FFFCF0;
  --white: #FFFFFF;
  --line: #E9E3CC;
  --lavender: #B8ADDA;
  --lavender-deep: #7E6FB4;
  --li-blue: #0A66C2;
  --ok: #1F7A4D;
  --err: #B3261E;

  --font-type: "Courier Prime", "Courier New", ui-monospace, monospace;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(23,23,28,.04), 0 12px 32px -12px rgba(23,23,28,.18);
  --shadow-hard: 6px 6px 0 var(--ink);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lavender-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; min-height: 48px;
  font: 700 16px/1.1 var(--font-sans);
  text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink); border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn--ink { --bg: var(--ink); --fg: var(--white); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--lavender-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--yellow);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--ink); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-type); font-size: 24px; letter-spacing: -.02em; }
.brand img { border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); }
.brand b { font-weight: 700; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--ink); transition: right .2s ease; }
.nav__links a:hover::after { right: 0; }
.nav__toggle { display: none; }

.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px;
    background: transparent; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 16px 20px; border-top: 2px solid var(--ink); background: var(--yellow);
  }
  .mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; font-size: 18px; border-bottom: 1px dashed rgba(23,23,28,.25); }
  .mobile-menu .btn { margin-top: 12px; }
}

/* ---------- Type helpers ---------- */
.eyebrow, .kicker {
  display: inline-block; margin: 0 0 18px;
  font: 700 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow { background: var(--ink); color: var(--yellow); padding: 8px 12px; border-radius: 6px; }
.kicker { color: var(--lavender-deep); }
.kicker--light { color: var(--lavender); }
.type-headline {
  font-family: var(--font-type); font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em;
  margin-bottom: 24px;
}
.type-headline--sm { font-size: clamp(30px, 4vw, 46px); }
.h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.025em; font-weight: 700; margin-bottom: 40px; max-width: 22ch; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 54ch; }

/* typewriter caret */
.typed { position: relative; }
.typed.is-typing::after {
  content: ""; display: inline-block; width: .08em; height: .9em; margin-left: .06em;
  background: currentColor; vertical-align: -.08em; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Hero ---------- */
.hero { background: var(--yellow); padding: 56px 0 28px; border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font: 400 14px/1 var(--font-type); padding: 8px 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.35);
}
.hero__note { font-size: 12px; color: rgba(23,23,28,.55); margin: 24px auto 0; text-align: right; }

.hero__visual { position: relative; min-height: 460px; }
.post-card {
  position: absolute; top: 10px; left: 0; right: 40px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-hard);
  transform: rotate(-2deg);
  animation: float 7s ease-in-out infinite;
}
.post-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.post-card__head strong { display: block; font-size: 15px; }
.post-card__head span { display: block; font-size: 13px; color: var(--muted); }
.post-card__body { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 14px; }
.post-card__stats { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 15px/1 var(--font-sans); color: var(--ink);
  background: var(--lavender); border: 2px solid var(--ink);
}
.avatar--lg { position: relative; z-index: 1; width: 88px; height: 88px; font-size: 26px; margin-top: -56px; border: 4px solid var(--white); outline: 2px solid var(--ink); }

.mascot {
  position: absolute; right: -6px; bottom: 0; margin: 0;
  width: 238px; height: 238px; border-radius: 28px; overflow: hidden;
  border: 6px solid var(--white); outline: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transform: rotate(3deg);
}
.mascot img { width: 100%; height: 100%; object-fit: cover; }

.sticker {
  position: absolute; font: 700 14px/1 var(--font-type);
  padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px;
}
.sticker--a { left: 4%; bottom: 70px; background: var(--lavender); transform: rotate(-6deg); }
.sticker--b { left: 30%; bottom: 14px; background: var(--white); transform: rotate(4deg); }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { min-height: 430px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero { padding-top: 36px; }
  .hero__cta .btn { width: 100%; }
  .hero__visual { min-height: 470px; }
  .post-card { right: 0; }
  .mascot { width: 170px; height: 170px; right: 0; }
  .sticker--a { bottom: 96px; left: 0; }
  .sticker--b { bottom: 30px; left: 6%; }
  .hero__note { text-align: left; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: var(--yellow-soft); border-block: 2px solid var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .h2 { color: var(--white); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.card__icon { font-size: 30px; display: block; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--lavender); border-block: 2px solid var(--ink); padding: clamp(64px, 8vw, 104px) 0; }
.type-quote { font: 700 clamp(30px, 4.6vw, 58px)/1.1 var(--font-type); letter-spacing: -.03em; margin-bottom: 28px; max-width: 20ch; }
.type-quote s { text-decoration-thickness: .08em; text-decoration-color: var(--ink); opacity: .55; }
.manifesto__text { font-size: clamp(19px, 2vw, 24px); line-height: 1.55; max-width: 48ch; margin: 0; }
.manifesto mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; padding: 0 2px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: s; }
.step {
  display: flex; gap: 20px; padding: 32px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  position: relative;
}
.step__n {
  flex: none; font: 700 44px/1 var(--font-type); color: var(--yellow-deep);
  -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.04em;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-2); }
.step:nth-child(2) { background: var(--yellow-soft); }
.step:nth-child(3) { background: #EFEAFB; }
.step:nth-child(4) { background: var(--ink); color: var(--paper); }
.step:nth-child(4) p { color: #D9D6E6; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px; flex-direction: column; gap: 12px; }
}

/* ---------- Before / After ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ba__copy .h2 { margin-bottom: 20px; }
.ba__copy p { color: var(--ink-2); max-width: 46ch; }
.toggle { display: inline-flex; padding: 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); margin: 12px 0 14px; }
.toggle button {
  font: 700 15px/1 var(--font-sans); padding: 12px 20px; min-height: 44px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.toggle button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.fineprint { font-size: 12px; color: var(--muted); }

.profile {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-hard);
}
.profile__banner { height: 96px; background: #D8DCE3; transition: background .4s ease; position: relative; }
.profile[data-view="after"] .profile__banner { background: var(--yellow); }
.profile[data-view="after"] .profile__banner::after {
  content: "Il cuore, dopo."; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 700 20px/1 var(--font-type);
}
.profile__body { padding: 0 24px 26px; }
.profile__name { display: block; font-size: 22px; margin: 12px 0 4px; }
.profile__headline { font-size: 16px; color: var(--ink-2); min-height: 3.2em; transition: opacity .2s ease; }
.profile__about-label { font-weight: 700; margin: 8px 0 6px; font-size: 15px; }
.profile__about { font-size: 15px; color: var(--ink-2); margin: 0; min-height: 7.5em; transition: opacity .2s ease; }
.profile.is-swapping .profile__headline, .profile.is-swapping .profile__about { opacity: 0; }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Per chi ---------- */
.tags { list-style: none; padding: 0; margin: 0 0 56px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 10px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
  font-weight: 500; transition: background .15s ease, transform .15s ease;
}
.tags li:hover { background: var(--yellow); transform: rotate(-2deg); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit__col { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.fit__col h3 { font: 700 24px/1.2 var(--font-type); margin-bottom: 14px; }
.fit__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fit__col li { padding-left: 32px; position: relative; }
.fit__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 1.5px solid var(--ink); }
.fit__col--yes { background: var(--yellow-soft); }
.fit__col--yes li::before { content: "✓"; background: var(--yellow); }
.fit__col--no { background: var(--white); }
.fit__col--no li::before { content: "✕"; background: #F2F0F7; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Storia ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.story__copy p { color: #D9D6E6; font-size: 18px; max-width: 52ch; }
.story__copy strong { color: var(--yellow); font-weight: 700; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pillars li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px;
  padding: 22px; border: 1.5px solid #3A3A46; border-radius: var(--radius);
  background: #1F1F26; transition: border-color .2s ease;
}
.pillars li:hover { border-color: var(--yellow); }
.pillars__n { grid-row: span 2; font: 700 28px/1 var(--font-type); color: var(--yellow); }
.pillars strong { font-size: 19px; color: var(--white); }
.pillars p { margin: 4px 0 0; color: #B9B6C8; font-size: 15px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq__mascot { width: 160px; height: 160px; border-radius: 24px; border: 2px solid var(--ink); transform: rotate(-4deg); box-shadow: var(--shadow-hard); }
.faq__list { display: grid; gap: 12px; }
details { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-sm); }
details[open] { background: var(--yellow-soft); }
summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 700; font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font: 700 18px/1 var(--font-type); transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--yellow); }
details p { padding: 0 20px 20px; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 8px; }
  .faq__mascot { display: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--yellow); border-top: 2px solid var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__copy p { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.contact__direct { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }

.form {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-hard);
  display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-sans); color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  transition: box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: 0 0 0 4px var(--lavender); }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.field__err { color: var(--err); font-size: 13px; min-height: 0; }
.field__err:empty { display: none; }
.check-box { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check-box input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form.is-sent { text-align: center; place-items: center; padding: 48px 32px; }
.form.is-sent .done-title { font: 700 28px/1.2 var(--font-type); margin: 12px 0 8px; }
.form.is-sent img { width: 120px; height: 120px; border-radius: 20px; border: 2px solid var(--ink); }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 22px; }
  .contact__direct .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #CFCBDD; padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #33333D; }
.brand--light { color: var(--white); }
.brand--light img { border-color: var(--yellow); }
.footer__tag { font-family: var(--font-type); color: var(--yellow); margin: 12px 0 0; }
.footer__links, .footer__contact { display: grid; gap: 8px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__legal { padding-top: 24px; font-size: 13px; color: #8F8BA0; }
.footer__legal p { margin: 0 0 8px; max-width: 90ch; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   v2 — conversion-focused components
   ========================================================== */
.btn--lg { padding: 16px 26px; min-height: 54px; font-size: 17px; }
.center { text-align: center; margin-top: 40px; }
.section--lav { background: #EFEAFB; border-block: 2px solid var(--ink); }

/* Hero additions */
.hero { padding-bottom: 36px; }
.hero .lead strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--ink); color: var(--yellow);
}
.hero__cta { margin: 28px 0 12px; }
.microcopy { font-size: 14px; color: rgba(23,23,28,.7); margin: 0; }
.post-card__body { transition: opacity .25s ease; }
.post-card.is-swapping .post-card__body,
.post-card.is-swapping .post-card__head { opacity: 0; }
.post-card__head { transition: opacity .25s ease; }

.prof { margin-top: 36px; padding-top: 24px; border-top: 1.5px dashed rgba(23,23,28,.3); }
.prof__label { font: 700 15px/1.3 var(--font-type); margin: 0 0 12px; }
.prof__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prof__chips button {
  font: 500 15px/1 var(--font-sans); color: var(--ink); cursor: pointer;
  padding: 10px 14px; min-height: 42px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: rgba(255,255,255,.4); transition: background .15s ease, transform .15s ease;
}
.prof__chips button:hover { background: var(--white); transform: translateY(-1px); }
.prof__chips button[aria-checked="true"] { background: var(--ink); color: var(--yellow); }
@media (max-width: 520px) {
  .prof__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .prof__chips::-webkit-scrollbar { display: none; }
  .prof__chips button { flex: none; }
}

/* Trust bar */
.trust { background: var(--ink); color: #DAD7E6; }
.trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 22px; }
.trust p { margin: 0; font-size: 15px; padding-left: 16px; border-left: 3px solid var(--yellow); }
.trust strong { color: var(--yellow); }
@media (max-width: 760px) { .trust__inner { grid-template-columns: 1fr; gap: 12px; } }

.bridge { margin: 36px 0 0; font: 700 20px/1.4 var(--font-type); }
.bridge a { color: var(--lavender-deep); }

/* Deliverables */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliv {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.deliv:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.deliv__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--yellow); border: 2px solid var(--ink); font-size: 22px; margin-bottom: 16px;
}
.deliv h3 { font-size: 19px; margin-bottom: 8px; }
.deliv p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .deliverables { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .deliverables { grid-template-columns: 1fr; } }

/* Flow: you vs us */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow__step { border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; background: var(--white); display: flex; flex-direction: column; }
.flow__step:last-child { background: var(--ink); color: var(--paper); }
.flow__n { font: 700 40px/1 var(--font-type); color: var(--yellow-deep); -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 12px; }
.flow__step:last-child .flow__n { -webkit-text-stroke: 0; color: var(--yellow); }
.flow__step h3 { font-size: 18px; margin-bottom: 14px; }
.flow__split { display: grid; gap: 8px; margin-top: auto; }
.flow__split p { margin: 0; font-size: 15px; padding: 10px 12px; border-radius: 10px; background: var(--paper); color: var(--ink-2); }
.flow__split p:last-child { background: var(--yellow-soft); }
.flow__split b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.flow__step:last-child .flow__split p { background: #26262E; color: #D9D6E6; }
.flow__step:last-child .flow__split p:last-child { background: #3A3520; }
.flow__step:last-child .flow__split b { color: var(--yellow); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .flow { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; }
#pacchetti .kicker, #pacchetti .h2 { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.plans__note { text-align: center; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 32px; background: var(--white);
}
.plan--featured { background: var(--yellow); box-shadow: var(--shadow-hard); }
.plan__badge {
  position: absolute; top: -14px; right: 24px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--yellow); font: 700 13px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
}
.plan__name { font: 700 30px/1.1 var(--font-type); }
.plan__pitch { color: var(--ink-2); margin: 6px 0 18px; }
.plan__price { font: 700 28px/1.1 var(--font-sans); letter-spacing: -.02em; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1.5px dashed rgba(23,23,28,.3); }
.plan__price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan--featured .plan__price small { color: var(--ink-2); }
.plan__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--lavender-deep); }
.plan--featured .plan__list li::before { color: var(--ink); }
.plans__note { margin: 28px 0 0; color: var(--ink-2); }
.plans__note a { font-weight: 700; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 26px; } }

/* Comparison */
.compare { border: 1.5px solid #3A3A46; border-radius: var(--radius); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
.compare__row + .compare__row { border-top: 1px solid #33333D; }
.compare__row > span { padding: 16px 18px; font-size: 15px; }
.compare__row > [role="rowheader"] { font-weight: 700; color: var(--white); }
.compare__head > span { font: 700 14px/1.2 var(--font-sans); text-transform: uppercase; letter-spacing: .08em; color: #9C98AE; }
.compare .is-us { background: rgba(246,213,74,.12); }
.compare__head .is-us { color: var(--yellow); }
.compare [role="cell"] { color: #CFCBDD; }
.compare [role="cell"]::before { margin-right: 8px; font-weight: 700; }
.compare .yes::before { content: "✓"; color: var(--yellow); }
.compare .no::before { content: "✕"; color: #E07A72; }
.compare .mid::before { content: "~"; color: #9C98AE; }
.compare .is-us[role="cell"] { color: var(--white); font-weight: 500; }
@media (max-width: 760px) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr 1fr 1fr; }
  .compare__row > [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 4px; }
  .compare__row > [role="cell"] { padding-top: 6px; font-size: 13px; }
  .compare__row > [role="cell"]::after { display: block; font-size: 11px; color: #8F8BA0; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
  .compare__row > [role="cell"]:nth-child(2)::after { content: "Fai da te"; }
  .compare__row > [role="cell"]:nth-child(3)::after { content: "Agenzia"; }
  .compare__row > [role="cell"]:nth-child(4)::after { content: "YouPPO"; color: var(--yellow); }
}

/* Quiz */
.check { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.check__intro .h2 { margin-bottom: 16px; }
.check__intro p { color: var(--ink-2); max-width: 36ch; }
.check__mascot { width: 140px; height: 140px; border-radius: 22px; border: 2px solid var(--ink); transform: rotate(-4deg); box-shadow: var(--shadow-hard); margin-top: 20px; }
.quiz { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-hard); }
.quiz__list { list-style: none; counter-reset: q; padding: 0; margin: 0; display: grid; gap: 10px; }
.quiz__list li {
  counter-increment: q; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 16px;
}
.yn { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.yn button {
  font: 700 14px/1 var(--font-sans); min-width: 48px; min-height: 40px; padding: 0 12px;
  border: 0; background: var(--white); color: var(--ink); cursor: pointer;
}
.yn button + button { border-left: 1.5px solid var(--ink); }
.yn button[aria-pressed="true"][data-v="1"] { background: var(--yellow); }
.yn button[aria-pressed="true"][data-v="0"] { background: var(--ink); color: var(--white); }
.quiz__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.quiz__progress { margin: 0; font-size: 14px; color: var(--muted); }
.quiz button[type="submit"]:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.quiz__result { margin-top: 20px; padding: 22px; border-radius: 14px; background: var(--yellow-soft); border: 2px solid var(--ink); }
.quiz__result:focus { outline: none; }
.quiz__score { font: 700 14px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .1em; color: var(--lavender-deep); margin-bottom: 8px; }
.quiz__title { font: 700 24px/1.2 var(--font-type); margin-bottom: 8px; }
.quiz__fixes { margin: 0 0 18px; padding-left: 20px; }
.quiz__fixes:empty { display: none; }
@media (max-width: 860px) {
  .check { grid-template-columns: 1fr; gap: 20px; }
  .check__mascot { display: none; }
  .quiz { padding: 16px; }
  .quiz__list li { grid-template-columns: 1fr; gap: 10px; }
  .quiz__foot .btn { width: 100%; }
}

/* Story (light version) */
#chi-siamo .story__copy p { color: var(--ink-2); }
#chi-siamo .story__copy strong { color: var(--ink); background: linear-gradient(transparent 60%, var(--yellow) 60%); }
#chi-siamo .pillars li { background: var(--white); border: 2px solid var(--ink); }
#chi-siamo .pillars li:hover { border-color: var(--lavender-deep); }
#chi-siamo .pillars__n { color: var(--lavender-deep); }
#chi-siamo .pillars strong { color: var(--ink); }
#chi-siamo .pillars p { color: var(--ink-2); }
.link-arrow { font-weight: 700; color: var(--lavender-deep); }

.faq__aside a { font-weight: 700; }

/* Contact v2 */
.next { list-style: none; counter-reset: n; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.next li { counter-increment: n; position: relative; padding-left: 44px; font-size: 17px; color: var(--ink-2); }
.next li::before {
  content: counter(n); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 700 15px/1 var(--font-type);
}
.next b { color: var(--ink); }
.form__title { font: 700 22px/1.2 var(--font-type); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 16px; } }
.form__reassure { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--yellow); border-top: 2px solid var(--ink);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { flex: 1; }
  .sticky-cta__wa { flex: 0 0 54px !important; padding: 0; background: var(--white); }
  .footer { padding-bottom: 96px; }
}

/* ==========================================================
   v3 — expert credibility
   ========================================================== */
.verified {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--li-blue); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; margin-left: 2px;
}

/* Hero byline */
.byline {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 10px 18px 10px 10px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white); text-decoration: none; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.byline:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.byline img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; flex: none; }
.byline > span { display: grid; line-height: 1.25; }
.byline small { font-size: 12px; color: var(--muted); }
.byline strong { font-size: 16px; }
@media (max-width: 520px) { .byline { border-radius: 20px; width: 100%; } }

/* Expert section */
.expert { padding-bottom: clamp(64px, 8vw, 104px); }
.expert__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.expert__copy > p { color: #D9D6E6; font-size: 18px; }
.expert__copy strong { color: var(--yellow); }
.expert .h2 { max-width: 18ch; }

.li-card { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--yellow); box-shadow: 8px 8px 0 var(--yellow); position: sticky; top: 96px; }
.li-card__banner {
  height: 110px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 16px 18px;
  background: radial-gradient(120% 140% at 80% 0%, #24306B 0%, #121A3D 60%, #0B1029 100%);
  color: #fff; font: 700 12px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
}
.li-card__banner span { opacity: .85; }
.li-card__body { padding: 0 24px 24px; }
.li-card__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-top: -56px; border: 4px solid var(--white); position: relative; }
.li-card__name { font-size: 24px; margin: 12px 0 6px; }
.li-card__headline { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.li-card__meta { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.li-card__meta strong { color: var(--li-blue); }
.li-card__orgs { list-style: none; padding: 14px 0; margin: 0 0 18px; display: grid; gap: 10px; border-block: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.li-card__orgs li { display: flex; align-items: center; gap: 10px; }
.org-badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: #1B2350; color: #7BD88F; font: 700 13px/1 var(--font-sans); flex: none; }
.org-badge--uni { background: #F7E6E6; font-size: 16px; }
.btn--li { --bg: var(--li-blue); --fg: #fff; border-color: var(--li-blue); }
.btn--li:hover { box-shadow: 4px 4px 0 var(--ink); }

.role { margin: 28px 0; padding: 22px 24px; border-radius: var(--radius); background: #1F1F26; border: 1.5px solid #3A3A46; }
.role__title { font: 700 18px/1.2 var(--font-type); color: var(--yellow); margin-bottom: 12px; }
.role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.role li { position: relative; padding-left: 28px; color: #D9D6E6; }
.role li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.role b { color: var(--white); }
.skills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { padding: 8px 12px; border: 1.5px solid #4A4A58; border-radius: 999px; font-size: 14px; color: #E5E2EF; }

.proof { margin-top: 72px; padding-top: 56px; border-top: 1px dashed #3A3A46; display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.proof__title { font: 700 clamp(26px, 3vw, 36px)/1.1 var(--font-type); color: var(--white); margin-bottom: 14px; }
.proof__intro p:not(.kicker) { color: #B9B6C8; }
.proof__body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.real-post { background: var(--white); color: var(--ink); border-radius: 14px; padding: 20px; font-size: 15px; line-height: 1.55; }
.real-post p { margin: 0 0 10px; position: relative; }
.real-post .post-card__head strong { color: var(--ink); }
.real-post__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.real-post__hook { font-weight: 700; }
.real-post__more { color: var(--muted); margin: 0 !important; }
.pin {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-right: 8px;
  background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); font: 700 12px/1 var(--font-sans); vertical-align: 1px; flex: none;
}
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.notes li { display: flex; gap: 4px; color: #CFCBDD; font-size: 15px; }
.notes b { display: block; color: var(--white); font-size: 16px; margin-bottom: 2px; }
.notes .pin { margin-top: 2px; }

.pillars--row { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
@media (max-width: 1000px) {
  .proof { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .expert__grid { grid-template-columns: 1fr; gap: 36px; }
  .li-card { position: static; max-width: 440px; }
  .proof__body { grid-template-columns: 1fr; }
  .pillars--row { grid-template-columns: 1fr; }
}
