/* Connect — estilos */
:root {
    --ink: #0b0d0a;
    --ink-2: #151913;
    --paper: #ffffff;
    --gray: #e0e5e8;
    --accent: #ff007d;      /* magenta do logo */
    --accent-2: #ff5fa8;    /* magenta claro para apontamentos */
    --muted: #5d6459;
    --muted-dark: rgba(255, 255, 255, .62);
    --line: rgba(11, 13, 10, .14);
    --line-dark: rgba(255, 255, 255, .12);

    --font-display: 'Syne', 'Arial Black', sans-serif;
    --font-body: 'Manrope', 'Helvetica Neue', sans-serif;

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(56px, 7vw, 96px);
    --radius: 22px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
iconify-icon { display: inline-block; width: 1em; height: 1em; }
mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
mark::after {
    content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .38em;
    background: var(--accent); z-index: -1; transform-origin: left;
    transform: scaleX(0); transition: transform .9s var(--ease) .35s;
}
.is-visible mark::after, mark.is-visible::after { transform: scaleX(1); }
.section--dark mark { color: var(--accent); }
.section--dark mark::after { display: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 8px 8px 8px 26px; border-radius: 999px; border: 0;
    font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn__icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); color: var(--accent); font-size: 20px;
    transition: transform .4s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark .btn__icon { background: var(--accent); color: var(--ink); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Header */
.header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    color: var(--paper);
    border-top: 4px solid var(--accent-2);
    transition: background .35s, box-shadow .35s, padding .35s;
    padding: 14px 0;
}
.header.is-solid { background: rgba(11, 13, 10, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__img { height: 50px; width: auto; flex-shrink: 0; }
.nav { display: flex; gap: 34px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .8; position: relative; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
    font-weight: 700; font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s;
}
.lang:hover { border-color: var(--accent); background: rgba(255, 0, 125, .1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    background: var(--ink); color: var(--paper); overflow: hidden;
    padding: 140px 0 clamp(60px, 9vh, 110px);
}
.hero__video, .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero.has-video .hero__video { opacity: .55; }
.hero__network { transition: opacity 1.2s ease; }
.hero.has-video .hero__network { opacity: 0; }
.hero__network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__network line { stroke: rgba(255, 95, 168, .35); stroke-width: 1.2; stroke-dasharray: 6 10; animation: dash 18s linear infinite; }
.hero__network circle { fill: var(--accent); animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero__network circle:nth-child(2n) { animation-delay: -1.2s; fill: var(--accent-2); }
.hero__network circle:nth-child(3n) { animation-delay: -2.1s; }
.hero__network .hub { filter: drop-shadow(0 0 12px var(--accent)); }
@keyframes dash { to { stroke-dashoffset: -320; } }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .6; } }
.hero__glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 75% 60%, rgba(255, 0, 125, .22), transparent 70%),
        linear-gradient(to top, var(--ink) 4%, rgba(11, 13, 10, .2) 55%, rgba(11, 13, 10, .7));
}
.grain {
    position: absolute; inset: -50%; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 700; letter-spacing: .02em; margin-bottom: 26px; }
.spin-leaf { display: inline-block; font-size: 26px; color: var(--accent-2); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__title {
    font: 700 clamp(42px, 7.4vw, 112px)/.95 var(--font-display);
    letter-spacing: -.035em; text-transform: lowercase;
}
.hero__title span { display: block; }
.hero__title--accent { color: var(--accent); padding-left: clamp(0px, 8vw, 140px); }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero__lead { max-width: 480px; font-size: 18px; color: var(--muted-dark); }
.hero__scroll {
    position: absolute; right: var(--gutter); bottom: 30px; z-index: 1;
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark);
    display: none; place-items: center; font-size: 20px; color: var(--paper);
    animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* Sections */
.section { padding: var(--section) 0; position: relative; }
.section--light { background: var(--paper); }
.section--gray { background: var(--gray); }
.section--dark { background: var(--ink); color: var(--paper); }
.section__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 48px; margin-bottom: clamp(36px, 5vw, 64px); align-items: start; }
.section__title { font: 700 clamp(34px, 5vw, 64px)/1.05 var(--font-display); letter-spacing: -.025em; }
.section__intro { margin-top: 22px; max-width: 640px; font-size: 18px; color: var(--muted); }
.section--dark .section__intro { color: var(--muted-dark); }
.section__cta { display: flex; justify-content: flex-end; margin-top: 40px; }

.tag { display: flex; align-items: center; gap: 14px; padding-top: 10px; }
.tag__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); font-weight: 700; font-size: 13px; flex-shrink: 0; color: var(--ink); }
.tag__line { flex: 1; max-width: 90px; height: 1px; background: currentColor; opacity: .35; }
.tag__label { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.tag--on-dark .tag__label { background: var(--paper); color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 36px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__value { font: 700 clamp(56px, 7vw, 104px)/1 var(--font-display); letter-spacing: -.04em; display: flex; align-items: baseline; }
.stat__unit { color: var(--accent-2); margin-left: 4px; font-size: .55em; }
.stat__label { margin-top: 14px; font-weight: 600; color: var(--muted); max-width: 260px; }

/* Capabilities */
.capabilities { list-style: none; margin: 0 0 clamp(60px, 8vw, 100px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.capabilities li { background: var(--ink); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; transition: background .3s; }
.capabilities li:hover { background: var(--ink-2); }
.capabilities iconify-icon { font-size: 28px; color: var(--accent); }
.capabilities h3 { font: 700 18px/1.25 var(--font-display); margin-bottom: 8px; }
.capabilities p { font-size: 15px; color: var(--muted-dark); }

/* Pillars (accordion) */
.pillars { border-bottom: 1px solid var(--line-dark); }
.pillar { border-top: 1px solid var(--line-dark); }
.pillar summary {
    list-style: none; cursor: pointer;
    display: grid; grid-template-columns: 70px 1fr 48px; align-items: center; gap: 20px;
    padding: clamp(22px, 3vw, 34px) 0;
}
.pillar summary::-webkit-details-marker { display: none; }
.pillar__num { font-weight: 700; color: var(--accent); font-size: 15px; }
.pillar__name { font: 700 clamp(30px, 5vw, 64px)/1 var(--font-display); letter-spacing: -.025em; color: rgba(255, 255, 255, .4); transition: color .3s; }
.pillar[open] .pillar__name, .pillar summary:hover .pillar__name { color: var(--paper); }
.pillar__toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; transition: background .3s, transform .4s var(--ease); }
.pillar__toggle::before, .pillar__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.pillar__toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.pillar[open] .pillar__toggle { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(180deg); }
.pillar[open] .pillar__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.pillar p { padding: 0 68px clamp(26px, 3vw, 38px) 90px; max-width: 900px; color: var(--muted-dark); font-size: 18px; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* About cards */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin-inline: auto; align-items: start; }
.card {
    --y: 0px;
    border-radius: 22px; padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
    font-size: 15px; line-height: 1.6;
    transform: translateY(var(--y));
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(calc(var(--y) - 8px)); box-shadow: 0 24px 50px -24px rgba(11, 13, 10, .35); }
.card p:last-child { margin-top: auto; padding-top: 12px; }
.card__big { font: 700 clamp(36px, 3.3vw, 48px)/1 var(--font-display); letter-spacing: -.04em; white-space: nowrap; }
.card__big small { font-size: .42em; letter-spacing: 0; }
.card__title { font-weight: 700; font-size: 16px; padding-bottom: 14px; border-bottom: 1px solid currentColor; border-color: rgba(11, 13, 10, .2); }
.card--accent { background: var(--accent); }
.card--accent::after {
    content: ""; position: absolute; width: 200px; height: 200px; right: -80px; bottom: -80px; border-radius: 50%;
    border: 36px solid rgba(255, 255, 255, .18); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-18px, -14px) scale(1.08); } }
.card--dark { --y: 24px; background: var(--ink); color: var(--paper); }
.card--dark::before {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -110px; right: -110px;
    background: radial-gradient(closest-side, rgba(255, 0, 125, .45), transparent);
    animation: glow 6s ease-in-out infinite;
}
@keyframes glow { 50% { transform: translate(-40px, 30px); opacity: .55; } }
.card--dark > * { position: relative; }
.card--dark .card__title { border-color: var(--line-dark); }
.card--dark p:not(.card__big):not(.card__title) { color: var(--muted-dark); }
.card--outline { border: 1px solid var(--line); }
.card--outline::before {
    content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px dashed var(--line); top: -200px; left: 50%;
    transform: translateX(-50%); animation: orbit 30s linear infinite;
}
@keyframes orbit { to { transform: translateX(-50%) rotate(360deg); } }
.card--outline > * { position: relative; }
.card--outline p:not(.card__big):not(.card__title), .card--accent p:last-child { color: var(--muted); }
.card--accent p:last-child { color: rgba(11, 13, 10, .7); position: relative; z-index: 1; }
.stars { display: flex; gap: 3px; font-size: 16px; }
.js .card.is-visible .stars iconify-icon { animation: starPop .5s var(--ease) backwards; }
.js .card.is-visible .stars iconify-icon:nth-child(2) { animation-delay: .1s; }
.js .card.is-visible .stars iconify-icon:nth-child(3) { animation-delay: .2s; }
.js .card.is-visible .stars iconify-icon:nth-child(4) { animation-delay: .3s; }
.js .card.is-visible .stars iconify-icon:nth-child(5) { animation-delay: .4s; }
@keyframes starPop { from { opacity: 0; transform: scale(0) rotate(-45deg); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(11, 13, 10, .35); }
.feature--dark { background: var(--ink); color: var(--paper); }
.feature__head { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.feature--dark .feature__head { border-color: var(--line-dark); }
.feature__head iconify-icon { font-size: 26px; padding: 12px; box-sizing: content-box; border-radius: 14px; background: var(--accent); color: var(--ink); }
.feature__head h3 { font: 700 26px/1 var(--font-display); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; font-weight: 500; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.feature--dark .checks li { color: rgba(255, 255, 255, .85); }

/* Contact */
.contact__title { font-size: clamp(48px, 7vw, 104px); line-height: .95; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.contact__info { display: flex; flex-direction: column; gap: 18px; color: var(--muted-dark); }
.contact__info > p:first-child { margin-bottom: 14px; }
.contact__link { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); font: 700 20px/1.2 var(--font-display); text-decoration: none; width: fit-content; }
.contact__link iconify-icon { color: var(--accent); font-size: 22px; }
.contact__link:hover { color: var(--accent); }
.contact__note { font-size: 13px; margin-top: -10px; }
.form { display: grid; gap: 30px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding: 10px 0 14px; color: var(--paper); font: 500 22px/1.4 var(--font-body); resize: vertical;
    transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ffb547; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.6em; font-weight: 600; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #ffc56e; }
.form__status a { color: var(--accent); }

/* Footer */
.footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logo--footer { color: var(--paper); }
.logo--footer .logo__img { height: 28px; }
.footer a { text-decoration: none; }
.footer__copy a { color: var(--paper); font-weight: 700; }
.footer a:hover { color: var(--accent); }
.footer__links { display: flex; gap: 22px; }
.footer__links a[aria-current="page"] { color: var(--accent); }

/* Legal pages */
.legal-hero {
    position: relative; overflow: hidden; background: var(--ink); color: var(--paper);
    padding: calc(110px + clamp(32px, 5vw, 64px)) 0 clamp(40px, 6vw, 72px);
}
.legal-hero::before {
    content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 125, .35), transparent 65%); pointer-events: none;
}
.legal-hero .container { position: relative; }
.legal-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 15px; font-weight: 600; }
.legal-hero__eyebrow iconify-icon { color: var(--accent); font-size: 20px; }
.legal-hero__title { font: 800 clamp(40px, 7vw, 88px)/1 var(--font-display); letter-spacing: -.03em; margin: 18px 0 22px; }
.legal-hero__title span { color: var(--accent); }
.legal-hero__meta { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 600; color: var(--muted-dark); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 6vw, 80px); }
.legal__toc { position: sticky; top: 110px; align-self: start; }
.legal__toc-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
    display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent;
    font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-size: 12px; padding-top: 2px; }
