/* =========================================================================
   Simulatore PMP — site.css
   Combined port of Castro & Partners Design Tokens (tokens.css) +
   Simulatore PMP site styles (site.css) from the approved design bundle.

   Port notes:
   - Google Fonts import removed from tokens.css
     (fonts loaded via functions.php wp_head preload+swap pattern)
   - tokens.css import removed from site.css
     (tokens.css content inlined at top of this file)
   - Two extra rules appended at end for mobile nav open state and PMI disclaimer
   ========================================================================= */

/* =========================================================================
   Castro & Partners — Design Tokens (tokens.css — near-verbatim port)
   Colors, typography, spacing, radii, shadows.
   ========================================================================= */

:root {
  /* ---------------------------------------------------------------------
     Color — Brand
     The primary navy is sampled directly from the brand mark (#004F85).
     The deep-blue family is the only colored hue in the system; everything
     else is grayscale. This restraint is intentional — it reads as
     "consulting/finance" rather than "tech startup".
     --------------------------------------------------------------------- */
  --cp-brand-900: #00263F;   /* darkest navy — deep accents, body on light */
  --cp-brand-800: #003560;
  --cp-brand-700: #004F85;   /* PRIMARY brand blue (from logo)            */
  --cp-brand-600: #1A6BA0;
  --cp-brand-500: #4A8EBC;
  --cp-brand-400: #82B0D2;
  --cp-brand-300: #B6D0E3;
  --cp-brand-200: #DCE8F1;
  --cp-brand-100: #EEF4F8;   /* faint wash — section backgrounds          */
  --cp-brand-050: #F6F9FB;

  /* ---------------------------------------------------------------------
     Color — Neutrals
     A long, even grayscale. Black is used liberally for headings; white is
     the dominant surface.
     --------------------------------------------------------------------- */
  --cp-ink:        #0B0B0C;  /* near-black — headings, wordmark           */
  --cp-ink-2:      #1A1A1C;  /* body text                                 */
  --cp-gray-900:   #2B2B2E;
  --cp-gray-800:   #444448;
  --cp-gray-700:   #5C5C61;
  --cp-gray-600:   #757579;  /* secondary text                            */
  --cp-gray-500:   #9A9A9E;
  --cp-gray-400:   #BDBDC1;  /* hairline borders                          */
  --cp-gray-300:   #D9D9DC;
  --cp-gray-200:   #EAEAEC;
  --cp-gray-100:   #F2F2F4;  /* card backgrounds on white                 */
  --cp-gray-050:   #F8F8FA;
  --cp-white:      #FFFFFF;

  /* ---------------------------------------------------------------------
     Color — Semantic / status (used sparingly — mostly in UI kit forms)
     --------------------------------------------------------------------- */
  --cp-success:    #1F8A5B;
  --cp-warning:    #C68A1F;
  --cp-danger:     #B23B3B;
  --cp-info:       var(--cp-brand-700);

  /* ---------------------------------------------------------------------
     Foreground / background semantic aliases
     --------------------------------------------------------------------- */
  --cp-fg-1:       var(--cp-ink);          /* primary text                */
  --cp-fg-2:       var(--cp-gray-700);     /* secondary text              */
  --cp-fg-3:       var(--cp-gray-600);     /* tertiary, captions          */
  --cp-fg-invert:  var(--cp-white);
  --cp-fg-accent:  var(--cp-brand-700);

  --cp-bg-1:       var(--cp-white);        /* base surface                */
  --cp-bg-2:       var(--cp-gray-050);     /* alt surface                 */
  --cp-bg-3:       var(--cp-gray-100);
  --cp-bg-dark:    var(--cp-brand-900);    /* dark hero / footer          */
  --cp-bg-accent:  var(--cp-brand-700);

  --cp-border:     var(--cp-gray-300);
  --cp-border-strong: var(--cp-gray-400);
  --cp-border-accent: var(--cp-brand-700);

  /* ---------------------------------------------------------------------
     Type
     --------------------------------------------------------------------- */
  --cp-font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --cp-font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --cp-font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Display weights (matching the heavy wordmark) */
  --cp-w-regular:  400;
  --cp-w-medium:   500;
  --cp-w-semibold: 600;
  --cp-w-bold:     700;
  --cp-w-xbold:    800;
  --cp-w-black:    900;

  /* Type scale (1.25 modular — designed for 16px base) */
  --cp-fs-12:  0.75rem;   /* 12px caption / micro                          */
  --cp-fs-14:  0.875rem;  /* 14px UI label                                 */
  --cp-fs-16:  1rem;      /* 16px body                                     */
  --cp-fs-18:  1.125rem;  /* 18px body lead                                */
  --cp-fs-20:  1.25rem;
  --cp-fs-24:  1.5rem;    /* h5                                            */
  --cp-fs-28:  1.75rem;   /* h4                                            */
  --cp-fs-32:  2rem;      /* h3                                            */
  --cp-fs-40:  2.5rem;    /* h2                                            */
  --cp-fs-56:  3.5rem;    /* h1                                            */
  --cp-fs-72:  4.5rem;    /* hero display                                  */

  --cp-lh-tight:  1.08;
  --cp-lh-snug:   1.2;
  --cp-lh-normal: 1.45;
  --cp-lh-relaxed: 1.6;

  --cp-tracking-tight: -0.01em;
  --cp-tracking-wide:  0.04em;
  --cp-tracking-wider: 0.12em;  /* small eyebrow labels                    */

  /* ---------------------------------------------------------------------
     Spacing — 4px base
     --------------------------------------------------------------------- */
  --cp-space-1:  4px;
  --cp-space-2:  8px;
  --cp-space-3:  12px;
  --cp-space-4:  16px;
  --cp-space-5:  20px;
  --cp-space-6:  24px;
  --cp-space-8:  32px;
  --cp-space-10: 40px;
  --cp-space-12: 48px;
  --cp-space-16: 64px;
  --cp-space-20: 80px;
  --cp-space-24: 96px;
  --cp-space-32: 128px;

  /* ---------------------------------------------------------------------
     Radii — Italian-corporate restraint. Mostly rectangular.
     --------------------------------------------------------------------- */
  --cp-radius-0:    0px;     /* default for buttons / hero blocks         */
  --cp-radius-sm:   2px;     /* fields, chips                             */
  --cp-radius-md:   4px;     /* cards                                     */
  --cp-radius-lg:   8px;     /* large feature cards                       */
  --cp-radius-pill: 999px;   /* tags, status pills                        */

  /* ---------------------------------------------------------------------
     Shadows — subtle, never glow-y
     --------------------------------------------------------------------- */
  --cp-shadow-1: 0 1px 2px rgba(11, 11, 12, 0.04), 0 1px 1px rgba(11, 11, 12, 0.06);
  --cp-shadow-2: 0 2px 6px rgba(11, 11, 12, 0.06), 0 4px 12px rgba(11, 11, 12, 0.06);
  --cp-shadow-3: 0 6px 16px rgba(11, 11, 12, 0.08), 0 12px 28px rgba(11, 11, 12, 0.08);
  --cp-shadow-focus: 0 0 0 3px rgba(0, 79, 133, 0.25);

  /* ---------------------------------------------------------------------
     Motion
     --------------------------------------------------------------------- */
  --cp-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --cp-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --cp-dur-fast: 120ms;
  --cp-dur-base: 200ms;
  --cp-dur-slow: 360ms;

  /* ---------------------------------------------------------------------
     Layout
     --------------------------------------------------------------------- */
  --cp-container-narrow: 880px;
  --cp-container:        1200px;
  --cp-container-wide:   1400px;
}

