/* LilyInfoSystems — Home custom PHP V1.4.0 Artigiano */

:root {
    --font-display: Georgia, 'Times New Roman', serif;
    --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1180px;
    --header-height: 76px;
    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --shadow-sm: 0 12px 34px rgba(0, 0, 0, .14);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, .28);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --transition: 180ms var(--ease);
}

html[data-theme='petrolio'] {
    --bg: #061719;
    --bg-deep: #031012;
    --surface: #0a2022;
    --surface-2: #0e292b;
    --surface-3: #143234;
    --text: #f5f2ea;
    --text-soft: #c5d1ce;
    --muted: #91a7a3;
    --accent: #69c5b3;
    --accent-2: #9bdfd2;
    --accent-strong: #41a994;
    --accent-ink: #031614;
    --border: rgba(140, 218, 203, .18);
    --border-strong: rgba(140, 218, 203, .38);
    --glow: rgba(75, 190, 169, .2);
    --grid: rgba(118, 201, 185, .08);
    --danger: #e8928b;
    --logo-info: #70cdb9;
    --chart: #74d2bf;
    --code-key: #98dfd2;
    --code-value: #eed58d;
    --header-bg: rgba(4, 18, 20, .78);
    --alt-bg: #071d1f;
    --contact-bg: #081c1e;
    --theme-color: #061719;
}

html[data-theme='blu'] {
    --bg: #041322;
    --bg-deep: #020b14;
    --surface: #071d31;
    --surface-2: #0a2944;
    --surface-3: #103553;
    --text: #f4f7fb;
    --text-soft: #c4d1df;
    --muted: #91a8bd;
    --accent: #36c8f4;
    --accent-2: #8be1fb;
    --accent-strong: #079fd2;
    --accent-ink: #00131d;
    --border: rgba(74, 202, 243, .18);
    --border-strong: rgba(74, 202, 243, .4);
    --glow: rgba(37, 182, 232, .22);
    --grid: rgba(64, 181, 227, .09);
    --danger: #ff9c94;
    --logo-info: #45cef5;
    --chart: #45cef5;
    --code-key: #73ddff;
    --code-value: #f0d986;
    --header-bg: rgba(2, 12, 22, .8);
    --alt-bg: #06182a;
    --contact-bg: #051725;
    --theme-color: #041322;
}

html[data-theme='rame'] {
    --bg: #0e0c0a;
    --bg-deep: #070605;
    --surface: #17120e;
    --surface-2: #211811;
    --surface-3: #2e2015;
    --text: #f6f0e8;
    --text-soft: #d7cbc0;
    --muted: #a99888;
    --accent: #d78b48;
    --accent-2: #efb474;
    --accent-strong: #b86728;
    --accent-ink: #1a0b02;
    --border: rgba(223, 150, 80, .19);
    --border-strong: rgba(223, 150, 80, .42);
    --glow: rgba(212, 120, 47, .2);
    --grid: rgba(208, 128, 61, .08);
    --danger: #e88d78;
    --logo-info: #da8f4b;
    --chart: #e39650;
    --code-key: #efad6e;
    --code-value: #e7d08a;
    --header-bg: rgba(10, 8, 6, .82);
    --alt-bg: #130f0c;
    --contact-bg: #15100c;
    --theme-color: #0e0c0a;
}

html[data-theme='chiaro'] {
    --bg: #f4f6f3;
    --bg-deep: #e9eeea;
    --surface: #ffffff;
    --surface-2: #edf3ee;
    --surface-3: #e1ebe3;
    --text: #15221c;
    --text-soft: #40524a;
    --muted: #596a62;
    --accent: #24784a;
    --accent-2: #3d9564;
    --accent-strong: #165f38;
    --accent-ink: #ffffff;
    --border: rgba(33, 100, 63, .16);
    --border-strong: rgba(33, 100, 63, .34);
    --glow: rgba(45, 138, 88, .13);
    --grid: rgba(45, 138, 88, .075);
    --danger: #a94d48;
    --logo-info: #24784a;
    --chart: #24784a;
    --code-key: #17693f;
    --code-value: #9b6715;
    --header-bg: rgba(247, 249, 247, .88);
    --alt-bg: #edf2ee;
    --contact-bg: #e8f0ea;
    --theme-color: #f4f6f3;
    --shadow-sm: 0 12px 34px rgba(25, 53, 39, .08);
    --shadow-lg: 0 28px 80px rgba(25, 53, 39, .13);
}

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

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

/* Durante la risalita rapida il movimento è gestito frame per frame dal JS. */
html.is-fast-scroll { scroll-behavior: auto !important; }

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 84% 4%, var(--glow), transparent 24rem),
        linear-gradient(180deg, var(--bg-deep), var(--bg) 28rem, var(--bg));
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 250ms var(--ease), color 250ms var(--ease);
}

a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
    outline: 3px solid var(--accent-2);
    outline-offset: 4px;
    border-radius: 4px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 15px;
    border-radius: var(--radius-xs);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 800;
    transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section-pad { padding: 112px 0; }
.section-alt {
    position: relative;
    background: linear-gradient(180deg, transparent, var(--alt-bg) 8%, var(--alt-bg) 92%, transparent);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: var(--header-bg);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 31px;
    display: inline-grid;
    place-items: center;
    transform: rotate(45deg);
}
.brand-mark::before, .brand-mark::after,
.brand-mark span {
    content: '';
    position: absolute;
    border: 1.5px solid var(--accent);
    border-radius: 100% 0 100% 0;
}
.brand-mark::before { width: 20px; height: 20px; }
.brand-mark::after { width: 12px; height: 12px; }
.brand-mark span:nth-child(1) { width: 27px; height: 9px; }
.brand-mark span:nth-child(2) { width: 9px; height: 27px; }
.brand-mark span:nth-child(3) { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.brand-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.62rem);
    line-height: 1;
    letter-spacing: -.025em;
    white-space: nowrap;
}
.brand-text > span { color: var(--logo-info); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.3vw, 34px);
    margin-left: auto;
}
.desktop-nav a {
    position: relative;
    color: var(--text-soft);
    font-size: .91rem;
    font-weight: 650;
    transition: color var(--transition);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    background: var(--accent);
    transition: transform var(--transition);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { transform: scaleX(1); }

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 800;
    letter-spacing: -.01em;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}
.button svg { width: 19px; height: 19px; }
.button:hover { transform: translateY(-2px); }
.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-ink);
    box-shadow: 0 15px 34px var(--glow);
}
.button-primary:hover { box-shadow: 0 18px 42px var(--glow); }
.button-outline {
    border-color: var(--border-strong);
    background: color-mix(in srgb, var(--surface) 68%, transparent);
    color: var(--text);
}
.button-outline:hover { border-color: var(--accent); background: var(--surface-2); }
.button-small { min-height: 42px; padding: 0 14px; font-size: .88rem; }

.theme-control { position: relative; }
.theme-control > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-soft);
    cursor: pointer;
    list-style: none;
    font-size: .86rem;
    font-weight: 750;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.theme-control > summary::-webkit-details-marker { display: none; }
.theme-control > summary svg { width: 18px; height: 18px; }
.theme-control[open] > summary, .theme-control > summary:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface); }

.no-js .theme-control { display: none; }
.js .theme-control-dock { display: block; }