.legal__toc a:hover { color: var(--ink); border-left-color: var(--accent); }

.legal__body { max-width: 760px; }
.legal__body section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal__body h2 { display: flex; align-items: baseline; gap: 14px; font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--font-display); letter-spacing: -.01em; margin-bottom: 16px; }
.legal__body h2 span { flex-shrink: 0; font-size: .55em; color: var(--accent); }
.legal__body p { color: #2c3229; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: 14px; }
.legal__body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 26px; color: #2c3229; }
.legal__body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.legal__body a { color: var(--accent); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal__body .btn { color: var(--paper); text-decoration: none; }
.legal__callout { margin-top: 20px !important; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--gray); border-radius: 0 12px 12px 0; overflow-wrap: anywhere; }
.legal__contact { margin: 18px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal__contact div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 20px; background: var(--paper); }
.legal__contact dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.legal__contact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.legal__note { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: var(--ink); color: var(--muted-dark); }
.legal__note p { color: inherit; }
.legal__note strong { color: var(--paper); }
.legal__note .btn { margin-top: 22px; background: var(--paper); color: var(--ink); }

/* Scroll to top */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--accent); color: var(--ink); font-size: 22px; display: grid; place-items: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible { transform: translateY(var(--y)); }
.js .card.reveal.is-visible:hover { transform: translateY(calc(var(--y) - 8px)); }

