/* LaborOS landing 2.0 | La Scrivania Operativa */

:root {
    color-scheme: light;
    --ink-950: oklch(20% 0.074 255);
    --ink-900: oklch(25% 0.075 255);
    --ink-800: oklch(31% 0.066 255);
    --ink-700: oklch(39% 0.055 255);
    --ink-600: oklch(47% 0.045 255);
    --blue-700: oklch(43% 0.205 260);
    --blue-650: oklch(49% 0.218 260);
    --blue-600: oklch(54% 0.216 257);
    --blue-500: oklch(61% 0.188 251);
    --cyan-500: oklch(72% 0.13 226);
    --paper: oklch(97.8% 0.009 92);
    --paper-blue: oklch(96.5% 0.014 244);
    --surface: oklch(99% 0.005 92);
    --surface-blue: oklch(94.5% 0.022 248);
    --rule: oklch(84% 0.021 248);
    --rule-strong: oklch(70% 0.035 250);
    --success: oklch(52% 0.134 154);
    --danger: oklch(51% 0.178 24);
    --shadow-window: 0 22px 60px oklch(20% 0.06 255 / 0.18), 0 3px 10px oklch(20% 0.04 255 / 0.14);
    --shadow-header: 0 10px 32px oklch(18% 0.05 255 / 0.09);
    --font: "Albert Sans", "Segoe UI", Arial, sans-serif;
    --shell: min(1480px, calc(100% - 32px));
    --header-height: 68px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-950);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--cyan-500);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    padding: 12px 18px;
    background: var(--surface);
    color: var(--ink-950);
    border: 2px solid var(--blue-650);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow,
.overline,
.product-kicker {
    margin: 0 0 14px;
    color: var(--blue-650);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.115em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow > span {
    width: 24px;
    height: 2px;
    background: currentColor;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 11px 17px;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button:hover {
    transform: translateY(-1px);
}

.button-accent {
    background: var(--blue-500);
    color: var(--ink-950);
    border-color: var(--blue-500);
}

.button-accent:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-500);
}

.button-quiet {
    background: transparent;
    color: var(--ink-900);
    border-color: var(--rule-strong);
}

.button-quiet:hover {
    background: var(--surface-blue);
}

/* Pulsante secondario per l'acquisto accanto allo Scarica (offerte desktop). */
.button-ghost {
    background: transparent;
    color: var(--blue-500);
    border-color: var(--blue-500);
}

.button-ghost:hover {
    background: var(--surface-blue);
}

/* Card bundle LaborOS Desktop nella hero: senza screenshot, evidenziata. */
.stage-item-bundle .stage-dock {
    border: 1px solid var(--rule-strong);
    border-radius: 12px;
    padding: 16px 18px;
    background: var(--surface-blue);
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: var(--ink-950);
    color: var(--surface);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-header);
    background: oklch(19% 0.075 255 / 0.97);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    text-decoration: none;
}

.brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid oklch(100% 0 0 / 0.28);
    border-radius: 4px;
}

.menu-toggle {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.menu-toggle-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-toggle-lines {
    width: 20px;
    display: grid;
    gap: 6px;
}

.menu-toggle-lines span {
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.site-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px max(16px, calc((100vw - 1480px) / 2));
    background: var(--ink-950);
    border-top: 1px solid oklch(100% 0 0 / 0.12);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 260ms var(--ease), visibility 260ms;
}

.site-menu.is-open {
    transform: translateY(0);
    visibility: visible;
}

.site-menu a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    border-bottom: 1px solid oklch(100% 0 0 / 0.12);
    color: oklch(91% 0.018 248);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.site-menu a:hover,
.site-menu a.active {
    color: var(--cyan-500);
}

.header-cta {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 58px) 0 64px;
    background: var(--ink-950);
    color: var(--surface);
}

.hero::before {
    content: "";
    position: absolute;
    inset: var(--header-height) 0 auto;
    height: 3px;
    background: var(--cyan-500);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    color: var(--cyan-500);
}

.hero-copy h1 {
    max-width: 720px;
    margin: 0;
    color: var(--surface);
    font-size: clamp(2.65rem, 10vw, 5.6rem);
    font-weight: 780;
    letter-spacing: -0.064em;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: oklch(84% 0.022 248);
    font-size: clamp(1.03rem, 2.2vw, 1.24rem);
    line-height: 1.55;
}

.hero-stage {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 46px;
    margin-top: 58px;
}