/* =========================================================================
   Semantic typography — defaults for raw HTML elements (from tokens.css)
   ========================================================================= */

html, body {
  font-family: var(--cp-font-body);
  font-size: var(--cp-fs-16);
  line-height: var(--cp-lh-normal);
  color: var(--cp-fg-1);
  background: var(--cp-bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .cp-display {
  font-family: var(--cp-font-display);
  color: var(--cp-fg-1);
  margin: 0;
  text-wrap: balance;
}

.cp-display, h1 {
  font-size: var(--cp-fs-56);
  font-weight: var(--cp-w-black);
  line-height: var(--cp-lh-tight);
  letter-spacing: var(--cp-tracking-tight);
}

h2 {
  font-size: var(--cp-fs-40);
  font-weight: var(--cp-w-xbold);
  line-height: var(--cp-lh-snug);
  letter-spacing: var(--cp-tracking-tight);
}

h3 {
  font-size: var(--cp-fs-32);
  font-weight: var(--cp-w-bold);
  line-height: var(--cp-lh-snug);
}

h4 {
  font-size: var(--cp-fs-24);
  font-weight: var(--cp-w-bold);
  line-height: var(--cp-lh-snug);
}

h5 {
  font-size: var(--cp-fs-20);
  font-weight: var(--cp-w-semibold);
  line-height: var(--cp-lh-snug);
}

h6, .cp-eyebrow {
  font-size: var(--cp-fs-14);
  font-weight: var(--cp-w-bold);
  line-height: var(--cp-lh-normal);
  letter-spacing: var(--cp-tracking-wider);
  text-transform: uppercase;
  color: var(--cp-brand-700);
}

p, .cp-body {
  font-size: var(--cp-fs-16);
  line-height: var(--cp-lh-relaxed);
  color: var(--cp-fg-2);
  margin: 0 0 var(--cp-space-4);
}

.cp-lead {
  font-size: var(--cp-fs-20);
  line-height: var(--cp-lh-relaxed);
  color: var(--cp-fg-2);
  font-weight: var(--cp-w-regular);
}

.cp-caption {
  font-size: var(--cp-fs-12);
  line-height: var(--cp-lh-normal);
  color: var(--cp-fg-3);
  letter-spacing: var(--cp-tracking-wide);
  text-transform: uppercase;
}

small, .cp-small {
  font-size: var(--cp-fs-14);
  color: var(--cp-fg-3);
}

code, .cp-mono {
  font-family: var(--cp-font-mono);
  font-size: 0.9em;
}

a {
  color: var(--cp-brand-700);
  text-decoration: none;
  transition: color var(--cp-dur-fast) var(--cp-ease-out);
}
a:hover { color: var(--cp-brand-800); text-decoration: underline; }

/* =========================================================================
   Simulatore PMP — Site styles (site.css — near-verbatim port)
   Extends Castro & Partners design tokens with a SaaS product layer.
   ========================================================================= */

:root {
  /* SaaS accent layer — sits ON TOP of the Castro & Partners palette.
     Keep brand-700 as the primary; these are highlights & UI accents only. */
  --sim-accent:        #00B8D9;   /* electric cyan — "digital / product"  */
  --sim-accent-soft:   #E5F8FC;
  --sim-accent-deep:   #006B85;
  --sim-highlight:     #FFB020;   /* warm amber — best value / urgency    */
  --sim-highlight-soft:#FFF4DE;
  --sim-success:       #1F8A5B;
  --sim-success-soft:  #E3F4EB;
  --sim-danger:        #B23B3B;

  /* Product UI surfaces (the mock dashboard cards) */
  --sim-ui-bg:         #F5F7FA;
  --sim-ui-card:       #FFFFFF;
  --sim-ui-border:     #E3E7EE;
  --sim-ui-ink:        #0B1B2B;

  /* Brand gradient (subtle, used in feature heroes) */
  --sim-grad-hero:     linear-gradient(135deg, #003560 0%, #004F85 60%, #1A6BA0 100%);
  --sim-grad-soft:     linear-gradient(180deg, #F6F9FB 0%, #FFFFFF 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--cp-font-body);
  background: var(--cp-bg-1);
  color: var(--cp-fg-1);
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; }
a { color: var(--cp-brand-700); text-decoration: none; }
a:hover { color: var(--cp-brand-800); text-decoration: underline; }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--cp-container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--cp-container-narrow); }
.container--wide   { max-width: var(--cp-container-wide); }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt   { background: var(--cp-brand-100); }
.section--soft  { background: var(--cp-bg-2); }
.section--dark  { background: var(--cp-brand-900); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--cp-font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cp-brand-700);
  margin-bottom: 18px;
}
.eyebrow--on-dark { color: var(--sim-accent); }
.eyebrow--accent  { color: var(--sim-accent-deep); }

h1, h2, h3, h4, h5, h6 { font-family: var(--cp-font-display); color: var(--cp-ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.1;  letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.2;  letter-spacing: -0.005em; }
h4 { font-size: 20px; font-weight: 700; line-height: 1.3; }

p { line-height: 1.65; color: var(--cp-fg-2); margin: 0 0 16px; font-size: 16px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--cp-fg-2); }
.section--dark p, .section--dark .lead { color: rgba(255,255,255,0.85); }

ul, ol { padding-left: 22px; }
ul li, ol li { line-height: 1.7; color: var(--cp-fg-2); margin-bottom: 4px; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-hdr {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--cp-border);
}
.site-hdr__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.site-hdr__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.site-hdr__brand:hover { text-decoration: none; }
.site-hdr__logo { height: 40px; width: 40px; display: block; flex: 0 0 auto; }
.site-hdr__name {
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--cp-ink);
}
.site-hdr__name-pmp { color: var(--cp-brand-700); }
.site-hdr__badge {
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cp-brand-700);
  padding: 5px 10px;
  background: var(--cp-brand-100);
  border-radius: 3px;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav__item {
  position: relative;
  font-family: var(--cp-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--cp-fg-1);
  cursor: pointer;
  padding: 8px 0;
  background: none; border: none;
  text-decoration: none;
}
.site-nav__item:hover, .site-nav__item.is-active { color: var(--cp-brand-700); text-decoration: none; }
.site-nav__item.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--cp-brand-700);
}
.site-nav__item--has-menu::after { content: " ▾"; font-size: 9px; opacity: 0.5; }
.site-nav__group { position: relative; }
.site-nav__menu {
  position: absolute; top: calc(100% + 6px); left: -16px;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--cp-border);
  box-shadow: var(--cp-shadow-3);
  padding: 10px 0;
  z-index: 100;
  display: none;
}
.site-nav__menu a {
  display: block; padding: 10px 18px;
  font-size: 13px; color: var(--cp-fg-1); font-weight: 500;
}
.site-nav__menu a:hover { background: var(--cp-brand-100); color: var(--cp-brand-700); text-decoration: none; }
.site-nav__menu .site-nav__menu-sub {
  font-size: 10.5px; color: var(--cp-fg-3); text-transform: uppercase; letter-spacing: 0.12em;
  padding: 14px 18px 6px;
}
.site-nav__group:hover .site-nav__menu { display: block; }

