/* ============================================================
   SeedNote — Landing Page
   Combined CSS: global + V2 Studio + V2 Revision
   Palette: Aubergine · Saffron · Bone — Accent hardcoded: Saffron
   Fonts: Newsreader (serif editorial) + Geist (sans UI/labels)
   ============================================================ */

/* ——— CSS Custom Properties ——— */
:root {
  /* Palette */
  --ink:          #1A1420;
  --aubergine:    #3A2645;
  --aubergine-700:#4D3458;
  --aubergine-500:#6B4F7E;
  --aubergine-200:#C8B9D2;
  --lavender-fog: #ECE5F0;
  --saffron:      #C8894A;
  --saffron-300:  #E4C49A;
  --saffron-100:  #F6EBD9;
  --moss:         #4D6B53;
  --moss-300:     #A5B8A8;
  --moss-100:     #E2EAE0;
  --paper:        #FBF7F0;
  --bone:         #F3EDE3;
  --mist:         #E2DCD5;
  --stone:        #8B8189;
  --slate:        #4D454F;

  /* Accent — Saffron */
  --accent:       var(--saffron);
  --accent-soft:  var(--saffron-100);
  --accent-300:   var(--saffron-300);

  /* Typography */
  --serif: "Newsreader", Cambria, "Times New Roman", serif;
  --sans:  "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s-2:  8px;  --s-3: 12px; --s-4: 16px;  --s-5: 20px;
  --s-6:  24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;
  --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--ink) 10%, transparent) transparent;
}
/* Webkit (Chrome/Safari/Edge) — match the thin, almost-transparent look */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklab, var(--ink) 26%, transparent);
}
::-webkit-scrollbar-corner { background: transparent; }
html, body { background: var(--bone); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ——— Layout Shell ——— */
.shell       { max-width: 1280px; margin: 0 auto; padding: 0 var(--s-8); }
.shell-wide  { max-width: 1400px; margin: 0 auto; padding: 0 var(--s-8); }
@media (max-width: 720px) {
  .shell, .shell-wide { padding: 0 var(--s-5); }
}

/* ============================================================
   ATOMS
   ============================================================ */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pill-aubergine { background: var(--lavender-fog); color: var(--aubergine); }
.pill-moss      { background: var(--moss-100);     color: var(--moss); }
.pill-saffron   { background: var(--saffron-100);  color: #7E4A1C; }
.pill-stone     { background: var(--mist);          color: var(--slate); }

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn-primary > span,
.btn-ghost > span { text-align: center; }
.btn-primary {
  background: var(--aubergine);
  color: var(--paper);
}
.btn-primary:hover { background: var(--aubergine-700); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--aubergine);
  border: 1px solid color-mix(in oklab, var(--aubergine) 30%, transparent);
}
.btn-ghost:hover { background: var(--lavender-fog); }

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bone);
  color: var(--aubergine);
  border: 1px solid var(--mist);
}
.btn-primary-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--aubergine);
  color: var(--paper);
}

.link-quiet {
  font-size: 14px;
  color: var(--slate);
  padding: 8px 4px;
  text-decoration: none;
}
.link-quiet:hover { color: var(--aubergine); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bone) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-8);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-5);
  align-items: center;
}
.brand-line {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--aubergine);
  text-decoration: none;
}
.topbar-nav {
  display: flex;
  gap: var(--s-5);
  justify-self: center;
  font-size: 14px;
  color: var(--slate);
  white-space: nowrap;
}
.topbar-nav a { text-decoration: none; transition: color .15s; }
.topbar-nav a:hover { color: var(--aubergine); }
.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

@media (max-width: 1023px) {
  .topbar-nav { display: none; }
  .topbar-actions .link-quiet { display: none; }
}
@media (max-width: 880px) {
  .topbar-inner { grid-template-columns: auto 1fr; gap: var(--s-3); }
  .topbar-actions { justify-self: end; }
}
@media (max-width: 480px) {
  .topbar-inner { padding: var(--s-3) var(--s-5); }
  .btn-primary { font-size: 13px; padding: 10px 14px; }
}

/* ============================================================
   SECTION BLOCKS
   ============================================================ */
.section-block       { padding-top: var(--s-24); padding-bottom: var(--s-20); }
.section-block-tight { padding-top: var(--s-8);  padding-bottom: var(--s-16); }

/* Compact density (default for this page) */
.section-block       { padding-top: var(--s-12); padding-bottom: var(--s-10); }
.section-block-tight { padding-top: var(--s-6);  padding-bottom: var(--s-12); }