.stage-item {
    display: grid;
    align-content: start;
}

.stage-shot img {
    aspect-ratio: auto;
    height: auto;
}

.stage-dock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 18px;
}

.stage-id {
    min-width: 0;
}

.stage-id h2 {
    margin: 0;
    color: var(--surface);
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.stage-id p {
    margin: 2px 0 0;
    color: oklch(76% 0.025 248);
    font-size: 0.82rem;
}

.stage-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 0 auto;
}

.stage-price strong {
    color: var(--cyan-500);
    font-size: 1.5rem;
    font-weight: 780;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stage-price span {
    color: oklch(80% 0.02 248);
    font-size: 0.85rem;
}

.stage-dock .button {
    min-height: 44px;
    padding: 10px 16px;
}

.product-symbol {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: var(--blue-500);
    color: var(--ink-950);
    border-radius: 5px;
}

.product-symbol svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.product-symbol-hub svg {
    fill: currentColor;
    stroke: none;
}

.system-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 19px 0 0;
    color: oklch(72% 0.025 248);
    font-size: 0.78rem;
}

.system-note svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.hero-offer-callout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    align-items: center;
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid oklch(100% 0 0 / 0.22);
    border-bottom: 1px solid oklch(100% 0 0 / 0.22);
}

.hero-offer-copy .overline {
    margin-bottom: 7px;
    color: var(--cyan-500);
}

.hero-offer-copy > p:last-child {
    max-width: 780px;
    margin: 0;
    color: oklch(84% 0.022 248);
    font-size: 0.94rem;
}

.hero-offer-copy strong {
    color: var(--surface);
    font-weight: 780;
}

.hero-offer-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--cyan-500);
    font-weight: 760;
    text-decoration: none;
}

.hero-offer-link:hover {
    text-decoration: underline;
}

.shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid oklch(57% 0.04 252);
    border-radius: 9px;
    box-shadow: var(--shadow-window);
    isolation: isolate;
}

.shot-bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: var(--surface-blue);
    border-bottom: 1px solid var(--rule);
}

.shot-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rule-strong);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    background: var(--surface-blue);
}

/* Workflow */
.workflow {
    background: var(--surface-blue);
    border-bottom: 1px solid var(--rule);
}

.workflow-grid {
    display: grid;
}

.workflow article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 27px 0;
}

.workflow article + article {
    border-top: 1px solid var(--rule-strong);
}

.step-number,
.row-index {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--blue-650);
    color: var(--surface);
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 800;
}

.workflow .overline {
    margin-bottom: 2px;
    font-size: 0.63rem;
}

.workflow h2 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.workflow p:not(.overline) {
    margin: 4px 0 0;
    color: var(--ink-700);
    font-size: 0.84rem;
}

.workflow article > svg {
    display: none;
    width: 96px;
    fill: none;
    stroke: var(--blue-650);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

/* Shared section heading */
.products-section,
.security-section,
.download-section,
.faq-section {
    padding: 88px 0;
}

.section-intro {
    max-width: 800px;
}

.section-intro h2,
.security-copy h2,
.download-heading h2 {
    margin: 0;
    font-size: clamp(2.15rem, 7.5vw, 4.9rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.section-intro > p:last-child,
.security-copy > p:last-child,
.download-heading > p:last-child {
    max-width: 660px;
    margin: 22px 0 0;
    color: var(--ink-700);
    font-size: 1.05rem;
}

/* Product detail */
.product-detail {
    position: relative;
    display: grid;
    gap: 38px;
    margin-top: 84px;
    padding: 72px 0 0;
    border-top: 1px solid var(--rule-strong);
}

.product-detail + .product-detail {
    margin-top: 108px;
}

.product-index {
    position: absolute;
    top: 0;
    right: 0;
    color: oklch(46% 0.17 258 / 0.11);
    font-size: clamp(5.5rem, 20vw, 11rem);
    font-weight: 800;
    letter-spacing: -0.09em;
    line-height: 0.7;
}

.product-copy {
    position: relative;
    z-index: 1;
}

.product-copy h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 6.5vw, 4.25rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1.01;
    text-wrap: balance;
}

.detail-lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--ink-700);
    font-size: 1.04rem;
}

.feature-ledger {
    margin: 36px 0 0;
    border-top: 1px solid var(--rule);
}

.feature-ledger > div {
    display: grid;
    gap: 5px;
    padding: 17px 0;
    border-bottom: 1px solid var(--rule);
}

