:root {
    --navy: #0b1220;
    --navy-2: #121c30;
    --surface: #f5f7fa;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #5b6678;
    --line: #e2e7ee;
    --soft: rgba(255, 255, 255, 0.72);
    --soft-2: rgba(255, 255, 255, 0.5);
    --cyan: #22b8e6;
    --cyan-soft: #e3f6fc;
    --amber: #f2a93b;
    --amber-soft: #fdf1de;
    --radius: 14px;
    --max: 1160px;
    --font: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--surface); color: var(--text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(11, 18, 32, 0.94); backdrop-filter: blur(10px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.9rem 0; position: relative; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; }
.mark { width: 2.2rem; height: 2.2rem; border-radius: 9px; display: grid; place-items: center; font-size: 0.85rem; color: var(--navy); background: linear-gradient(135deg, var(--cyan), var(--amber)); }
.menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--soft); font-size: 0.95rem; transition: color .2s ease; }
.menu a:hover { color: var(--white); }
.actions { display: flex; align-items: center; gap: 0.9rem; }
.langs { display: flex; gap: 0.2rem; padding: 0.2rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.langs a { text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--soft-2); padding: 0.25rem 0.55rem; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.langs a.is-active { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 0.4rem 0.7rem; }

.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border: 0; border-radius: 10px; padding: 0.8rem 1.2rem; font-weight: 650; font-size: 0.95rem; text-decoration: none; cursor: pointer; background: var(--cyan); color: var(--navy); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(34,184,230,.7); }
.btn.outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn.outline:hover { box-shadow: none; border-color: var(--white); }
.btn.dark { background: var(--navy); color: var(--white); }

.kicker { margin: 0 0 0.6rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; margin: 1rem 0 0; }
.section { padding: 5rem 0; }
.section-head { max-width: 42rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); margin: 0.8rem 0 0; }

.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(34,184,230,.22), transparent 60%), radial-gradient(900px 420px at -10% 110%, rgba(242,169,59,.16), transparent 60%), var(--navy); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; padding: 4.5rem 0; }
.hero .lead { color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.tag { font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: var(--soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pillar { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(15,23,42,.35); }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.pillar.software { --accent: var(--cyan); --accent-soft: var(--cyan-soft); }
.pillar.hardware { --accent: var(--amber); --accent-soft: var(--amber-soft); }
.pillar figure { margin: 0; overflow: hidden; }
.pillar img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.pillar:hover img { transform: scale(1.04); }
.pillar-body { padding: 1.8rem; display: grid; gap: 1rem; }
.pillar-label { display: inline-flex; width: fit-content; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--accent-soft); color: var(--text); }
.pillar-body p { color: var(--muted); margin: 0; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pillar-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border-radius: 10px; background: var(--surface); text-decoration: none; font-weight: 600; transition: background .2s ease; }
.pillar-list a:hover { background: var(--accent-soft); }
.pillar-list span { color: var(--muted); font-weight: 400; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 40px -26px rgba(15,23,42,.4); }
.card figure { margin: 0; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: 0.45rem; }
.card-body p { margin: 0; color: var(--muted); }
.card-meta { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.card.hw .card-meta { color: #b9740c; }

.dark-band { background: var(--navy); color: var(--white); }
.dark-band .section-head p, .dark-band .step p { color: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step { padding: 1.6rem; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255,255,255,.06); }
.step-num { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 700; font-size: 0.9rem; background: rgba(34,184,230,.14); color: var(--cyan); }
.step p { margin: 0.5rem 0 0; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.6rem; border-radius: 18px; background: linear-gradient(120deg, var(--cyan), #6fd3f0 55%, var(--amber)); color: var(--navy); }
.cta p { margin: 0.5rem 0 0; }

.page-head { background: var(--navy); color: var(--white); padding: 3.6rem 0 3rem; }
.page-head .lead { color: var(--soft); }
.page-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.page-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.page-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { color: var(--muted); font-size: 1.02rem; }
.prose-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.features { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.features li { display: flex; gap: 0.7rem; align-items: center; }
.features li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--cyan); flex: none; }

.faq-list { display: grid; gap: 0.8rem; max-width: 50rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.faq-item h3 { font-size: 1.05rem; }
.faq-item p { color: var(--muted); margin: 0.6rem 0 0; }

.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 60rem; }
.legal-block { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; overflow: hidden; }
.legal-block::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cyan); }
.legal-block h2 { font-size: 1.05rem; margin: 0 0 0.8rem; }
.legal-block p, .legal-block address { color: var(--muted); font-style: normal; margin: 0; line-height: 1.7; }
.legal-block p + p { margin-top: 0.5rem; }
.legal-block a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--cyan); overflow-wrap: anywhere; }
.legal-block a:hover { color: var(--cyan); }
.legal-wide { grid-column: 1 / -1; }
.legal-strong { color: var(--text) !important; font-weight: 700; letter-spacing: 0.04em; }
.legal-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; margin: 0; }
.legal-list dt { color: var(--muted); }
.legal-list dd { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.85rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--text); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-table code { font-size: 0.88rem; background: var(--surface); padding: 0.15rem 0.4rem; border-radius: 6px; }
.form-note { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.form-note a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--cyan); }
.form-note a:hover { color: var(--cyan); }
.contact-card address { color: var(--muted); font-style: normal; line-height: 1.7; margin: 0; }
.contact-card h2 { margin: 0; font-size: 1.25rem; }
.dark-band .card { background: var(--white); }
.dark-band .prose-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.dark-band .prose-card .prose { color: var(--soft); }

