/* apps.archetipi-digitali.it — token, reset, tipografia, elementi condivisi */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/HankenGrotesk-latin-ext-wght.woff2") format("woff2-variations");
  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: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/HankenGrotesk-latin-wght.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #171717;
  --ink-2: #3A3A3A;
  --ink-3: #5B5B5B;
  --line: #E5E5E0;
  --accent: #D42A2D;
  --accent-hover: #B3262A;
  --menubar: #1F2328;
  --hover-bg: #F0F0EC;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 64px; }

.skip { position: absolute; left: 16px; top: -80px; background: var(--ink); color: #FFFFFF; padding: 12px 16px; border-radius: 8px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; color: #FFFFFF; }

.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header condiviso */
.hdr { border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo-link { display: flex; align-items: center; min-height: 44px; border-radius: 6px; }
/* Il PNG del logo ha margine trasparente: compensato con il margine negativo */
.logo-ad { height: 50px; width: auto; display: block; margin: -6px -10px; flex: none; max-width: none; }
.hdr-div { width: 1px; height: 28px; background: var(--line); }

/* Kicker condiviso (il margine inferiore varia per pagina) */
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); }

.h1 em { font-style: normal; color: var(--accent); }

@media (max-width: 1180px) {
  .wrap { padding: 0 40px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hdr-in { min-height: 64px; gap: 14px; }
  .logo-ad { height: 42px; }
}
