
      /* === Wazy design tokens (from DESIGN.md / globals.css) === */
      :root {
        --brand: oklch(0.872 0.171 175.5);
        --brand-deep: oklch(0.66 0.13 175.5);
        --brand-dark: oklch(0.58 0.12 175.5);
        --brand-soft: oklch(0.962 0.043 175.5);
        --brand-ink: oklch(0.34 0.075 175.5);

        --canvas: oklch(0.985 0.004 175);
        --surface: oklch(1 0.001 175);
        --subtle: oklch(0.96 0.006 175);
        --line: oklch(0.91 0.008 175);
        --line-strong: oklch(0.84 0.01 175);
        --muted: oklch(0.55 0.013 175);
        --ink: oklch(0.25 0.018 175);
        --deep: oklch(0.16 0.022 175);

        --ok: oklch(0.68 0.155 168);
        --warn: oklch(0.78 0.14 76);
        --danger: oklch(0.64 0.2 22);

        --shadow-ring: 0 0 0 1px rgb(0 0 0 / 0.04), 0 1px 2px rgb(0 0 0 / 0.04);
        --shadow-lift: 0 0 0 1px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(15 58 51 / 0.18);
        --shadow-glow: 0 0 0 4px rgb(0 243 205 / 0.15);

        --ease: cubic-bezier(0.22, 1, 0.36, 1);
      }

      * { box-sizing: border-box; }
      html, body {
        margin: 0;
        background: var(--canvas);
        color: var(--ink);
        font-family: "Inter", system-ui, sans-serif;
        font-feature-settings: "ss01", "cv11", "tnum";
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 14px;
        line-height: 1.45;
      }
      .tabular { font-variant-numeric: tabular-nums; }
      .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

      a { color: inherit; text-decoration: none; }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
      }

      /* === Nav === */
      .nav {
        position: sticky;
        top: 0;
        z-index: 40;
        background: color-mix(in oklch, var(--canvas) 80%, transparent);
        backdrop-filter: saturate(140%) blur(12px);
        border-bottom: 1px solid var(--line);
      }
      .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
      }
      .logo {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: var(--deep);
        letter-spacing: -0.01em;
        font-size: 16px;
      }
      .logo-mark {
        width: 28px;
        height: 28px;
        display: block;
        object-fit: contain;
      }
      .foot .logo-mark {
        width: 32px;
        height: 32px;
      }
      .nav-links {
        display: none;
        gap: 28px;
        align-items: center;
      }
      @media (min-width: 720px) {
        .nav-links { display: inline-flex; }
      }
      .nav-link {
        color: var(--muted);
        font-size: 13.5px;
        transition: color 150ms var(--ease);
      }
      .nav-link:hover { color: var(--deep); }
      .nav-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }

      /* === Buttons === */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: inherit;
        font-size: 13.5px;
        font-weight: 500;
        line-height: 1;
        padding: 0 14px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid transparent;
        cursor: pointer;
        transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
        white-space: nowrap;
      }
      .btn-primary {
        background: var(--brand);
        color: var(--brand-ink);
        font-weight: 600;
      }
      .btn-primary:hover {
        background: var(--brand-deep);
        color: var(--canvas);
      }
      .btn-primary:focus-visible {
        outline: none;
        box-shadow: var(--shadow-glow);
      }
      .btn-secondary {
        background: var(--surface);
        color: var(--ink);
        border-color: var(--line);
      }
      .btn-secondary:hover {
        background: var(--subtle);
      }
      .btn-ghost {
        background: transparent;
        color: var(--muted);
      }
      .btn-ghost:hover {
        background: var(--subtle);
        color: var(--deep);
      }
      .btn-lg {
        height: 42px;
        font-size: 14px;
        padding: 0 18px;
        border-radius: 9px;
      }

      /* Caret/arrow */
      .arrow {
        display: inline-block;
        width: 14px;
        height: 14px;
        position: relative;
      }
      .arrow::after {
        content: "";
        position: absolute;
        inset: 0;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat;
                mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center/contain no-repeat;
      }

      /* === Eyebrow / labels === */
      .eyebrow {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        font-weight: 500;
      }

      /* === Hero === */
      .hero {
        padding: 80px 0 64px;
        position: relative;
      }
      @media (min-width: 980px) {
        .hero { padding: 110px 0 80px; }
      }
      .hero-grid {
        display: grid;
        gap: 56px;
        grid-template-columns: 1fr;
        align-items: center;
      }
      @media (min-width: 980px) {
        .hero-grid {
          grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
          gap: 72px;
        }
      }
      .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px 10px 4px 6px;
        border-radius: 999px;
        background: var(--surface);
        border: 1px solid var(--line);
        font-size: 11.5px;
        color: var(--muted);
        text-transform: none;
        letter-spacing: 0;
        font-weight: 500;
      }
      .hero-eyebrow .pill-tag {
        background: var(--brand-soft);
        color: var(--brand-ink);
        font-weight: 600;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 2px 7px;
        border-radius: 999px;
      }
      .hero h1 {
        margin: 22px 0 0;
        font-size: clamp(36px, 5.2vw, 56px);
        line-height: 1.04;
        letter-spacing: -0.025em;
        font-weight: 600;
        color: var(--deep);
        text-wrap: balance;
      }
      .hero h1 em {
        font-style: normal;
        color: var(--brand-deep);
      }
      .hero-sub {
        margin: 22px 0 0;
        font-size: 16.5px;
        line-height: 1.55;
        color: var(--muted);
        max-width: 520px;
        text-wrap: pretty;
      }
      .hero-cta-row {
        margin-top: 32px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
      }
      .hero-meta {
        margin-top: 18px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 16px;
        color: var(--muted);
        font-size: 12.5px;
      }
      .hero-meta .dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--line-strong);
      }

      /* === Hero variant: drenched (Tweak) === */
      .hero.is-drenched {
        background: var(--brand);
        color: var(--brand-ink);
      }
      .hero.is-drenched h1 { color: var(--brand-ink); }
      .hero.is-drenched h1 em { color: var(--deep); }
      .hero.is-drenched .hero-sub { color: color-mix(in oklch, var(--brand-ink) 78%, transparent); }
      .hero.is-drenched .hero-eyebrow {
        background: color-mix(in oklch, var(--surface) 60%, transparent);
        border-color: color-mix(in oklch, var(--brand-ink) 18%, transparent);
        color: var(--brand-ink);
      }
      .hero.is-drenched .hero-meta { color: color-mix(in oklch, var(--brand-ink) 70%, transparent); }
      .hero.is-drenched .hero-meta .dot { background: color-mix(in oklch, var(--brand-ink) 35%, transparent); }
      .hero.is-drenched .btn-primary {
        background: var(--deep);
        color: var(--brand);
      }
      .hero.is-drenched .btn-primary:hover {
        background: var(--brand-ink);
      }
      .hero.is-drenched .btn-secondary {
        background: color-mix(in oklch, var(--surface) 55%, transparent);
        border-color: color-mix(in oklch, var(--brand-ink) 22%, transparent);
        color: var(--brand-ink);
      }

      /* === Hero variant: dashboard-y (Tweak) === */
      .hero.is-operational {
        background: var(--surface);
        border-bottom: 1px solid var(--line);
      }

      /* === Right rail: live preview block === */
      .preview-shell {
        position: relative;
      }
      .preview-card {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow-lift);
        overflow: hidden;
      }
      .preview-chrome {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--line);
        background: var(--subtle);
      }
      .chrome-dot {
        width: 8px; height: 8px; border-radius: 50%;
        background: var(--line-strong);
      }
      .chrome-url {
        margin-left: 6px;
        font-size: 11.5px;
        color: var(--muted);
      }
      .chrome-tab {
        margin-left: auto;
        font-size: 11px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }

      .dash {
        padding: 18px 20px 22px;
      }

      /* status ribbon */
      .ribbon {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 22px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--line);
      }
      .ribbon-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12.5px;
      }
      .ribbon-item .label {
        color: var(--muted);
      }
      .ribbon-item .val {
        color: var(--deep);
        font-weight: 500;
      }
      .ribbon-divider {
        width: 1px;
        height: 14px;
        background: var(--line);
      }

      .live-dot {
        width: 6px; height: 6px; border-radius: 50%;
        background: var(--brand);
        animation: pulse-dot 1.6s var(--ease) infinite;
      }
      @keyframes pulse-dot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.55; transform: scale(0.85); }
      }

      .status-dot {
        width: 6px; height: 6px; border-radius: 50%;
      }
      .dot-ok { background: var(--brand-deep); }
      .dot-warn { background: var(--warn); }
      .dot-danger { background: var(--danger); }
      .dot-muted { background: var(--line-strong); }

      /* board rows */
      .board {
        margin-top: 14px;
      }
      .board-head {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1.2fr 60px;
        gap: 12px;
        padding: 10px 4px;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        border-bottom: 1px solid var(--line);
      }
      .board-row {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1.2fr 60px;
        gap: 12px;
        padding: 12px 4px;
        align-items: center;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
      }
      .board-row:last-child { border-bottom: none; }
      .board-name {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--deep);
        font-weight: 500;
      }
      .board-name .mono { font-size: 12px; color: var(--ink); }

      .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 600;
      }
      .badge-ok { background: var(--brand-soft); color: var(--brand-ink); }
      .badge-warn { background: color-mix(in oklch, var(--warn) 10%, transparent); color: var(--warn); }
      .badge-danger { background: color-mix(in oklch, var(--danger) 10%, transparent); color: var(--danger); }
      .badge-muted { background: var(--subtle); color: var(--muted); }

      .health {
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }
      .health-bar {
        flex: 1;
        height: 4px;
        background: var(--subtle);
        border-radius: 999px;
        overflow: hidden;
        min-width: 60px;
      }
      .health-fill {
        height: 100%;
        background: var(--brand-deep);
        border-radius: 999px;
        transition: width 500ms var(--ease);
      }
      .health-fill.warn { background: var(--warn); }
      .health-fill.danger { background: var(--danger); }
      .health-num {
        font-size: 12px;
        color: var(--deep);
        min-width: 30px;
        text-align: right;
      }

      .row-throttle {
        font-size: 12px;
        color: var(--muted);
      }

      /* footer of preview */
      .preview-foot {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .preview-foot .left {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 12.5px;
        color: var(--muted);
      }
      .progress-track {
        width: 120px; height: 4px;
        background: var(--subtle);
        border-radius: 999px;
        overflow: hidden;
        position: relative;
      }
      .progress-fill {
        height: 100%;
        width: 64%;
        background: var(--brand-deep);
        border-radius: 999px;
        animation: progress-grow 5s var(--ease) infinite alternate;
      }
      @keyframes progress-grow {
        from { width: 64%; }
        to { width: 78%; }
      }

      /* floating hero accent (annotations) */
      .hero-annot {
        position: absolute;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 10px 12px;
        box-shadow: var(--shadow-ring);
        font-size: 12px;
        color: var(--ink);
        max-width: 220px;
        line-height: 1.45;
      }
      .hero-annot strong { color: var(--deep); font-weight: 600; }
      .hero-annot.top {
        top: -18px;
        left: -12px;
      }
      .hero-annot.bot {
        bottom: -22px;
        right: -8px;
      }
      .hero-annot::before {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        background: var(--surface);
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        transform: rotate(45deg);
      }
      .hero-annot.top::before {
        bottom: -5px; left: 24px;
      }
      .hero-annot.bot::before {
        top: -5px; right: 24px;
        border-right: none;
        border-bottom: none;
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
      }
      @media (max-width: 980px) {
        .hero-annot { display: none; }
      }

      /* === Sections === */
      section.s {
        padding: 80px 0;
      }
      section.s.tight { padding: 60px 0; }
      section.s.alt {
        background: var(--surface);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .s-header {
        max-width: 720px;
        margin-bottom: 40px;
      }
      .s-header.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
      }
      .s-eyebrow {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--brand-deep);
        font-weight: 600;
      }
      .s-title {
        font-size: clamp(26px, 3.4vw, 36px);
        line-height: 1.1;
        letter-spacing: -0.02em;
        font-weight: 600;
        color: var(--deep);
        margin: 12px 0 0;
        text-wrap: balance;
      }
      .s-sub {
        font-size: 15.5px;
        color: var(--muted);
        margin: 14px 0 0;
        line-height: 1.55;
        max-width: 600px;
        text-wrap: pretty;
      }

      /* "Come funziona" — 3 step */
      .steps {
        display: grid;
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
      }
      @media (min-width: 880px) {
        .steps { grid-template-columns: repeat(3, 1fr); }
      }
      .step {
        background: var(--surface);
        padding: 28px;
        display: grid;
        gap: 14px;
        grid-template-rows: auto 1fr;
      }
      .step-num {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--muted);
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 500;
      }
      .step-num .n {
        width: 22px; height: 22px;
        border-radius: 50%;
        background: var(--brand-soft);
        color: var(--brand-ink);
        display: grid;
        place-items: center;
        font-size: 11.5px;
        font-weight: 600;
      }
      .step h3 {
        margin: 0;
        font-size: 17px;
        color: var(--deep);
        font-weight: 600;
        letter-spacing: -0.01em;
      }
      .step p {
        margin: 0;
        color: var(--muted);
        font-size: 13.5px;
        line-height: 1.55;
      }
      .step-figure {
        margin-top: 6px;
        background: var(--canvas);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 14px;
        font-size: 12px;
      }

      /* casi d'uso */
      .cases {
        display: grid;
        gap: 16px;
        grid-template-columns: 1fr;
      }
      @media (min-width: 880px) {
        .cases { grid-template-columns: repeat(3, 1fr); }
      }
      .case {
        padding: 26px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-height: 280px;
      }
      .case-eyebrow {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        font-weight: 500;
      }
      .case h3 {
        margin: 0;
        font-size: 18px;
        color: var(--deep);
        font-weight: 600;
        letter-spacing: -0.01em;
      }
      .case p {
        margin: 0;
        color: var(--muted);
        font-size: 13.5px;
        line-height: 1.55;
      }
      .case-quote {
        margin-top: auto;
        padding-top: 16px;
        border-top: 1px solid var(--line);
        font-size: 12.5px;
        color: var(--ink);
      }
      .case-quote .who {
        margin-top: 8px;
        font-size: 11.5px;
        color: var(--muted);
        font-style: normal;
      }

      /* === Variant: cases as plain divided list (Tweak) === */
      [data-section-style="divided"] .cases {
        grid-template-columns: 1fr !important;
        gap: 0;
      }
      [data-section-style="divided"] .case {
        background: transparent;
        border: none;
        border-top: 1px solid var(--line);
        border-radius: 0;
        padding: 28px 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        min-height: 0;
      }
      [data-section-style="divided"] .case:first-child {
        border-top: none;
      }
      [data-section-style="divided"] .case > .case-meta {
        width: 200px;
        flex-shrink: 0;
      }
      [data-section-style="divided"] .case > .case-body {
        flex: 1;
      }
      [data-section-style="divided"] .case-quote {
        border-top: none;
        padding-top: 0;
        margin-top: 12px;
      }

      /* === Pricing === */
      .pricing-wrap {
        display: grid;
        gap: 32px;
        grid-template-columns: 1fr;
        align-items: center;
      }
      @media (min-width: 880px) {
        .pricing-wrap { grid-template-columns: 1fr 1fr; gap: 72px; }
      }
      .pricing-card {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 32px;
        box-shadow: var(--shadow-ring);
      }
      .pricing-eyebrow {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--brand-deep);
        font-weight: 600;
      }
      .price-row {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-top: 14px;
      }
      .price {
        font-size: 48px;
        font-weight: 600;
        color: var(--deep);
        letter-spacing: -0.025em;
        line-height: 1;
      }
      .price-period {
        color: var(--muted);
        font-size: 14px;
      }
      .pricing-card ul {
        margin: 24px 0 0;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 10px;
      }
      .pricing-card li {
        display: grid;
        grid-template-columns: 18px 1fr;
        gap: 10px;
        font-size: 13.5px;
        color: var(--ink);
        align-items: start;
      }
      .check {
        width: 18px; height: 18px;
        display: grid; place-items: center;
        margin-top: 1px;
      }
      .check svg {
        width: 14px; height: 14px;
        color: var(--brand-deep);
      }

      .pricing-card .cta-row {
        margin-top: 26px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }
      .pricing-fine {
        margin-top: 14px;
        font-size: 12px;
        color: var(--muted);
      }

      .pricing-aside .label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        font-weight: 500;
      }
      .pricing-aside .stat {
        font-size: 28px;
        line-height: 1.1;
        color: var(--deep);
        font-weight: 600;
        letter-spacing: -0.015em;
        margin: 6px 0 0;
      }
      .pricing-aside .desc {
        font-size: 13.5px;
        color: var(--muted);
        margin: 6px 0 0;
        max-width: 360px;
        line-height: 1.55;
      }
      .pricing-aside-grid {
        display: grid;
        gap: 24px;
      }

      /* === FAQ === */
      .faq {
        display: grid;
        gap: 0;
        border-top: 1px solid var(--line);
      }
      .faq-item {
        border-bottom: 1px solid var(--line);
      }
      .faq-q {
        width: 100%;
        background: transparent;
        border: none;
        padding: 22px 0;
        text-align: left;
        font-family: inherit;
        font-size: 15.5px;
        color: var(--deep);
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        letter-spacing: -0.005em;
      }
      .faq-q .plus {
        flex-shrink: 0;
        width: 18px; height: 18px;
        position: relative;
        color: var(--muted);
      }
      .faq-q .plus::before,
      .faq-q .plus::after {
        content: "";
        position: absolute;
        background: currentColor;
        transition: transform 200ms var(--ease);
      }
      .faq-q .plus::before {
        top: 50%; left: 0; right: 0; height: 1.5px; margin-top: -0.75px;
      }
      .faq-q .plus::after {
        left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px;
      }
      .faq-item.open .faq-q .plus::after {
        transform: scaleY(0);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: max-height 250ms var(--ease);
      }
      .faq-a-inner {
        padding: 0 0 22px;
        font-size: 14px;
        color: var(--ink);
        line-height: 1.6;
        max-width: 720px;
      }
      .faq-item.open .faq-a {
        max-height: 320px;
      }

      /* === Final CTA === */
      .final-cta {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 48px 32px;
        text-align: center;
        box-shadow: var(--shadow-ring);
      }
      .final-cta h2 {
        margin: 0;
        font-size: clamp(26px, 3.2vw, 34px);
        color: var(--deep);
        font-weight: 600;
        letter-spacing: -0.02em;
      }
      .final-cta p {
        margin: 12px auto 0;
        color: var(--muted);
        font-size: 15px;
        max-width: 480px;
      }
      .final-cta .cta-row {
        margin-top: 24px;
        display: inline-flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
      }

      /* === Footer === */
      footer.foot {
        padding: 48px 0 64px;
        border-top: 1px solid var(--line);
        background: var(--canvas);
      }
      .foot-grid {
        display: grid;
        gap: 36px;
        grid-template-columns: 1fr;
      }
      @media (min-width: 720px) {
        .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
      }
      .foot-col h4 {
        margin: 0 0 14px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        font-weight: 500;
      }
      .foot-col ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 10px;
      }
      .foot-col a {
        font-size: 13.5px;
        color: var(--ink);
        transition: color 150ms var(--ease);
      }
      .foot-col a:hover { color: var(--brand-deep); }
      .foot-tag {
        font-size: 13.5px;
        color: var(--muted);
        max-width: 320px;
        line-height: 1.55;
        margin: 14px 0 0;
      }
      .foot-bottom {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
        justify-content: space-between;
        align-items: center;
        font-size: 12.5px;
        color: var(--muted);
      }

      /* ============ Variant: hero with screenshot framing ============ */
      .hero-screen-wide {
        margin-top: 60px;
        position: relative;
      }
      [data-hero="screenshot"] .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      [data-hero="screenshot"] .hero-text {
        text-align: center;
        max-width: 760px;
        margin: 0 auto;
      }
      [data-hero="screenshot"] .hero-text .hero-sub { margin-left: auto; margin-right: auto; }
      [data-hero="screenshot"] .hero-text .hero-cta-row { justify-content: center; }
      [data-hero="screenshot"] .hero-text .hero-meta { justify-content: center; }
      [data-hero="screenshot"] .hero-annot { display: none; }

      /* full screenshot cluster on screenshot variant */
      .hero-cluster {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
      }
      @media (min-width: 980px) {
        .hero-cluster { grid-template-columns: 1.5fr 1fr; }
      }

      /* compose preview (small) */
      .compose {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 16px;
        box-shadow: var(--shadow-ring);
      }
      .compose-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
        margin-bottom: 14px;
      }
      .compose-head .title {
        font-size: 13px;
        font-weight: 500;
        color: var(--deep);
      }
      .compose-fields {
        display: grid;
        gap: 14px;
      }
      .field {
        display: grid;
        gap: 5px;
      }
      .field-label {
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--muted);
        font-weight: 500;
      }
      .field-input {
        background: var(--canvas);
        border: 1px solid var(--line);
        padding: 9px 11px;
        border-radius: 7px;
        font-size: 13px;
        color: var(--ink);
      }
      .field-input.with-chip {
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .chip {
        background: var(--brand-soft);
        color: var(--brand-ink);
        padding: 2px 7px;
        border-radius: 999px;
        font-size: 10.5px;
        font-weight: 600;
      }
      .field-mock-text {
        color: var(--ink);
      }
      .field-mock-text .var {
        background: var(--brand-soft);
        color: var(--brand-ink);
        padding: 1px 5px;
        border-radius: 4px;
        font-weight: 500;
      }

      /* phone preview */
      .phone {
        background: var(--surface);
        border-radius: 22px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-ring);
        overflow: hidden;
        padding: 14px;
      }
      .phone-head {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
        margin-bottom: 12px;
      }
      .phone-avatar {
        width: 32px; height: 32px;
        border-radius: 50%;
        background: var(--brand-soft);
        color: var(--brand-ink);
        display: grid; place-items: center;
        font-weight: 600;
        font-size: 13px;
      }
      .phone-name {
        font-size: 13px;
        color: var(--deep);
        font-weight: 500;
      }
      .phone-status {
        font-size: 11px;
        color: var(--muted);
      }
      .bubble {
        background: var(--brand-soft);
        color: var(--brand-ink);
        padding: 10px 12px;
        border-radius: 12px 12px 12px 4px;
        font-size: 13px;
        line-height: 1.5;
        max-width: 88%;
      }
      .bubble .check-read {
        color: var(--brand-deep);
        margin-left: 4px;
        font-size: 11px;
      }
      .bubble-meta {
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        margin-top: 6px;
        font-size: 10px;
        color: color-mix(in oklch, var(--brand-ink) 60%, transparent);
      }

      /* === Tweaks helpers visible only when on === */
      [data-tweaks-active="false"] [data-tweak-only] { display: none; }

      /* responsive tightening */
      @media (max-width: 720px) {
        .hero { padding: 56px 0 48px; }
        section.s { padding: 56px 0; }
        .pricing-card { padding: 24px; }
        .final-cta { padding: 36px 20px; }
      }
    

