/* Amify — amify.dev
   Tokens and components from the Amify design system; site layout at the end. */
/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/*-OFL.txt) */
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-serif-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-serif-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }

:root, [data-theme="light"]{--brand-prussia:#003366;--brand-royal:#0055A4;--brand-tech:#6FA8FF;--brand-night:#001E3D;--brand-night-raised:#002852;--brand-mist:#B3D4FF;--bg:#ffffff;--bg-alt:#f8fafc;--surface:#ffffff;--heading:var(--brand-prussia);--text:#1f3b5c;--text-muted:#4a6380;--primary:var(--brand-royal);--primary-hover:#2f74c8;--on-primary:#ffffff;--accent:var(--brand-tech);--accent-soft:#e8f1ff;--accent-ink:var(--brand-royal);--border:#e2e8f0;--border-control:#6b84a3;--focus:var(--brand-royal);--success:#0f7b5f;--danger:#b42318;--shadow-sm:0 1px 2px rgba(0,51,102,0.06), 0 2px 8px rgba(0,51,102,0.05);--shadow-md:0 4px 12px rgba(0,51,102,0.06), 0 12px 32px rgba(0,51,102,0.08);--shadow-lg:0 12px 24px rgba(0,51,102,0.08), 0 32px 64px rgba(0,51,102,0.12);--shadow-glow:0 0 0 4px rgba(111,168,255,0.35);}
[data-theme="dark"]{--brand-prussia:#003366;--brand-royal:#0055A4;--brand-tech:#6FA8FF;--brand-night:#001E3D;--brand-night-raised:#002852;--brand-mist:#B3D4FF;--bg:var(--brand-night);--bg-alt:var(--brand-prussia);--surface:var(--brand-night-raised);--heading:#ffffff;--text:#e6f0ff;--text-muted:var(--brand-mist);--primary:var(--brand-tech);--primary-hover:var(--brand-mist);--on-primary:var(--brand-night);--accent:var(--brand-tech);--accent-soft:#0a3566;--accent-ink:var(--brand-mist);--border:var(--brand-royal);--border-control:#5b86c0;--focus:var(--brand-tech);--success:#5fd3b0;--danger:#ff8a80;--shadow-sm:0 1px 2px rgba(0,0,0,0.3);--shadow-md:0 8px 24px rgba(0,0,0,0.35);--shadow-lg:0 24px 56px rgba(0,0,0,0.45);--shadow-glow:0 0 0 4px rgba(111,168,255,0.3);}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:28px;--radius-pill:999px;--font-serif:"Noto Serif", Georgia, "Times New Roman", serif;--font-sans:"Plus Jakarta Sans", Inter, system-ui, sans-serif;}


/* Amify — component styles. Loaded after tokens.css; every value comes from a token.
   Class prefix: am-. Theme: set data-theme="light" | "dark" on <html> or any container. */

.am-root, .am-root * { box-sizing: border-box; }
.am-root {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.am-root h1, .am-root h2, .am-root h3, .am-serif { font-family: var(--font-serif); color: var(--heading); margin: 0; }
.am-overline { font: 600 12px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.am-muted { color: var(--text-muted); }

/* Icons: Lucide-style line icons, 1.5–2px stroke, round caps & joins */
.am-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Button ---------- */
.am-btn {
  --_bg: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1.2 var(--font-sans);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, box-shadow .25s ease, transform .2s ease, border-color .25s ease, color .25s ease;
}
.am-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.am-btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.am-btn--primary:hover {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-hover) 100%);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-1px);
}
.am-btn--secondary { background: transparent; color: var(--heading); border-color: var(--border-control); }
.am-btn--secondary:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-glow); }
.am-btn--ghost { background: transparent; color: var(--primary); padding: 0 12px; }
.am-btn--ghost:hover { background: var(--accent-soft); }
.am-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.am-btn .am-icon { transition: transform .25s ease; }
.am-btn:hover .am-icon--arrow { transform: translateX(3px); }