.feature-ledger dt {
    font-weight: 760;
}

.feature-ledger dd {
    margin: 0;
    color: var(--ink-700);
}

.detail-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
    margin-top: 30px;
}

.detail-action > span {
    color: var(--ink-600);
    font-size: 0.9rem;
}

.detail-action strong {
    color: var(--ink-950);
}

.detail-visual {
    align-self: center;
}

.detail-shot {
    border-radius: 14px;
}

/* Comparison */
.comparison-section {
    padding: 90px 0;
    background: var(--ink-950);
    color: var(--surface);
}

.section-intro-light .eyebrow {
    color: var(--cyan-500);
}

.section-intro-light h2 {
    color: var(--surface);
}

.comparison-wrap {
    overflow-x: auto;
    margin-top: 52px;
    border-top: 1px solid oklch(100% 0 0 / 0.22);
}

.comparison-wrap table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.comparison-wrap th,
.comparison-wrap td {
    padding: 18px 16px;
    border-bottom: 1px solid oklch(100% 0 0 / 0.16);
    text-align: left;
}

.comparison-wrap thead th {
    padding-top: 24px;
    color: var(--cyan-500);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.comparison-wrap thead th:not(:first-child),
.comparison-wrap td {
    text-align: center;
}

.comparison-wrap tbody th {
    color: oklch(89% 0.018 248);
    font-weight: 550;
}

.comparison-wrap td {
    color: oklch(88% 0.02 248);
}

.table-yes {
    display: inline-grid;
    min-width: 42px;
    min-height: 29px;
    place-items: center;
    background: var(--blue-600);
    border-radius: 3px;
    color: var(--surface);
    font-size: 0.78rem;
    font-weight: 750;
}

.table-dash {
    color: oklch(70% 0.02 250);
}

.comparison-note {
    margin: 22px 0 0;
    color: oklch(77% 0.025 248);
    font-size: 0.84rem;
}

/* Security */
.security-section {
    background: var(--paper-blue);
    border-bottom: 1px solid var(--rule);
}

.security-grid {
    display: grid;
    gap: 52px;
}

.principles {
    border-top: 1px solid var(--rule-strong);
}

.principles article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-strong);
}

.principles article > span {
    color: var(--blue-650);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.principles h3 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: -0.025em;
}

.principles p {
    margin: 5px 0 0;
    color: var(--ink-700);
}

/* Download */
.download-section {
    background: var(--surface);
}

.download-heading {
    max-width: 880px;
}

.download-rows {
    margin-top: 52px;
    border-top: 1px solid var(--rule-strong);
}

.download-row {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--rule-strong);
}

.download-row > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.download-row h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.download-row > div p {
    margin: 2px 0 0;
    color: var(--ink-600);
    font-size: 0.84rem;
}

.row-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
}