/* =========================================================
   ANIMATIONS — entry, scroll-reveal, micro-interactions
   ========================================================= */

/* Page-load entry animations — transform-only, so content is always visible
   even if animations freeze (inactive tab, throttled rAF, iframe quirks). */
@keyframes fade-up {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
@keyframes fade-in {
  from { transform: translateY(6px); }
  to   { transform: translateY(0); }
}
@keyframes scale-in {
  from { transform: scale(0.97); }
  to   { transform: scale(1); }
}

.anim-up, .anim-fade, .anim-scale { opacity: 1; }
html.anim-ready .anim-up   { animation: fade-up 700ms var(--ease) both; }
html.anim-ready .anim-fade { animation: fade-in 700ms var(--ease) both; }
html.anim-ready .anim-scale{ animation: scale-in 800ms var(--ease) both; }
.delay-1   { animation-delay: 80ms; }
.delay-2   { animation-delay: 160ms; }
.delay-3   { animation-delay: 240ms; }
.delay-4   { animation-delay: 320ms; }
.delay-5   { animation-delay: 400ms; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-stagger="1"] { transition-delay: 80ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .anim-up, .anim-fade, .anim-scale {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Card hover lift */
.case, .pricing-card, .step {
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.case:hover, .step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

/* Button micro-interaction */
.btn { transform: translateZ(0); }
.btn-primary:active { transform: translateY(1px); }

.btn-primary.with-arrow .arrow { transition: transform 200ms var(--ease); }
.btn-primary.with-arrow:hover .arrow { transform: translateX(3px); }

/* Nav link underline hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--brand-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--deep); }

/* Live ribbon glimmer */
@keyframes glimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* Health bar animated stripes (subtle) */
.health-fill.animated {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in oklch, white 25%, transparent) 50%,
    transparent 100%
  );
  background-size: 80px 100%;
  animation: glimmer 2s linear infinite;
}

/* Counter ticker — subtle vertical tick */
@keyframes count-tick {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-2px); opacity: 0.85; }
  100% { transform: translateY(0); }
}
.tick { display: inline-block; animation: count-tick 600ms var(--ease); }