.theme-panel {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 13px);
    right: 0;
    width: min(300px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.theme-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 23px;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-top: 1px solid var(--border-strong);
    border-left: 1px solid var(--border-strong);
    background: var(--surface);
}
.theme-title { margin: 2px 6px 10px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.theme-panel button {
    display: grid;
    grid-template-columns: 31px 1fr;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.theme-panel button:hover, .theme-panel button[aria-pressed='true'] { border-color: var(--border); background: var(--surface-2); }
.theme-panel button > span:last-child { display: grid; font-size: .91rem; font-weight: 800; line-height: 1.2; }
.theme-panel small { margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 500; }
.swatch { width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(0,0,0,.12); }
.swatch-auto { background: linear-gradient(135deg, #f4f6f3 0 50%, #061719 50% 100%); }
.swatch-petrolio { background: #69c5b3; }
.swatch-blu { background: #36c8f4; }
.swatch-rame { background: #d78b48; }
.swatch-chiaro { background: #f4f6f3; border-color: #b9c6bd; }

/* Strumenti sempre raggiungibili: palette temi + risalita rapida. */
.utility-dock {
    position: fixed;
    z-index: 1450;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.theme-control-dock > summary,
.back-to-top {
    min-height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--text);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .24), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
}

.theme-control-dock > summary {
    gap: 10px;
    padding: 0 15px;
}

.theme-control-dock > summary:hover,
.theme-control-dock[open] > summary,
.back-to-top:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 16px 46px var(--glow);
}

.theme-control-dock > summary svg { width: 20px; height: 20px; color: var(--accent-2); }
.theme-dock-label { color: var(--text); font-size: .84rem; font-weight: 850; letter-spacing: .01em; }
.current-theme-dot {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    border: 2px solid color-mix(in srgb, var(--text) 45%, transparent);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.theme-control-dock .theme-panel {
    top: auto;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(310px, calc(100vw - 28px));
}

.theme-control-dock .theme-panel::before {
    top: auto;
    right: 25px;
    bottom: -7px;
    border-top: 0;
    border-left: 0;
    border-right: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

.back-to-top {
    display: grid;
    place-items: center;
    width: 48px;
    padding: 0;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.back-to-top svg { width: 21px; height: 21px; color: var(--accent-2); }
.js .back-to-top {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.94);
}
.js .back-to-top.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.mobile-nav { display: none; position: relative; }
.mobile-nav > summary {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary svg { width: 20px; height: 20px; }
.mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(300px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.mobile-nav nav a { padding: 12px 13px; border-radius: 8px; font-weight: 700; }
.mobile-nav nav a:hover { background: var(--surface-2); }

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    display: grid;
    align-items: center;
    overflow: clip;
    padding-top: 84px;
    padding-bottom: 92px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, transparent, #000 38%, #000 100%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 680px;
    height: 680px;
    right: -260px;
    top: -180px;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.01), 0 0 0 160px rgba(255,255,255,.008);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: clamp(45px, 7vw, 90px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--accent-2);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 730px; margin-bottom: 27px; font-size: clamp(3.45rem, 6.35vw, 6.7rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.65rem, 4.7vw, 5rem); }
h1 em, h2 em { color: var(--accent); font-style: normal; }

.hero-lead {
    max-width: 680px;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.mailto-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 680px;
    margin-top: 43px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.hero-proof > div { display: grid; gap: 2px; padding-right: 16px; }
.hero-proof > div + div { padding-left: 21px; border-left: 1px solid var(--border); }
.hero-proof strong { font-size: .88rem; }
.hero-proof span { color: var(--muted); font-size: .76rem; }

.system-visual {
    position: relative;
    min-height: 610px;
    perspective: 1200px;
}
.visual-grid {
    position: absolute;
    inset: 10% -8% 4% 2%;
    transform: rotateX(62deg) rotateZ(-15deg) translateZ(-30px);
    transform-origin: center bottom;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .85;
}
.signal {
    position: absolute;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    box-shadow: 0 0 48px var(--glow);
}
.signal::after { content: ''; position: absolute; inset: 22%; border: 1px solid var(--border); border-radius: inherit; }
.signal-a { width: 350px; height: 350px; right: 8%; top: 10%; }
.signal-b { width: 180px; height: 180px; left: 13%; bottom: 8%; }

.system-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--surface-2) 92%, transparent), color-mix(in srgb, var(--surface) 90%, transparent));
    box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
}
.system-card header {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    font-size: .69rem;
}
.system-card header strong { color: var(--text); margin-right: auto; font-weight: 750; }
.system-card header > span:last-child { color: var(--accent-2); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px var(--accent); }

.system-overview { z-index: 5; top: 22px; right: 0; width: 245px; height: 225px; transform: rotateY(-7deg); }
.system-overview .system-ring {
    position: absolute;
    left: 21px;
    top: 72px;
    display: grid;
    place-items: center;
    width: 93px;
    height: 93px;
    border: 9px solid var(--surface-3);
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    border-radius: 50%;
    transform: rotate(15deg);
}
.system-ring::after { content: ''; position: absolute; inset: 7px; border: 1px dashed var(--border-strong); border-radius: inherit; }
.system-ring span { transform: rotate(-15deg); color: var(--text); font-size: 1.55rem; font-weight: 850; line-height: 1; }
.system-ring small { font-size: .68rem; color: var(--muted); }
.system-overview ul { position: absolute; top: 69px; right: 14px; width: 104px; padding: 0; margin: 0; list-style: none; }
.system-overview li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .62rem; }
.system-overview li b { color: var(--accent-2); font-size: .6rem; }

.system-chart { z-index: 4; top: 112px; left: 1%; width: 330px; height: 230px; transform: rotateY(8deg) rotateZ(-1deg); }
.system-chart svg { width: calc(100% - 30px); margin: 16px 15px 0; color: var(--chart); }
.chart-grid { fill: none; stroke: var(--border); stroke-width: 1; }
.chart-area { fill: url(#areaGradient); stroke: none; }
.chart-line { fill: none; stroke: currentColor; stroke-width: 3; filter: drop-shadow(0 0 7px var(--glow)); }
.chart-dots { fill: var(--surface); stroke: currentColor; stroke-width: 2; }

.system-code { z-index: 6; left: 8%; bottom: 36px; width: 340px; height: 232px; transform: rotateY(7deg) rotateZ(.5deg); }
.system-code pre { margin: 0; padding: 18px 20px; color: var(--text-soft); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; line-height: 1.68; }
.system-code code > span { color: var(--accent-2); }
.system-code i { color: var(--code-key); font-style: normal; }
.system-code b { color: var(--code-value); font-weight: 650; }

.system-flow { z-index: 7; right: 1%; bottom: 4px; width: 300px; height: 205px; transform: rotateY(-7deg); }
.flow-map { position: relative; height: 155px; }
.node {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-soft);
    font-size: .55rem;
    box-shadow: 0 0 24px var(--glow);
}
.n1 { left: 13px; top: 50px; }.n2 { left: 86px; top: 20px; }.n3 { right: 85px; top: 64px; }.n4 { right: 12px; top: 28px; }
.line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); transform-origin: left center; }
.l1 { left: 64px; top: 63px; width: 53px; transform: rotate(-23deg); }.l2 { left: 140px; top: 62px; width: 62px; transform: rotate(29deg); }.l3 { right: 59px; top: 80px; width: 55px; transform: rotate(-31deg); }

.trust-strip { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 14px; min-height: 112px; padding: 20px 23px; }
.trust-grid > div + div { border-left: 1px solid var(--border); }
.trust-grid svg { width: 29px; height: 29px; color: var(--accent); }
.trust-grid span { display: grid; color: var(--muted); font-size: .75rem; line-height: 1.42; }
.trust-grid strong { margin-bottom: 3px; color: var(--text); font-size: .86rem; }

.section-heading { max-width: 820px; margin-bottom: 50px; }
.section-heading > p:last-child { max-width: 720px; margin: 0; color: var(--text-soft); font-size: 1.02rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); align-items: end; gap: 75px; }
.split-heading h2 { margin-bottom: 0; }
.heading-copy { padding-bottom: 5px; }
.heading-copy p { margin: 0 0 21px; color: var(--text-soft); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-2); font-size: .9rem; font-weight: 850; }
.text-link svg { width: 19px; height: 19px; transition: transform var(--transition); }
.text-link:hover svg { transform: translateX(5px); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.value-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 87%, transparent), color-mix(in srgb, var(--surface-2) 58%, transparent));
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.value-card::after { content: ''; position: absolute; right: -40px; bottom: -55px; width: 130px; height: 130px; border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.01); }
.value-card:hover { transform: translateY(-7px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.icon-wrap { display: inline-grid; place-items: center; width: 51px; height: 51px; border: 1px solid var(--border-strong); border-radius: 13px; background: var(--surface-2); color: var(--accent); }
.icon-wrap svg { width: 25px; height: 25px; }
.card-number { position: absolute; right: 24px; top: 25px; color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.value-card h3 { margin: 40px 0 13px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.value-card p { margin: 0; color: var(--text-soft); font-size: .91rem; }

.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.solution-card {
    display: grid;
    grid-template-columns: 43% 57%;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.solution-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.solution-visual { position: relative; display: grid; place-items: center; min-height: 100%; overflow: hidden; border-right: 1px solid var(--border); background: radial-gradient(circle at 50% 40%, var(--glow), transparent 52%), var(--bg-deep); }
.solution-visual::before, .solution-visual::after { content: ''; position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.solution-visual::before { width: 220px; height: 220px; }
.solution-visual::after { width: 145px; height: 145px; }
.solution-visual svg { position: relative; z-index: 2; width: 79px; height: 79px; color: var(--accent); filter: drop-shadow(0 0 14px var(--glow)); }
.solution-visual i { position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.solution-visual i:nth-of-type(1) { left: 17%; top: 26%; }.solution-visual i:nth-of-type(2) { right: 17%; top: 38%; }.solution-visual i:nth-of-type(3) { left: 28%; bottom: 20%; }
.solution-body { padding: 34px 31px; }
.solution-body > span { color: var(--accent-2); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.solution-body h3 { margin: 17px 0 14px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; line-height: 1.12; }
.solution-body p { margin: 0; color: var(--text-soft); font-size: .9rem; }
.solution-body ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0 0; list-style: none; }
.solution-body li { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .67rem; }

.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.method-intro { position: sticky; top: calc(var(--header-height) + 40px); }
.method-intro > p:not(.eyebrow) { max-width: 570px; color: var(--text-soft); }
.method-quote { margin-top: 34px; padding: 24px 25px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, var(--glow), transparent); }
.method-quote p { margin: 0; color: var(--text); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; }
.method-steps { position: relative; padding: 0; margin: 0; list-style: none; }
.method-steps::before { content: ''; position: absolute; left: 33px; top: 55px; bottom: 55px; width: 1px; background: linear-gradient(var(--accent), var(--border), var(--accent)); }
.method-steps li { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding: 0 0 44px; }
.method-steps li:last-child { padding-bottom: 0; }
.step-icon { position: relative; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: 0 0 30px var(--glow); }
.step-icon svg { width: 28px; height: 28px; }
.method-steps small { color: var(--accent-2); font-size: .67rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.method-steps h3 { margin: 5px 0 10px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; }
.method-steps p { margin: 0; color: var(--text-soft); font-size: .92rem; }

.projects-section { position: relative; background: radial-gradient(circle at 12% 48%, var(--glow), transparent 24rem); }
.projects-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 18px; }
.featured-project { position: relative; display: grid; grid-template-columns: 43% 57%; min-height: 540px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: linear-gradient(135deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); }
.project-copy { position: relative; z-index: 2; padding: 48px 0 42px 42px; }
.project-label { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--accent-2); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.project-label span { width: 23px; height: 1px; background: var(--accent); }
.project-copy h3 { margin: 0; font-family: var(--font-display); font-size: clamp(3.2rem, 5vw, 5.25rem); font-weight: 400; letter-spacing: -.05em; line-height: .94; }
.project-subtitle { margin: 13px 0 20px; color: var(--accent-2); font-weight: 750; }
.project-copy > p:not(.project-label):not(.project-subtitle) { color: var(--text-soft); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0; }
.tags span { padding: 5px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .63rem; }

.project-device { position: relative; min-height: 100%; overflow: hidden; }
.project-device::before { content: ''; position: absolute; width: 520px; height: 520px; right: -110px; top: 16px; border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.012), 0 0 80px var(--glow); }
.device-screen { position: absolute; z-index: 2; right: 38px; top: 90px; width: 89%; height: 335px; overflow: hidden; border: 9px solid #090d0e; border-radius: 18px 18px 8px 8px; background: var(--bg-deep); box-shadow: var(--shadow-lg); }
.device-top { display: flex; align-items: center; gap: 6px; height: 31px; padding: 0 10px; border-bottom: 1px solid var(--border); background: var(--surface); }
.device-top span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.device-top b { margin-left: auto; color: var(--muted); font-size: .55rem; }
.device-layout { display: grid; grid-template-columns: 58px 1fr; height: calc(100% - 31px); }
.device-side { display: grid; align-content: start; gap: 13px; padding: 19px 12px; border-right: 1px solid var(--border); background: var(--surface); }
.device-side i { height: 5px; border-radius: 99px; background: var(--border-strong); }
.device-side i:first-child { background: var(--accent); }
.device-main { padding: 20px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpis span { display: grid; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.mini-kpis b { font-size: 1.2rem; }.mini-kpis small { color: var(--muted); font-size: .48rem; }
.mini-chart { position: relative; display: flex; align-items: end; gap: 9px; height: 135px; margin-top: 14px; padding: 19px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(180deg, var(--surface), transparent); }
.mini-chart::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: var(--border); }
.mini-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), var(--accent-strong)); opacity: .82; }
.mini-chart i:nth-child(1){height:35%}.mini-chart i:nth-child(2){height:56%}.mini-chart i:nth-child(3){height:47%}.mini-chart i:nth-child(4){height:76%}.mini-chart i:nth-child(5){height:67%}.mini-chart i:nth-child(6){height:92%}
.mini-rows { display: grid; gap: 7px; margin-top: 13px; }.mini-rows i { height: 7px; border-radius: 99px; background: var(--border); }.mini-rows i:nth-child(2){width:77%}.mini-rows i:nth-child(3){width:55%}
.device-base { position: absolute; z-index: 1; right: 7px; top: 419px; width: 98%; height: 18px; border-radius: 0 0 50% 50%; background: linear-gradient(#2c3234, #090b0c); box-shadow: 0 20px 35px rgba(0,0,0,.35); }
.device-phone { position: absolute; z-index: 4; right: 18px; bottom: 45px; display: grid; align-content: start; gap: 13px; width: 95px; height: 190px; padding: 25px 10px 10px; border: 6px solid #090d0e; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); }
.device-phone span { position: absolute; top: 8px; left: 50%; width: 22px; height: 3px; transform: translateX(-50%); border-radius: 99px; background: var(--muted); }
.device-phone i { height: 18px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-2); }.device-phone i:first-of-type { height: 43px; background: linear-gradient(135deg, var(--glow), var(--surface-2)); }

.project-stack { display: grid; gap: 12px; }
.project-mini { position: relative; display: grid; grid-template-columns: 51px 1fr 23px; align-items: center; gap: 16px; min-height: 164px; padding: 23px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.project-mini:hover { transform: translateX(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.project-mini .icon-wrap { width: 47px; height: 47px; }
.project-mini small { color: var(--accent-2); font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-mini h3 { margin: 5px 0 7px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.project-mini p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.mini-arrow { width: 20px; height: 20px; color: var(--accent); }

.fit-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 45%, transparent); }
.fit-grid { display: grid; grid-template-columns: .9fr 1.05fr 1.05fr; gap: 18px; align-items: stretch; }
.fit-grid > div:first-child { padding: 30px 38px 30px 0; }
.fit-grid h2 { font-size: clamp(2.55rem, 4vw, 4rem); }
.fit-grid > div:first-child > p:last-child { color: var(--text-soft); }
.fit-card { padding: 31px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.fit-card h3 { margin-bottom: 24px; font-family: var(--font-display); font-size: 1.42rem; font-weight: 400; }
.fit-card ul { display: grid; gap: 17px; padding: 0; margin: 0; list-style: none; }
.fit-card li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--text-soft); font-size: .88rem; }
.fit-card svg { width: 20px; height: 20px; color: var(--accent); }
.fit-negative li > span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid color-mix(in srgb, var(--danger) 60%, transparent); border-radius: 50%; color: var(--danger); font-weight: 700; line-height: 1; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.insight-card { position: relative; min-height: 315px; display: flex; flex-direction: column; padding: 31px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-2) 62%, transparent)); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.insight-card::before { content: ''; position: absolute; width: 150px; height: 150px; right: -75px; top: -75px; border: 1px solid var(--border-strong); border-radius: 50%; box-shadow: 0 0 45px var(--glow); }
.insight-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.insight-card small { color: var(--accent-2); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.insight-card h3 { margin: 25px 0 16px; font-family: var(--font-display); font-size: 1.72rem; font-weight: 400; line-height: 1.12; }
.insight-card p { margin: 0; color: var(--text-soft); font-size: .9rem; }
.insight-card > span { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 27px; color: var(--accent-2); font-size: .83rem; font-weight: 800; }
.insight-card > span svg { width: 18px; height: 18px; transition: transform var(--transition); }
.insight-card:hover > span svg { transform: translateX(5px); }

.contact-section { position: relative; overflow: hidden; padding: 108px 0; background: var(--contact-bg); border-top: 1px solid var(--border); }
.contact-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--grid) 1px, transparent 1px); background-size: 21px 21px; mask-image: linear-gradient(90deg, #000, transparent 75%); opacity: .6; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 90px; }
.contact-grid h2 { margin-bottom: 22px; }
.contact-grid > div:first-child > p:last-child { max-width: 640px; margin: 0; color: var(--text-soft); }
.contact-action { display: grid; gap: 18px; }
.email-card { display: grid; grid-template-columns: 58px 1fr 28px; align-items: center; gap: 17px; padding: 24px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.email-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.email-card > span:nth-child(2) { display: grid; }
.email-card small { color: var(--muted); font-size: .7rem; }
.email-card strong { color: var(--text); font-size: clamp(1rem, 1.8vw, 1.35rem); overflow-wrap: anywhere; }
.email-card em { margin-top: 4px; color: var(--accent-2); font-size: .68rem; font-style: normal; }
.email-arrow { width: 25px; height: 25px; color: var(--accent); }
.contact-points { display: flex; flex-wrap: wrap; gap: 14px 21px; color: var(--muted); font-size: .75rem; }
.contact-points span { display: inline-flex; align-items: center; gap: 7px; }
.contact-points svg { width: 17px; height: 17px; color: var(--accent); }
.contact-orbit { position: absolute; right: -170px; top: 50%; width: 510px; height: 510px; transform: translateY(-50%); border: 1px solid var(--border-strong); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ''; position: absolute; inset: 15%; border: 1px solid var(--border); border-radius: 50%; }.contact-orbit::after { inset: 34%; }
.contact-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }.contact-orbit i:nth-child(1){left:4%;top:47%}.contact-orbit i:nth-child(2){left:34%;top:4%}.contact-orbit i:nth-child(3){left:51%;bottom:14%}
.contact-orbit span { position: absolute; inset: 46%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 80px 30px var(--glow); }

.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-main { display: grid; grid-template-columns: 1.25fr .65fr .8fr 1fr; gap: 55px; padding-top: 60px; padding-bottom: 48px; }
.footer-brand p { max-width: 300px; margin: 20px 0 0; color: var(--muted); font-size: .85rem; }
.footer-main nav, .footer-contact { display: grid; align-content: start; gap: 9px; }
.footer-main strong { margin-bottom: 9px; color: var(--text); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-main nav a, .footer-contact a { color: var(--muted); font-size: .8rem; transition: color var(--transition); }
.footer-main nav a:hover, .footer-contact a:hover { color: var(--accent-2); }
.footer-contact span { margin-top: 10px; color: var(--muted); font-size: .68rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 21px; padding-bottom: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .68rem; }

@supports not (color: color-mix(in srgb, white, black)) {
    .button-outline, .trust-strip, .fit-section { background: var(--surface); }
    .system-card, .value-card, .insight-card { background: var(--surface); }
}

@media (max-width: 1120px) {
    :root { --container: 1020px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 850px; }
    .system-visual { min-height: 570px; max-width: 760px; width: 100%; margin: 10px auto 0; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
    .trust-grid > div:nth-child(4) { border-top: 1px solid var(--border); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .method-layout { grid-template-columns: 1fr; }
    .method-intro { position: static; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-stack { grid-template-columns: repeat(3, 1fr); }
    .project-mini { grid-template-columns: 48px 1fr; align-items: start; }
    .project-mini .mini-arrow { position: absolute; right: 18px; bottom: 18px; }
    .fit-grid { grid-template-columns: 1fr 1fr; }
    .fit-grid > div:first-child { grid-column: 1 / -1; padding-right: 0; }
    .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
    .footer-contact { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; }
}

@media (max-width: 820px) {
    :root { --header-height: 68px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section-pad { padding: 82px 0; }
    .site-header { height: var(--header-height); }
    .header-inner { min-height: var(--header-height); }
    .header-actions .button-small { display: none; }
    .hero { min-height: auto; padding-top: 70px; }
    h1 { font-size: clamp(3rem, 12vw, 5.5rem); }
    .hero-grid { gap: 45px; }
    .system-visual { min-height: 500px; transform: scale(.92); transform-origin: top center; margin-bottom: -40px; }
    .split-heading { grid-template-columns: 1fr; gap: 28px; }
    .solutions-grid { grid-template-columns: 1fr; }
    .featured-project { grid-template-columns: 1fr; min-height: 890px; }
    .project-copy { padding: 40px 34px 0; }
    .project-device { min-height: 470px; }
    .project-stack { grid-template-columns: 1fr; }
    .fit-grid { grid-template-columns: 1fr; }
    .fit-grid > div:first-child { grid-column: auto; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card { min-height: 260px; }
    .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .contact-orbit { opacity: .5; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: 1 / -1; grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .utility-dock {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 8px;
    }
    .theme-control-dock > summary,
    .back-to-top { min-height: 46px; border-radius: 13px; }
    .theme-control-dock > summary { width: 54px; justify-content: center; padding: 0; }
    .theme-dock-label { display: none; }
    .current-theme-dot { width: 11px; height: 11px; }
    .back-to-top { width: 46px; }
    .theme-control-dock .theme-panel { width: min(300px, calc(100vw - 24px)); }
    .brand-text { font-size: 1.22rem; }
    .brand-mark { width: 27px; height: 27px; }
    .hero { padding-top: 58px; padding-bottom: 72px; }
    .eyebrow { font-size: .68rem; }
    h1 { font-size: clamp(2.75rem, 14.7vw, 4.45rem); }
    h2 { font-size: clamp(2.35rem, 11.5vw, 3.65rem); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .hero-proof { grid-template-columns: 1fr; gap: 12px; }
    .hero-proof > div { padding: 0 0 12px; }
    .hero-proof > div + div { padding: 0 0 12px; border-left: 0; border-top: 1px solid var(--border); padding-top: 12px; }
    .system-visual { display: grid; gap: 12px; min-height: 0; transform: none; margin: 0; }
    .visual-grid, .signal { display: none; }
    .system-card { position: relative; inset: auto; width: 100%; height: auto; transform: none; }
    .system-overview { min-height: 220px; }
    .system-chart { min-height: 215px; }
    .system-code { min-height: 225px; }
    .system-flow { min-height: 205px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { min-height: 96px; padding: 17px 8px; }
    .trust-grid > div + div { border-left: 0; border-top: 1px solid var(--border); }
    .values-grid { grid-template-columns: 1fr; }
    .value-card { min-height: 250px; }
    .solution-card { grid-template-columns: 1fr; }
    .solution-visual { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--border); }
    .method-steps li { grid-template-columns: 58px 1fr; gap: 18px; }
    .method-steps::before { left: 28px; }
    .step-icon { width: 58px; height: 58px; }
    .featured-project { min-height: 840px; }
    .project-copy { padding: 33px 24px 0; }
    .project-device { min-height: 450px; }
    .device-screen { right: 10px; top: 72px; width: 96%; height: 315px; }
    .device-base { right: 2px; top: 380px; width: 99%; }
    .device-phone { right: 4px; bottom: 18px; transform: scale(.86); transform-origin: bottom right; }
    .project-mini { min-height: 180px; padding: 22px; }
    .fit-card { padding: 24px; }
    .email-card { grid-template-columns: 48px 1fr; padding: 19px; }
    .email-card .email-arrow { display: none; }
    .email-card .icon-wrap { width: 48px; height: 48px; }
    .footer-main { grid-template-columns: 1fr; gap: 35px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-contrast: more) {
    :root { --border: currentColor; --border-strong: currentColor; }
    .system-card, .value-card, .solution-card, .project-mini, .insight-card, .fit-card, .email-card { border-width: 2px; }
}

@media print {
    .site-header, .theme-control, .utility-dock, .mobile-nav, .hero-actions, .contact-section, .site-footer { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .section-pad { padding: 30px 0; }
    .system-visual { display: none; }
    .hero-grid, .method-layout, .projects-grid, .fit-grid, .split-heading { display: block; }
    .value-card, .solution-card, .featured-project, .project-mini, .fit-card, .insight-card { break-inside: avoid; border: 1px solid #999; box-shadow: none; }
}


/* ==========================================================
   MODALITÀ ANTEPRIMA /ARTIGIANO/ — V1.0.2
   ========================================================== */
.preview-ribbon {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    padding: .45rem .75rem;
    border: 1px solid var(--border);
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 .65rem 0 0;
    background: var(--surface);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    backdrop-filter: blur(12px);
}

@media (max-width: 480px) {
    .preview-ribbon {
        padding: .35rem .55rem;
        font-size: .66rem;
    }
}

@media print {
    .preview-ribbon { display: none !important; }
}

/* ==========================================================
   APPROFONDIMENTI EDITORIALI — V1.2.0
   Primo contenuto: Filosofia LIS
   ========================================================== */
body.dialog-open {
    overflow: hidden;
}

.editorial-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    overflow: hidden;
}

.editorial-dialog:not([open]) {
    display: none;
}

.editorial-dialog::backdrop {
    background: rgba(0, 8, 10, .82);
    backdrop-filter: blur(18px) saturate(.78);
    animation: editorial-backdrop-in 260ms var(--ease) both;
}

html[data-theme='chiaro'] .editorial-dialog::backdrop {
    background: rgba(20, 37, 29, .58);
}

.editorial-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1480px, calc(100vw - 28px));
    height: calc(100dvh - 28px);
    margin: 14px auto;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% -10%, var(--glow), transparent 32rem),
        linear-gradient(180deg, var(--surface), var(--bg) 34rem, var(--bg-deep));
    box-shadow: 0 45px 140px rgba(0, 0, 0, .55);
    animation: editorial-shell-in 320ms var(--ease) both;
}

.editorial-dialog.is-closing .editorial-shell {
    animation: editorial-shell-out 180ms ease-in both;
}

.editorial-dialog.is-closing::backdrop {
    animation: editorial-backdrop-out 180ms ease-in both;
}

@keyframes editorial-shell-in {
    from { opacity: 0; transform: translateY(24px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes editorial-shell-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(14px) scale(.99); }
}

@keyframes editorial-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes editorial-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.editorial-toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 76px;
    padding: 0 26px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(20px) saturate(1.15);
}

.editorial-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    min-width: 0;
}

.editorial-brand > span:last-child {
    display: grid;
    min-width: 0;
    line-height: 1.15;
}

.editorial-brand strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
}

.editorial-brand small {
    margin-top: 4px;
    color: var(--accent-2);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.editorial-toolbar-meta {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 9px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.editorial-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 10px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition), color var(--transition), transform var(--transition);
}

.editorial-close:hover {
    border-color: var(--border-strong);
    background: var(--surface-3);
    color: var(--text);
    transform: translateY(-1px);
}

.editorial-close svg {
    width: 18px;
    height: 18px;
    color: var(--accent-2);
}

.editorial-scroll {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-strong) var(--surface);
}

.editorial-scroll::-webkit-scrollbar {
    width: 10px;
}

.editorial-scroll::-webkit-scrollbar-track {
    background: var(--surface);
}

.editorial-scroll::-webkit-scrollbar-thumb {
    border: 2px solid var(--surface);
    border-radius: 999px;
    background: var(--accent-strong);
}

.manifesto {
    width: min(100% - 72px, 1240px);
    margin-inline: auto;
    padding: 84px 0 100px;
}

.manifesto h2,
.manifesto h3,
.manifesto h4,
.manifesto p {
    margin-top: 0;
}

.manifesto h2,
.manifesto h3,
.manifesto h4 {
    color: var(--text);
}

.manifesto h2,
.manifesto h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.manifesto h2 em,
.manifesto h3 em {
    color: var(--accent);
    font-style: normal;
}

.manifesto-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: end;
    min-height: 480px;
    padding: 24px 0 82px;
    border-bottom: 1px solid var(--border);
}

.manifesto-hero-copy h2 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(4.4rem, 8vw, 8.1rem);
}

.manifesto-subtitle {
    max-width: 680px;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.62;
}

.manifesto-thesis {
    position: relative;
    margin: 0;
    padding: 42px 40px 38px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface));
    box-shadow: var(--shadow-lg);
}

.manifesto-thesis::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    box-shadow: 0 0 80px var(--glow);
}

.manifesto-thesis > span {
    position: absolute;
    top: 8px;
    right: 26px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 7rem;
    line-height: 1;
    opacity: .22;
}

.manifesto-thesis p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-soft);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.8vw, 2.45rem);
    line-height: 1.25;
}

.manifesto-thesis strong {
    color: var(--accent-2);
}

.manifesto-intro,
.manifesto-point {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 42px;
    padding: 92px 0;
    border-bottom: 1px solid var(--border);
}

.manifesto-section-number {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: .85;
    opacity: .72;
}

.manifesto-intro h3,
.manifesto-point h3,
.manifesto-prose h3,
.manifesto-craft h3,
.manifesto-process h3,
.manifesto-faq h3,
.manifesto-footer h3 {
    margin-bottom: 24px;
    font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.manifesto-intro p,
.manifesto-point p,
.manifesto-prose p,
.manifesto-craft p,
.manifesto-longform p {
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.45vw, 1.22rem);
    line-height: 1.82;
}

.manifesto-intro > div:last-child {
    max-width: 880px;
}

.manifesto-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 92px 0;
}

.manifesto-principle {
    position: relative;
    min-height: 510px;
    padding: 42px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-sm);
}