.section-rule {
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}

/* ——— Section header ——— */
.v2-section-head {
  margin-bottom: var(--s-10);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-6);
}
.v2-section-head .left  { max-width: 720px; }
.v2-section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--ink);
  margin-top: var(--s-3);
  text-wrap: balance;
}
.v2-section-head h2 em { font-style: italic; color: var(--aubergine); }
.v2-section-head .lede {
  font-size: 16px;
  color: var(--slate);
  margin-top: var(--s-4);
  max-width: 60ch;
  text-wrap: pretty;
}
.v2-section-head .side-link {
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}
@media (max-width: 720px) {
  .v2-section-head { grid-template-columns: 1fr; }
  .v2-section-head .side-link { display: none; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1),
              transform .65s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO — V2 Studio
   ============================================================ */
.v2-hero {
  padding: var(--s-16) 0 var(--s-12);
  position: relative;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.v2-hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.v2-hero-pills {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.v2-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
.v2-hero h1 em { font-style: italic; color: var(--aubergine); }
.v2-hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 52ch;
  text-wrap: pretty;
  font-weight: 400;
}
.v2-hero .actions {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
}
.v2-hero-trust {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-2);
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  flex-wrap: wrap;
}
.v2-hero-trust .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}
.v2-hero-trust .item .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.v2-hero-trust .item .v {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.v2-hero-right {
  position: relative;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.v2-hero-right .float {
  position: relative;
  filter: drop-shadow(0 30px 40px rgba(26,20,32,.10));
  width: 100%;
  max-width: 460px;
}
.v2-hero-right .annotation {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  box-shadow: 0 6px 14px rgba(26,20,32,.06);
  z-index: 2;
  white-space: nowrap;
}
.v2-hero-right .a-top { top: 12px; left: -24px; }

@media (max-width: 880px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .v2-hero-right { min-height: 0; }
  .v2-hero-right .a-top { left: 0; }
}

/* ============================================================
   COME FUNZIONA — 3 macro-step
   ============================================================ */
.v2-macro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.v2-macro-step {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 20px;
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 280px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.v2-macro-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(26,20,32,.14);
}
.v2-macro-step.you {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.v2-macro-step.you:hover {
  box-shadow: 0 22px 40px -20px rgba(26,20,32,.45);
}
.v2-macro-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
}
.v2-macro-head .macro-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
}
.v2-macro-step.you .macro-num { color: var(--accent-300); }
.v2-macro-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--ink);
}
.v2-macro-step.you .v2-macro-head h3 { color: var(--paper); }
.v2-macro-head h3 em { font-style: italic; color: var(--aubergine); }
.v2-macro-step.you .v2-macro-head h3 em { color: var(--accent-300); }
.v2-macro-step .macro-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-macro-step.you .macro-lede { color: color-mix(in oklab, var(--paper) 82%, transparent); }
.v2-macro-step .macro-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.v2-macro-step.you .macro-sub { border-top-color: color-mix(in oklab, var(--paper) 18%, transparent); }
.v2-macro-step .macro-sub li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  text-wrap: pretty;
  position: relative;
  padding-left: 14px;
}
.v2-macro-step .macro-sub li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.v2-macro-step.you .macro-sub li { color: color-mix(in oklab, var(--paper) 80%, transparent); }

@media (max-width: 880px) {
  .v2-macro { grid-template-columns: 1fr; }
}

/* ============================================================
   COME FUNZIONA — 5-step flow
   ============================================================ */