/* New: bubble appear */
@keyframes bubble-in {
  0%   { opacity: 0; transform: translateY(6px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.bubble.anim { animation: bubble-in 500ms var(--ease) both; }

/* New: floating annot drift */
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.hero-annot.drift { animation: drift 6s var(--ease) infinite; }
.hero-annot.bot.drift { animation-delay: -3s; }

/* =========================================================
   MULTI-PAGE: pricing trio + slider + toggle
   ========================================================= */

.pricing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.pricing-toggle button {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.pricing-toggle button.active {
  background: var(--deep);
  color: var(--canvas);
}
.pricing-toggle .save-tag {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
}

.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 36px;
  align-items: stretch;
}
@media (min-width: 880px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.plan.popular {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 1px var(--brand-deep), var(--shadow-ring);
}
.plan .pop-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.plan h3 {
  margin: 0;
  font-size: 18px;
  color: var(--deep);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 36px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}
.plan-price {
  font-size: 38px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.025em;
  line-height: 1;
}
.plan-price-period {
  color: var(--muted);
  font-size: 13px;
}
.plan-iva {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.plan-yearly-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--brand-deep);
  font-weight: 500;
  min-height: 18px;
}
.plan ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  align-items: start;
}
.plan li svg {
  width: 14px; height: 14px;
  color: var(--brand-deep);
  margin-top: 3px;
}
.plan-cta {
  margin-top: auto;
  padding-top: 22px;
}
.plan-cta .btn { width: 100%; }

/* Custom plan slider card */
.custom-plan {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .custom-plan { grid-template-columns: 1.4fr 1fr; }
}
.custom-plan h3 {
  margin: 0;
  font-size: 20px;
  color: var(--deep);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.custom-plan-desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.slider-block {
  margin-top: 20px;
}
.slider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}
.slider-row label {
  color: var(--ink);
  font-weight: 500;
}
.slider-row .v {
  color: var(--deep);
  font-weight: 600;
}
input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand-deep) 0%, var(--brand-deep) var(--p, 50%), var(--subtle) var(--p, 50%), var(--subtle) 100%);
  outline: none;
  margin: 6px 0 14px;
  cursor: pointer;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand-deep);
  cursor: pointer;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