.manifesto-principle::before {
    content: '';
    position: absolute;
    right: -90px;
    top: -90px;
    width: 240px;
    height: 240px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    opacity: .56;
}

.manifesto-icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    color: var(--accent-2);
}

.manifesto-icon svg {
    width: 28px;
    height: 28px;
}

.manifesto-kicker {
    margin: 34px 0 12px;
    color: var(--accent-2);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.manifesto-principle h3 {
    max-width: 540px;
    margin-bottom: 32px;
    font-size: clamp(2rem, 3.35vw, 3.3rem);
}

.manifesto-principle ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.manifesto-principle li {
    position: relative;
    padding: 12px 0 12px 28px;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: .96rem;
}

.manifesto-principle li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--glow);
    transform: translateY(-50%);
}

.manifesto-prose {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
    padding: 92px 0;
    border-top: 1px solid var(--border);
}

.manifesto-prose-main {
    max-width: 740px;
}

.manifesto-rule {
    position: sticky;
    top: 28px;
    padding: 36px;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
}

.manifesto-rule-label {
    display: block;
    margin-bottom: 17px;
    color: var(--accent-2);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.manifesto-rule h4 {
    margin-bottom: 19px;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    line-height: 1.25;
}

.manifesto-rule p {
    margin: 0;
    color: var(--accent-2);
    font-weight: 800;
}

.manifesto-longform {
    max-width: 930px;
    margin-inline: auto;
    padding: 30px 0 112px;
}

.manifesto-longform p {
    font-family: var(--font-display);
    font-size: clamp(1.32rem, 2.2vw, 2rem);
    line-height: 1.55;
}

.manifesto-longform p + p {
    margin-top: 34px;
}

.manifesto-longform strong {
    color: var(--accent-2);
}

.manifesto-emphasis {
    padding: 28px 0 28px 32px;
    border-left: 2px solid var(--accent);
    color: var(--text) !important;
}

.manifesto-craft {
    display: grid;
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
    gap: clamp(55px, 8vw, 110px);
    align-items: center;
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.manifesto-craft-visual {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        radial-gradient(circle at center, var(--glow), transparent 60%),
        var(--surface);
    background-size: 42px 42px, 42px 42px, auto, auto;
}

.craft-rings,
.craft-rings span {
    position: absolute;
    inset: 50%;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.craft-rings {
    width: 315px;
    height: 315px;
    box-shadow: 0 0 90px var(--glow);
}

.craft-rings span:nth-child(1) { width: 72%; height: 72%; }
.craft-rings span:nth-child(2) { width: 43%; height: 43%; }
.craft-rings span:nth-child(3) {
    width: 14%;
    height: 14%;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 45px var(--accent);
}

.craft-rings::before,
.craft-rings::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -52px;
    bottom: -52px;
    width: 1px;
    background: var(--border-strong);
}

.craft-rings::after {
    left: -52px;
    right: -52px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
}

.craft-code {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: color-mix(in srgb, var(--bg-deep) 78%, transparent);
    color: var(--accent-2);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .72rem;
    text-align: center;
}

.manifesto-craft-copy {
    max-width: 720px;
}

.manifesto-process {
    padding: 104px 0;
}

.manifesto-process-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 52px;
}

.manifesto-process-heading h3 {
    margin-bottom: 0;
}

.manifesto-process-heading > p:last-child {
    margin: 0;
    color: var(--accent-2);
    font-size: 1.05rem;
    font-weight: 800;
}

.manifesto-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.manifesto-process-grid li {
    position: relative;
    min-height: 330px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.manifesto-step-number {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 2.8rem;
    opacity: .36;
}

.manifesto-process-grid h4 {
    margin: 34px 0 14px;
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.manifesto-process-grid p {
    color: var(--muted);
}

.manifesto-point {
    border-top: 1px solid var(--border);
}

.manifesto-point-lead {
    max-width: 900px;
    color: var(--text) !important;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.5vw, 2.35rem) !important;
    line-height: 1.5 !important;
}

.manifesto-faq {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    gap: clamp(48px, 8vw, 105px);
    padding: 104px 0;
    border-top: 1px solid var(--border);
}

.manifesto-faq-heading {
    position: sticky;
    top: 28px;
    align-self: start;
}

.manifesto-faq-list {
    display: grid;
    gap: 14px;
}

.manifesto-faq details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.manifesto-faq summary {
    position: relative;
    padding: 24px 62px 24px 24px;
    color: var(--text);
    font-weight: 800;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

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

.manifesto-faq summary::before,
.manifesto-faq summary::after {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    transition: transform var(--transition);
}

.manifesto-faq summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.manifesto-faq details[open] summary::after {
    transform: translateY(-50%) rotate(0);
}

.manifesto-faq details[open] summary {
    color: var(--accent-2);
}

.manifesto-faq details > div {
    padding: 0 24px 24px;
    color: var(--text-soft);
}

.manifesto-faq details p {
    margin: 0;
}

.manifesto-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    align-items: end;
    padding: 86px 0 10px;
    border-top: 1px solid var(--border);
}

.manifesto-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.manifesto-footer-actions .button {
    min-width: 190px;
}

/* ==========================================================
   SISTEMA AUVRA — PANNELLO EDITORIALE V1.2.0
   Identità SicurLav Group e responsabilità tecnica LIS
   ========================================================== */
.auvra-story {
    width: min(100% - 72px, 1240px);
    margin-inline: auto;
    padding: 76px 0 100px;
}

.auvra-story h2,
.auvra-story h3,
.auvra-story h4,
.auvra-story p {
    margin-top: 0;
}

.auvra-story h2,
.auvra-story h3,
.auvra-story h4 {
    color: var(--text);
}

.auvra-story h2,
.auvra-story h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.auvra-story h2 em,
.auvra-story h3 em {
    color: var(--accent);
    font-style: normal;
}

.auvra-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: center;
    min-height: 570px;
    padding: 26px 0 88px;
    border-bottom: 1px solid var(--border);
}

.auvra-hero-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(4.7rem, 8.5vw, 8.8rem);
}