/* ---------- Tech badge ---------- */
.am-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 14px;
  font: 600 13px/1.3 var(--font-sans);
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid transparent; border-radius: var(--radius-pill);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  cursor: default;
}
.am-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.am-badge:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.am-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Card / Service card ---------- */
.am-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
[data-theme="light"] .am-card, .am-card.am-card--light { border-color: transparent; }
.am-card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.am-card__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft); color: var(--primary);
  margin-bottom: var(--space-6);
  transition: background .3s ease, color .3s ease;
}
.am-card__icon .am-icon { width: 24px; height: 24px; }
.am-card--interactive:hover .am-card__icon { background: linear-gradient(135deg, var(--brand-royal), var(--brand-tech)); color: #ffffff; }
.am-card h3 { font-size: 22px; line-height: 1.3; font-weight: 600; margin-bottom: var(--space-3); }
.am-card p { margin: 0; color: var(--text-muted); }
.am-card__list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-2); font-size: 14px; color: var(--text); }
.am-card__list li { display: flex; gap: var(--space-2); align-items: center; }
.am-card__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Logo ---------- */
.am-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.am-logo img { height: 36px; width: auto; display: block; }
.am-logo__dark { display: none !important; }
[data-theme="dark"] .am-logo__light { display: none !important; }
[data-theme="dark"] .am-logo__dark { display: block !important; }
.am-logo--on-dark .am-logo__light { display: none !important; }
.am-logo--on-dark .am-logo__dark { display: block !important; }

/* ---------- Nav bar ---------- */
.am-nav {
  display: flex; align-items: center; gap: var(--space-8);
  height: 72px; padding: 0 var(--space-8);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .am-nav { border-bottom-color: transparent; box-shadow: var(--shadow-sm); }
.am-wordmark { font: 600 26px/1 var(--font-serif); color: var(--heading); text-decoration: none; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 3px; }
.am-wordmark__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); align-self: flex-end; margin-bottom: 4px; }
.am-nav__links { display: flex; gap: var(--space-6); margin: 0 auto; }
.am-nav__link { font: 500 15px/1 var(--font-sans); color: var(--text); text-decoration: none; padding: 8px 0; position: relative; }
.am-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-royal), var(--brand-tech)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.am-nav__link:hover { color: var(--primary); }
.am-nav__link:hover::after, .am-nav__link[aria-current]::after { transform: scaleX(1); }
.am-nav__tools { display: flex; align-items: center; gap: var(--space-3); }

/* Language selector (segmented) */
.am-lang { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--bg-alt); border: 1px solid var(--border); }
.am-lang button { font: 600 12px/1 var(--font-sans); letter-spacing: .04em; color: var(--text-muted); background: none; border: 0; padding: 7px 10px; border-radius: var(--radius-pill); cursor: pointer; }
.am-lang button[aria-pressed="true"] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.am-lang button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* Theme switch */
.am-theme {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--heading); cursor: pointer;
  transition: box-shadow .2s ease, color .2s ease;
}
.am-theme:hover { color: var(--primary); box-shadow: var(--shadow-glow); }
.am-theme:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Process step ---------- */
.am-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); position: relative; counter-reset: step; }
.am-steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: calc((100% - 96px) / 5 - 24px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-royal), var(--brand-tech)); opacity: .5; }
.am-step { position: relative; }
.am-step__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; position: relative;
  font: 600 18px/1 var(--font-serif); color: var(--primary);
  background: var(--surface); border: 2px solid var(--accent); box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}
.am-step h3 { font-size: 19px; line-height: 1.3; margin-bottom: var(--space-2); }
.am-step p { margin: 0; font-size: 14px; color: var(--text-muted); }
.am-step__meta { display: inline-block; margin-top: var(--space-3); font: 600 12px/1.4 var(--font-sans); color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--radius-pill); }

/* ---------- Form ---------- */
.am-field { display: grid; gap: 6px; }
.am-field label { font: 600 14px/1.4 var(--font-sans); color: var(--heading); }
.am-input, .am-select, .am-textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 15px/1.5 var(--font-sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--border-control); border-radius: var(--radius-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.am-textarea { min-height: 120px; resize: vertical; }
.am-input::placeholder, .am-textarea::placeholder { color: var(--text-muted); opacity: .8; }
.am-input:hover, .am-select:hover, .am-textarea:hover { border-color: var(--primary); }
.am-input:focus, .am-select:focus, .am-textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow); }
.am-field__help { font-size: 13px; color: var(--text-muted); }
.am-field--error .am-input { border-color: var(--danger); }
.am-field--error .am-field__help { color: var(--danger); }