.v2-flow {
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  padding: var(--s-10);
  position: relative;
  overflow: hidden;
}
.v2-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  position: relative;
}
.v2-flow-step {
  position: relative;
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: var(--bone);
  border-radius: 14px;
  min-height: 220px;
}
.v2-flow-step .num {
  width: 26px; height: 26px; border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  display: grid;
  place-items: center;
}
.v2-flow-step h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.005em;
}
.v2-flow-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-flow-step .who {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.v2-flow-step .who.you { color: var(--aubergine); }
.v2-flow-step .mini-vis {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .v2-flow-grid { grid-template-columns: 1fr 1fr; }
  .v2-flow { padding: var(--s-6); }
}
@media (max-width: 540px) {
  .v2-flow-grid { grid-template-columns: 1fr; }
}

/* mini UI fragments inside flow */
.frag-record {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: #B5523F;
}
.frag-record .dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: #B5523F;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .3; } }
.frag-record .meter {
  flex: 1;
  height: 14px;
  display: flex;
  gap: 1.5px;
  align-items: center;
}
.frag-record .meter span {
  display: block;
  width: 2px;
  background: var(--aubergine);
  border-radius: 99px;
}
.frag-text {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--aubergine);
  background: var(--paper);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid var(--mist);
}
.frag-doc {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.frag-doc .line { height: 3px; border-radius: 99px; background: var(--aubergine-200); }
.frag-doc .line.short { width: 60%; }
.frag-doc .line.shorter { width: 40%; }
.frag-edit {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 4px;
  padding: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--aubergine);
  display: flex;
  align-items: center;
  gap: 6px;
}
.frag-edit .caret { display: inline-block; width: 1.5px; height: 10px; background: var(--aubergine); animation: caret-blink 1s steps(2) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.frag-send {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--moss) 30%, transparent);
  border-radius: 4px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--moss);
  width: 100%;
}
.frag-send .check {
  width: 14px; height: 14px;
  border-radius: 99px;
  background: var(--moss);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 8px;
}

/* ============================================================
   CALLOUT "E se lavori in presenza?"
   ============================================================ */
.v2-callout {
  background: var(--saffron-100);
  border-left: 4px solid var(--saffron);
  border-radius: 0 14px 14px 0;
  padding: var(--s-6) var(--s-8);
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.v2-callout .callout-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--s-2);
}
.v2-callout .callout-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7E4A1C;
}
.v2-callout h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.v2-callout h3 em { font-style: italic; color: var(--aubergine); }
.v2-callout .callout-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  text-wrap: pretty;
  max-width: 75ch;
}
.v2-callout .callout-body em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--aubergine);
  font-weight: 500;
}
@media (max-width: 720px) {
  .v2-callout { padding: var(--s-5); }
}

/* ============================================================
   IN PRESENZA — two-card section
   ============================================================ */
.v2-inpersona-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-4);
}
.v2-inpersona-card {
  position: relative;
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 14px;
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 280px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.v2-inpersona-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(26,20,32,.14);
}
.v2-inpersona-card.primary {
  background: color-mix(in oklab, var(--aubergine) 6%, var(--paper));
  border-color: color-mix(in oklab, var(--aubergine) 18%, transparent);
}
.v2-inpersona-card.primary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--aubergine);
  border-radius: 14px 0 0 14px;
}
.v2-inpersona-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.v2-inpersona-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ink) 55%, transparent);
  align-self: flex-start;
}
.v2-inpersona-card.primary .v2-inpersona-tag {
  color: var(--aubergine);
}
.v2-inpersona-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.v2-inpersona-head h3 em {
  font-style: italic;
  color: var(--aubergine);
}
.v2-inpersona-body {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-inpersona-body em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--aubergine);
}
@media (max-width: 880px) {
  .v2-inpersona-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT — tabbed showcase
   ============================================================ */
.v2-product-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: var(--s-5);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  overflow-x: auto;
}
.v2-product-tab {
  padding: var(--s-3) var(--s-5);
  font-size: 14px;
  color: var(--stone);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color .15s;
  font-family: var(--sans);
}
.v2-product-tab .tab-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--stone);
  letter-spacing: .08em;
}
.v2-product-tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.v2-product-tab.active .tab-num { color: var(--accent); }
.v2-product-tab:hover:not(.active) { color: var(--ink); }

.v2-product-stage {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 24px;
  min-height: 480px;
  overflow: hidden;
}
.product-panel {
  display: none;
  padding: var(--s-10);
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--s-10);
  align-items: center;
  min-height: 480px;
}
.product-panel.active { display: grid; }