.auvra-subtitle {
    max-width: 700px;
    color: var(--text) !important;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 2.05rem) !important;
    line-height: 1.4 !important;
}

.auvra-hero-copy > p:not(.eyebrow):not(.auvra-subtitle) {
    max-width: 680px;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.78;
}

.auvra-domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.auvra-domain-tags span {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 750;
}

.auvra-logo-stage {
    position: relative;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 35%, rgba(87, 184, 50, .14), transparent 43%),
        linear-gradient(145deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-lg);
}

.auvra-logo-stage::before,
.auvra-logo-stage::after {
    content: '';
    position: absolute;
    z-index: 0;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    pointer-events: none;
}

.auvra-logo-stage::before {
    width: 260px;
    height: 260px;
    right: -62px;
    top: -72px;
}

.auvra-logo-stage::after {
    width: 170px;
    height: 170px;
    left: -42px;
    bottom: -54px;
}

.auvra-logo-frame {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 335px;
    padding: clamp(22px, 4vw, 42px);
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 9px);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(5, 65, 76, .08);
}

.auvra-logo-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.auvra-logo-stage figcaption {
    position: relative;
    z-index: 1;
    padding: 17px 8px 3px;
    color: var(--accent-2);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .105em;
    text-align: center;
    text-transform: uppercase;
}