input[type="range"].slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}
input[type="range"].slider::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand-deep);
  cursor: pointer;
}

.custom-result {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.custom-price {
  font-size: 40px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.custom-result .meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Page meta header */
.page-head {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-head .container {
  display: grid;
  gap: 14px;
}
.page-head .breadcrumb {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--deep);
  text-wrap: balance;
}
.page-head p.lead {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
  line-height: 1.55;
}

/* Compare table */
.compare {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.compare table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
  background: var(--subtle);
}
.compare th.center, .compare td.center { text-align: center; }
.compare tr:last-child td { border-bottom: none; }
.compare td.feat { color: var(--ink); }
.compare td.val { color: var(--deep); font-weight: 500; font-variant-numeric: tabular-nums; }
.compare td.dash { color: var(--line-strong); }
.compare th.popular-col { background: color-mix(in oklch, var(--brand) 18%, var(--subtle)); color: var(--brand-ink); }
.compare td.popular-col { background: color-mix(in oklch, var(--brand) 8%, transparent); }

/* =========================================================
   v2.0: feature grid + inbox mock + bot canvas
   ========================================================= */

.feat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.feat-card.hl { border-color: color-mix(in oklch, var(--brand-deep) 35%, var(--line)); }
.feat-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}
.feat-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid; place-items: center;
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-card h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--deep); letter-spacing: -0.01em; }
.feat-card > p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.feat-list {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.feat-list li {
  font-size: 12px;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-deep);
}
.feat-list code { font-size: 11px; background: var(--subtle); padding: 1px 5px; border-radius: 4px; color: var(--brand-ink); }