.row-price strong {
    color: var(--blue-650);
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.row-price span {
    color: var(--ink-600);
    font-size: 0.82rem;
}

/* Newsletter and guided demo */
.newsletter-section {
    padding: 88px 0;
    background: var(--ink-950);
    color: var(--surface);
}

.newsletter-grid {
    display: grid;
    gap: 58px;
}

.newsletter-copy {
    max-width: 760px;
}

.newsletter-copy .eyebrow {
    color: var(--cyan-500);
}

.newsletter-copy h2 {
    max-width: 820px;
    margin: 0;
    color: var(--surface);
    font-size: clamp(2.15rem, 7.5vw, 4.9rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.newsletter-lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: oklch(83% 0.027 248);
    font-size: 1.05rem;
}

.newsletter-points {
    margin-top: 38px;
    border-top: 1px solid oklch(100% 0 0 / 0.2);
}

.newsletter-points p {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid oklch(100% 0 0 / 0.16);
}

.newsletter-points span {
    color: var(--cyan-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.newsletter-points strong {
    font-size: 0.94rem;
    font-weight: 650;
}

.demo-invite {
    margin-top: 40px;
    padding: 22px 0 0;
    border-top: 1px solid oklch(100% 0 0 / 0.2);
}

.demo-invite .overline,
.newsletter-form .overline {
    color: var(--cyan-500);
}

.demo-invite h3 {
    margin: 0;
    color: var(--surface);
    font-size: 1.5rem;
    letter-spacing: -0.035em;
}

.demo-invite > div > p:not(.overline) {
    max-width: 610px;
    margin: 9px 0 0;
    color: oklch(78% 0.026 248);
    font-size: 0.92rem;
}

.newsletter-demo {
    display: grid;
    gap: 20px;
    align-items: end;
    margin-top: 58px;
    padding-top: 30px;
}

.newsletter-demo .newsletter-text-link {
    margin-top: 0;
}

.newsletter-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
    color: var(--cyan-500);
    font-weight: 750;
    text-decoration: none;
}

.newsletter-text-link:hover {
    text-decoration: underline;
}

.newsletter-form-column {
    align-self: start;
    padding-top: 34px;
    border-top: 2px solid var(--cyan-500);
}

.newsletter-form {
    position: relative;
    display: grid;
    gap: 22px;
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.form-heading h3 {
    margin: 0;
    color: var(--surface);
    font-size: clamp(1.65rem, 5vw, 2.45rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.form-heading > p:last-child {
    margin: 11px 0 0;
    color: oklch(77% 0.027 248);
    font-size: 0.9rem;
}

.newsletter-offer-terms {
    display: grid;
    gap: 9px;
    padding: 17px 0;
    border-top: 1px solid oklch(100% 0 0 / 0.22);
    border-bottom: 1px solid oklch(100% 0 0 / 0.22);
}

.newsletter-offer-terms p {
    margin: 0;
    color: oklch(82% 0.024 248);
    font-size: 0.8rem;
    line-height: 1.55;
}

.newsletter-offer-terms strong {
    color: var(--surface);
    font-weight: 750;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label,
.interest-fieldset legend {
    color: var(--surface);
    font-size: 0.88rem;
    font-weight: 720;
}

.form-field label span,
.interest-fieldset legend span {
    color: oklch(72% 0.025 248);
    font-size: 0.76rem;
    font-weight: 500;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    background: var(--surface);
    border: 1px solid oklch(72% 0.03 248);
    border-radius: 4px;
    color: var(--ink-950);
}

.form-field input::placeholder {
    color: var(--ink-600);
}

.form-field input:hover,
.form-field select:hover {
    border-color: var(--cyan-500);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--cyan-500);
    outline: 3px solid oklch(72% 0.13 226 / 0.28);
    outline-offset: 1px;
}

.newsletter-personalization {
    border-top: 1px solid oklch(100% 0 0 / 0.2);
    border-bottom: 1px solid oklch(100% 0 0 / 0.2);
}

.newsletter-personalization summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--surface);
    font-size: 0.88rem;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}

.newsletter-personalization summary::-webkit-details-marker {
    display: none;
}

.newsletter-personalization summary > span {
    color: oklch(72% 0.025 248);
    font-size: 0.74rem;
    font-weight: 520;
}

.newsletter-personalization summary::after {
    content: "+";
    margin-left: auto;
    color: var(--cyan-500);
    font-size: 1.2rem;
}

.newsletter-personalization[open] summary::after {
    content: "−";
}

.newsletter-personalization-fields {
    display: none;
    gap: 20px;
    padding: 2px 0 20px;
}

.newsletter-personalization[open] .newsletter-personalization-fields {
    display: grid;
}

.interest-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.interest-fieldset legend {
    margin-bottom: 10px;
}

.interest-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest-options label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: oklch(100% 0 0 / 0.06);
    border: 1px solid oklch(100% 0 0 / 0.25);
    border-radius: 4px;
    color: oklch(92% 0.012 248);
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
}

.interest-options label:has(input:checked) {
    background: oklch(54% 0.216 257 / 0.25);
    border-color: var(--cyan-500);
    color: var(--surface);
}

.interest-options input,
.newsletter-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--cyan-500);
}

.newsletter-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid oklch(100% 0 0 / 0.2);
    color: oklch(91% 0.014 248);
    font-size: 0.83rem;
    line-height: 1.55;
    cursor: pointer;
}

.newsletter-consent input {
    margin-top: 2px;
}

.newsletter-scope,
.form-assurance {
    margin: -8px 0 0;
    color: oklch(72% 0.026 248);
    font-size: 0.76rem;
}

.newsletter-submit {
    width: 100%;
}