.auvra-name,
.auvra-conclusion {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 42px;
    padding: 92px 0;
    border-bottom: 1px solid var(--border);
}

.auvra-section-number {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: .85;
    opacity: .72;
}

.auvra-name h3,
.auvra-symbol h3,
.auvra-colors h3,
.auvra-style h3,
.auvra-conclusion h3,
.auvra-credits h3 {
    margin-bottom: 24px;
    font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.auvra-name p,
.auvra-symbol p,
.auvra-style p,
.auvra-payoff-explanation p,
.auvra-conclusion p,
.auvra-credits p {
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.42vw, 1.2rem);
    line-height: 1.82;
}

.auvra-name-copy,
.auvra-conclusion > div:last-child {
    max-width: 920px;
}

.auvra-pillars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 92px 0;
    list-style: none;
}

.auvra-pillars li {
    position: relative;
    min-height: 315px;
    padding: 28px 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

.auvra-pillars li::after {
    content: '';
    position: absolute;
    right: -55px;
    bottom: -70px;
    width: 145px;
    height: 145px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
}

.auvra-pillars li > span {
    display: block;
    margin-bottom: 42px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.2rem;
    line-height: .8;
    opacity: .78;
}

.auvra-pillars h4 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.auvra-pillars p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.65;
}

.auvra-symbol {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    gap: clamp(52px, 8vw, 110px);
    align-items: center;
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.auvra-symbol-copy {
    max-width: 760px;
}

.auvra-symbol-visual {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(42, 147, 143, .18), transparent 57%),
        var(--surface);
    background-size: 38px 38px, 38px 38px, auto, auto;
}

.auvra-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 250px;
    height: 250px;
    border: 33px solid transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-38deg);
}

.auvra-orbit::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 28px currentColor;
}

.auvra-orbit-green {
    border-top-color: #58b832;
    border-right-color: #58b832;
    color: #58b832;
}

.auvra-orbit-green::after {
    right: -22px;
    top: 39px;
}

.auvra-orbit-blue {
    border-bottom-color: #05657a;
    border-left-color: #05657a;
    color: #05657a;
    transform: translate(-50%, -50%) rotate(-38deg) scale(.82);
}

.auvra-orbit-blue::after {
    left: -20px;
    bottom: 37px;
}

.auvra-symbol-core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 3.8rem;
    transform: translate(-50%, -50%);
}

.auvra-symbol-visual small {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: var(--accent-2);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.auvra-colors {
    padding: 98px 0;
}

.auvra-colors-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 46px;
}

.auvra-colors-heading h3 {
    margin-bottom: 0;
}

.auvra-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.auvra-color-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 225px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.auvra-color-swatch {
    width: 92px;
    height: 150px;
    border-radius: 999px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
}

.auvra-color-green .auvra-color-swatch {
    background: linear-gradient(180deg, #68d734, #2f8f38);
}

.auvra-color-blue .auvra-color-swatch {
    background: linear-gradient(180deg, #0889a5, #03485d);
}

.auvra-color-card h4 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 2rem;
}

.auvra-color-card p,
.auvra-color-balance {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.72;
}

.auvra-color-balance {
    padding: 34px 0 0;
    color: var(--accent-2);
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 2rem);
    text-align: center;
}

.auvra-style {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 24px;
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.auvra-style-card,
.auvra-payoff {
    margin: 0;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, var(--surface-2), var(--surface));
}

.auvra-payoff {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-color: var(--border-strong);
}

.auvra-payoff::after {
    content: 'A';
    position: absolute;
    right: -12px;
    bottom: -62px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 16rem;
    line-height: 1;
    opacity: .08;
}

.auvra-payoff-label {
    position: relative;
    z-index: 1;
    color: var(--accent-2);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.auvra-payoff > p {
    position: relative;
    z-index: 1;
    margin: 38px 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.7vw, 2.55rem);
    line-height: 1.34;
}

.auvra-payoff footer {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: .78rem;
}

.auvra-payoff-explanation {
    padding: 0 0 96px;
}

.auvra-payoff-explanation p {
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 0 42px 36px;
    border-left: 3px solid var(--accent);
    color: var(--text) !important;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.35vw, 2.2rem) !important;
    line-height: 1.5 !important;
}

.auvra-conclusion {
    border-top: 1px solid var(--border);
}

.auvra-credits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 54px;
    align-items: end;
    padding: 90px 0 10px;
    border-top: 1px solid var(--border);
}

.auvra-credits-copy {
    max-width: 760px;
}

.auvra-credits-copy h3 {
    margin-bottom: 18px;
}

.auvra-credits-copy a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--accent-2);
    font-weight: 800;
}

.auvra-credits-copy small {
    display: block;
    margin-top: 26px;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .auvra-pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .auvra-story {
        width: min(100% - 48px, 1240px);
        padding-top: 64px;
    }
    .auvra-hero,
    .auvra-symbol,
    .auvra-style {
        grid-template-columns: 1fr;
    }
    .auvra-hero {
        min-height: auto;
    }
    .auvra-logo-stage {
        max-width: 760px;
    }
    .auvra-colors-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .auvra-credits {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 720px) {
    .auvra-story {
        width: min(100% - 28px, 1240px);
        padding: 46px 0 72px;
    }
    .auvra-hero {
        gap: 38px;
        padding: 8px 0 60px;
    }
    .auvra-hero-copy h2 {
        font-size: clamp(3.35rem, 18vw, 5.4rem);
    }
    .auvra-logo-stage {
        padding: 11px;
        border-radius: var(--radius-md);
    }
    .auvra-logo-frame {
        min-height: 250px;
        padding: 18px;
    }
    .auvra-name,
    .auvra-conclusion {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 64px 0;
    }
    .auvra-section-number {
        font-size: 3.4rem;
    }
    .auvra-pillars {
        grid-template-columns: 1fr;
        padding: 64px 0;
    }
    .auvra-pillars li {
        min-height: 0;
    }
    .auvra-symbol,
    .auvra-colors,
    .auvra-style {
        padding: 68px 0;
    }
    .auvra-symbol-visual {
        min-height: 360px;
    }
    .auvra-orbit {
        width: 205px;
        height: 205px;
        border-width: 27px;
    }
    .auvra-symbol-core {
        width: 94px;
        height: 94px;
        font-size: 3rem;
    }
    .auvra-color-grid {
        grid-template-columns: 1fr;
    }
    .auvra-color-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 20px;
        min-height: 190px;
        padding: 24px;
    }
    .auvra-color-swatch {
        width: 70px;
        height: 122px;
    }
    .auvra-style-card,
    .auvra-payoff {
        padding: 30px 25px;
        border-radius: var(--radius-md);
    }
    .auvra-payoff-explanation {
        padding-bottom: 68px;
    }
    .auvra-payoff-explanation p {
        padding: 30px 0 30px 24px;
    }
    .auvra-credits {
        padding-top: 68px;
    }
}

@media (max-width: 420px) {
    .auvra-story {
        width: min(100% - 22px, 1240px);
    }
    .auvra-logo-frame {
        min-height: 210px;
        padding: 12px;
    }
    .auvra-domain-tags span {
        font-size: .66rem;
    }
    .auvra-color-card {
        grid-template-columns: 1fr;
    }
    .auvra-color-swatch {
        width: 100%;
        height: 42px;
        border-radius: 999px;
    }
}


@supports not (background: color-mix(in srgb, white, black)) {
    .editorial-toolbar,
    .manifesto-thesis,
    .manifesto-icon,
    .manifesto-rule,
    .craft-code,
    .auvra-logo-stage,
    .auvra-pillars li,
    .auvra-style-card,
    .auvra-payoff {
        background: var(--surface);
    }
}

@media (max-width: 980px) {
    .editorial-toolbar {
        grid-template-columns: 1fr auto;
    }
    .editorial-toolbar-meta {
        display: none;
    }
    .manifesto {
        width: min(100% - 48px, 1240px);
        padding-top: 64px;
    }
    .manifesto-hero,
    .manifesto-prose,
    .manifesto-craft,
    .manifesto-faq {
        grid-template-columns: 1fr;
    }
    .manifesto-hero {
        min-height: auto;
        gap: 42px;
    }
    .manifesto-thesis {
        max-width: 680px;
    }
    .manifesto-rule,
    .manifesto-faq-heading {
        position: static;
    }
    .manifesto-craft-visual {
        min-height: 420px;
    }
    .manifesto-process-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .editorial-shell {
        width: 100%;
        height: 100dvh;
        margin: 0;
        border-width: 0;
        border-radius: 0;
    }
    .editorial-toolbar {
        min-height: 68px;
        padding: 0 15px;
    }
    .editorial-brand .brand-mark {
        width: 28px;
        height: 28px;
    }
    .editorial-brand strong {
        font-size: .92rem;
    }
    .editorial-brand small {
        font-size: .57rem;
    }
    .editorial-close {
        width: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 12px;
    }
    .editorial-close span {
        display: none;
    }
    .manifesto {
        width: min(100% - 28px, 1240px);
        padding: 48px 0 72px;
    }
    .manifesto-hero {
        padding: 8px 0 58px;
    }
    .manifesto-hero-copy h2 {
        font-size: clamp(3.2rem, 16vw, 5.2rem);
    }
    .manifesto-thesis {
        padding: 32px 26px;
        border-radius: var(--radius-md);
    }
    .manifesto-intro,
    .manifesto-point {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 64px 0;
    }
    .manifesto-section-number {
        font-size: 3.4rem;
    }
    .manifesto-principles,
    .manifesto-process-grid {
        grid-template-columns: 1fr;
    }
    .manifesto-principles {
        padding: 64px 0;
    }
    .manifesto-principle {
        min-height: 0;
        padding: 30px 25px;
    }
    .manifesto-prose,
    .manifesto-craft,
    .manifesto-process,
    .manifesto-faq {
        padding: 68px 0;
    }
    .manifesto-longform {
        padding-bottom: 76px;
    }
    .manifesto-craft-visual {
        min-height: 350px;
    }
    .craft-rings {
        width: 245px;
        height: 245px;
    }
    .craft-code {
        left: 16px;
        right: 16px;
        bottom: 16px;
        font-size: .62rem;
    }
    .manifesto-process-grid li {
        min-height: 0;
    }
    .manifesto-footer {
        grid-template-columns: 1fr;
        align-items: start;
        padding-top: 68px;
    }
    .manifesto-footer-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .manifesto-footer-actions .button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .manifesto {
        width: min(100% - 22px, 1240px);
    }
    .manifesto-hero-copy h2 {
        font-size: clamp(2.85rem, 15vw, 4.4rem);
    }
    .manifesto-thesis p {
        font-size: 1.35rem;
    }
    .manifesto-principle h3 {
        font-size: 1.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-shell,
    .editorial-dialog::backdrop,
    .editorial-dialog.is-closing .editorial-shell,
    .editorial-dialog.is-closing::backdrop {
        animation: none !important;
    }
}

@media (prefers-contrast: more) {
    .editorial-shell,
    .manifesto-thesis,
    .manifesto-principle,
    .manifesto-craft-visual,
    .manifesto-process-grid li,
    .manifesto-faq details,
    .auvra-logo-stage,
    .auvra-pillars li,
    .auvra-symbol-visual,
    .auvra-color-card,
    .auvra-style-card,
    .auvra-payoff {
        border-width: 2px;
    }
}

@media print {
    .editorial-dialog[open] {
        position: static;
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
    }
    .editorial-dialog[open]::backdrop,
    .editorial-toolbar {
        display: none;
    }
    .editorial-shell,
    .editorial-scroll {
        display: block;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        border: 0;
        box-shadow: none;
        background: #fff;
    }
    .manifesto,
    .auvra-story {
        width: 100%;
        padding: 0;
    }
}

/* ==========================================================
   DOSSIER PHISHING NOIPA — PANNELLO EDITORIALE V1.3.0
   Analisi indipendente, documenti e prevenzione operativa
   ========================================================== */
.phishing-story {
    width: min(100% - 72px, 1240px);
    margin-inline: auto;
    padding: 76px 0 100px;
}

.phishing-story h2,
.phishing-story h3,
.phishing-story h4,
.phishing-story p {
    margin-top: 0;
}

.phishing-story h2,
.phishing-story h3,
.phishing-story h4 {
    color: var(--text);
}

.phishing-story h2,
.phishing-story h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.phishing-story h2 em,
.phishing-story h3 em {
    color: var(--accent);
    font-style: normal;
}

.phishing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .72fr);
    gap: clamp(44px, 7vw, 92px);
    align-items: center;
    min-height: 590px;
    padding: 26px 0 88px;
    border-bottom: 1px solid var(--border);
}