/* === Inbox mock === */
.inbox-mock {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 460px;
}
@media (min-width: 880px) { .inbox-mock { grid-template-columns: 320px 1fr; } }
.inbox-pane { display: flex; flex-direction: column; }
.inbox-list { border-right: 1px solid var(--line); background: var(--canvas); }
.inbox-list-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.il-title { font-weight: 600; color: var(--deep); font-size: 15px; }
.il-badge { background: var(--brand); color: var(--brand-ink); font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.inbox-search {
  margin: 12px;
  padding: 8px 12px;
  background: var(--subtle);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.inbox-thread {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: default;
  transition: background 150ms var(--ease);
}
.inbox-thread:hover { background: var(--subtle); }
.inbox-thread.is-active { background: var(--brand-soft); }
.av {
  width: 36px; height: 36px; border-radius: 50%;
  background: color-mix(in oklch, var(--brand-deep) 18%, var(--surface));
  color: var(--brand-ink);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
}
.av.lg { width: 40px; height: 40px; font-size: 13px; }
.thr-body { min-width: 0; }
.thr-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thr-name { font-size: 13px; font-weight: 600; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thr-time { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.thr-prev { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.unread { background: var(--brand-deep); color: var(--canvas); font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; min-width: 18px; text-align: center; }

.inbox-thread-view { background: var(--surface); }
.thr-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.thr-bar-l { display: flex; align-items: center; gap: 10px; }
.thr-bar-name { font-size: 14px; font-weight: 600; color: var(--deep); }
.thr-bar-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.thr-bar-meta em { font-style: normal; color: var(--brand-ink); font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.chip-bot { background: color-mix(in oklch, var(--warn) 14%, transparent); color: oklch(0.5 0.13 76); }
.chip-pub { background: var(--brand-soft); color: var(--brand-ink); }

.thr-stream { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 220px; }
.day-sep { display: flex; justify-content: center; }
.day-sep span { background: var(--subtle); color: var(--muted); font-size: 10.5px; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }
.msg { display: flex; align-items: flex-end; gap: 8px; }
.msg.in { justify-content: flex-start; }
.msg.out { justify-content: flex-end; }
.bub { background: var(--brand-soft); color: var(--brand-ink); padding: 8px 12px; border-radius: 12px 12px 4px 12px; font-size: 13px; line-height: 1.5; max-width: 70%; position: relative; }
.bub-in { background: var(--subtle); color: var(--ink); border-radius: 12px 12px 12px 4px; }
.bub-meta { display: block; font-size: 10px; color: color-mix(in oklch, var(--brand-ink) 55%, transparent); margin-top: 4px; text-align: right; }
.bub-in .bub-meta { color: var(--muted); }
.src-tag { font-size: 10px; color: var(--muted); align-self: flex-start; margin-bottom: 4px; }
.src-tag.manual { color: var(--brand-deep); }

.composer { display: flex; gap: 8px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--canvas); }
.comp-input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: var(--muted); }
.comp-send { background: var(--brand); border: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--brand-ink); transition: background 150ms var(--ease); }
.comp-send:hover { background: var(--brand-deep); color: var(--canvas); }
.comp-send svg { width: 16px; height: 16px; }

/* === Bot canvas mock === */
.bot-mock {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .bot-mock { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.bot-canvas {
  position: relative;
  background:
    radial-gradient(circle at 0 0, color-mix(in oklch, var(--brand-deep) 4%, transparent) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow-ring);
}
.bot-edges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bot-edges path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 200px;
  box-shadow: var(--shadow-ring);
  font-size: 12px;
  display: grid;
  gap: 4px;
}
.node.ghost { opacity: 0.7; }
.n-pin {
  position: absolute;
  top: -1px; left: -1px;
  width: 4px;
  bottom: -1px;
  border-radius: 10px 0 0 10px;
}
.pin-trig { background: var(--brand-deep); }
.pin-send { background: oklch(0.65 0.18 230); }
.pin-branch { background: var(--warn); }
.pin-action { background: oklch(0.65 0.2 320); }
.n-type { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; padding-left: 8px; }
.n-body { color: var(--deep); padding-left: 8px; font-size: 12.5px; line-height: 1.4; }
.n-body.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px; }
.n-handles { display: flex; gap: 8px; padding-left: 8px; margin-top: 2px; }
.n-handles em { font-style: normal; font-size: 10px; color: var(--muted); background: var(--subtle); padding: 2px 6px; border-radius: 4px; }

.bot-side { display: flex; flex-direction: column; gap: 14px; }
.bot-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-ring); }
.bot-card-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.bot-card-row:last-child { border-bottom: none; }
.bot-card-row .label { color: var(--muted); }
.bot-card-row .val { color: var(--deep); font-weight: 500; }
.bot-card-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.sim-bub { font-size: 12.5px; padding: 8px 12px; border-radius: 10px; max-width: 86%; line-height: 1.45; margin-bottom: 8px; }
.sim-bub.in { background: var(--subtle); color: var(--ink); border-radius: 10px 10px 10px 3px; }
.sim-bub.out { background: var(--brand-soft); color: var(--brand-ink); border-radius: 10px 10px 3px 10px; margin-left: auto; }
.sim-bub.out em { font-style: normal; font-weight: 600; }
.sim-bub.out.muted { background: var(--canvas); color: var(--muted); border: 1px dashed var(--line-strong); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px; }

.bot-foot { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.55; }

@media (max-width: 720px) {
  .bot-canvas { height: 420px; }
  .node { width: 170px; font-size: 11.5px; }
}

/* SVG mark inline for plan icons */
.plan-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}