/* Choice chips (project type, platforms) */
.am-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.am-chip { position: relative; }
.am-chip input { position: absolute; opacity: 0; pointer-events: none; }
.am-chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  font: 500 14px/1.2 var(--font-sans); color: var(--text);
  border: 1px solid var(--border-control); border-radius: var(--radius-pill); cursor: pointer; background: var(--surface);
  transition: all .2s ease;
}
.am-chip span:hover { border-color: var(--primary); }
.am-chip input:checked + span { background: var(--accent-soft); border-color: var(--primary); color: var(--accent-ink); font-weight: 600; }
.am-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Bridge block (Chile – France) ---------- */
.am-bridge {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-8); align-items: stretch;
  padding: var(--space-12); border-radius: var(--radius-xl);
  background: var(--brand-prussia); color: #e6f0ff;
}
.am-bridge h3 { color: #ffffff; font-size: 26px; margin-bottom: var(--space-3); }
.am-bridge p { margin: 0; color: var(--brand-mist); }
.am-bridge__city { font: 600 12px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-tech); margin-bottom: var(--space-3); display: flex; gap: 8px; align-items: center; }
.am-bridge__arc { width: 120px; display: grid; place-items: center; }
.am-bridge__arc svg { width: 120px; height: 80px; }
.am-bridge__arc path { fill: none; stroke: var(--brand-tech); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 8; }
.am-bridge__arc circle { fill: var(--brand-tech); }
.am-bridge__list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; }
.am-bridge__list li { display: flex; gap: var(--space-2); align-items: flex-start; }
.am-bridge__list .am-icon { color: var(--brand-tech); margin-top: 3px; width: 18px; height: 18px; }

@media (max-width: 860px) {
  .am-steps { grid-template-columns: 1fr; }
  .am-steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-royal), var(--brand-tech)); }
  .am-step { padding-left: 68px; }
  .am-step__num { position: absolute; left: 0; top: 0; }
  .am-bridge { grid-template-columns: 1fr; padding: var(--space-8); }
  .am-bridge__arc { transform: rotate(90deg); margin: -16px auto; }
  .am-nav__links { display: none; }
}

/* ================= Site layout (amify.dev) ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.am-root { min-height: 100vh; display: flex; flex-direction: column; }
.am-root > main { flex: 1; }
.am-skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-md); background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 600; }
.am-skip:focus { top: 12px; }

.am-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.am-section { padding: 104px 0; }
.am-section--alt { background: var(--bg-alt); }
.am-section__head { margin-bottom: 56px; }
.am-section__head--tight { margin-bottom: 24px; }
.am-section__head .am-lead { max-width: 560px; padding-top: 8px; }
.am-g-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.am-g-5-7 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.am-g-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.am-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.am-header { position: sticky; top: 0; z-index: 30; }
.am-nav { max-width: none; }
.am-logo img { height: 36px; width: auto; }
.am-lang a { font: 600 12px/1 var(--font-sans); letter-spacing: .04em; color: var(--text-muted); text-decoration: none; padding: 7px 10px; border-radius: var(--radius-pill); }
.am-lang a[aria-current] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.am-lang a:hover { color: var(--primary); }
.am-theme__sun { display: none; }
[data-theme="dark"] .am-theme__sun { display: block; }
[data-theme="dark"] .am-theme__moon { display: none; }
.am-menu-toggle { display: none; }

/* Typography */
.am-hero-title { font-family: var(--font-serif); font-size: 68px; line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; color: var(--heading); margin: 0; }
.am-h2 { font-family: var(--font-serif); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; color: var(--heading); margin: 0; }
.am-h1-page { font-family: var(--font-serif); font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; color: var(--heading); margin: 0; }
.am-lead { font-size: 19px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.am-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.am-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.am-hero { padding-bottom: 96px; }
.am-hero__copy { display: flex; flex-direction: column; gap: 32px; padding-top: 16px; }
.am-hero__copy .am-lead { max-width: 540px; }
.am-hero-panel { background: var(--brand-prussia); border-radius: var(--radius-xl); padding: 40px; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.am-hero-panel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.am-hero-panel__top img { width: 56px; height: auto; }
.am-hero-panel__label { font: 600 12px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-tech); }
.am-hero-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.am-hero-panel li { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; color: #ffffff; padding-top: 14px; box-shadow: 0 -1px 0 rgba(179,212,255,.25); }

/* Services */
.am-numeral { font-family: var(--font-serif); font-weight: 500; font-size: 20px; line-height: 1; color: var(--primary); }
.am-service { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; box-shadow: 0 -2px 0 var(--border); transition: box-shadow .25s ease; }
[data-theme="dark"] .am-service { box-shadow: 0 -2px 0 rgba(179,212,255,.16); }
.am-service:hover { box-shadow: 0 -2px 0 var(--primary); }
.am-service h3 { font-family: var(--font-serif); font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--heading); margin: 0; }
.am-service p { margin: 0; color: var(--text-muted); }
.am-service ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.am-service li { display: flex; gap: 10px; align-items: baseline; }
.am-service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; position: relative; top: -2px; }