.phishing-hero-copy h2 {
    max-width: 920px;
    margin-bottom: 26px;
    font-size: clamp(3.9rem, 7.2vw, 7.9rem);
}

.phishing-subtitle {
    max-width: 820px;
    color: var(--text) !important;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.9rem) !important;
    line-height: 1.45 !important;
}

.phishing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.phishing-meta span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 760;
}

.phishing-meta svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.phishing-verdict {
    position: relative;
    padding: 36px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%),
        linear-gradient(155deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-lg);
}

.phishing-verdict::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -85px;
    width: 230px;
    height: 230px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
}

.phishing-verdict-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent);
}

.phishing-verdict-icon svg {
    width: 30px;
    height: 30px;
}

.phishing-verdict-label {
    margin-bottom: 10px;
    color: var(--accent-2);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.phishing-verdict h3 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.phishing-verdict p,
.phishing-verdict strong {
    position: relative;
    z-index: 1;
}

.phishing-verdict p {
    color: var(--text-soft);
    line-height: 1.72;
}

.phishing-verdict strong {
    display: block;
    margin-top: 22px;
    color: var(--text);
    line-height: 1.55;
}

.phishing-disclaimer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 38px 0 0;
    padding: 25px 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.phishing-disclaimer > svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.phishing-disclaimer strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
}

.phishing-disclaimer p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.phishing-origin {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 42px;
    padding: 92px 0;
    border-bottom: 1px solid var(--border);
}

.phishing-section-number {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: .85;
    opacity: .72;
}

.phishing-origin > div:last-child {
    max-width: 920px;
}

.phishing-origin h3,
.phishing-section-heading h3,
.phishing-document-copy h3,
.phishing-pec h3,
.phishing-documents-heading h3,
.phishing-actions h3,
.phishing-footer h3 {
    margin-bottom: 24px;
    font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.phishing-origin p,
.phishing-document-copy p,
.phishing-pec p,
.phishing-section-heading > p:last-child,
.phishing-documents-heading > p,
.phishing-actions-copy > p:last-child,
.phishing-editorial-note > p {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.82;
}

.phishing-signals,
.phishing-risks,
.phishing-documents,
.phishing-actions {
    padding: 96px 0;
}

.phishing-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: 46px;
    align-items: end;
    margin-bottom: 48px;
}

.phishing-section-heading .eyebrow,
.phishing-section-heading h3 {
    grid-column: 1;
}

.phishing-section-heading h3 {
    margin-bottom: 0;
}

.phishing-section-heading > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin-bottom: 0;
}

.phishing-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.phishing-signal-grid article {
    min-height: 285px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(155deg, var(--surface-2), var(--surface));
}

.phishing-signal-grid article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    color: var(--accent);
}

.phishing-signal-grid svg {
    width: 23px;
    height: 23px;
}

.phishing-signal-grid h4 {
    margin-bottom: 13px;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.phishing-signal-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.68;
}

.phishing-document-analysis {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .75fr);
    gap: clamp(38px, 7vw, 86px);
    align-items: center;
    padding: 98px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.phishing-document-copy {
    max-width: 760px;
}

.phishing-question {
    position: relative;
    margin: 0;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.phishing-question::after {
    content: '?';
    position: absolute;
    right: -8px;
    bottom: -72px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 17rem;
    line-height: 1;
    opacity: .08;
}

.phishing-question span,
.phishing-question p {
    position: relative;
    z-index: 1;
}

.phishing-question span {
    color: var(--accent-2);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.phishing-question p {
    margin: 36px 0 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 2.45rem);
    line-height: 1.42;
}

.phishing-pec {
    display: grid;
    grid-template-columns: minmax(340px, .82fr) minmax(0, 1.15fr);
    gap: clamp(48px, 8vw, 104px);
    align-items: center;
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

.phishing-pec-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        radial-gradient(circle at center, var(--accent-soft), transparent 60%),
        var(--surface);
    background-size: 38px 38px, 38px 38px, auto, auto;
}

.pec-envelope,
.pec-badge,
.pec-question {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    box-shadow: var(--shadow-md);
}

.pec-envelope {
    left: 13%;
    top: 50%;
    width: 108px;
    height: 108px;
    border-radius: 28px;
    color: var(--accent);
    transform: translateY(-50%);
}

.pec-envelope svg {
    width: 48px;
    height: 48px;
}

.pec-badge {
    left: 50%;
    top: 50%;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.8rem;
    transform: translate(-50%, -50%);
}

.pec-question {
    right: 13%;
    top: 50%;
    width: 108px;
    height: 108px;
    border-radius: 28px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.2rem;
    transform: translateY(-50%);
}

.pec-line {
    position: absolute;
    left: 27%;
    right: 27%;
    top: 50%;
    height: 1px;
    background: var(--border-strong);
}

.phishing-risk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.phishing-risk-grid article {
    min-height: 240px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.phishing-risk-grid article > span {
    display: block;
    margin-bottom: 48px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1;
    opacity: .76;
}

.phishing-risk-grid h4 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.phishing-risk-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.65;
}

.phishing-timeline {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.phishing-timeline .phishing-section-heading {
    grid-template-columns: 1fr;
}

.phishing-timeline ol {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.phishing-timeline ol::before {
    content: '';
    position: absolute;
    left: 113px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: var(--border-strong);
}

.phishing-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 48px;
    padding: 30px 0;
}

.phishing-timeline li::before {
    content: '';
    position: absolute;
    left: 107px;
    top: 39px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--surface-2);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--border-strong);
}

.phishing-timeline time {
    color: var(--accent-2);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 750;
}

.phishing-timeline h4 {
    margin-bottom: 9px;
    font-family: var(--font-display);
    font-size: 1.65rem;
}

.phishing-timeline p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.phishing-documents-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}

.phishing-documents-heading h3 {
    margin-bottom: 0;
}

.phishing-documents-heading > p {
    margin-bottom: 0;
}

.phishing-document-grid {
    display: grid;
    gap: 14px;
}

.phishing-document-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 150px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.phishing-document-card.is-unavailable {
    opacity: .62;
}

.phishing-file-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 68px;
    height: 78px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: var(--surface-2);
    color: var(--accent);
}

.phishing-file-icon svg {
    width: 34px;
    height: 34px;
}

.phishing-file-icon span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 3px 5px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--bg);
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.phishing-file-copy small {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-2);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.phishing-file-copy h4 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.phishing-file-copy p {
    margin: 0;
    color: var(--text-soft);
    font-size: .87rem;
    line-height: 1.58;
}

.phishing-file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 11px;
    color: var(--muted);
    font-size: .67rem;
}

.phishing-file-meta span:first-child {
    overflow-wrap: anywhere;
}

.phishing-download {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--accent-2);
    font-size: .78rem;
    font-weight: 850;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.phishing-download:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.phishing-download svg {
    width: 17px;
    height: 17px;
}

.phishing-download.is-disabled {
    color: var(--muted);
    pointer-events: none;
}

.phishing-actions {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(0, 1.2fr);
    gap: clamp(48px, 8vw, 110px);
    border-top: 1px solid var(--border);
}

.phishing-actions-copy {
    align-self: start;
}