.newsletter-submit:disabled {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

.form-status {
    margin: 0;
    padding: 13px 14px;
    border: 1px solid var(--cyan-500);
    background: oklch(100% 0 0 / 0.07);
    color: var(--surface);
    font-size: 0.86rem;
}

.form-status.is-error {
    border-color: oklch(70% 0.18 24);
    background: oklch(42% 0.12 24 / 0.24);
}

.form-status.is-success {
    border-color: oklch(72% 0.14 154);
    background: oklch(42% 0.1 154 / 0.22);
}

.newsletter-privacy {
    margin-top: 28px;
    border-top: 1px solid oklch(100% 0 0 / 0.2);
    border-bottom: 1px solid oklch(100% 0 0 / 0.2);
}

.newsletter-privacy summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: oklch(88% 0.017 248);
    font-size: 0.82rem;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}

.newsletter-privacy summary::-webkit-details-marker {
    display: none;
}

.newsletter-privacy summary::after {
    content: "+";
    color: var(--cyan-500);
    font-size: 1.25rem;
}

.newsletter-privacy[open] summary::after {
    content: "−";
}

.newsletter-privacy > div {
    padding: 0 0 18px;
    color: oklch(75% 0.026 248);
    font-size: 0.78rem;
}

.newsletter-privacy p {
    margin: 10px 0 0;
}

.newsletter-privacy a {
    color: var(--cyan-500);
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* FAQ */
.faq-section {
    background: var(--paper-blue);
    border-block: 1px solid var(--rule);
}

.faq-grid {
    display: grid;
    gap: 48px;
}

.faq-list {
    border-top: 1px solid var(--rule-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--rule-strong);
}

.faq-list summary {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--rule-strong);
    color: var(--blue-650);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 680px;
    margin: -4px 50px 20px 0;
    color: var(--ink-700);
}

/* Footer */
.site-footer {
    padding: 60px 0 max(24px, env(safe-area-inset-bottom));
    background: var(--ink-950);
    color: oklch(86% 0.02 248);
}

.footer-main {
    display: grid;
    gap: 48px;
}

.brand-footer {
    color: var(--surface);
}

.footer-main > div:first-child > p {
    max-width: 360px;
    margin: 18px 0 0;
    color: oklch(73% 0.025 248);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
}