.product-panel .text {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.product-panel .text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
}
.product-panel .text h3 em { font-style: italic; color: var(--aubergine); }
.product-panel .text p { font-size: 15px; color: var(--slate); text-wrap: pretty; }
.product-panel .text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--s-3);
}
.product-panel .text ul li {
  font-size: 14px;
  color: var(--slate);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
}
.product-panel .text ul li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}
.product-panel .visual {
  background: var(--bone);
  border-radius: 14px;
  padding: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
@media (max-width: 880px) {
  .product-panel { grid-template-columns: 1fr; padding: var(--s-5); }
  .product-panel .visual { min-height: auto; }
  /* Let the text + visual cells shrink below their intrinsic min-content,
     so the heading and the mockup don't overflow the viewport on tablets. */
  .product-panel > * { min-width: 0; }
}
@media (max-width: 720px) {
  .v2-product-tabs { gap: 0; overflow-x: visible; }
  .v2-product-tab {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: var(--s-3) var(--s-2);
    font-size: 12.5px;
    gap: 6px;
  }
  .v2-product-tab .tab-num { font-size: 9.5px; }
}

/* ============================================================
   EMAIL MOMENT (Per il paziente) — S4
   ============================================================ */
.v2-email-moment {
  background: color-mix(in oklab, var(--saffron) 8%, var(--bone));
  padding: var(--s-16) 0;
  margin: var(--s-12) 0;
  position: relative;
  overflow: hidden;
}
.v2-email-moment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 10% 0%, color-mix(in oklab, var(--saffron) 14%, transparent), transparent 70%),
    radial-gradient(50% 40% at 90% 100%, color-mix(in oklab, var(--saffron) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.v2-moment-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-12);
  position: relative;
  z-index: 1;
}
.v2-moment-head .eyebrow { color: color-mix(in oklab, var(--ink) 60%, transparent); }
.v2-moment-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.022em;
  color: var(--ink);
  margin-top: var(--s-5);
  text-wrap: balance;
}
.v2-moment-head h2 em { font-style: italic; color: var(--aubergine); }
.v2-moment-head .lede {
  margin-top: var(--s-6);
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-moment-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-10);
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: var(--s-8);
}
.v2-moment-card {
  width: clamp(340px, 38vw, 520px);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease;
  transform: translateY(40px);
  opacity: 0;
}
.v2-email-moment.revealed .v2-moment-card {
  transform: translateY(0);
  opacity: 1;
}
.v2-moment-card .mockup-email { max-width: 100%; }
.v2-moment-card .email-window {
  box-shadow:
    0 60px 100px -40px rgba(26,20,32,.30),
    0 25px 50px -15px rgba(26,20,32,.14);
}
.v2-moment-aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.v2-email-moment.revealed .v2-moment-aside { opacity: 1; transform: translateY(0); }
.v2-moment-aside.left  { text-align: right;  transition-delay: .15s; }
.v2-moment-aside.right { text-align: left;   transition-delay: .3s; }
.moment-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-4) 0;
  border-top: 1px solid color-mix(in oklab, var(--aubergine) 22%, transparent);
}
.moment-fact:last-child { border-bottom: 1px solid color-mix(in oklab, var(--aubergine) 22%, transparent); }
.moment-fact .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 90%, var(--ink));
}
.moment-fact .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  text-wrap: pretty;
}
.v2-moment-foot {
  text-align: center;
  margin-top: var(--s-16);
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease .5s;
}
.v2-email-moment.revealed .v2-moment-foot { opacity: 1; }
.quote-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--aubergine);
  letter-spacing: -.005em;
  text-wrap: balance;
  max-width: 760px;
  margin: 0 auto;
}
.quote-line em { font-style: italic; color: var(--accent); }

@media (max-width: 1100px) {
  .v2-moment-stage {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .v2-moment-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    order: -1;
  }
  .v2-moment-aside.left, .v2-moment-aside.right { text-align: left; }
  .moment-fact { padding: var(--s-3) 0; }
  /* Avoid a double divider where aside.left and aside.right meet when stacked */
  .v2-moment-aside.left .moment-fact:last-child { border-bottom: none; }
}

/* ============================================================
   DIFFERENZIATORI — 6 principle cards
   ============================================================ */
.v2-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.v2-principle {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 18px;
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.v2-principle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -18px rgba(26,20,32,.16);
}
.v2-principle:nth-child(1),
.v2-principle:nth-child(4),
.v2-principle:nth-child(5) { background: var(--bone); }
.v2-principle .badge {
  width: 32px; height: 32px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-2);
}
.v2-principle h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.v2-principle h4 em { font-style: italic; color: var(--aubergine); }
.v2-principle p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
  text-wrap: pretty;
}
.v2-principle .corner-tag {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 720px) {
  .v2-principles { grid-template-columns: 1fr; }
}

/* ============================================================
   PRIVACY — dark section
   ============================================================ */