.phishing-action-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.phishing-action-list li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.phishing-action-list li > span {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.phishing-action-list h4 {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.phishing-action-list p {
    margin: 0;
    color: var(--text-soft);
    font-size: .86rem;
    line-height: 1.65;
}

.phishing-official-links {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.phishing-official-links a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    color: var(--accent-2);
    font-size: .78rem;
    font-weight: 820;
}

.phishing-official-links svg {
    width: 16px;
    height: 16px;
}

.phishing-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 54px;
    align-items: end;
    padding: 90px 0 10px;
    border-top: 1px solid var(--border);
}

.phishing-editorial-note {
    max-width: 820px;
}

.phishing-editorial-note h3 {
    margin-bottom: 20px;
}

.phishing-editorial-note small {
    display: block;
    margin-top: 24px;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .phishing-signal-grid,
    .phishing-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .phishing-story {
        width: min(100% - 48px, 1240px);
        padding-top: 64px;
    }
    .phishing-hero,
    .phishing-document-analysis,
    .phishing-pec,
    .phishing-actions,
    .phishing-footer {
        grid-template-columns: 1fr;
    }
    .phishing-hero {
        min-height: auto;
    }
    .phishing-verdict {
        max-width: 720px;
    }
    .phishing-section-heading,
    .phishing-documents-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .phishing-section-heading > p:last-child,
    .phishing-documents-heading > p {
        grid-column: 1;
        grid-row: auto;
    }
    .phishing-pec-visual {
        max-width: 720px;
    }
    .phishing-official-links {
        grid-column: 1;
    }
    .phishing-footer {
        align-items: start;
    }
}

@media (max-width: 720px) {
    .phishing-story {
        width: min(100% - 28px, 1240px);
        padding: 48px 0 72px;
    }
    .phishing-hero {
        padding: 8px 0 58px;
    }
    .phishing-hero-copy h2 {
        font-size: clamp(3rem, 14.7vw, 5rem);
    }
    .phishing-verdict,
    .phishing-question {
        padding: 28px 24px;
        border-radius: var(--radius-md);
    }
    .phishing-disclaimer {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .phishing-origin {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 68px 0;
    }
    .phishing-section-number {
        font-size: 3.4rem;
    }
    .phishing-signals,
    .phishing-risks,
    .phishing-documents,
    .phishing-actions,
    .phishing-document-analysis,
    .phishing-pec,
    .phishing-timeline {
        padding: 70px 0;
    }
    .phishing-signal-grid,
    .phishing-risk-grid {
        grid-template-columns: 1fr;
    }
    .phishing-signal-grid article,
    .phishing-risk-grid article {
        min-height: 0;
    }
    .phishing-pec-visual {
        min-height: 330px;
    }
    .pec-envelope,
    .pec-question {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }
    .pec-envelope {
        left: 7%;
    }
    .pec-question {
        right: 7%;
        font-size: 3.3rem;
    }
    .pec-badge {
        width: 78px;
        height: 78px;
        font-size: 1.45rem;
    }
    .phishing-timeline ol::before {
        left: 18px;
    }
    .phishing-timeline li {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 26px 0 26px 52px;
    }
    .phishing-timeline li::before {
        left: 12px;
        top: 32px;
    }
    .phishing-document-card {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
    }
    .phishing-file-icon {
        width: 56px;
        height: 66px;
    }
    .phishing-download {
        grid-column: 1 / -1;
        width: 100%;
    }
    .phishing-action-list li {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 20px;
    }
    .phishing-official-links {
        display: grid;
        grid-template-columns: 1fr;
    }
    .phishing-official-links a {
        justify-content: space-between;
    }
    .phishing-footer .manifesto-footer-actions {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .phishing-story {
        width: min(100% - 22px, 1240px);
    }
    .phishing-hero-copy h2 {
        font-size: clamp(2.75rem, 14vw, 4.4rem);
    }
    .phishing-meta {
        display: grid;
    }
    .phishing-meta span {
        justify-content: flex-start;
    }
}

@media (prefers-contrast: more) {
    .phishing-verdict,
    .phishing-disclaimer,
    .phishing-signal-grid article,
    .phishing-question,
    .phishing-pec-visual,
    .phishing-risk-grid article,
    .phishing-document-card,
    .phishing-action-list li {
        border-width: 2px;
    }
}

@media print {
    .phishing-story {
        width: 100%;
        padding: 0;
    }
    .phishing-download,
    .phishing-official-links,
    .phishing-footer .manifesto-footer-actions {
        display: none !important;
    }
}

/* ==========================================================
   V1.4.0 — Tecnologia e persone / Essere genitori oggi
   ========================================================== */
.parenting-story {
    width: min(100% - 72px, 1240px);
    margin: 0 auto;
    padding: 82px 0 100px;
    overflow-wrap: anywhere;
}

.parenting-story h2,
.parenting-story h3,
.parenting-story h4,
.parenting-story p {
    margin-top: 0;
}

.parenting-story h2,
.parenting-story h3,
.parenting-story h4 {
    color: var(--text);
}

.parenting-story h2 em,
.parenting-story h3 em {
    color: var(--accent-2);
    font-style: normal;
}

.parenting-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    gap: 74px;
    align-items: center;
    min-height: 610px;
    padding: 18px 0 90px;
}

.parenting-hero-copy {
    min-width: 0;
}

.parenting-hero-copy h2 {
    max-width: 820px;
    margin: 24px 0 28px;
    font-family: var(--font-display);
    font-size: clamp(3.7rem, 6.1vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .98;
}

.parenting-hero-copy h2 em {
    display: inline-block;
    margin-top: 12px;
    font-size: .57em;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.parenting-subtitle {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.65vw, 1.28rem);
    line-height: 1.78;
}

.parenting-compass {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, var(--glow), transparent 23%),
        radial-gradient(circle at 50% 50%, transparent 0 31%, var(--border) 31.2% 31.6%, transparent 31.8% 47%, var(--border) 47.2% 47.5%, transparent 47.7%),
        linear-gradient(145deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-lg);
}

.parenting-compass::before,
.parenting-compass::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--border);
    transform: translate(-50%, -50%);
}

.parenting-compass::before {
    width: 1px;
    height: 78%;
}

.parenting-compass::after {
    width: 78%;
    height: 1px;
}

.parenting-compass > strong {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 146px;
    height: 146px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    box-shadow: 0 0 0 18px var(--surface), 0 24px 70px rgba(0, 0, 0, .24);
    transform: translate(-50%, -50%);
}

.parenting-compass > small {
    position: absolute;
    left: 50%;
    bottom: 42px;
    z-index: 3;
    width: min(78%, 350px);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.parenting-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px dashed var(--border-strong);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.parenting-orbit-one {
    width: 66%;
    height: 66%;
    animation: parenting-orbit-spin 36s linear infinite;
}

.parenting-orbit-two {
    width: 88%;
    height: 88%;
    animation: parenting-orbit-spin 52s linear infinite reverse;
}

@keyframes parenting-orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.parenting-node {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 86px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--accent-2);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.parenting-node-dialogo { left: 8%; top: 28%; }
.parenting-node-limiti { right: 7%; top: 27%; }
.parenting-node-esempio { left: 9%; bottom: 27%; }
.parenting-node-cura { right: 10%; bottom: 27%; }

.parenting-author-note {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 62px;
    padding: 92px 0;
    border-top: 1px solid var(--border);
}

.parenting-note-label {
    align-self: start;
    padding-top: 7px;
}

.parenting-note-label span {
    display: block;
    margin-bottom: 22px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.4rem;
    line-height: 1;
}

.parenting-note-label p {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    line-height: 1.55;
    text-transform: uppercase;
}

.parenting-note-copy {
    max-width: 880px;
}

.parenting-note-copy h3,
.parenting-section-heading h3,
.parenting-countercurrent-copy h3,
.parenting-void-heading h3,
.parenting-invitation-copy h3 {
    margin-bottom: 30px;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.parenting-note-copy p,
.parenting-countercurrent-copy > p,
.parenting-longform p,
.parenting-invitation-copy > p {
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.88;
}

.parenting-note-copy p:last-child,
.parenting-countercurrent-copy > p:last-child,
.parenting-longform p:last-child,
.parenting-invitation-copy > p:last-child {
    margin-bottom: 0;
}

.parenting-thesis {
    position: relative;
    margin: 0 0 96px;
    padding: 56px 64px 56px 112px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--surface-3), var(--surface));
    box-shadow: var(--shadow-sm);
}

.parenting-thesis::after {
    content: '';
    position: absolute;
    right: -72px;
    bottom: -92px;
    width: 260px;
    height: 260px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    box-shadow: 0 0 0 34px var(--border), 0 0 0 72px var(--grid);
}

.parenting-thesis-mark {
    position: absolute;
    left: 38px;
    top: 24px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 6.8rem;
    line-height: 1;
    opacity: .72;
}

.parenting-thesis p {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 3rem);
    line-height: 1.42;
}

.parenting-thesis strong {
    color: var(--accent-2);
    font-weight: 500;
}

.parenting-challenges {
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.parenting-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 54px;
    align-items: end;
    margin-bottom: 48px;
}

.parenting-section-heading h3 {
    grid-column: 1 / -1;
    max-width: 830px;
    margin-bottom: 0;
}

.parenting-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.parenting-challenge-grid article {
    position: relative;
    min-height: 390px;
    padding: 34px 31px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

.parenting-challenge-grid article::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    opacity: .65;
}

.parenting-card-number {
    display: inline-flex;
    margin-bottom: 72px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 2.4rem;
}

.parenting-challenge-grid h4 {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
}

.parenting-challenge-grid p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.78;
}

.parenting-countercurrent {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
    gap: 70px;
    align-items: center;
    padding: 108px 0;
    border-top: 1px solid var(--border);
}

.parenting-countercurrent-copy {
    min-width: 0;
}

.parenting-resistance {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, transparent 0 49.8%, var(--border) 50%, transparent 50.2%),
        linear-gradient(135deg, var(--surface-3), var(--surface));
    box-shadow: var(--shadow-lg);
}

.parenting-current-lines {
    position: absolute;
    inset: 54px -80px 105px 26%;
    transform: rotate(-10deg);
}

.parenting-current-lines i {
    display: block;
    width: 120%;
    height: 45px;
    margin: 22px 0;
    border: 1px solid var(--border-strong);
    border-left: 0;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, transparent, var(--grid));
}

.parenting-current-lines i:nth-child(2),
.parenting-current-lines i:nth-child(4) {
    transform: translateX(45px);
}

.parenting-figure {
    position: absolute;
    left: 12%;
    top: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transform: translateY(-55%);
}

.parenting-figure i {
    position: relative;
    display: block;
    width: 92px;
    height: 92px;
    border: 2px solid var(--accent);
    border-radius: 50% 50% 44% 44%;
    box-shadow: 0 0 0 18px var(--glow);
}

.parenting-figure i::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 96px;
    width: 132px;
    height: 178px;
    border: 2px solid var(--accent);
    border-bottom: 0;
    border-radius: 70px 70px 0 0;
    transform: translateX(-50%);
}

.parenting-figure b {
    margin-top: 188px;
    color: var(--accent-2);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.parenting-resistance > small {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 28px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.55;
    text-align: center;
    text-transform: uppercase;
}

.parenting-void {
    padding: 106px 0;
    border-top: 1px solid var(--border);
}

.parenting-void-heading {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    margin-bottom: 48px;
}

.parenting-void-heading > span {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 4.6rem;
    line-height: 1;
}

.parenting-void-heading h3 {
    max-width: 880px;
    margin-bottom: 0;
}

.parenting-void-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
    gap: 58px;
    align-items: start;
}

.parenting-longform {
    padding-left: 186px;
}

.parenting-balance {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    min-height: 410px;
    padding: 36px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, var(--surface-2), var(--surface));
}

.parenting-balance > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parenting-balance small {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.parenting-balance strong {
    margin-bottom: 9px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
}

.parenting-balance span:not(.parenting-balance-line) {
    color: var(--text-soft);
    line-height: 1.6;
}

.parenting-balance-line {
    position: relative;
    display: block;
    height: 1px;
    margin: 22px 0;
    background: var(--border-strong);
}

.parenting-balance-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--surface-2);
    transform: translate(-50%, -50%);
}

.parenting-invitation {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
    gap: 70px;
    padding: 108px 0;
    border-top: 1px solid var(--border);
}

.parenting-principles {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.parenting-principles li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.parenting-principles li > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    color: var(--accent);
    font-family: var(--font-display);
}

.parenting-principles h4 {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
}

.parenting-principles p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.parenting-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 54px;
    align-items: end;
    padding: 74px 0 12px;
    border-top: 1px solid var(--border);
}

.parenting-footer > div:first-child {
    max-width: 780px;
}

.parenting-footer-label {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--accent-2);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.parenting-footer p {
    margin-bottom: 16px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.35rem);
    line-height: 1.46;
}

.parenting-footer small {
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .parenting-orbit-one,
    .parenting-orbit-two {
        animation: none;
    }
}

@media (max-width: 1080px) {
    .parenting-hero {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
        gap: 46px;
    }
    .parenting-challenge-grid article {
        min-height: 430px;
    }
    .parenting-longform {
        padding-left: 0;
    }
}

