/* edge AI systèmes — palette & type from edgeAI-systems_design_pack.jpg */
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --night: #0D131D;      /* Deep Night Blue */
  --night-2: #131B28;
  --night-3: #1B2534;
  --teal: #00E599;       /* Electric Teal */
  --teal-d: #00B87B;
  --slate: #334155;      /* Slate Gray */
  --slate-2: #64748B;
  --alu: #E2E8F0;        /* Aluminum Gray */
  --alu-2: #F3F6F9;
  --white: #FFFFFF;
  --ink: #0D131D;
  --ink-2: #475569;
  --line: #D5DCE5;
  --line-d: rgba(226, 232, 240, .1);
  --r: 14px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--slate-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; }
.narrow { width: min(760px, 100% - 40px); }

.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--teal); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; margin-top: 18px; }
.dark .lead { color: #A7B3C4; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; font-family: inherit; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-teal { background: var(--teal); color: var(--night); box-shadow: 0 0 0 0 rgba(0, 229, 153, .5); }
.btn-teal:hover { background: #2BF0AE; box-shadow: 0 6px 30px -6px rgba(0, 229, 153, .6); }
.btn-ghost { color: var(--alu); border-color: rgba(226, 232, 240, .25); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--slate); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 19, 29, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); color: var(--alu); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { text-decoration: none; color: inherit; }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup-text { display: flex; flex-direction: column; line-height: 1; }
.lockup-a { font-weight: 650; font-size: 1.28rem; letter-spacing: -.02em; color: var(--white); }
.lockup-b { font-weight: 400; font-size: .74rem; letter-spacing: .34em; color: #A7B3C4; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .93rem; }
.nav > a:not(.btn) { text-decoration: none; color: #C3CCD8; transition: color .2s; }
.nav > a:not(.btn):hover { color: var(--teal); }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(226, 232, 240, .2); color: #C3CCD8; border-radius: 8px; padding: 6px 10px; font: 500 .8rem var(--mono); cursor: pointer; }
.lang-btn .ico { width: 15px; height: 15px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--night-2); border: 1px solid var(--line-d); border-radius: 10px; padding: 6px; min-width: 150px; display: none; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); }
.lang[data-open] .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: #C3CCD8; font-size: .9rem; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--night-3); color: var(--teal); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; }
.menu-btn i { display: block; height: 2px; background: var(--alu); margin: 4px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded='true'] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded='true'] i:nth-of-type(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.dark { background: var(--night); color: var(--alu); }
.dark h2, .dark h3, .dark h1 { color: var(--white); }
.light { background: var(--alu-2); }
.white { background: var(--white); }
.light::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(226, 232, 240, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 232, 240, .05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(0, 229, 153, .16); pointer-events: none; }
.section-head { margin-bottom: 56px; max-width: 780px; }

/* Hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(0, 229, 153, .14), transparent 60%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero .hl { color: var(--teal); text-shadow: 0 0 40px rgba(0, 229, 153, .35); }
.hero .lead { font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .92rem; color: #A7B3C4; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico, .sol .ico, .tier .ico { width: 17px; height: 17px; color: var(--teal); flex: none; }
.hero-visual { position: relative; }
.console { background: rgba(19, 27, 40, .9); border: 1px solid rgba(226, 232, 240, .12); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 229, 153, .06), 0 0 60px -20px rgba(0, 229, 153, .25); overflow: hidden; position: relative; z-index: 1; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line-d); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--night-3); border: 1px solid rgba(226, 232, 240, .15); }
.console-bar span { margin-left: 10px; font-size: .78rem; color: var(--slate-2); }
.console-body { list-style: none; margin: 0; padding: 18px 20px; font-size: .84rem; display: grid; gap: 12px; }
.console-body li { display: flex; align-items: center; gap: 10px; opacity: 0; animation: line-in .5s forwards; }
.console-body li:nth-child(1) { animation-delay: .2s } .console-body li:nth-child(2) { animation-delay: .4s } .console-body li:nth-child(3) { animation-delay: .6s }
.console-body li:nth-child(4) { animation-delay: .8s } .console-body li:nth-child(5) { animation-delay: 1s } .console-body li:nth-child(6) { animation-delay: 1.2s }
.console-body .k { color: #A7B3C4; }
.console-body .dots { flex: 1; border-bottom: 1px dashed rgba(226, 232, 240, .14); }
.console-body .v { color: var(--white); }
.console-body .ok { color: var(--teal); font-size: .6rem; text-shadow: 0 0 8px var(--teal); }
.console-foot { padding: 12px 20px; border-top: 1px solid var(--line-d); font-size: .74rem; color: var(--slate-2); display: flex; align-items: center; gap: 10px; letter-spacing: .06em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0, 229, 153, .6); animation: pulse 2s infinite; }
.hero-mark { position: absolute; right: -40px; bottom: -70px; opacity: .55; z-index: 0; }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px) } to { opacity: 1; transform: none } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0, 229, 153, 0) } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0) } }

/* Cards */
.cards { display: grid; gap: 20px; position: relative; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(13, 19, 29, .35); }
.card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--night); color: var(--teal); margin-bottom: 22px; }
.card-ico .ico { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p, .service p, .sector p, .step p, .tier p { color: var(--ink-2); font-size: .97rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 34px 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .2s; }
.service:hover { background: var(--alu-2); }
.service::before { content: ''; position: absolute; left: -1px; top: -1px; width: 0; height: 2px; background: var(--teal); transition: width .3s; }
.service:hover::before { width: calc(100% + 1px); }
.code { display: block; color: var(--teal-d); font-size: .82rem; margin-bottom: 26px; }
.service h3 { margin-bottom: 12px; }

.sol { background: linear-gradient(180deg, var(--night-2), rgba(19, 27, 40, .6)); border: 1px solid var(--line-d); border-radius: var(--r); padding: 30px; transition: border-color .2s, transform .2s; }
.sol:hover { border-color: rgba(0, 229, 153, .45); transform: translateY(-3px); }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(0, 229, 153, .3); border-radius: 999px; padding: 4px 10px; margin-bottom: 20px; }
.sol h3 { margin-bottom: 12px; }
.sol p { color: #A7B3C4; font-size: .96rem; }
.sol ul, .tier ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: .9rem; }
.sol li, .tier li { display: flex; gap: 9px; align-items: flex-start; }
.sol li { color: #C3CCD8; }
.sol li .ico, .tier li .ico { margin-top: 3px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.tier.featured { background: var(--night); color: var(--alu); border-color: var(--night); box-shadow: 0 30px 60px -30px rgba(13, 19, 29, .7); }
.tier.featured h3 { color: var(--white); }
.tier.featured p { color: #A7B3C4; }
.tier.featured li { color: #C3CCD8; }
.tier-scale { display: flex; gap: 5px; align-items: flex-end; height: 34px; margin-bottom: 22px; }
.tier-scale i { width: 18px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 14px -2px rgba(0, 229, 153, .55); }
.tier-scale i:nth-child(1) { height: 14px } .tier-scale i:nth-child(2) { height: 24px } .tier-scale i:nth-child(3) { height: 34px }
.tier h3 { font-size: 1.45rem; }
.tier-users { font-size: .8rem; color: var(--teal-d); margin: 8px 0 14px; letter-spacing: .04em; }
.tier.featured .tier-users { color: var(--teal); }
.tier li { color: var(--ink-2); }
.note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink-2); font-size: .95rem; position: relative; }
.note .ico { width: 20px; height: 20px; color: var(--teal-d); flex: none; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--line)); }
.step { padding-right: 28px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--teal); font-size: .85rem; margin-bottom: 24px; position: relative; box-shadow: 0 0 0 6px var(--white); }
.step h3 { margin-bottom: 10px; }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; }
.sector { background: var(--white); padding: 28px 30px; transition: background .2s; }
.sector:hover { background: var(--alu-2); }
.sector h3 { margin-bottom: 8px; font-size: 1.08rem; }
.sector h3::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); margin-right: 12px; vertical-align: 2px; }

