/* ==========================================================================
   rAisk · stile della pagina di rAisk Anonymizer
   --------------------------------------------------------------------------
   Caricato dopo site.css. Le regole erano in linea nella pagina: sono state
   spostate qui senza modifiche, tolte quelle del menu e del piede, che ora
   arrivano dall'intestazione e dal piede condivisi del sito.
   ========================================================================== */

:root {
    --navy: #313280;
    --magenta: #C3007A;
    --teal: #569F98;
    --offwhite: #F6F6FF;
    --ink: #1B1C3A;
    --muted: #6A6B8C;
    --line: #E4E4F2;
    --grad: linear-gradient(120deg, #C3007A 0%, #9D3884 40%, #7E648D 51%, #688493 60%, #5B9897 68%, #569F98 100%);
    --radius: 16px;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { color: var(--navy); }

/* ---------- NAV ---------- */

/* width:auto è necessario: senza, l'attributo width="171" dell'<img> resta la
   larghezza usata mentre l'altezza scende a 30px, schiacciando il logo. */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
}

.btn:hover { transform: translateY(-1px); opacity: .92; }

.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--grad); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--offwhite);
    border: 1px solid rgba(246, 246, 255, .3);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--offwhite);
    padding: 96px 0 112px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 780px;
    height: 780px;
    top: -420px;
    right: -220px;
    background: var(--grad);
    filter: blur(140px);
    opacity: .5;
    border-radius: 50%;
    pointer-events: none;
}

.hero-in { position: relative; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(246, 246, 255, .25);
    background: rgba(246, 246, 255, .06);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(86, 159, 152, .25);
}

h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 28px 0 0;
}

h1 .accent {
    background: linear-gradient(90deg, #FF4FB0, #7FD8CF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    max-width: 680px;
    margin: 22px auto 0;
    font-size: clamp(17px, 2vw, 20px);
    color: rgba(246, 246, 255, .78);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-meta {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(246, 246, 255, .55);
}

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }

.kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--magenta);
    margin: 0 0 12px;
}

h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

.section-head p {
    color: var(--muted);
    font-size: 18px;
    margin: 16px 0 0;
}

.alt { background: var(--offwhite); }

/* ---------- CARDS ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    transition: transform .18s, box-shadow .18s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(49, 50, 128, .09);
}

.card .num {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card h3 { margin: 8px 0 8px; font-size: 18px; font-weight: 700; }

.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.card p + p { margin-top: 10px; }

/* ---------- STEPS ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }

.step {
    position: relative;
    counter-increment: step;
    padding: 24px 28px 24px 76px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    content: counter(step);
    position: absolute;
    left: 26px;
    top: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }

.step p { margin: 0; color: var(--muted); font-size: 16px; }

.step p + p { margin-top: 10px; }

kbd {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--offwhite);
    border: 1px solid var(--line);
    color: var(--ink);
    white-space: nowrap;
}

.alt kbd { background: #fff; }

/* ---------- TABELLA ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }

table.tbl th, table.tbl td { padding: 14px 18px; text-align: left; vertical-align: top; }

table.tbl thead th {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--offwhite);
    white-space: nowrap;
}

.alt table.tbl thead th { background: #F0F0FA; }

table.tbl tbody tr + tr td { border-top: 1px solid var(--line); }

table.tbl td strong { font-weight: 700; }

table.tbl td.lead { width: 34%; font-weight: 700; }

/* ---------- CODE ---------- */
.code {
    position: relative;
    margin-top: 16px;
    border-radius: 12px;
    background: #16173A;
    border: 1px solid rgba(246, 246, 255, .1);
    overflow: hidden;
}

.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px 9px 16px;
    border-bottom: 1px solid rgba(246, 246, 255, .1);
}

.code-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(246, 246, 255, .5);
}

.code pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 13.5px;
    line-height: 1.7;
    color: #E6E6F5;
}

.code pre .k { color: #7FD8CF; }
.code pre .s { color: #FF9FD3; }
.code pre .c { color: rgba(246, 246, 255, .4); }

/* ---------- CALLOUT ---------- */
.callout {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 12px;
    background: rgba(86, 159, 152, .09);
    border: 1px solid rgba(86, 159, 152, .3);
    margin-top: 24px;
}

.callout svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }

.callout p { margin: 0; font-size: 15.5px; color: #3D5B58; }

.callout strong { color: #24413E; }

/* ---------- ELENCO REQUISITI ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.checks li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    color: var(--muted);
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
}

.checks strong { color: var(--ink); }

/* ---------- DOWNLOAD ---------- */
.dl-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
}

.dl-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }

.dl-card p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }

.dl-facts {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--muted);
}

.dl-facts b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; }

code.inline {
    font-family: var(--mono);
    font-size: .9em;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--offwhite);
    border: 1px solid var(--line);
    word-break: break-all;
}

.alt code.inline { background: #fff; }

/* ---------- FAQ ---------- */

/* ---------- FOOTER ---------- */

.status { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
    .grid, .grid-2 { grid-template-columns: 1fr; }
    section { padding: 68px 0; }
    .hero { padding: 68px 0 80px; }
    .step { padding: 22px 20px; }
    .step::before { position: static; margin-bottom: 12px; }
}