.v2-privacy {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: var(--s-16) var(--s-12);
  position: relative;
  overflow: hidden;
}
.v2-privacy-head { margin-bottom: var(--s-10); max-width: 60ch; }
.v2-privacy-head .eyebrow { color: var(--accent-300); }
.v2-privacy-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--paper);
  margin-top: var(--s-3);
  text-wrap: balance;
}
.v2-privacy-head h2 em { font-style: italic; color: var(--accent-300); }
.v2-privacy-head .lede {
  margin-top: var(--s-4);
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  font-size: 16px;
  text-wrap: pretty;
}
.v2-privacy-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: var(--s-10);
}
.v2-privacy-node {
  padding: var(--s-5);
  border-left: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.v2-privacy-node:first-child { border-left: none; padding-left: 0; }
.v2-privacy-node .step-marker {
  width: 30px; height: 30px;
  border-radius: 99px;
  background: color-mix(in oklab, var(--accent-300) 18%, transparent);
  color: var(--accent-300);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.v2-privacy-node h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  color: var(--paper);
}
.v2-privacy-node p {
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  text-wrap: pretty;
  line-height: 1.55;
}
.v2-privacy-node.danger { color: var(--accent-300); }
.v2-privacy-checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-8);
  border-top: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
}
.v2-privacy-checklist .check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.v2-privacy-checklist .check svg {
  width: 22px; height: 22px;
  color: var(--accent-300);
  flex-shrink: 0;
}
.v2-privacy-checklist .check h5 {
  font-weight: 500;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 2px;
}
.v2-privacy-checklist .check p {
  font-size: 12.5px;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
}
@media (max-width: 880px) {
  .v2-privacy { padding: var(--s-10) var(--s-6); }
  .v2-privacy-flow { grid-template-columns: 1fr 1fr; }
  .v2-privacy-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .v2-privacy-flow { grid-template-columns: 1fr; }
  .v2-privacy-node { border-left: none; border-top: 1px solid color-mix(in oklab, var(--paper) 18%, transparent); padding: var(--s-4) 0; }
  .v2-privacy-node:first-child { border-top: none; }
}

/* ============================================================
   COSA NON È — objection cards
   ============================================================ */
.v2-isnot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.v2-isnot-card {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 14px;
  padding: var(--s-6);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.v2-isnot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -14px rgba(26,20,32,.16);
}
.v2-isnot-card .x-mark,
.v2-isnot-card .x {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: color-mix(in oklab, #B5523F 14%, transparent);
  color: #B5523F;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-family: var(--mono);
  font-size: 14px;
  flex-shrink: 0;
}
.v2-isnot-card h4 {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}
.v2-isnot-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .v2-isnot { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING — shared features + simplified cards
   ============================================================ */
.v2-shared-feats {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 20px;
  padding: var(--s-10);
  margin-bottom: var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-10);
  align-items: start;
}
.v2-shared-head .eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.v2-shared-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.v2-shared-head h3 em { font-style: italic; color: var(--aubergine); }
.v2-shared-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px var(--s-6);
  padding: 0;
}
.v2-shared-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-shared-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 99px;
  background: color-mix(in oklab, var(--moss) 16%, transparent);
  background-image:
    linear-gradient(45deg,  transparent 38%, var(--moss) 38% 44%, transparent 44%),
    linear-gradient(-45deg, transparent 50%, var(--moss) 50% 64%, transparent 64%);
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: 2px 4px, 0 -2px;
}

.v2-pricing-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.v2-price-simple {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 20px;
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.v2-price-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -20px rgba(26,20,32,.20);
}
.v2-price-simple.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.v2-price-simple.featured:hover {
  box-shadow: 0 24px 40px -20px rgba(26,20,32,.45);
}
.v2-price-simple .badge-best {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
}
.v2-price-simple .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.v2-price-simple.featured .name { color: var(--paper); }
.v2-price-simple .name em { font-style: italic; color: var(--accent); }
.v2-price-simple.featured .name em { color: var(--accent-300); }
.v2-price-simple .price {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-top: var(--s-2);
}
.v2-price-simple.featured .price { color: var(--paper); }
.v2-price-simple .price-unit {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--stone);
  letter-spacing: .02em;
}
.v2-price-simple.featured .price-unit { color: var(--accent-300); }
.v2-price-simple .cta {
  margin-top: auto;
  align-self: stretch;
  background: var(--aubergine);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 99px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: background .15s;
}
.v2-price-simple .cta:hover { background: var(--aubergine-700); }
.v2-price-simple.featured .cta {
  background: var(--accent);
  color: var(--ink);
}
.v2-price-simple.featured .cta:hover {
  background: color-mix(in oklab, var(--accent) 86%, var(--ink));
}

.v2-pricing-foot {
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: var(--bone);
  border-radius: 12px;
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--slate);
}
.v2-pricing-foot strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--serif);
  font-style: italic;
}