.local-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.local-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.local-points li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-d); border-radius: 12px; background: rgba(19, 27, 40, .6); }
.local-points .ico { width: 20px; height: 20px; color: var(--teal); flex: none; }
.cta-band { margin-top: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 44px; border-radius: 18px; background: linear-gradient(110deg, rgba(0, 229, 153, .14), rgba(0, 229, 153, .02) 60%); border: 1px solid rgba(0, 229, 153, .3); position: relative; z-index: 1; }
.cta-band h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.cta-band p { color: #A7B3C4; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-mail { margin-top: 36px; padding: 22px 24px; border-radius: 12px; background: var(--alu-2); border: 1px solid var(--line); display: grid; gap: 8px; }
.contact-mail span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.contact-mail a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; text-decoration: none; word-break: break-all; }
.contact-mail a:hover { color: var(--teal-d); }
.contact-mail .ico { width: 20px; height: 20px; color: var(--teal-d); flex: none; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 70px -40px rgba(13, 19, 29, .35); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .85rem; font-weight: 550; color: var(--slate); padding: 0; margin-bottom: 7px; }
.field > span { margin-bottom: 0; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--alu-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-d); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 229, 153, .15); }
.invalid input, .invalid textarea, input.invalid, textarea.invalid { border-color: #E5484D; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--alu-2); transition: all .15s; user-select: none; }
.chip input:checked + span { background: var(--night); color: var(--teal); border-color: var(--night); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--night); padding: 0; }
.consent a { color: var(--teal-d); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: .92rem; }
.form-status.ok { color: #047857; font-weight: 550; }
.form-status.err { color: #C62828; }
.form.done { border-color: var(--teal); }

/* Form notice */
.form-notice { font-size: .76rem; line-height: 1.5; color: var(--slate-2); }
.form-notice a { color: var(--teal-d); }

/* Consent banner */
.consent-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent-banner[hidden] { display: none; }
.consent-inner { pointer-events: auto; position: relative; width: min(760px, 100%); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 16px; padding: 26px 28px 22px; box-shadow: 0 30px 80px -20px rgba(13, 19, 29, .55); max-height: calc(100vh - 32px); overflow-y: auto; }
.consent-inner h2 { font-size: 1.15rem; margin-bottom: 8px; padding-right: 150px; }
.consent-inner p { font-size: .9rem; color: var(--ink-2); }
.consent-inner p a { color: var(--teal-d); }
.consent-close { position: absolute; top: 22px; right: 24px; font-size: .8rem; color: var(--slate-2); }
.consent-prefs { display: grid; gap: 10px; margin-top: 18px; }
.consent-prefs[hidden] { display: none; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--alu-2); }
.pref strong { display: block; font-size: .92rem; }
.pref small { display: block; font-size: .8rem; color: var(--ink-2); margin-top: 2px; }
.pref-always { font-size: .72rem; color: var(--teal-d); white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; flex: none; border-radius: 999px; background: #CBD5E1; border: 0; padding: 0; position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch:checked { background: var(--teal-d); }
.switch:checked::after { transform: translateX(20px); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: flex-end; }
.consent-actions .btn { padding: 11px 18px; font-size: .9rem; }
.consent-actions [data-consent='accept'], .consent-actions [data-consent='reject'] { min-width: 150px; justify-content: center; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--night); }
.btn[hidden] { display: none; }

/* Legal */
.prevails { font-size: .88rem; padding: 12px 16px; border-left: 3px solid var(--teal); background: var(--alu-2); margin-top: 18px; }
.legal ul { color: var(--ink-2); padding-left: 1.2em; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 6px 0 16px; }
.legal table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--alu-2); font-weight: 600; }
.legal td { color: var(--ink-2); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p { color: var(--ink-2); margin-bottom: 12px; }
.legal a:not(.btn) { color: var(--teal-d); }
.legal .btn { margin-top: 28px; }

/* Footer */
.site-footer { background: var(--night); color: #A7B3C4; padding: 56px 0 28px; border-top: 1px solid var(--line-d); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner p { margin-top: 14px; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; max-width: 560px; justify-content: flex-end; }
.footer-links a, .footer-links button { text-decoration: none; color: inherit; }
.footer-links a:hover, .footer-links button:hover, .footer-mail:hover { color: var(--teal); }
.footer-mail { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; text-decoration: none; font-size: .93rem; }
.footer-mail .ico { width: 17px; height: 17px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-links .linklike { text-decoration: none; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .76rem; color: var(--slate-2); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .console-body li { animation: none; opacity: 1; }
  .pulse { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .services { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line-d); transform: translateY(-120%); transition: transform .3s; max-height: calc(100vh - 72px); overflow-y: auto; visibility: hidden; }
  .nav[data-open] { transform: none; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-d); font-size: 1.02rem; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .lang { padding: 14px 4px; border-bottom: 1px solid var(--line-d); }
  .lang-btn { display: none; }
  .lang-menu { display: flex !important; position: static; background: none; border: 0; box-shadow: none; padding: 0; gap: 6px; flex-wrap: wrap; }
  .lang-menu a { border: 1px solid var(--line-d); }
  .hero-inner, .local-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .contact-copy { position: static; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .cards-4, .cards-3, .services, .sectors, .row, .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-links { justify-content: flex-start; }
  .consent-banner { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 22px 18px 18px; }
  .consent-inner h2 { padding-right: 0; margin-top: 18px; }
  .consent-close { top: 14px; right: 16px; }
  .consent-actions .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 40px; }
  .card, .sol, .tier { padding: 24px; }
}