/* Nav dropdown menu */
.nav-links { align-items: center; }
.nav-item { position: relative; display: inline-flex; }
.nav-item .nav-caret { width: 10px; height: 10px; margin-left: 4px; opacity: .6; transition: transform 200ms var(--ease); }
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity: 1; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: -14px;
  min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 12px 32px rgba(15,23,30,.08), 0 2px 6px rgba(15,23,30,.04);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  z-index: 50;
}
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--deep); text-decoration: none;
  transition: background 150ms var(--ease);
}
.nav-menu a:hover { background: var(--bg); color: var(--brand-deep); }
.nav-menu a .nm-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--brand); flex-shrink: 0; }
.nav-menu a .nm-tag { margin-left: auto; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: var(--brand-soft); color: var(--brand-deep); letter-spacing: .02em; }
.nav-menu a .nm-text { display: flex; flex-direction: column; gap: 1px; }
.nav-menu a .nm-text small { font-size: 11px; font-weight: 400; color: var(--muted); }

/* Hero IT/IVA chips */
.hero-trust { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 12px; font-weight: 500; color: var(--deep);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--brand-deep); }
.trust-chip .flag { width: 16px; height: 11px; border-radius: 2px; overflow: hidden; display: inline-flex; }
.trust-chip .flag span { flex: 1; }
.trust-chip .flag .f-g { background: #008C45; }
.trust-chip .flag .f-w { background: #F4F5F0; }
.trust-chip .flag .f-r { background: #CD212A; }

/* === Hero composite preview (Campagne · Inbox · Chatbot · Analytics) === */
.hero-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--canvas) 60%, var(--surface));
  overflow: hidden;
}
.hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.hero-tab .ht-ico {
  font-size: 13px;
  opacity: 0.8;
  filter: grayscale(0.2);
}
.hero-tab.is-active {
  color: var(--brand-ink);
  border-bottom-color: var(--brand-deep);
  background: var(--surface);
}
.hero-tab .ht-pill {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) {
  .hero-split { grid-template-columns: 1.35fr 1fr; }
  .hero-aside { border-left: 1px solid var(--line); }
}