@media (max-width: 880px) {
  .v2-shared-feats { grid-template-columns: 1fr; padding: var(--s-6); gap: var(--s-5); }
  .v2-shared-list  { grid-template-columns: 1fr; }
  .v2-pricing-simple { grid-template-columns: 1fr; }
}

/* ============================================================
   TECNOLOGIA — 4 trust cards
   ============================================================ */
.v2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.v2-trust-card {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 16px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.v2-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(26,20,32,.18);
}
.v2-trust-card .trust-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bone);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.v2-trust-card .trust-icon svg { width: 22px; height: 22px; }
.v2-trust-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}
.v2-trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  text-wrap: pretty;
}
.v2-tech-foot {
  margin-top: var(--s-6);
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.55;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}
.v2-tech-foot a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
}
.v2-tech-foot a:hover { color: var(--aubergine); border-bottom-color: currentColor; }

@media (max-width: 880px) { .v2-trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .v2-trust-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ — accordion
   ============================================================ */
.v2-faq { display: grid; gap: var(--s-2); }
.v2-faq details {
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 12px;
  padding: var(--s-5) var(--s-6);
}
.v2-faq summary {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  font-family: var(--sans);
}
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq .answer {
  margin-top: var(--s-3);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 80ch;
  text-wrap: pretty;
}

/* ============================================================
   FINAL CTA — dark card with form
   ============================================================ */
.v2-final {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: var(--s-16) var(--s-12);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.v2-final .pin {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-300);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.v2-final h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--paper);
  text-wrap: balance;
}
.v2-final h3 em { font-style: italic; color: var(--accent-300); }
.v2-final > div > p {
  margin-top: var(--s-4);
  max-width: 44ch;
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  text-wrap: pretty;
  font-size: 15px;
  line-height: 1.65;
}
.v2-final-card {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  border-radius: 18px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.v2-final-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
}
.v2-final-card .row:last-of-type { border-bottom: none; }
.v2-final-card .row strong { color: var(--paper); font-weight: 500; }

.v2-final-form {
  margin-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 65%, transparent);
}
.v2-final-form input[type="text"],
.v2-final-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.v2-final-form input[type="text"]::placeholder,
.v2-final-form input[type="email"]::placeholder { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.v2-final-form input[type="text"]:focus,
.v2-final-form input[type="email"]:focus {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--paper) 12%, transparent);
}
.v2-final-form .cta {
  margin-top: var(--s-2);
  background: var(--accent);
  color: var(--ink);
  padding: 13px 18px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  font-family: var(--sans);
  width: 100%;
}
.v2-final-form .cta:hover {
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--accent) 88%, var(--paper));
}
.v2-final-form .cta svg {
  animation: cta-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
.form-note {
  font-family: var(--mono);
  font-size: 11px;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  text-align: center;
  letter-spacing: .02em;
  max-width: 32ch;
  text-wrap: balance;
  margin: 0 auto;
}
.v2-final-success {
  display: none;
  margin-top: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
}
.v2-final-success.visible { display: grid; }
.v2-final-success .success-icon {
  width: 38px; height: 38px;
  border-radius: 99px;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.v2-final-success strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 6px;
}
.v2-final-success p {
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  font-size: 14px;
  line-height: 1.5;
}
.v2-final-success p em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--accent-300);
}