.footer-links div {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-links h2 {
    margin: 0 0 5px;
    color: var(--surface);
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.footer-links a {
    width: fit-content;
    color: oklch(75% 0.028 248);
    font-size: 0.87rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cyan-500);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 46px;
    padding-top: 20px;
    border-top: 1px solid oklch(100% 0 0 / 0.14);
}

.footer-bottom p {
    margin: 0;
    color: oklch(68% 0.02 248);
    font-size: 0.75rem;
}

/* Legal modals: compatible with the existing Bootstrap-shaped include, no Bootstrap dependency */
.modal {
    position: fixed;
    z-index: 4000;
    inset: 0;
    display: none;
    overflow-y: auto;
    padding: 20px;
    background: oklch(13% 0.055 255 / 0.78);
}

.modal.is-open {
    display: grid;
    place-items: center;
}

.modal-dialog {
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    margin: auto;
}

.modal-content {
    max-height: calc(100vh - 40px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: var(--surface);
    color: var(--ink-950);
    border: 1px solid var(--rule-strong);
    border-radius: 5px;
    box-shadow: var(--shadow-window);
}

.modal-header,
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    background: var(--paper-blue);
}

.modal-header {
    border-bottom: 1px solid var(--rule);
}

.modal-footer {
    justify-content: flex-end;
    border-top: 1px solid var(--rule);
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
}

.btn-close {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.btn-close::before,
.btn-close::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 12px;
    width: 20px;
    height: 2px;
    background: var(--ink-950);
}

.btn-close::before { transform: rotate(45deg); }
.btn-close::after { transform: rotate(-45deg); }

.modal-body {
    overflow-y: auto;
    padding: 22px 20px 32px;
    color: var(--ink-800);
    font-size: 0.92rem;
}

.modal-body h6 {
    margin: 26px 0 9px;
    color: var(--ink-950);
    font-size: 1rem;
}

.modal-body p,
.modal-body ul {
    margin-top: 0;
}

.modal-body a {
    color: var(--blue-650);
}

.modal-body code {
    color: var(--blue-700);
}

.legal-terms .legal-note,
.legal-terms .legal-review-note {
    padding: 14px 16px;
    background: var(--surface-blue);
    border: 1px solid var(--blue-650);
    color: var(--ink-800);
}

.legal-terms .legal-review-note {
    margin-top: 30px;
    border-color: var(--cyan-500);
}

.legal-price-table {
    margin: 14px 0 18px;
}

.legal-price-table thead {
    background: var(--ink-950);
    color: var(--surface);
}

.legal-price-table tbody tr:nth-child(even) {
    background: var(--paper-blue);
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
}

.modal-body th,
.modal-body td {
    padding: 8px;
    border: 1px solid var(--rule);
    text-align: left;
    vertical-align: top;
}

.table-responsive {
    overflow-x: auto;
}

.modal .btn,
.modal .btn-primary {
    min-height: 44px;
    padding: 10px 16px;
    background: var(--blue-650);
    color: var(--surface);
    border: 1px solid var(--blue-650);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.text-muted { color: var(--ink-600) !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }

/* Cookie */
.cookie-banner {
    position: fixed;
    z-index: 3000;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    gap: 18px;
    padding: 20px;
    background: var(--surface);
    color: var(--ink-950);
    border: 1px solid var(--rule-strong);
    border-top: 4px solid var(--blue-650);
    box-shadow: var(--shadow-window);
}

.cookie-banner strong {
    font-size: 1.03rem;
}

.cookie-banner p {
    margin: 5px 0 0;
    color: var(--ink-700);
    font-size: 0.85rem;
}

.cookie-banner a {
    color: var(--blue-650);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cookie-actions .button {
    flex: 1 1 150px;
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */
@media (min-width: 680px) {
    :root {
        --shell: min(1480px, calc(100% - 64px));
        --header-height: 72px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 74px);
    }

    .hero-stage {
        grid-template-columns: repeat(2, minmax(0, 460px));
        justify-content: space-between;
        gap: 40px 28px;
    }

    .hero-offer-callout,
    .newsletter-demo {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .hero-offer-link,
    .newsletter-demo .newsletter-text-link {
        justify-self: end;
    }

    .workflow article {
        grid-template-columns: 44px minmax(0, 1fr) 96px;
    }

    .workflow article > svg {
        display: block;
    }

    .feature-ledger > div {
        grid-template-columns: minmax(145px, 0.6fr) minmax(0, 1.4fr);
        gap: 24px;
    }

    .download-row {
        grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.6fr) auto;
    }

    .newsletter-submit {
        width: fit-content;
        min-width: 250px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-banner {
        right: 24px;
        bottom: max(24px, env(safe-area-inset-bottom));
        left: auto;
        width: min(620px, calc(100% - 48px));
    }
}

/* Desktop */
@media (min-width: 980px) {
    .menu-toggle {
        display: none;
    }

    .site-menu {
        position: static;
        display: flex;
        align-items: center;
        gap: clamp(20px, 2.3vw, 38px);
        margin-left: auto;
        padding: 0;
        background: transparent;
        border: 0;
        transform: none;
        visibility: visible;
    }

    .site-menu a {
        min-height: 44px;
        padding: 0;
        border: 0;
        font-size: 0.8rem;
    }

    .header-cta {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        padding: 0 16px;
        background: var(--blue-650);
        border: 1px solid var(--blue-500);
        border-radius: 4px;
        color: var(--surface);
        font-size: 0.8rem;
        font-weight: 750;
        text-decoration: none;
    }

    .workflow-grid {
        grid-template-columns: 1fr 1fr;
    }

    .workflow article {
        padding: 30px 34px 30px 0;
    }

    .workflow article + article {
        padding-right: 0;
        padding-left: 34px;
        border-top: 0;
        border-left: 1px solid var(--rule-strong);
    }

    .product-detail {
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
        gap: clamp(60px, 8vw, 130px);
        align-items: center;
    }

    .product-detail-hub {
        grid-template-columns: minmax(380px, 0.75fr) minmax(0, 1.05fr);
    }

    .product-detail-hub .product-copy {
        grid-column: 2;
    }

    .product-detail-hub .detail-visual {
        grid-column: 1;
        grid-row: 1;
    }

    .product-index {
        right: 2%;
    }

    .product-detail-hub .product-index {
        right: auto;
        left: 0;
    }

    .security-grid,
    .faq-grid {
        grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
        gap: clamp(70px, 10vw, 170px);
    }

    .newsletter-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
        gap: clamp(70px, 9vw, 150px);
    }

    .newsletter-form-column {
        padding: 0 0 0 clamp(38px, 5vw, 72px);
        border-top: 0;
        border-left: 1px solid var(--cyan-500);
    }

    .security-copy,
    .faq-grid .section-intro {
        position: sticky;
        top: calc(var(--header-height) + 40px);
        align-self: start;
    }

    .footer-main {
        grid-template-columns: minmax(300px, 1fr) minmax(480px, 0.9fr);
        gap: 80px;
    }
}

/* Wide desktop hero */
@media (min-width: 1180px) {
    .hero {
        padding: calc(var(--header-height) + 76px) 0 96px;
    }

    .hero-copy h1 {
        font-size: clamp(3.5rem, 4.2vw, 5.25rem);
    }

    .hero-lead {
        font-size: 1.07rem;
    }

    .hero-stage {
        grid-template-columns: 1fr 1fr;
        gap: 26px 34px;
        margin-top: 64px;
    }

    .products-section,
    .security-section,
    .download-section,
    .newsletter-section,
    .faq-section {
        padding: 118px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .cookie-banner,
    .button,
    .newsletter-form,
    .newsletter-privacy,
    .modal {
        display: none !important;
    }

    body {
        background: var(--surface);
        color: var(--ink-950);
    }

    .hero {
        padding-top: 30px;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Gallery */
.gallery-section {
    padding: 88px 0 92px;
    background: var(--surface-blue);
    border-bottom: 1px solid var(--rule);
}

.gallery-head {
    display: grid;
    gap: 24px;
    align-items: end;
}

.gallery-head h2 {
    margin: 0;
    font-size: clamp(2.15rem, 7.5vw, 4.9rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.gallery-lead {
    max-width: 660px;
    margin: 22px 0 0;
    color: var(--ink-700);
    font-size: 1.05rem;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gallery-counter {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.gallery-counter > span:first-child {
    color: var(--blue-650);
}

.gallery-arrows {
    display: flex;
    gap: 10px;
}

.gallery-arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    color: var(--ink-900);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.gallery-arrow:hover:not(:disabled) {
    background: var(--blue-650);
    border-color: var(--blue-650);
    color: var(--surface);
}

.gallery-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.gallery-arrow svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.gallery-chip {
    min-height: 40px;
    padding: 9px 16px;
    background: var(--surface);
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    color: var(--ink-800);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.gallery-chip:hover {
    border-color: var(--blue-650);
    color: var(--blue-700);
}

.gallery-chip.is-active {
    background: var(--ink-950);
    border-color: var(--ink-950);
    color: var(--surface);
}

.gallery-scroller {
    margin-top: 28px;
}

.gallery-track {
    --gallery-pad: max(16px, calc((100vw - 1480px) / 2));
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 4px var(--gallery-pad) 10px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gallery-pad);
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-track.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grabbing;
    user-select: none;
}

.gallery-card {
    flex: 0 0 min(1040px, 88vw);
    display: grid;
    align-content: start;
    gap: 15px;
    scroll-snap-align: start;
}

.gallery-shot img {
    aspect-ratio: 16 / 9;
}

.shot-tag {
    width: auto;
    height: auto;
    margin-left: auto;
    padding: 2px 8px;
    background: var(--blue-650);
    border-radius: 3px;
    color: var(--surface);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.5;
}

.gallery-caption {
    display: grid;
    gap: 3px;
    padding-inline: 2px;
}

.gallery-kicker {
    margin: 0;
    color: var(--blue-650);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gallery-caption h3 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.gallery-caption > p:last-child {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.87rem;
}

.gallery-progress {
    height: 3px;
    margin-top: 16px;
    background: var(--rule);
}

.gallery-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--blue-650);
    transition: width 320ms var(--ease);
}

.gallery-hint {
    margin: 12px 0 0;
    color: var(--ink-600);
    font-size: 0.76rem;
}

@media (min-width: 680px) {
    .gallery-section {
        padding: 96px 0 100px;
    }

    .gallery-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 30px;
    }

    .gallery-head > :not(.gallery-controls) {
        grid-column: 1;
    }

    .gallery-controls {
        grid-column: 2;
        grid-row: 1 / span 3;
    }
}

@media (min-width: 980px) {
    .gallery-card {
        flex-basis: min(1040px, 72vw);
    }
}

@media (min-width: 1180px) {
    .gallery-section {
        padding: 118px 0 124px;
    }
}

@media print {
    .gallery-controls,
    .gallery-filters,
    .gallery-progress,
    .gallery-hint {
        display: none !important;
    }

    .gallery-track {
        overflow: visible;
    }
}