.hero-main {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ribbon-tight {
  padding-bottom: 10px;
  gap: 8px 16px;
}
.ribbon-tight .ribbon-item { font-size: 11.5px; }
.board-tight {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.board-tight .board-row {
  display: grid;
  grid-template-columns: 1fr 80px 50px;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.board-tight .board-row:last-child { border-bottom: 0; }
.board-tight .board-name { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.board-tight .board-name .mono { font-size: 11px; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-tight .health { display: inline-flex; align-items: center; gap: 6px; }
.board-tight .health-bar { flex: 1; height: 4px; }
.board-tight .row-throttle { font-size: 11px; color: var(--muted); text-align: right; }

.hero-aside {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: color-mix(in oklch, var(--canvas) 70%, var(--surface));
  min-width: 0;
}
.mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--deep);
}
.mini-ico { font-size: 13px; }
.mini-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-pill {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}
.mini-pill-soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.mini-thread {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
}
.av-sm {
  width: 26px; height: 26px;
  font-size: 10.5px;
}
.mt-body { display: flex; flex-direction: column; min-width: 0; }
.mt-name { font-size: 11.5px; font-weight: 600; color: var(--deep); }
.mt-prev { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-time { font-size: 10px; color: var(--muted); }

.mini-flow {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.flow-node {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.flow-trigger { background: color-mix(in oklch, var(--brand-deep) 10%, var(--surface)); color: var(--brand-deep); border-color: color-mix(in oklch, var(--brand-deep) 25%, var(--line)); }
.flow-send { background: color-mix(in oklch, oklch(0.65 0.18 230) 10%, var(--surface)); color: oklch(0.45 0.18 230); border-color: color-mix(in oklch, oklch(0.65 0.18 230) 25%, var(--line)); }
.flow-handoff { background: color-mix(in oklch, var(--warn) 10%, var(--surface)); color: oklch(0.5 0.13 76); border-color: color-mix(in oklch, var(--warn) 25%, var(--line)); }
.flow-arrow {
  width: 10px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  flex-shrink: 0;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -2px;
  width: 0; height: 0;
  border-left: 4px solid var(--line-strong);
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}
.mini-meta { font-size: 10.5px; color: var(--muted); }
.mini-meta .tabular { color: var(--deep); font-weight: 600; }

.mini-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kpi { display: flex; flex-direction: column; gap: 1px; }
.kpi-num { font-size: 16px; font-weight: 700; color: var(--brand-deep); letter-spacing: -0.01em; }
.kpi-lbl { font-size: 10px; color: var(--muted); }
.mini-spark {
  height: 28px;
  color: var(--brand-deep);
  margin-top: -2px;
}
.mini-spark svg { width: 100%; height: 100%; display: block; }