/* Projects */
.am-project { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 0; align-items: start; }
.am-project + .am-project { box-shadow: 0 -1px 0 var(--border); }
[data-theme="dark"] .am-project + .am-project { box-shadow: 0 -1px 0 rgba(179,212,255,.16); }
.am-project__name { font-family: var(--font-serif); font-size: 32px; line-height: 1.1; font-weight: 600; color: var(--heading); margin: 0; }
.am-project__for { display: block; margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.am-project p { margin: 0; max-width: 640px; }

/* About */
.am-about { display: flex; flex-direction: column; gap: 40px; max-width: 620px; }
.am-about__text { display: flex; flex-direction: column; gap: 16px; }
.am-about__text p { margin: 0; font-size: 18px; line-height: 1.65; }
.am-founder { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.am-founder__name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--heading); }
.am-founder p { margin: 4px 0 0; }

/* Contact */
.am-contact { display: flex; flex-direction: column; gap: 32px; }
.am-contact__head { display: flex; flex-direction: column; gap: 16px; }
.am-contact__list { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.am-contact-item dt { color: var(--text-muted); margin-bottom: 4px; }
.am-contact-item dd { margin: 0; font-size: 17px; color: var(--heading); }
.am-contact-item a { color: var(--heading); text-decoration: none; }
.am-contact-item a:hover { color: var(--primary); }
.am-form-card { padding: 40px; }
.am-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.am-field--wide, .am-form__foot { grid-column: 1 / -1; }
.am-form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.am-form__note { margin: 0; font-size: 13px; color: var(--text-muted); max-width: 380px; }

/* Legal pages */
.am-legal { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.am-legal h2 { font-family: var(--font-serif); font-size: 26px; line-height: 1.25; font-weight: 600; color: var(--heading); margin: 28px 0 0; }
.am-legal p { margin: 0; line-height: 1.7; }
.am-legal .am-lead { margin: 0; }
.am-legal__date { font-size: 14px; color: var(--text-muted); }

/* Footer */
.am-footer { background: var(--brand-night); color: #e6f0ff; padding: 64px 0 36px; }
[data-theme="dark"] .am-footer { box-shadow: 0 -1px 0 rgba(179,212,255,.16); }
.am-footer__inner { display: flex; flex-direction: column; gap: 48px; }
.am-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.am-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.am-footer__brand img { height: 40px; width: auto; }
.am-footer__brand p { margin: 0; font-size: 14px; color: var(--brand-mist); max-width: 320px; }
.am-footer__col { display: flex; flex-direction: column; gap: 10px; }
.am-root .am-footer__label { margin: 0; font: 600 12px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-tech); }
.am-footer-link { color: var(--brand-mist); text-decoration: none; font-size: 14px; }
.am-footer-link:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.am-footer-legal { margin: 0; font-size: 13px; line-height: 1.6; color: var(--brand-mist); }
.am-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 24px; box-shadow: 0 -1px 0 rgba(179,212,255,.18); }
.am-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet / mobile */
@media (max-width: 960px) {
  html { scroll-padding-top: 72px; }
  .am-container { padding: 0 20px; }
  .am-nav { padding: 0 16px; gap: 10px; height: 64px; position: relative; }
  .am-logo img { height: 30px; }
  .am-nav__tools { margin-left: auto; gap: 8px; }
  .am-nav__cta { display: none; }
  .am-menu-toggle { display: grid; }
  .am-nav__links { display: none; position: absolute; left: 0; right: 0; top: 64px; margin: 0; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg); box-shadow: var(--shadow-md); }
  .am-nav__links.is-open { display: flex; }
  .am-nav__links .am-nav__link { padding: 14px 0; font-size: 16px; }
  .am-nav__links .am-nav__link + .am-nav__link { box-shadow: 0 -1px 0 var(--border); }
  .am-nav__link::after { display: none; }
  .am-hero-title { font-size: 40px; }
  .am-h2 { font-size: 30px; }
  .am-h1-page { font-size: 34px; }
  .am-section { padding: 64px 0; }
  .am-hero { padding-top: 48px; }
  .am-section__head { margin-bottom: 32px; }
  .am-g-7-5, .am-g-5-7, .am-g-3 { grid-template-columns: 1fr; gap: 32px; }
  .am-project { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .am-hero-panel { min-height: 0; padding: 28px; }
  .am-hero-panel li { font-size: 20px; }
  .am-form-card { padding: 24px; }
  .am-form { grid-template-columns: 1fr; }
  .am-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 400px) {
  .am-lang a { padding: 7px 7px; }
  .am-logo img { height: 26px; }
}