/* Responsive */
@media (min-width: 1000px) { .hero__scroll { display: grid; } }

@media (max-width: 1100px) {
    .capabilities { grid-template-columns: repeat(2, 1fr); }
    .capabilities li:last-child { grid-column: span 2; }
    .header__cta { display: none; }
}

@media (max-width: 900px) {
    .burger { display: block; }
    .nav {
        position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 10px;
        padding: 0 var(--gutter); background: var(--ink);
        opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
    }
    .nav a { font: 700 40px/1.3 var(--font-display); opacity: 1; }
    .nav a::after { display: none; }
    .nav.is-open { opacity: 1; visibility: visible; }
    /* backdrop-filter would trap the fixed menu inside the header box */
    .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
    body.no-scroll { overflow: hidden; }
    .section__head, .contact__grid { grid-template-columns: minmax(0, 1fr); }
    mark { white-space: normal; }
    .stats { grid-template-columns: 1fr; }
    .stat, .stat + .stat { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .stat { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .stat__label { margin: 0; text-align: right; max-width: 200px; }
    .about, .features { grid-template-columns: 1fr; }
    .about { max-width: 520px; }
    .card--dark { --y: 0px; }
    .section__cta { justify-content: flex-start; }
    .pillar summary { grid-template-columns: 1fr 44px; }
    .pillar__num { display: none; }
    .pillar__toggle { width: 44px; height: 44px; }
    .pillar p { padding: 0 0 28px; font-size: 16px; }
    .legal { grid-template-columns: minmax(0, 1fr); }
    .legal__toc { position: static; }
    .legal__toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
    .legal__toc a { padding: 6px 12px; margin: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
    .legal__toc a:hover { border-color: var(--accent); }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .logo__img { height: 40px; }
    .capabilities { grid-template-columns: 1fr; }
    .capabilities li:last-child { grid-column: auto; }
    .hero__title--accent { padding-left: 0; }
    .stat__value { font-size: 64px; }
    .footer__inner { flex-direction: column; align-items: flex-start; }
    .field input, .field textarea { font-size: 18px; }
    .legal__contact div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    mark::after { transform: scaleX(1); }
}