@media (max-width: 980px) {
    .parenting-story {
        width: min(100% - 48px, 1240px);
        padding-top: 64px;
    }
    .parenting-hero,
    .parenting-countercurrent,
    .parenting-void-grid,
    .parenting-invitation,
    .parenting-footer {
        grid-template-columns: 1fr;
    }
    .parenting-hero {
        min-height: 0;
    }
    .parenting-compass {
        width: min(100%, 590px);
        min-height: 500px;
        margin: 0 auto;
    }
    .parenting-section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .parenting-challenge-grid {
        grid-template-columns: 1fr;
    }
    .parenting-challenge-grid article {
        min-height: 0;
    }
    .parenting-card-number {
        margin-bottom: 42px;
    }
    .parenting-resistance {
        width: min(100%, 650px);
        margin: 0 auto;
    }
    .parenting-footer {
        align-items: start;
    }
}

@media (max-width: 720px) {
    .parenting-story {
        width: min(100% - 28px, 1240px);
        padding: 46px 0 74px;
    }
    .parenting-hero {
        gap: 42px;
        padding: 8px 0 62px;
    }
    .parenting-hero-copy h2 {
        font-size: clamp(3rem, 15.8vw, 5rem);
    }
    .parenting-hero-copy h2 em {
        font-size: .52em;
    }
    .parenting-compass {
        min-height: 390px;
    }
    .parenting-compass > strong {
        width: 112px;
        height: 112px;
        font-size: 1.45rem;
        box-shadow: 0 0 0 12px var(--surface), 0 18px 50px rgba(0, 0, 0, .22);
    }
    .parenting-node {
        min-width: 70px;
        min-height: 36px;
        padding: 7px 10px;
        font-size: .58rem;
    }
    .parenting-node-dialogo { left: 5%; }
    .parenting-node-limiti { right: 4%; }
    .parenting-node-esempio { left: 5%; }
    .parenting-node-cura { right: 6%; }
    .parenting-compass > small {
        bottom: 28px;
        font-size: .58rem;
    }
    .parenting-author-note {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 68px 0;
    }
    .parenting-note-label {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    .parenting-note-label span {
        margin-bottom: 0;
        font-size: 3.4rem;
    }
    .parenting-thesis {
        margin-bottom: 70px;
        padding: 76px 26px 38px;
        border-radius: var(--radius-md);
    }
    .parenting-thesis-mark {
        left: 24px;
        top: 18px;
        font-size: 5rem;
    }
    .parenting-challenges,
    .parenting-countercurrent,
    .parenting-void,
    .parenting-invitation {
        padding: 70px 0;
    }
    .parenting-challenge-grid article {
        padding: 28px 24px;
    }
    .parenting-countercurrent {
        gap: 42px;
    }
    .parenting-resistance {
        min-height: 430px;
        border-radius: var(--radius-md);
    }
    .parenting-current-lines {
        inset: 45px -90px 90px 22%;
    }
    .parenting-current-lines i {
        height: 34px;
        margin: 18px 0;
    }
    .parenting-figure {
        left: 9%;
    }
    .parenting-figure i {
        width: 68px;
        height: 68px;
    }
    .parenting-figure i::after {
        top: 72px;
        width: 102px;
        height: 140px;
    }
    .parenting-figure b {
        margin-top: 148px;
        font-size: .6rem;
    }
    .parenting-resistance > small {
        left: 20px;
        right: 20px;
        bottom: 20px;
        font-size: .62rem;
    }
    .parenting-void-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .parenting-void-heading > span {
        font-size: 3.5rem;
    }
    .parenting-balance {
        min-height: 0;
        padding: 28px 24px;
        border-radius: var(--radius-md);
    }
    .parenting-invitation {
        gap: 42px;
    }
    .parenting-principles li {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 20px;
    }
    .parenting-principles li > span {
        width: 46px;
        height: 46px;
    }
    .parenting-footer {
        gap: 34px;
        padding-top: 62px;
    }
}

@media (max-width: 420px) {
    .parenting-story {
        width: min(100% - 22px, 1240px);
    }
    .parenting-compass {
        min-height: 350px;
    }
    .parenting-node {
        min-width: 62px;
        font-size: .52rem;
        letter-spacing: .06em;
    }
    .parenting-compass > small {
        width: 82%;
    }
    .parenting-note-copy h3,
    .parenting-section-heading h3,
    .parenting-countercurrent-copy h3,
    .parenting-void-heading h3,
    .parenting-invitation-copy h3 {
        font-size: clamp(2.05rem, 11vw, 3rem);
    }
    .parenting-thesis p {
        font-size: 1.5rem;
    }
    .parenting-resistance {
        min-height: 390px;
    }
    .parenting-balance strong {
        font-size: 1.7rem;
    }
}

/* ==========================================================
   PRODUZIONE V2.0.0 — CONTATTI, PRIVACY, COOKIE E PAGINE LEGALI
   ========================================================== */
.email-card-secondary {
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 5%, var(--surface)), var(--surface));
}

.footer-main {
    grid-template-columns: 1.18fr .56fr .72fr .64fr 1fr;
    gap: 38px;
}
.footer-bottom {
    justify-content: flex-start;
}
.footer-contact span {
    max-width: 240px;
    line-height: 1.55;
}

.legal-document {
    width: 100%;
    padding-top: 72px;
}
.legal-document .manifesto-hero {
    min-height: 390px;
}
.legal-document .manifesto-hero-copy h1,
.legal-document .manifesto-hero-copy h2 {
    max-width: 780px;
    margin-bottom: 26px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 7.5vw, 7.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.legal-document .manifesto-hero-copy h1 em,
.legal-document .manifesto-hero-copy h2 em {
    color: var(--accent);
    font-style: normal;
}
.legal-status-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 150px;
    padding: 28px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface));
    box-shadow: var(--shadow-lg);
}
.legal-status-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-strong);
    border-radius: 19px;
    color: var(--accent-2);
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}
.legal-status-icon svg { width: 30px; height: 30px; }
.legal-status-card div { display: grid; gap: 7px; }
.legal-status-card strong { color: var(--text); font-family: var(--font-display); font-size: 1.48rem; }
.legal-status-card small { color: var(--text-soft); line-height: 1.55; }
.legal-status-positive { border-color: color-mix(in srgb, var(--accent) 65%, var(--border)); }
.legal-updated {
    margin: 20px 0 0 !important;
    color: var(--muted);
    font-size: .76rem;
    text-align: right;
}
.legal-section {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 42px;
    padding: 84px 0;
    border-bottom: 1px solid var(--border);
}
.legal-section > div:last-child { max-width: 1000px; }
.legal-section .manifesto-kicker { margin-top: 0; }
.legal-section h3 {
    max-width: 860px;
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 4.3vw, 4.35rem);
}
.legal-section p,
.legal-section li {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.3vw, 1.17rem);
    line-height: 1.78;
}
.legal-section p + p { margin-top: 19px; }
.legal-section a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-section code {
    padding: .16em .42em;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--accent-2);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .86em;
}
.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}
.legal-contact-grid a {
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    text-decoration: none;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.legal-contact-grid a:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.legal-contact-grid small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-contact-grid strong { color: var(--text); font-size: clamp(.95rem, 1.8vw, 1.28rem); overflow-wrap: anywhere; }
.legal-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}
.legal-cards article {
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.legal-cards article > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 30px;
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    color: var(--accent-2);
}
.legal-cards svg { width: 24px; height: 24px; }
.legal-cards h4 { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.18; }
.legal-cards p { margin: 0; font-size: .96rem; line-height: 1.7; }
.legal-emphasis {
    margin-top: 30px !important;
    padding: 23px 26px;
    border-left: 3px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    color: var(--text) !important;
    font-weight: 700;
}
.legal-table-wrap {
    width: 100%;
    margin-top: 32px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    outline: none;
}
.legal-table-wrap:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
.legal-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    text-align: left;
}
.legal-table th,
.legal-table td {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text-soft);
    font-size: .88rem;
    line-height: 1.62;
}
.legal-table th {
    color: var(--text);
    background: var(--surface-2);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--accent-2); font-weight: 800; }
.legal-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.legal-list li { padding: 19px 22px; border-left: 2px solid var(--border-strong); background: var(--surface); }
.legal-list strong { color: var(--text); }
.cookie-zero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}
.cookie-zero-grid span {
    display: grid;
    gap: 6px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}
.cookie-zero-grid strong { color: var(--accent); font-family: var(--font-display); font-size: 3.6rem; line-height: .9; }
.cookie-zero-grid small { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.legal-footer-cta { margin-top: 22px; }
.legal-footer-cta .button { min-width: 240px; }

.legal-page { min-height: 100vh; }
.legal-site-header .header-inner { justify-content: space-between; }
.legal-nav { display: flex; align-items: center; gap: 24px; }
.legal-nav a { color: var(--muted); font-size: .78rem; font-weight: 750; }
.legal-nav a:hover,
.legal-nav a[aria-current='page'] { color: var(--accent-2); }
.legal-page-main { min-height: 70vh; padding-top: var(--header-height); }
.legal-page-container { padding-top: 18px; padding-bottom: 40px; }
.legal-page .legal-document { width: min(100%, 1240px); }
.legal-page .legal-document .manifesto-hero { padding-top: 50px; }
.legal-site-footer { margin-top: 40px; }

@media (max-width: 1120px) {
    .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; grid-template-columns: 1fr; align-items: start; }
    .legal-cards { grid-template-columns: 1fr; }
    .legal-cards article { min-height: 0; }
}

@media (max-width: 820px) {
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact { grid-column: 1 / -1; }
    .legal-document { padding-top: 48px; }
    .legal-document .manifesto-hero { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
    .legal-status-card { max-width: 520px; }
    .legal-section { grid-template-columns: 78px minmax(0, 1fr); gap: 26px; padding: 68px 0; }
    .legal-section .manifesto-section-number { font-size: 3.4rem; }
    .legal-contact-grid,
    .cookie-zero-grid { grid-template-columns: 1fr; }
    .legal-nav { gap: 14px; }
    .legal-nav a:nth-child(2),
    .legal-nav a:nth-child(3) { display: none; }
}

@media (max-width: 620px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-brand, .footer-contact { grid-column: auto; }
    .legal-document .manifesto-hero-copy h1,
    .legal-document .manifesto-hero-copy h2 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
    .legal-status-card { grid-template-columns: 52px 1fr; padding: 22px; }
    .legal-status-icon { width: 52px; height: 52px; }
    .legal-section { grid-template-columns: 1fr; gap: 20px; padding: 58px 0; }
    .legal-section .manifesto-section-number { font-size: 2.7rem; }
    .legal-table th,
    .legal-table td { padding: 16px; }
    .legal-footer-cta { grid-template-columns: 1fr; align-items: start; }
    .legal-footer-cta .button { width: 100%; min-width: 0; }
    .legal-nav a:last-child { display: none; }
}

@media print {
    .legal-site-header, .legal-site-footer, .legal-status-card, .legal-footer-cta { display: none !important; }
    .legal-page-main { padding-top: 0; }
    .legal-document { width: 100%; padding: 0; }
    .legal-section { break-inside: avoid; }
}