/* Custom checkboxes */
.v2-form-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.v2-check {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
}
.v2-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.v2-check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid color-mix(in oklab, var(--paper) 35%, transparent);
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  margin-top: 1px;
}
.v2-check input[type="checkbox"]:focus-visible + .v2-check-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.v2-check input[type="checkbox"]:checked + .v2-check-box {
  background: var(--aubergine-500);
  border-color: var(--aubergine-500);
  color: var(--paper);
}
.v2-check-text a {
  color: var(--accent-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.v2-check-text a:hover { color: var(--paper); }

/* form error / loading */
.form-error {
  display: none;
  font-size: 12.5px;
  color: #B5523F;
  font-family: var(--mono);
  text-align: center;
  padding: var(--s-2) 0;
}
.form-error.visible { display: block; }

.v2-final-form .cta:disabled,
.v2-final-form .cta[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

@media (max-width: 880px) {
  .v2-final { grid-template-columns: 1fr; padding: var(--s-10) var(--s-6); }
}

/* ============================================================
   MOCKUPS — Email
   ============================================================ */
.mockup-email { width: 100%; max-width: 520px; }
.email-window {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  box-shadow:
    0 30px 60px -30px rgba(26,20,32,.25),
    0 12px 30px -12px rgba(26,20,32,.12);
  overflow: hidden;
}
.email-chrome {
  background: var(--bone);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  padding: 14px 18px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
}
.email-chrome-dots { display: flex; gap: 6px; }
.email-chrome-dots span { width: 9px; height: 9px; border-radius: 99px; background: var(--mist); }
.email-chrome-from {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: var(--slate);
  overflow: hidden;
}
.from-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--stone);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.from-name { font-weight: 500; color: var(--ink); white-space: nowrap; }
.from-email { color: var(--stone); font-size: 11.5px; white-space: nowrap; }
.email-chrome-date { font-family: var(--mono); font-size: 11px; color: var(--stone); white-space: nowrap; }
.email-body { padding: var(--s-10) var(--s-10) var(--s-8); }
.email-mark { margin-bottom: var(--s-6); }
.email-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.email-greeting {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--aubergine);
  margin-bottom: var(--s-3);
}
.email-para {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: var(--s-4);
  text-wrap: pretty;
}
.email-para em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--aubergine);
  font-size: 15.5px;
}
.email-quote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border-radius: 0 8px 8px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
}
.email-quote span {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
}
.email-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  align-self: center;
  text-wrap: pretty;
}
.email-sign {
  font-size: 14.5px;
  color: var(--slate);
  margin-top: var(--s-5);
  line-height: 1.7;
}
.email-sign strong {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 18px;
}
.email-foot {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.email-foot p {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--stone);
  text-wrap: pretty;
}

/* ============================================================
   MOCKUPS — Editor
   ============================================================ */
.mockup-editor { width: 100%; }
.editor-window {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  box-shadow:
    0 40px 80px -40px rgba(26,20,32,.30),
    0 15px 35px -15px rgba(26,20,32,.12);
  overflow: hidden;
}
.editor-chrome {
  background: var(--bone);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 99px; background: var(--mist); }
