:root {
    --purple: #7B2FF7;
    --blue: #2F56F7;
    --ink: #15182A;
    --ink-soft: #4A5168;
    --mist: #E4E8F6;
    --deep: #D5DCF0;
    --line: rgba(28, 36, 72, 0.14);
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --grad: linear-gradient(125deg, var(--purple) 0%, #5B4CFF 48%, var(--blue) 100%);
    --grad-soft: linear-gradient(160deg, rgba(123, 47, 247, 0.14), rgba(47, 86, 247, 0.1));
    --shadow: 0 16px 40px rgba(40, 50, 110, 0.16);
    --shadow-soft: 0 10px 26px rgba(40, 50, 100, 0.1);
    --radius: 22px;
    --radius-sm: 16px;
    --font: "Outfit", "Manrope", sans-serif;
    --max: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(900px 520px at 6% -6%, rgba(123, 47, 247, 0.2), transparent 58%),
        radial-gradient(760px 460px at 94% 2%, rgba(47, 86, 247, 0.18), transparent 55%),
        radial-gradient(700px 420px at 50% 110%, rgba(60, 80, 160, 0.1), transparent 60%),
        linear-gradient(180deg, #E8ECF8 0%, var(--mist) 45%, var(--deep) 100%);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='160' viewBox='0 0 220 160'%3E%3Ctext x='12' y='36' fill='%232F56F7' fill-opacity='0.055' font-family='Consolas,Menlo,monospace' font-size='15'%3E%26lt;/%26gt;%3C/text%3E%3Ctext x='120' y='78' fill='%237B2FF7' fill-opacity='0.045' font-family='Consolas,Menlo,monospace' font-size='13'%3E%7B%20%7D%3C/text%3E%3Ctext x='40' y='128' fill='%232F56F7' fill-opacity='0.04' font-family='Consolas,Menlo,monospace' font-size='12'%3Econst%3C/text%3E%3C/svg%3E"),
        linear-gradient(rgba(35, 45, 90, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 45, 90, 0.035) 1px, transparent 1px);
    background-size: 220px 160px, 36px 36px, 36px 36px;
    background-position: 0 0, 0 0, 0 0;
    mask-image: radial-gradient(ellipse at 50% 30%, black 25%, transparent 78%);
    opacity: 1;
}

.bg-atmosphere *,
.bg-atmosphere::before,
.bg-atmosphere::after {
    pointer-events: none !important;
}

.bg-atmosphere::before,
.bg-atmosphere::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    opacity: 0.5;
}

.bg-atmosphere::before {
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    top: 12%;
    left: -8%;
    background: rgba(123, 47, 247, 0.2);
    animation: drift 14s ease-in-out infinite alternate;
}

.bg-atmosphere::after {
    width: min(360px, 50vw);
    height: min(360px, 50vw);
    top: 28%;
    right: -6%;
    background: rgba(47, 86, 247, 0.18);
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

main,
.footer {
    position: relative;
    z-index: 1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: space-between;
    padding: 0.75rem clamp(0.75rem, 2.5vw, 2rem);
    backdrop-filter: blur(16px) saturate(1.2);
    background: rgba(232, 236, 248, 0.88);
    border-bottom: 1px solid var(--line);
    isolation: isolate;
    min-width: 0;
}

section[id] {
    scroll-margin-top: 5.5rem;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-logo-frame {
    display: inline-grid;
    place-items: center;
    padding: 0.35rem 0.45rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 8px 18px rgba(40, 50, 110, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .brand-logo-frame {
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px rgba(70, 50, 120, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand img {
    width: 44px;
    height: auto;
    display: block;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-width: 0;
}

.btn-top-cta {
    display: none;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: var(--grad);
    box-shadow: 0 8px 18px rgba(90, 60, 180, 0.2);
    white-space: nowrap;
    max-width: min(46vw, 11.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 252, 255, 0.7);
    cursor: pointer;
    place-items: center;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
    background: rgba(123, 47, 247, 0.1);
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-cta {
    background: var(--grad) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(90, 60, 180, 0.22);
}

.nav-backdrop {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
}

.lang-switch a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.7rem;
}

.lang-switch a.is-active {
    background: var(--grad);
    color: #fff;
}

.hero {
    display: grid;
    place-items: center;
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) 3rem;
}

.hero-copy {
    width: min(100%, 760px);
    text-align: center;
    padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.35rem);
    border-radius: clamp(24px, 3vw, 32px);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
        rgba(244, 247, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow:
        0 22px 56px rgba(40, 50, 110, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.35) inset,
        inset 0 -1px 0 rgba(80, 100, 160, 0.06);
    backdrop-filter: blur(24px) saturate(1.35);
    -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.hero-logo-frame {
    width: fit-content;
    max-width: min(300px, 72vw);
    margin: 0 auto 1.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-logo {
    width: min(220px, 52vw);
    height: auto;
    margin: 0;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(50, 60, 120, 0.12));
}

.hero-tagline {
    margin: 0 0 0.95rem;
    font-size: clamp(0.78rem, 2.2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-tagline .is-dark { color: var(--ink); }
.hero-tagline .is-purple { color: var(--purple); }
.hero-tagline .is-blue { color: var(--blue); }

.hero h1 {
    margin: 0 0 0.95rem;
    font-size: clamp(1.85rem, 5vw, 3.05rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 750;
}

.hero-lead {
    margin: 0 auto 1.7rem;
    max-width: 36rem;
    color: var(--ink-soft);
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 16px;
    padding: 0.95rem 1.3rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-primary:hover {
    box-shadow: 0 18px 42px rgba(90, 60, 180, 0.28);
}

.btn-ghost {
    color: var(--ink);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.btn-wide {
    width: 100%;
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-grid;
    place-items: center;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

.section {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-compact {
    padding-top: 1.5rem;
    padding-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head {
    text-align: center;
    margin-bottom: 2.1rem;
}

.section-head h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    letter-spacing: -0.02em;
    font-weight: 750;
}

.section-head p {
    margin: 0 auto;
    max-width: 34rem;
    color: var(--ink-soft);
    line-height: 1.65;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.explain-chip {
    padding: 1.05rem 1.1rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    text-align: left;
    white-space: normal;
}

.explain-chip.h-slide {
    flex: 0 0 min(84vw, 320px);
    width: min(84vw, 320px);
    max-width: min(84vw, 320px);
}

.explain-chip h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 720;
}

.explain-chip p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.process-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.process-list h3 {
    margin: 0 0 0.35rem;
    font-size: 1.06rem;
    font-weight: 720;
}

.process-list p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.service-btn,
.ref-btn {
    display: grid;
    gap: 0.55rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    padding: 1.3rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ref-btn.h-slide {
    flex-basis: min(78vw, 280px);
    gap: 0.4rem;
    padding: 0.95rem;
}

.service-btn:hover,
.ref-btn:hover {
    border-color: rgba(123, 47, 247, 0.35);
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pictogram {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--grad-soft);
}

.pictogram svg {
    width: 30px;
    height: 30px;
}

.service-title,
.ref-title {
    font-weight: 750;
    font-size: 1.12rem;
}

.ref-btn .ref-title {
    font-size: 1.02rem;
}

.service-text,
.ref-text {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ref-btn .ref-text {
    font-size: 0.88rem;
    line-height: 1.45;
}

.h-slider {
    display: grid;
    gap: 1rem;
}

.h-viewport {
    overflow: hidden;
    touch-action: pan-y;
    margin-inline: -0.05rem;
    padding: 0.2rem 0.05rem 0.35rem;
}

.h-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    max-width: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.h-track.is-instant {
    transition: none;
}

.h-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.h-slide {
    flex: 0 0 min(84vw, 340px);
    box-sizing: border-box;
    min-width: 0;
}

.h-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.h-nav {
    width: 2.55rem;
    height: 2.55rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-strong);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.h-nav svg {
    width: 1.2rem;
    height: 1.2rem;
}

.h-nav:hover,
.h-nav:focus-visible {
    border-color: rgba(123, 47, 247, 0.35);
    color: var(--purple);
    transform: translateY(-1px);
}

.h-nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.h-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.h-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 81, 104, 0.28);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.h-dot.is-active {
    width: 1.35rem;
    background: var(--grad);
}

.ref-preview {
    display: block;
    margin: -0.1rem -0.1rem 0.2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.ref-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    max-height: 148px;
}

.ref-tag {
    display: inline-block;
    width: fit-content;
    margin-top: 0.1rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 6px 14px rgba(90, 60, 180, 0.2);
}

.ref-host {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.92rem;
}

.ref-cta {
    margin-top: 0.4rem;
    font-weight: 750;
    font-size: 0.9rem;
    color: transparent;
    background: var(--grad);
    background-clip: text;
    -webkit-background-clip: text;
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

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

.process-list li {
    border-left: 3px solid var(--purple);
}

.contact-meta {
    margin: 0.45rem auto 0;
    max-width: 36rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.contact-success {
    text-align: center;
    padding: 2rem 1.4rem;
    border-radius: calc(var(--radius) + 2px);
    background: linear-gradient(165deg, rgba(255, 252, 255, 0.96), rgba(236, 250, 243, 0.9));
    border: 1px solid rgba(15, 122, 69, 0.18);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

.contact-success h3 {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
}

.contact-success p {
    margin: 0 0 1.2rem;
    color: var(--ink-soft);
}

.footer-meeting {
    margin: 0;
    max-width: 28rem;
    font-size: 0.92rem;
}

.step-num {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: var(--grad);
    box-shadow: 0 8px 16px rgba(90, 60, 180, 0.22);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: calc(var(--radius) + 2px);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-form label.full,
.contact-form .full,
.form-actions.full,
.form-status.full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.88rem 1rem;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(123, 47, 247, 0.45);
    box-shadow: 0 0 0 4px rgba(123, 47, 247, 0.12);
    background: #fff;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: rgba(192, 38, 38, 0.55);
    box-shadow: 0 0 0 4px rgba(192, 38, 38, 0.1);
}

.contact-form input.is-valid {
    border-color: rgba(22, 140, 90, 0.55);
    box-shadow: 0 0 0 4px rgba(22, 140, 90, 0.1);
}

.field-error {
    min-height: 1.1em;
    color: #c02626;
    font-weight: 500;
    font-size: 0.8rem;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.form-status {
    margin: 0;
    min-height: 1.4em;
    text-align: center;
    font-weight: 600;
}

.form-status.is-success {
    color: #0f7a45;
}

.form-status.is-error {
    color: #c02626;
}

.footer {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    padding: 2.8rem 1rem 3.2rem;
    text-align: center;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(255, 252, 255, 0.55));
}

.footer img {
    width: 58px;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 8px 16px rgba(90, 60, 180, 0.16));
}

.footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 650;
}

.footer a:hover {
    color: var(--purple);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    justify-content: center;
    margin-top: 0.25rem;
}

.consent-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.consent-row input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--purple);
}

.consent-row a {
    color: var(--blue);
    font-weight: 650;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 400;
    display: none;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(40, 50, 110, 0.18);
    backdrop-filter: blur(12px);
}

.cookie-banner.is-visible {
    display: grid;
    gap: 0.85rem;
    animation: float-in 0.45s ease both;
}

.cookie-banner p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

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

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.btn-quiet {
    color: var(--ink-soft);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.65rem 0.95rem;
    font: inherit;
    font-weight: 650;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-quiet:hover {
    background: rgba(123, 47, 247, 0.06);
    color: var(--ink);
}

.btn-cookie {
    color: #fff;
    background: var(--grad);
    border: 0;
    border-radius: 14px;
    padding: 0.65rem 1.05rem;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(90, 60, 180, 0.18);
}

.legal-page {
    width: min(100% - 2rem, 760px);
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.legal-page h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.legal-page .legal-lead {
    color: var(--ink-soft);
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

.legal-page h2 {
    margin: 1.75rem 0 0.55rem;
    font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
    color: var(--ink-soft);
    line-height: 1.65;
}

.legal-page ul {
    padding-left: 1.2rem;
}

.legal-back {
    display: inline-flex;
    margin-bottom: 1.25rem;
    color: var(--blue);
    font-weight: 650;
    text-decoration: none;
}

.legal-back:hover {
    color: var(--purple);
}

[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-in {
    opacity: 1;
    transform: none;
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(24px, 18px, 0); }
}

@media (min-width: 981px) {
    .explain-chip.h-slide {
        flex: 0 0 360px;
        width: 360px;
        max-width: 360px;
    }

    .ref-btn.h-slide {
        flex: 0 0 300px;
        width: 300px;
        max-width: 300px;
    }

    .hero {
        padding: 2.25rem 2rem 2.5rem;
    }

    .hero-copy {
        width: min(100%, 680px);
        padding: 1.85rem 2.25rem 1.75rem;
    }

    .hero-logo-frame {
        max-width: 200px;
        margin-bottom: 0.85rem;
    }

    .hero-logo {
        width: 148px;
    }

    .hero-tagline {
        margin-bottom: 0.65rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        margin-bottom: 0.65rem;
        font-size: 2.15rem;
    }

    .hero-lead {
        margin-bottom: 1.2rem;
        font-size: 1.02rem;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 0.65rem;
    }

    .hero .btn {
        padding: 0.8rem 1.15rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 980px) {
    .nav-cta-desktop {
        display: none;
    }

    .btn-top-cta,
    .menu-toggle {
        display: inline-grid;
    }

    .nav {
        position: fixed;
        top: 72px;
        right: 0.85rem;
        left: auto;
        width: min(280px, calc(100vw - 1.7rem));
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.75rem;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 252, 255, 0.96);
        box-shadow: var(--shadow);
        backdrop-filter: blur(16px);
        z-index: 210;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        border-radius: 12px;
        padding: 0.75rem 0.9rem;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 190;
        background: rgba(27, 24, 48, 0.18);
    }

    .nav-backdrop:not([hidden]) {
        display: block;
    }

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

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

    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar {
        padding-inline: 0.65rem;
        gap: 0.45rem;
    }

    .brand-logo-frame {
        padding: 0.28rem 0.35rem;
    }

    .brand img {
        width: 38px;
    }

    .btn-top-cta {
        font-size: 0.78rem;
        padding: 0.48rem 0.65rem;
        max-width: 38vw;
    }

    .lang-switch a {
        padding: 0.4rem 0.55rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