form.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.stack .full { grid-column: 1 / -1; }
label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; }
input, textarea, select { width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,184,230,.18); }
.hp { position: absolute; left: -9999px; }
.alert { background: #e3f6fc; border: 1px solid #b5e6f6; border-radius: 10px; padding: 0.9rem 1rem; }
.error { color: #b42318; font-size: 0.88rem; }

.site-footer { background: var(--navy); color: var(--white); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { margin: 0 0 0.9rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; color: var(--soft); transition: color .2s ease; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: var(--soft); margin: 0.6rem 0 0; }
.copy { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); color: var(--soft-2); font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.hero-enter { animation: enter .8s ease both; }
.hero-enter-late { animation: enter .9s .15s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-enter, .hero-enter-late { opacity: 1; transform: none; animation: none; transition: none; }
    .card, .pillar, .btn, img { transition: none; }
}

.cookie { position: fixed; bottom: 1rem; right: 1rem; z-index: 40; max-width: 22rem; display: none; gap: 0.7rem; padding: 1.2rem; border-radius: var(--radius); background: var(--navy); color: var(--white); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.cookie.show { display: grid; }

.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: var(--white); padding: 1.3rem; }
.side a { display: block; color: var(--soft); text-decoration: none; padding: 0.45rem 0; }
.main { padding: 1.8rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.stat b { display: block; font-size: 1.7rem; }
.main form.stack { grid-template-columns: 1fr; max-width: 46rem; }

@media (max-width: 960px) {
    .hero-grid, .split, .grid-3, .steps, .page-grid, .footer-grid, .admin, .stats, .legal-grid { grid-template-columns: 1fr; }
    .hero-grid { padding: 3rem 0; }
    .section { padding: 3.5rem 0; }
    .menu { display: none; }
    .menu.open { display: grid; gap: 0.2rem; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 0 1.2rem; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
    .menu.open a { display: block; padding: 0.55rem 0; }
    .menu-toggle { display: inline-flex; }
    .actions .btn { display: none; }
    .cta { flex-direction: column; align-items: flex-start; padding: 2rem; }
    form.stack { grid-template-columns: 1fr; }
    .copy { flex-direction: column; }
}