.chrome-dots span:nth-child(1) { background: #E27D6F; opacity: .7; }
.chrome-dots span:nth-child(2) { background: #E4C062; opacity: .7; }
.chrome-dots span:nth-child(3) { background: #8FB39C; opacity: .7; }
.chrome-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  background: var(--paper);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--mist);
  justify-self: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chrome-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.editor-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  gap: var(--s-3);
}
.appbar-left { display: flex; align-items: center; gap: var(--s-3); min-width: 0; flex: 1 1 auto; }
.appbar-crumbs { font-size: 13px; color: var(--slate); min-width: 0; }
.appbar-crumbs strong { color: var(--ink); font-weight: 500; }
.appbar-right { display: flex; align-items: center; gap: var(--s-3); }
.appbar-status {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--moss);
  letter-spacing: .04em;
  white-space: nowrap;
}
.editor-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.editor-side {
  background: var(--bone);
  padding: var(--s-5);
  border-right: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.side-section { display: flex; flex-direction: column; gap: var(--s-2); }
.side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.side-audio {
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-audio-name { font-family: var(--mono); font-size: 11px; color: var(--ink); }
.side-audio-status { font-size: 10px; color: var(--stone); }
.side-audio-meter { height: 3px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.side-audio-meter span { display: block; height: 100%; background: var(--moss); }
.side-prompt {
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate);
}
.side-prompt p { margin-bottom: 6px; text-wrap: pretty; }
.side-edit {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .04em;
}
.side-note {
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-style: italic;
  color: var(--slate);
  font-family: var(--serif);
  border-left: 2px solid var(--accent);
}
.editor-doc {
  padding: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.doc-toolbar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-6);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  background: color-mix(in oklab, var(--bone) 50%, var(--paper));
}
.tool {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--slate);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.tool:hover { background: var(--bone); }
.tool.italic { font-family: var(--serif); font-style: italic; }
.tool.underline { text-decoration: underline; }
.tool-divider { width: 1px; height: 16px; background: var(--mist); }
.doc-page {
  padding: var(--s-8) var(--s-10);
  max-width: 600px;
}
.doc-page h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: var(--s-4);
  color: var(--ink);
  letter-spacing: -.01em;
}
.doc-page p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: var(--s-3);
  text-wrap: pretty;
}
.doc-page p em { font-family: var(--serif); font-style: italic; color: var(--aubergine); }
.doc-edited {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border-radius: 2px;
  padding: 0 2px;
}
.doc-active {
  background: color-mix(in oklab, var(--aubergine-200) 40%, transparent);
  border-radius: 4px;
  padding: 2px 4px;
}
.doc-caret {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: var(--aubergine);
  margin-left: 2px;
  vertical-align: middle;
  animation: caret-blink 1s steps(2) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.doc-comment {
  margin-top: var(--s-5);
  padding: var(--s-3) var(--s-4);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.doc-comment-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.doc-comment-text { font-size: 12px; font-style: italic; color: var(--slate); }

/* ============================================================
   MOCKUPS — Dashboard
   ============================================================ */
.mockup-dashboard { width: 100%; }
.dashboard-window {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  box-shadow:
    0 40px 80px -40px rgba(26,20,32,.30),
    0 15px 35px -15px rgba(26,20,32,.12);
  overflow: hidden;
}
.dash-grid { display: grid; grid-template-columns: 200px 1fr; }
.dash-nav {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 360px;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.02em;
  margin-bottom: var(--s-5);
  padding: 0 4px;
}
.dash-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  display: block;
  text-decoration: none;
  cursor: default;
}
.dash-nav a.active { background: color-mix(in oklab, var(--paper) 10%, transparent); color: var(--paper); }
.dash-nav-foot { margin-top: auto; padding-top: var(--s-5); }
.dash-credits {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.dash-credits-num {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--paper);
  font-weight: 500;
}
.dash-credits-label {
  font-family: var(--mono);
  font-size: 10px;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
  letter-spacing: .04em;
}
.dash-main { padding: var(--s-6) var(--s-8); }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--s-5);
}
.dash-head h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.dash-head p { font-size: 12.5px; color: var(--stone); }
.dash-table {
  border: 1px solid color-mix(in oklab, var(--ink) 6%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.dash-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  padding: var(--s-3) var(--s-4);
  font-size: 13px;
  color: var(--slate);
  align-items: center;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 4%, transparent);
}
.dash-row:last-child { border-bottom: none; }
.dash-row-head {
  background: var(--bone);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 10px var(--s-4);
}
.dash-name { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.avatar {
  width: 26px; height: 26px;
  border-radius: 99px;
  background: var(--lavender-fog);
  color: var(--aubergine);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tag-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 99px;
}
.tag-status.ok     { background: var(--moss-100);     color: var(--moss); }
.tag-status.warn   { background: var(--saffron-100);  color: #7E4A1C; }
.tag-status.saffron{ background: var(--saffron-100);  color: #7E4A1C; }
.tag-status.moss   { background: var(--moss-100);     color: var(--moss); }
.tag-status.muted  { background: var(--mist);          color: var(--stone); }

@media (max-width: 720px) {
  .editor-grid { grid-template-columns: 1fr; }
  .editor-side { border-right: none; border-bottom: 1px solid color-mix(in oklab, var(--ink) 6%, transparent); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .chrome-meta { display: none; }
  .appbar-right .btn-soft { display: none; }
  .doc-page { padding: var(--s-5); }
  .dash-main { padding: var(--s-4); }
}
@media (max-width: 540px) {
  .dash-row { grid-template-columns: 1fr 1fr; }
  .dash-row > span:nth-child(3),
  .dash-row > span:nth-child(4) { display: none; }
  .dash-row-head > span:nth-child(3),
  .dash-row-head > span:nth-child(4) { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: var(--s-20);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-20) var(--s-8) var(--s-12);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--s-12);
}
.footer-brand img {
  filter: brightness(0) invert(1) sepia(.1) saturate(.7);
  opacity: .95;
}
.footer-lede {
  margin-top: var(--s-5);
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  max-width: 36ch;
  font-size: 14.5px;
}
.footer-address {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 65%, transparent);
}
.footer-address-row strong { color: color-mix(in oklab, var(--paper) 92%, transparent); font-weight: 500; }
.footer-address-row a {
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
}
.footer-address-row a:hover { color: var(--saffron-300); border-bottom-color: currentColor; }
.footer-meta {
  margin-top: var(--s-5);
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--saffron-300); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-col-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-300);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bar {
  border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.footer-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-6) var(--s-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.footer-bar-inner .cookie-prefs {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: .04em;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.footer-bar-inner .cookie-prefs:hover,
.footer-bar-inner .cookie-prefs:focus-visible {
  color: var(--paper);
  border-bottom-color: color-mix(in oklab, var(--paper) 40%, transparent);
  outline: none;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--s-10); }
  .footer-cols  { grid-template-columns: 1fr 1fr; }
  .footer-bar-inner { flex-direction: column; gap: var(--s-3); align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}