.mobile-nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; align-items: center; justify-content: center;
}
.mobile-nav-toggle__bar {
  display: block; width: 22px; height: 2px;
  background: var(--cp-ink); border-radius: 2px;
  transition: transform var(--cp-dur-fast) var(--cp-ease-out), opacity var(--cp-dur-fast) var(--cp-ease-out);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cp-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--cp-dur-fast) var(--cp-ease-out), color var(--cp-dur-fast) var(--cp-ease-out), box-shadow var(--cp-dur-base) var(--cp-ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--cp-brand-700); color: #fff;
  box-shadow: 0 2px 0 var(--cp-brand-900);
}
.btn--primary:hover { background: var(--cp-brand-800); color: #fff; text-decoration: none; box-shadow: 0 4px 0 var(--cp-brand-900); }
.btn--primary:active { box-shadow: 0 0 0 var(--cp-brand-900); transform: translateY(2px); }

.btn--accent {
  background: var(--sim-accent); color: var(--sim-ui-ink);
  box-shadow: 0 2px 0 var(--sim-accent-deep);
}
.btn--accent:hover { background: #00A6C4; color: var(--sim-ui-ink); text-decoration: none; box-shadow: 0 4px 0 var(--sim-accent-deep); }

.btn--secondary {
  background: transparent; color: var(--cp-brand-700);
  border: 1.5px solid var(--cp-brand-700);
  padding: 13.5px 24.5px;
}
.btn--secondary:hover { background: var(--cp-brand-700); color: #fff; text-decoration: none; }

.btn--ghost { background: transparent; color: var(--cp-brand-700); padding: 14px 8px; }
.btn--ghost:hover { color: var(--cp-brand-800); text-decoration: underline; }

.btn--on-dark { background: #fff; color: var(--cp-brand-900); box-shadow: none; }
.btn--on-dark:hover { background: var(--sim-accent); color: var(--sim-ui-ink); }

.btn--lg { padding: 18px 34px; font-size: 14px; }
.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--block { display: flex; justify-content: center; width: 100%; }

.btn .arrow { display: inline-block; transition: transform var(--cp-dur-fast) var(--cp-ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero { padding: 72px 0 88px; background: var(--sim-grad-soft); position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__title { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 22px; }
.hero__title .hl {
  background: linear-gradient(180deg, transparent 64%, var(--sim-accent-soft) 64%);
  padding: 0 2px;
}
.hero__lead { font-size: 20px; line-height: 1.55; color: var(--cp-fg-2); margin: 0 0 36px; max-width: 30ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--cp-fg-3); }
.hero__trust .stars { color: var(--sim-highlight); letter-spacing: 0.04em; font-size: 14px; }
.hero__trust strong { color: var(--cp-fg-1); font-weight: 600; }

.hero__media { position: relative; }

/* -------------------------------------------------------------------------
   Product UI mockup ("screenshot" rendered in HTML) — .uiwin
   ------------------------------------------------------------------------- */
.uiwin {
  background: var(--sim-ui-card);
  border: 1px solid var(--sim-ui-border);
  border-radius: 10px;
  box-shadow: var(--cp-shadow-3);
  overflow: hidden;
  font-family: var(--cp-font-body);
  color: var(--sim-ui-ink);
}
.uiwin__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: #F1F4F8; border-bottom: 1px solid var(--sim-ui-border);
}
.uiwin__dots { display: flex; gap: 6px; }
.uiwin__dot { width: 11px; height: 11px; border-radius: 50%; background: #D9DEE5; }
.uiwin__dot--r { background: #F0816B; }
.uiwin__dot--y { background: #F4C95A; }
.uiwin__dot--g { background: #74C28A; }
.uiwin__addr {
  flex: 1; font-size: 11px; color: #5C6878;
  background: #fff; border-radius: 4px; padding: 5px 10px;
  border: 1px solid var(--sim-ui-border);
}
.uiwin__body { padding: 22px 26px; }

/* Sub-components for mock screens */
.qstate { display:flex; gap:18px; align-items:center; margin-bottom:18px; }
.qstate__pill {
  font-family: var(--cp-font-display); font-weight: 800; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cp-brand-700); background: var(--cp-brand-100);
  padding: 5px 9px; border-radius: 999px;
}
.qstate__time { margin-left:auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sim-ui-ink); font-size: 13px; }
.qstate__time::before { content:"⏱ "; opacity:0.6; }
.qprogress { height: 6px; background: #EEF2F7; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.qprogress > i { display:block; height:100%; background: linear-gradient(90deg, var(--cp-brand-700), var(--sim-accent)); border-radius: 999px; }
.qtext {
  font-family: var(--cp-font-display); font-weight: 700;
  font-size: 16px; line-height: 1.4; color: var(--sim-ui-ink);
  margin-bottom: 18px;
}
.qopts { display: grid; gap: 8px; }
.qopt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--sim-ui-border);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--sim-ui-ink);
  background: #fff;
}
.qopt__k {
  width: 22px; height: 22px; border-radius: 6px;
  background: #EEF2F7; color: #5C6878;
  display: grid; place-items: center;
  font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.qopt--correct { background: var(--sim-success-soft); border-color: var(--sim-success); }
.qopt--correct .qopt__k { background: var(--sim-success); color: #fff; }
.qopt--correct::after { content:"✓"; margin-left:auto; color: var(--sim-success); font-weight: 700; }
.qopt--selected { background: var(--cp-brand-100); border-color: var(--cp-brand-700); }
.qopt--selected .qopt__k { background: var(--cp-brand-700); color: #fff; }

/* Score / stat tiles */
.tile {
  background: var(--sim-ui-card); border: 1px solid var(--sim-ui-border);
  border-radius: 10px; padding: 18px 20px;
}
.tile__lbl { font-size: 11px; color: #5C6878; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.tile__big { font-family: var(--cp-font-display); font-weight: 900; font-size: 30px; color: var(--sim-ui-ink); letter-spacing: -0.01em; line-height: 1; }
.tile__sub { font-size: 12px; color: #5C6878; margin-top: 6px; }
.tile__bar { height: 6px; background: #EEF2F7; border-radius: 999px; overflow: hidden; margin-top: 12px; }
.tile__bar > i { display:block; height:100%; background: var(--cp-brand-700); }
.tile__bar > i.good { background: var(--sim-success); }
.tile__bar > i.warn { background: var(--sim-highlight); }

/* -------------------------------------------------------------------------
   Floating SaaS hero "label" — .floatchip
   ------------------------------------------------------------------------- */
.floatchip {
  position: absolute;
  background: #fff; border: 1px solid var(--sim-ui-border);
  border-radius: 12px; box-shadow: var(--cp-shadow-2);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  font-family: var(--cp-font-body); font-size: 13px; color: var(--sim-ui-ink);
  white-space: nowrap;
}
.floatchip__ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--sim-accent-soft); color: var(--sim-accent-deep);
  display: grid; place-items: center;
  font-weight: 800;
}
.floatchip__num { font-family: var(--cp-font-display); font-weight: 900; font-size: 18px; color: var(--sim-ui-ink); line-height: 1; }
.floatchip__lbl { font-size: 11px; color: #5C6878; letter-spacing: 0.04em; margin-top: 2px; }

/* -------------------------------------------------------------------------
   Logos / press strip
   ------------------------------------------------------------------------- */
.logostrip {
  display: flex; flex-wrap: wrap; gap: 40px 64px;
  justify-content: center; align-items: center;
  filter: grayscale(1); opacity: 0.7;
}
.logostrip__item {
  font-family: var(--cp-font-display);
  font-weight: 800; font-size: 18px;
  color: var(--cp-gray-700);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.logostrip__item--serif { font-family: Georgia, serif; font-weight: 700; text-transform: none; }

/* -------------------------------------------------------------------------
   Feature grid (3 cards / row) — .feat
   ------------------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat {
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow var(--cp-dur-base) var(--cp-ease-out), border-color var(--cp-dur-base) var(--cp-ease-out);
  text-decoration: none;
  color: inherit;
}
.feat:hover { box-shadow: var(--cp-shadow-3); border-color: var(--cp-brand-300); text-decoration: none; }
.feat__ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cp-brand-100); color: var(--cp-brand-700);
  display: grid; place-items: center; margin-bottom: 6px;
}
.feat__ico svg { width: 22px; height: 22px; }
.feat__h { font-family: var(--cp-font-display); font-weight: 800; font-size: 19px; color: var(--cp-ink); margin: 0; letter-spacing: -0.005em; }
.feat__p { font-size: 14.5px; line-height: 1.55; color: var(--cp-fg-2); margin: 0; }
.feat__link {
  font-family: var(--cp-font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cp-brand-700); margin-top: auto; padding-top: 8px;
}
.feat__link .arrow { display: inline-block; transition: transform var(--cp-dur-fast) var(--cp-ease-out); }
.feat:hover .feat__link .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   Stat bar — .stats
   ------------------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--cp-border); border-radius: 10px;
  background: #fff; overflow: hidden;
}
.stat { padding: 32px 28px; border-right: 1px solid var(--cp-border); }
.stat:last-child { border-right: none; }
.stat__big {
  font-family: var(--cp-font-display); font-weight: 900;
  font-size: 44px; line-height: 1; letter-spacing: -0.02em;
  color: var(--cp-brand-700);
}
.stat__lbl { margin-top: 8px; font-size: 13.5px; color: var(--cp-fg-2); line-height: 1.4; }

/* -------------------------------------------------------------------------
   Steps (numbered, "Come funziona") — .steps
   ------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.step { padding-top: 22px; border-top: 3px solid var(--cp-brand-700); }
.step__num {
  font-family: var(--cp-font-display); font-weight: 900;
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--cp-brand-700); margin-bottom: 12px;
}
.step__h { font-family: var(--cp-font-display); font-weight: 800; font-size: 22px; color: var(--cp-ink); margin: 0 0 8px; letter-spacing: -0.005em; }
.step__p { font-size: 14.5px; color: var(--cp-fg-2); margin: 0; line-height: 1.6; }

/* -------------------------------------------------------------------------
   Testimonial
   ------------------------------------------------------------------------- */
.quotegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: #fff; border: 1px solid var(--cp-border);
  border-radius: 8px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote__stars { color: var(--sim-highlight); letter-spacing: 0.06em; font-size: 14px; }
.quote__text { font-family: var(--cp-font-display); font-weight: 600; font-size: 17px; line-height: 1.45; color: var(--cp-ink); margin: 0; letter-spacing: -0.005em; }
.quote__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cp-brand-100); color: var(--cp-brand-700);
  display: grid; place-items: center;
  font-family: var(--cp-font-display); font-weight: 800; font-size: 13px;
}
.quote__name { font-size: 13.5px; color: var(--cp-ink); font-weight: 600; line-height: 1.3; }
.quote__role { font-size: 12px; color: var(--cp-fg-3); line-height: 1.3; }

/* -------------------------------------------------------------------------
   Pricing cards — .price
   ------------------------------------------------------------------------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.price {
  background: #fff; border: 1px solid var(--cp-border);
  border-radius: 12px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: box-shadow var(--cp-dur-base) var(--cp-ease-out), transform var(--cp-dur-base) var(--cp-ease-out);
}
.price:hover { box-shadow: var(--cp-shadow-3); }
.price--featured {
  border: 2px solid var(--cp-brand-700);
  box-shadow: var(--cp-shadow-2);
}
.price__badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--sim-highlight); color: var(--sim-ui-ink);
  font-family: var(--cp-font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
}
.price__name {
  font-family: var(--cp-font-display); font-weight: 800; font-size: 22px;
  color: var(--cp-ink); margin: 0; letter-spacing: -0.005em;
}
.price__sub { font-size: 14px; color: var(--cp-fg-3); margin: -8px 0 0; }
.price__amount {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--cp-font-display); font-weight: 900;
  color: var(--cp-ink); letter-spacing: -0.02em;
}
.price__amount .val { font-size: 56px; line-height: 1; }
.price__amount .cur { font-size: 28px; opacity: 0.6; font-weight: 700; }
.price__amount .per { font-size: 14px; color: var(--cp-fg-3); margin-left: 8px; font-weight: 500; letter-spacing: 0; }
.price__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.5; color: var(--cp-fg-2);
}
.price__list li::before {
  content: "✓"; color: var(--sim-success); font-weight: 800;
  flex-shrink: 0; margin-top: 1px;
}
.price__list li.x::before { content: "—"; color: var(--cp-gray-400); }

/* -------------------------------------------------------------------------
   FAQ / Accordion — .faqitem
   ------------------------------------------------------------------------- */
.faqlist { display: flex; flex-direction: column; }
.faqitem { border-bottom: 1px solid var(--cp-border); }
.faqitem summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--cp-font-display); font-weight: 700;
  font-size: 18px; color: var(--cp-ink); letter-spacing: -0.005em;
  gap: 24px;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after {
  content: "+";
  font-family: var(--cp-font-display); font-weight: 700;
  font-size: 24px; color: var(--cp-brand-700);
  width: 28px; height: 28px; display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform var(--cp-dur-base) var(--cp-ease-out);
}
.faqitem[open] summary::after { transform: rotate(45deg); }
.faqitem__body { padding: 0 0 22px; max-width: 70ch; }
.faqitem__body p { margin: 0 0 12px; }

/* -------------------------------------------------------------------------
   Blog cards (FAQ articles) — .blog-card
   ------------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid var(--cp-border);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--cp-dur-base) var(--cp-ease-out);
  text-decoration: none; color: inherit;
}
.blog-card:hover { box-shadow: var(--cp-shadow-3); text-decoration: none; }
.blog-card__cover {
  height: 160px;
  background: var(--sim-grad-hero);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 20px 22px;
  color: #fff;
}
.blog-card__cover::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 60%);
}
.blog-card__num {
  position: absolute; top: 16px; right: 18px;
  font-family: var(--cp-font-display); font-weight: 900;
  font-size: 44px; line-height: 1;
  color: rgba(255,255,255,0.22);
  letter-spacing: -0.04em;
}
.blog-card__topic {
  position: relative; font-family: var(--cp-font-display); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sim-accent);
}
.blog-card__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card__h { font-family: var(--cp-font-display); font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--cp-ink); margin: 0; letter-spacing: -0.005em; }
.blog-card__p { font-size: 14px; line-height: 1.55; color: var(--cp-fg-2); margin: 0; flex: 1; }
.blog-card__meta { font-size: 12px; color: var(--cp-fg-3); display: flex; gap: 12px; }

/* -------------------------------------------------------------------------
   Article (FAQ post) typography — .article
   ------------------------------------------------------------------------- */
.article { padding: 64px 0 96px; }
.article__head { max-width: 760px; margin: 0 auto 40px; }
.article__topic { font-family: var(--cp-font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cp-brand-700); margin-bottom: 16px; }
.article__title { font-size: clamp(34px, 4.2vw, 52px); margin: 0 0 18px; }
.article__lead { font-size: 19px; line-height: 1.55; color: var(--cp-fg-2); margin: 0; }
.article__meta { margin-top: 24px; font-size: 13px; color: var(--cp-fg-3); display: flex; gap: 16px; }
.article__meta::before { content:""; }
.article__body { max-width: 720px; margin: 0 auto; }
.article__body h2 { font-size: 28px; margin: 40px 0 14px; letter-spacing: -0.005em; }
.article__body h3 { font-size: 22px; margin: 30px 0 10px; }
.article__body p { font-size: 17px; line-height: 1.7; color: var(--cp-ink-2); margin: 0 0 18px; }
.article__body ul, .article__body ol { padding-left: 22px; margin: 0 0 18px; }
.article__body li { font-size: 17px; line-height: 1.7; color: var(--cp-ink-2); margin-bottom: 8px; }
.article__body strong { color: var(--cp-ink); font-weight: 600; }
.article__body blockquote {
  margin: 28px 0; padding: 18px 26px;
  border-left: 4px solid var(--cp-brand-700);
  background: var(--cp-brand-100);
  font-family: var(--cp-font-display); font-weight: 600;
  font-size: 19px; line-height: 1.45; color: var(--cp-brand-900);
  letter-spacing: -0.005em;
}
.article__body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.article__body th, .article__body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--cp-border); }
.article__body th { background: var(--cp-brand-100); color: var(--cp-brand-900); font-family: var(--cp-font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.article__cta {
  margin: 48px auto 0; max-width: 760px;
  background: var(--cp-brand-900); color: #fff;
  border-radius: 12px; padding: 32px 36px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.article__cta h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.article__cta p { color: rgba(255,255,255,0.8); margin: 0; font-size: 14.5px; }
.article__cta__text { flex: 1; min-width: 240px; }

/* -------------------------------------------------------------------------
   Key-takeaway block — .key-takeaway (Phase 5 addition, D5-03)
   One per article, placed after the first paragraph/intro.
   Uses sim-accent (cyan) to differentiate from blockquote (navy).
   ------------------------------------------------------------------------- */
.key-takeaway {
  margin: 28px 0 32px;
  padding: 18px 22px 18px 26px;
  border-left: 4px solid var(--sim-accent);
  background: var(--sim-accent-soft);
  border-radius: 0 8px 8px 0;
}
.key-takeaway__label {
  display: block;
  font-family: var(--cp-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sim-accent-deep);
  margin-bottom: 8px;
}
.key-takeaway p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--cp-ink-2);
  margin: 0;
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   Sticky tail CTA (page bottom) — .tail-cta
   ------------------------------------------------------------------------- */
.tail-cta {
  background: var(--cp-brand-900);
  color: #fff;
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.tail-cta::before {
  content: ""; position: absolute; inset: auto -10% -40% auto;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,217,0.16), transparent 70%);
  pointer-events: none;
}
.tail-cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; }
.tail-cta__title { font-family: var(--cp-font-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.015em; color: #fff; margin: 0 0 14px; }
.tail-cta__sub { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0; }
.tail-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* -------------------------------------------------------------------------
   Footer — .site-ftr
   ------------------------------------------------------------------------- */
.site-ftr {
  background: var(--cp-brand-900);
  color: #fff;
  padding: 64px 0 28px;
}
.site-ftr--separated { border-top: 1px solid rgba(255,255,255,0.08); }
.site-ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-ftr__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-ftr__logo { height: 52px; width: auto; filter: brightness(0) invert(1); }
.site-ftr__tag { font-family: var(--cp-font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sim-accent); }
.site-ftr__about { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0 0 18px; max-width: 30ch; }
.site-ftr__h { font-family: var(--cp-font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; color: #fff; }
.site-ftr__col a, .site-ftr__col p { display: block; font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,0.7); margin: 0; }
.site-ftr__col a:hover { color: #fff; text-decoration: underline; }
.site-ftr__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11.5px; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-ftr__legal a { color: rgba(255,255,255,0.55); }
.site-ftr__legal a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   Breadcrumbs — .crumbs
   ------------------------------------------------------------------------- */
.crumbs { font-size: 13px; color: var(--cp-fg-3); padding: 18px 0 0; }
.crumbs a { color: var(--cp-fg-2); }
.crumbs a:hover { color: var(--cp-brand-700); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* -------------------------------------------------------------------------
   Page hero (sub pages)
   ------------------------------------------------------------------------- */
.page-hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--cp-brand-050) 0%, #fff 100%);
}
.page-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.page-hero__copy { max-width: 560px; }
.page-hero__title { font-size: clamp(34px, 4vw, 52px); margin: 12px 0 18px; }
.page-hero__lead { font-size: 18px; line-height: 1.6; color: var(--cp-fg-2); margin: 0 0 24px; }

/* -------------------------------------------------------------------------
   Tag/badge — .tag
   ------------------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--cp-font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--cp-brand-100); color: var(--cp-brand-700);
  padding: 5px 10px; border-radius: 999px;
}
.tag--accent { background: var(--sim-accent-soft); color: var(--sim-accent-deep); }
.tag--highlight { background: var(--sim-highlight-soft); color: #8A5D0F; }

/* -------------------------------------------------------------------------
   "Big number" hero for feature pages
   ------------------------------------------------------------------------- */
.bignum { font-family: var(--cp-font-display); font-weight: 900; font-size: 120px; line-height: 0.9; letter-spacing: -0.04em; color: var(--cp-brand-700); }

/* -------------------------------------------------------------------------
   Compare table (vs) — .compare
   ------------------------------------------------------------------------- */
.compare {
  width: 100%; border-collapse: collapse;
  font-size: 15px; background: #fff;
  border: 1px solid var(--cp-border); border-radius: 8px; overflow: hidden;
}
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--cp-border); }
.compare th { background: var(--cp-brand-900); color: #fff; font-family: var(--cp-font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.compare td:first-child { font-weight: 600; color: var(--cp-ink); }
.compare .yes { color: var(--sim-success); font-weight: 700; }
.compare .no  { color: var(--cp-gray-500); }

/* -------------------------------------------------------------------------
   Banner / urgency bar (top of landing)
   ------------------------------------------------------------------------- */
.urgency-bar {
  background: var(--cp-brand-900);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  font-family: var(--cp-font-body);
  letter-spacing: 0.02em;
}
.urgency-bar strong { color: var(--sim-accent); font-weight: 700; letter-spacing: 0.06em; }
.urgency-bar a { color: #fff; text-decoration: underline; margin-left: 8px; font-weight: 600; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { order: 2; }
  .feat-grid, .feat-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--cp-border); }
  .stat:nth-child(2) { border-right: none; }
  .quotegrid, .blog-grid, .steps { grid-template-columns: 1fr 1fr; }
  .site-ftr__grid { grid-template-columns: 1fr 1fr; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .tail-cta__inner { grid-template-columns: 1fr; }
  .tail-cta__actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 64px 0; }
  .feat-grid, .feat-grid--2, .feat-grid--4,
  .quotegrid, .blog-grid, .steps { grid-template-columns: 1fr; }
  .site-ftr__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-hdr__cta-desktop { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
}
