/* =====================================================================
   AMG Insights — "Liquid Pearl" design system
   Pure light glassmorphism over a living liquid-gradient field (WebGL),
   paper-grain texture, and liquid-glass controls.
   ===================================================================== */

:root {
  color-scheme: light;
  /* Ink */
  --ink: #0b1426;
  --ink-2: #26324d;
  --muted: #56617c;
  --faint: #8a93aa;
  /* Pearl canvas + liquid palette */
  --pearl: #eef2f8;
  --pearl-2: #f7f9fc;
  --sky: #8fd3ff;
  --lilac: #c4b6ff;
  --mint: #a4efd8;
  --peach: #ffd6bd;
  --blush: #ffc6d9;
  /* Brand + semantics */
  --cobalt: #2f5bff;
  --cobalt-deep: #1d3fd8;
  --violet: #6d4dff;
  --teal: #0c8f8a;
  --rose: #d6334a;
  --amber: #c77a06;
  /* Glass material */
  --glass: linear-gradient(135deg, rgb(255 255 255 / 72%), rgb(255 255 255 / 40%));
  --glass-strong: linear-gradient(135deg, rgb(255 255 255 / 86%), rgb(255 255 255 / 62%));
  --glass-solid: rgb(255 255 255 / 94%);
  --glass-edge: rgb(255 255 255 / 75%);
  --glass-line: rgb(20 36 80 / 9%);
  --blur: blur(22px) saturate(165%);
  --shadow-glass:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    inset 0 -1px 0 rgb(20 36 80 / 5%),
    0 26px 60px -32px rgb(30 50 120 / 38%),
    0 2px 8px -3px rgb(30 50 120 / 10%);
  --shadow-glass-hover:
    inset 0 1px 0 rgb(255 255 255 / 95%),
    inset 0 -1px 0 rgb(20 36 80 / 5%),
    0 34px 70px -30px rgb(30 50 120 / 46%),
    0 2px 10px -3px rgb(30 50 120 / 12%);
  --focus: #2f5bff;
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 124px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.62; color: var(--ink);
  background:
    radial-gradient(40% 35% at 12% 8%, rgb(143 211 255 / 55%), transparent 70%),
    radial-gradient(38% 40% at 88% 18%, rgb(196 182 255 / 55%), transparent 70%),
    radial-gradient(45% 40% at 70% 85%, rgb(164 239 216 / 45%), transparent 70%),
    radial-gradient(35% 35% at 18% 80%, rgb(255 214 189 / 55%), transparent 70%),
    var(--pearl);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
/* Liquid field (WebGL) sits behind everything; paper grain on top of it */
.liquid-bg { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.liquid-bg.is-ready { opacity: 1; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .6 0 0 0 0 .75 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 600; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.icon { width: 1.2em; height: 1.2em; flex: none; stroke-width: 1.9; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

/* ---------- Glass material ---------- */
.glass, .clay, .panel.clay {
  position: relative;
  background: var(--glass-solid);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .clay, .panel.clay { background: linear-gradient(165deg, rgb(255 255 255 / 45%) 0%, rgb(255 255 255 / 0%) 30%), var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
}


/* Tinted glass bubbles (icons) */
.clay-bubble {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px;
  color: var(--acc-ink, var(--cobalt));
  background: linear-gradient(145deg, rgb(255 255 255 / 85%), var(--acc-soft, rgb(143 211 255 / 45%)));
  border: 1px solid rgb(255 255 255 / 85%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 14px -6px var(--acc-glow, rgb(47 91 255 / 30%)), 0 12px 24px -14px var(--acc-glow, rgb(47 91 255 / 45%));
}
.clay-bubble .icon { width: 25px; height: 25px; }
.acc-amber  { --acc-soft: rgb(255 214 189 / 75%); --acc-ink: #a4520a; --acc-glow: rgb(232 140 60 / 45%); --acc: #e0892a; }
.acc-lime   { --acc-soft: rgb(164 239 216 / 75%); --acc-ink: #0b7a6a; --acc-glow: rgb(20 170 140 / 40%); --acc: #14a58a; }
.acc-coral  { --acc-soft: rgb(255 198 217 / 75%); --acc-ink: #b21f55; --acc-glow: rgb(230 70 120 / 40%); --acc: #df4d7f; }
.acc-blue   { --acc-soft: rgb(143 211 255 / 70%); --acc-ink: #1d3fd8; --acc-glow: rgb(47 91 255 / 40%); --acc: #2f5bff; }
.acc-orange { --acc-soft: rgb(196 182 255 / 75%); --acc-ink: #5231d8; --acc-glow: rgb(109 77 255 / 40%); --acc: #6d4dff; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt-deep); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--cobalt), var(--violet)); box-shadow: 0 0 0 4px rgb(47 91 255 / 14%); }
.display { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.grad-text { background: linear-gradient(100deg, var(--cobalt) 0%, var(--violet) 45%, #0fa3b8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(34px, 5vw, 54px); max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.prose { display: grid; gap: 1.1em; color: var(--ink-2); max-width: 68ch; }
.prose p:first-child { font-size: 1.12rem; color: var(--ink); }
/* "dark" areas of the shared templates render as tinted glass bands with dark ink */
.on-dark, .hero { color: var(--ink); }
.on-dark .lead, .hero .lead, .on-dark .muted { color: var(--muted); }

/* ---------- Liquid glass buttons ---------- */
.btn {
  --lift: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink);
  border: 1px solid rgb(255 255 255 / 80%);
  background: linear-gradient(135deg, rgb(255 255 255 / 78%), rgb(255 255 255 / 42%));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), inset 0 -1px 0 rgb(20 36 80 / 6%), 0 10px 26px -14px rgb(30 50 120 / 40%), 0 2px 5px -2px rgb(30 50 120 / 10%);
  transform: translateY(var(--lift));
  transition: transform .26s var(--ease), translate .4s var(--ease), box-shadow .26s var(--ease), border-color .26s, background .26s, border-radius .3s var(--ease);
}
/* specular layer */
.btn::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at var(--px, 30%) var(--py, 0%), rgb(255 255 255 / 55%), transparent 55%),
    linear-gradient(120deg, rgb(255 255 255 / 45%), rgb(255 255 255 / 6%) 38%, transparent 62%);
  opacity: .75; transition: opacity .3s;
}
/* liquid light sweep (hover only, primary actions) */
.btn::after {
  content: ""; position: absolute; top: -40%; left: -70%; width: 45%; height: 180%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 45%), transparent);
  transform: rotate(18deg); transition: left .65s var(--ease); opacity: 0;
}
.btn .icon { transition: transform .26s var(--ease); }
.btn:hover { --lift: -2px; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(20 36 80 / 6%), 0 16px 34px -16px rgb(30 50 120 / 48%), 0 2px 6px -2px rgb(30 50 120 / 12%); border-radius: 22px; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.97); border-radius: 18px; transition-duration: .12s; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .88rem; }

/* Primary: cobalt-tinted liquid glass */
.btn--clay, .btn--primary {
  color: #fff; border-color: rgb(255 255 255 / 45%);
  background: linear-gradient(135deg, rgb(56 104 255 / 92%), rgb(109 77 255 / 82%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), inset 0 -8px 16px -8px rgb(20 20 90 / 45%), 0 14px 30px -14px rgb(47 91 255 / 70%), 0 2px 6px -2px rgb(30 40 120 / 25%);
}
.btn--clay::before, .btn--primary::before { opacity: .55; }
.btn--clay::after, .btn--primary::after { opacity: 1; }
.btn--clay:hover::after, .btn--primary:hover::after { left: 125%; }
.btn--clay:hover, .btn--primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%), inset 0 -8px 16px -8px rgb(20 20 90 / 45%), 0 20px 38px -16px rgb(47 91 255 / 80%), 0 2px 6px -2px rgb(30 40 120 / 25%); }
/* Ink: deep smoked glass */
.btn--ink {
  color: #fff; border-color: rgb(255 255 255 / 30%);
  background: linear-gradient(135deg, rgb(20 30 60 / 88%), rgb(11 20 38 / 78%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 14px 28px -14px rgb(11 20 38 / 60%);
}
.btn--ink::before { opacity: .35; }
/* Neutral glass */
.btn--glass, .btn--line { color: var(--ink); }
.btn--line { background: linear-gradient(135deg, rgb(255 255 255 / 66%), rgb(255 255 255 / 30%)); }
.btn--glass:hover, .btn--line:hover { border-color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; transform: none; box-shadow: none; cursor: not-allowed; }
.btn:disabled::after { display: none; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cobalt-deep); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .container { width: min(100% - 2 * var(--gutter), 1400px); }
.topbar { font-size: .82rem; color: var(--muted); transition: margin-top .35s var(--ease), opacity .3s; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink-2); }
.topbar a:hover { color: var(--cobalt-deep); }
.topbar .icon { color: var(--cobalt); width: 15px; height: 15px; }
.topbar__left { display: flex; gap: 22px; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; color: var(--ink-2); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #16b28f; box-shadow: 0 0 0 0 rgb(22 178 143 / 55%); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(22 178 143 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(22 178 143 / 0%); } }
.site-header.is-scrolled .topbar { margin-top: -40px; opacity: 0; }
.navbar { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 9px 9px 9px 18px; border-radius: 999px; }
.site-header.is-scrolled .navbar { box-shadow: var(--shadow-glass-hover); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-right: 8px; }
.brand img { width: 54px; height: auto; }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.brand__name span { color: var(--cobalt-deep); }
.brand__tag { font-size: .64rem; color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-weight: 600; font-size: .93rem; color: var(--ink-2); background: none; border: 0;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--ink); background: rgb(255 255 255 / 60%); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__trigger { color: var(--cobalt-deep); background: rgb(255 255 255 / 80%); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgb(30 50 120 / 35%); }
.nav__trigger .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__item:has(.mega--wide) { position: static; }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: max-content; max-width: min(760px, 92vw); padding: 14px; border-radius: 26px;
  background: rgb(255 255 255 / 96%); border: 1px solid #fff; box-shadow: 0 40px 80px -40px rgb(30 50 120 / 45%), inset 0 1px 0 #fff;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.985);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.mega.glass { background: rgb(255 255 255 / 96%); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; background: none; }
.mega--wide { width: min(1240px, 96vw); max-width: none; top: calc(100% + 10px); padding: 20px 20px 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 4px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 16px; color: var(--ink-2); font-weight: 600; font-size: .92rem; transition: background-color .18s; }
.mega__link:hover, .mega__link:focus-visible { background: var(--pearl); color: var(--ink); }
.mega__link[aria-current="page"] { background: rgb(47 91 255 / 8%); color: var(--cobalt-deep); }
.mega__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(145deg, #fff, var(--acc-soft)); color: var(--acc-ink); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 6px 12px -8px var(--acc-glow); flex: none; }
.mega__ico .icon { width: 18px; height: 18px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--glass-line); color: var(--muted); font-size: .85rem; }
.mega__foot a { color: var(--cobalt-deep); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.mega__groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.mega__group { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt-deep); margin: 0 0 8px 8px; line-height: 1.3; }
.mega__groups ul { display: grid; gap: 1px; }
.mega__mini { display: block; padding: 6px 8px; border-radius: 10px; font-size: .86rem; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.mega__mini:hover, .mega__mini:focus-visible { background: var(--pearl); color: var(--ink); }
.mega__mini[aria-current="page"] { color: var(--cobalt-deep); font-weight: 700; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 16px; border: 1px solid #fff; background: rgb(255 255 255 / 60%); color: var(--ink); place-items: center; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgb(30 50 120 / 35%); }
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(20 30 60 / 25%); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 10px 10px 10px auto; width: min(420px, calc(100% - 20px)); display: flex; flex-direction: column; overflow: hidden; background: rgb(250 251 254 / 97%); border: 1px solid #fff; border-radius: 28px; color: var(--ink); box-shadow: 0 40px 80px -30px rgb(30 50 120 / 50%); transform: translateX(110%); transition: transform .38s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--glass-line); }
.drawer__head .brand img { width: 46px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.drawer__link, .drawer__acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 16px; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.drawer__acc > summary::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__acc > summary:hover { background: var(--pearl); }
.drawer__acc[open] > summary .icon { transform: rotate(180deg); }
.drawer__sub { display: grid; gap: 2px; padding: 4px 0 10px 12px; margin-left: 14px; border-left: 2px solid rgb(47 91 255 / 30%); }
.drawer__sub a { padding: 9px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.drawer__sub a:hover { background: var(--pearl); color: var(--ink); }
.drawer__foot { display: grid; gap: 10px; padding: 14px; border-top: 1px solid var(--glass-line); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid #fff; background: rgb(255 255 255 / 70%); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgb(30 50 120 / 35%); }
@media (max-width: 1400px) { .nav__actions .hide-md, .navbar .brand__tag { display: none; } .nav__link, .nav__trigger { padding: 0 10px; font-size: .9rem; } }
@media (max-width: 1280px) { .nav { display: none; } .menu-toggle { display: grid; } .nav__actions { margin-left: auto; } }
@media (max-width: 640px) { .topbar__status, .topbar__left a:nth-child(2) span { display: none; } .nav__actions .btn { display: none; } .brand__tag { display: none; } .navbar { padding-left: 12px; } }

/* ---------- Heroes ---------- */
.hero { position: relative; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__grain, .hero__fade { display: none; }
.hero--home { min-height: max(760px, 100svh); display: grid; align-items: center; padding: calc(var(--header-h) + 36px) 0 80px; }
.hero--home .hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.hero__badge b { padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--cobalt), var(--violet)); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .88rem; font-weight: 500; }
.hero__trust img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 6px 14px -8px rgb(30 50 120 / 40%); }
.hero__stage { position: relative; min-height: 540px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 24px; animation: bob 8s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: -0.02em; }
.float-card span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.float-card .clay-bubble { width: 46px; height: 46px; border-radius: 15px; }
.float-card .clay-bubble .icon { width: 22px; height: 22px; }
.float-card--a { top: 6%; left: -2%; }
.float-card--b { top: 44%; right: -4%; animation-delay: -2.6s; }
.float-card--c { bottom: 4%; left: 12%; animation-delay: -5.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgb(11 20 38 / 25%); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--cobalt); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 980px) {
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 360px; order: -1; margin-bottom: -30px; }
  .float-card--a { left: 0; top: 2%; } .float-card--b { right: 0; } .float-card--c { left: 4%; bottom: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) { .hero__stage { min-height: 290px; margin-bottom: -20px; } .float-card { padding: 10px 14px 10px 10px; gap: 10px; } .float-card strong { font-size: 1.2rem; } .float-card--c { display: none; } .hero__trust br { display: none; } }

.hero--page { padding: calc(var(--header-h) + 34px) 0 clamp(60px, 8vw, 110px); }
.hero--page .hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero--page.hero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--solo .hero__copy { max-width: 900px; }
.hero--page h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--cobalt-deep); }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--cobalt-deep); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: linear-gradient(135deg, rgb(255 255 255 / 80%), rgb(255 255 255 / 45%)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgb(30 50 120 / 40%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.chip .icon { width: 16px; height: 16px; color: var(--cobalt); }
.photo-frame { position: relative; padding: 12px; border-radius: 32px; transform: rotate(1.2deg); transition: transform .5s var(--ease); }
.photo-frame:hover { transform: rotate(0) translateY(-4px); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.photo-frame__tag { position: absolute; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 22px; transform: rotate(-1.2deg); }
.photo-frame__tag strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.05; }
.photo-frame__tag span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.photo-frame__tag .clay-bubble { width: 44px; height: 44px; border-radius: 14px; }
.photo-frame__tag .clay-bubble .icon { width: 20px; height: 20px; }
.data-visual { position: relative; padding: 22px; border-radius: 32px; display: grid; gap: 12px; }
.data-visual__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 55%); border: 1px solid rgb(255 255 255 / 80%); }
.data-visual__row i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 2px 2px rgb(255 255 255 / 60%); opacity: .85; }
.data-visual__row b { display: block; height: 9px; border-radius: 5px; background: rgb(11 20 38 / 18%); width: var(--w, 70%); }
.data-visual__row b + b { margin-top: 7px; height: 7px; background: rgb(11 20 38 / 8%); width: calc(var(--w, 70%) - 22%); }
.data-visual__row div { flex: 1; }
.data-visual__row em { font-style: normal; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgb(20 170 140 / 14%); color: #0b7a6a; letter-spacing: .04em; }
.data-visual__label { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .hero--page .hero__grid { grid-template-columns: 1fr; } .photo-frame { max-width: 560px; } .photo-frame__tag { left: 10px; } }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; }
.stat-strip > div { padding: 16px 18px; border-radius: 22px; }
.stat-strip dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-strip dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
@media (max-width: 640px) { .stat-strip { gap: 8px; } .stat-strip > div { padding: 12px; } .stat-strip dt { font-size: .62rem; letter-spacing: .06em; } .stat-strip dd { font-size: 1rem; } }

/* ---------- Sections ---------- */
.section { position: relative; overflow-x: clip; padding-block: clamp(70px, 9vw, 120px); }
.section--tight { padding-block: clamp(46px, 6vw, 78px); }
.section--light, .section--white { background: transparent; }
.section--dark { background: linear-gradient(180deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 38%) 18%, rgb(255 255 255 / 38%) 82%, rgb(255 255 255 / 0%)); }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.section > .container { position: relative; z-index: 1; }
.marquee { overflow: hidden; border-block: 1px solid rgb(255 255 255 / 80%); background: rgb(255 255 255 / 35%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: marquee 44s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink-2); }
.marquee__item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: grid; gap: 14px; padding: 20px; border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-hover); }
.tile h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bento__cell { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-hover); }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell--full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.bento__cell--full > div { display: grid; gap: 6px; }
.bento__cell .bento__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 4vw, 3.4rem); letter-spacing: -0.045em; line-height: 1; }
.bento__num small { font-size: .5em; color: var(--acc-ink); margin-left: 2px; }
.bento__cell h3 { font-size: 1.15rem; }
.bento__cell p { color: var(--muted); font-size: .98rem; }
.bento__cell--feature { background: linear-gradient(150deg, rgb(255 255 255 / 80%) 30%, var(--acc-soft) 170%); }
.bento__cell--ink { background: linear-gradient(150deg, rgb(47 91 255 / 18%), rgb(109 77 255 / 22%)), var(--glass); color: var(--ink); }
.bento__cell--ink p { color: var(--ink-2); }
.bento__spark { margin-top: auto; height: 70px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__cell--wide { grid-column: auto; } .bento__cell--tall { grid-row: auto; } .bento__cell--full { flex-direction: column; align-items: flex-start; } }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 26px 24px; border-radius: 28px; display: grid; gap: 10px; }
.metric__icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, rgb(255 255 255 / 50%)); color: var(--c, var(--cobalt)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgb(30 50 120 / 45%); }
.metric__value { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric__label { color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); transition: transform .35s var(--ease), box-shadow .35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glass-hover); }
.svc-card__media { position: relative; margin: 12px 12px 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--acc-soft); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { display: grid; gap: 12px; padding: 22px 24px 28px; }
.svc-card__body p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 40px; left: 6%; right: 6%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--lilac), var(--mint), var(--peach)); }
.process__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; }
.process__bead { position: relative; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; color: var(--acc-ink); background: linear-gradient(145deg, rgb(255 255 255 / 92%), var(--acc-soft)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, inset 0 -10px 18px -10px var(--acc-glow), 0 18px 30px -16px var(--acc-glow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .35s var(--ease); }
.process__step:hover .process__bead { transform: translateY(-6px); }
.process__bead .icon { width: 30px; height: 30px; }
.process__bead::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .76rem; font-weight: 700; }
.process__step h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.process__step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .process::before { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dir-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 24px; font-weight: 600; transition: transform .28s var(--ease), box-shadow .28s; }
.dir-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-glass-hover); }
.dir-tile .clay-bubble { width: 48px; height: 48px; border-radius: 16px; }
.dir-tile .clay-bubble .icon { width: 22px; height: 22px; }
.dir-tile span { flex: 1; line-height: 1.25; }
.dir-tile > .icon { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.dir-tile:hover > .icon { opacity: 1; transform: none; }
@media (max-width: 1000px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dir-grid { grid-template-columns: 1fr; } }

/* segmented tabs = liquid glass capsule with a moving pill */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; margin-bottom: 28px; background: linear-gradient(135deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 35%)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 26px -18px rgb(30 50 120 / 45%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tabs [role="tab"] { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: none; font-weight: 600; color: var(--muted); transition: background .25s var(--ease), color .2s, box-shadow .25s; }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px rgb(30 50 120 / 45%); }
[role="tabpanel"][hidden] { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 10px; border-radius: 999px; font-weight: 600; }
.pill .clay-bubble { width: 36px; height: 36px; border-radius: 50%; }
.pill .clay-bubble .icon { width: 18px; height: 18px; }

.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); color: var(--ink);
  background: radial-gradient(60% 120% at 0% 0%, rgb(143 211 255 / 70%), transparent 70%), radial-gradient(60% 120% at 100% 100%, rgb(196 182 255 / 75%), transparent 70%), rgb(255 255 255 / 55%);
  border: 1px solid #fff; box-shadow: var(--shadow-glass-hover); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-card p { color: var(--ink-2); margin-top: 10px; max-width: 52ch; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card__ring { position: absolute; border-radius: 50%; border: 1px solid rgb(255 255 255 / 80%); pointer-events: none; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Content layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout > *, .layout > * > * { min-width: 0; }
.layout__aside { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 1040px) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); }
.panel + .panel { margin-top: 24px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.panel__title { display: flex; align-items: center; gap: 14px; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input, .select select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border-radius: 16px; border: 1px solid rgb(255 255 255 / 90%);
  background: rgb(255 255 255 / 62%); color: var(--ink);
  box-shadow: inset 0 2px 5px rgb(20 36 80 / 7%), 0 1px 0 rgb(255 255 255 / 90%);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.search input { padding: 0 16px 0 44px; border-radius: 999px; }
.search input:focus, .select select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: rgb(47 91 255 / 55%); box-shadow: 0 0 0 4px rgb(47 91 255 / 14%); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.list-meta { font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 55%); border: 1px solid rgb(255 255 255 / 85%); font-weight: 500; font-size: .95rem; line-height: 1.35; transition: background-color .2s, transform .2s, box-shadow .2s; }
.seg:hover { background: #fff; transform: translateX(2px); box-shadow: 0 8px 18px -12px rgb(30 50 120 / 40%); }
.seg .icon { color: var(--acc, var(--cobalt)); width: 18px; height: 18px; margin-top: 1px; }
.seg[hidden] { display: none; }
.empty-state { display: none; padding: 26px; text-align: center; border-radius: 18px; border: 1.5px dashed rgb(11 20 38 / 15%); color: var(--muted); font-weight: 600; }
.empty-state.is-visible { display: block; }
@media (max-width: 640px) { .seg-grid { grid-template-columns: 1fr; } }
.group { border-top: 1px solid var(--glass-line); padding-top: 22px; margin-top: 22px; }
.group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.group[hidden] { display: none; }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.group h3 small { font-family: var(--font-body); font-size: .76rem; font-weight: 700; color: var(--acc-ink, var(--cobalt)); background: var(--acc-soft, rgb(143 211 255 / 50%)); padding: 3px 9px; border-radius: 999px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.jump a { padding: 7px 13px; border-radius: 999px; background: rgb(255 255 255 / 55%); border: 1px solid #fff; font-size: .84rem; font-weight: 600; color: var(--muted); }
.jump a:hover { color: var(--cobalt-deep); background: #fff; }
@media (max-width: 640px) { .jump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; } .jump a { flex: none; } }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color .2s; }
.side-nav a:hover { background: rgb(255 255 255 / 70%); }
.side-nav a[aria-current="page"] { background: #fff; color: var(--cobalt-deep); box-shadow: 0 8px 16px -12px rgb(30 50 120 / 45%); }
.side-nav .mega__ico { width: 32px; height: 32px; border-radius: 10px; }
.side-nav .mega__ico .icon { width: 16px; height: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-hover); }
.feature h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: .95rem; }
.steps { display: grid; gap: 12px; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border-radius: 22px; background: rgb(255 255 255 / 50%); border: 1px solid rgb(255 255 255 / 85%); }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--acc-ink); background: linear-gradient(145deg, #fff, var(--acc-soft)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 18px -12px var(--acc-glow); }
.step h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; margin: 4px 0; }
.step p { color: var(--muted); font-size: .96rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgb(20 170 140 / 14%); color: #0b7a6a; margin-top: 1px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, rgb(143 211 255 / 35%), rgb(196 182 255 / 35%)); border: 1px solid #fff; color: var(--ink-2); font-weight: 500; }
.note .icon { flex: none; color: var(--cobalt-deep); margin-top: 2px; }
.title-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.title-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: linear-gradient(135deg, rgb(255 255 255 / 85%), var(--acc-soft, rgb(143 211 255 / 50%))); border: 1px solid #fff; color: var(--acc-ink, var(--cobalt-deep)); font-weight: 600; font-size: .9rem; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgb(30 50 120 / 40%); }
.title-chip .icon { width: 16px; height: 16px; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.fields li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 55%); border: 1px solid #fff; font-weight: 600; font-size: .92rem; }
.fields .icon { color: var(--cobalt); width: 18px; height: 18px; }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ev-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 22px; background: rgb(255 255 255 / 55%); border: 1px solid #fff; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; }
.ev-card:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 30px -20px rgb(30 50 120 / 45%); }
.ev-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.ev-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-card__meta .icon { width: 14px; height: 14px; color: var(--violet); }
.ev-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.ev-card p { font-size: .88rem; color: var(--muted); }
.ev-card__foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; font-size: .86rem; font-weight: 700; }
.ev-card__foot a { color: var(--cobalt-deep); display: inline-flex; align-items: center; gap: 5px; }
.ev-card__foot a:hover { text-decoration: underline; }
.ev-card__foot .icon { width: 14px; height: 14px; }
.source-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .ev-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: rgb(255 255 255 / 50%); border: 1px solid #fff; transition: background-color .2s, box-shadow .2s; }
.faq details[open] { background: rgb(255 255 255 / 88%); box-shadow: 0 18px 34px -24px rgb(30 50 120 / 45%); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; min-height: 56px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgb(47 91 255 / 10%); color: var(--cobalt-deep); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); }
.ind-visual { position: relative; padding: 26px; border-radius: 32px; display: grid; gap: 16px; overflow: hidden; }
.ind-visual__head { display: flex; align-items: center; gap: 16px; }
.ind-visual__head .clay-bubble { width: 72px; height: 72px; border-radius: 24px; }
.ind-visual__head .clay-bubble .icon { width: 34px; height: 34px; }
.ind-visual__head strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; }
.ind-visual__head span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.ind-visual__rows { display: grid; gap: 8px; }
.ind-visual__rows li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgb(255 255 255 / 58%); border: 1px solid rgb(255 255 255 / 90%); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.ind-visual__rows li i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ind-visual__rows li em { margin-left: auto; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: rgb(20 170 140 / 14%); color: #0b7a6a; }
.ind-visual__glow { position: absolute; width: 280px; height: 280px; right: -90px; top: -100px; border-radius: 50%; background: radial-gradient(circle, var(--acc, #2f5bff) 0%, transparent 65%); opacity: .25; pointer-events: none; }
.hub-group { margin-top: clamp(36px, 5vw, 56px); }
.hub-group:first-of-type { margin-top: 0; }
.hub-group[hidden] { display: none; }
.hub-group h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 18px; }
.hub-group h2 small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.ind-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; padding: 16px; border-radius: 24px; transition: transform .28s var(--ease), box-shadow .28s; }
.ind-card[hidden], li[hidden] { display: none; }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-hover); }
.ind-card .clay-bubble { grid-row: span 2; width: 52px; height: 52px; border-radius: 17px; }
.ind-card .clay-bubble .icon { width: 24px; height: 24px; }
.ind-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.ind-card p { font-size: .82rem; font-weight: 600; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.ind-card p b { color: var(--acc-ink); }
.hub-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.hub-bar .search { max-width: 420px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
.how li { position: relative; padding: 24px 22px; border-radius: 26px; display: grid; gap: 10px; align-content: start; }
.how li::before { counter-increment: how; content: "0" counter(how); font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; background: linear-gradient(135deg, var(--cobalt), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.how p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.info-list li { display: flex; gap: 14px; padding: 16px; border-radius: 20px; background: rgb(255 255 255 / 55%); border: 1px solid #fff; }
.info-list li .clay-bubble { width: 42px; height: 42px; border-radius: 14px; flex: none; }
.info-list li .clay-bubble .icon { width: 20px; height: 20px; }
.info-list strong { display: block; font-weight: 700; margin-bottom: 2px; }
.info-list span { color: var(--muted); font-size: .93rem; }
@media (max-width: 640px) { .info-list { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea { padding: 12px 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: rgb(214 51 74 / 70%); }
.field__error { font-size: .84rem; font-weight: 600; color: #b3172f; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; font-weight: 600; }
.form__status.is-success { display: flex; background: rgb(20 170 140 / 14%); color: #0a6358; border: 1px solid rgb(20 170 140 / 25%); }
.form__status.is-error { display: flex; background: rgb(214 51 74 / 10%); color: #9b1027; border: 1px solid rgb(214 51 74 / 25%); }
.form__fine { font-size: .82rem; color: var(--muted); }

/* ---------- Events explorer ---------- */
.explorer__bar { display: grid; grid-template-columns: minmax(0, 1fr) 260px auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.explorer__bar .search { max-width: none; }
.select { position: relative; }
.select select { appearance: none; padding: 0 42px 0 16px; border-radius: 999px; font-weight: 600; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 18px; height: 18px; }
@media (max-width: 820px) { .explorer__bar { grid-template-columns: 1fr; } }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; margin-bottom: 8px; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #fff; background: rgb(255 255 255 / 55%); font-weight: 600; font-size: .86rem; color: var(--ink-2); transition: .2s; }
.cat-chip small { font-weight: 700; color: var(--muted); }
.cat-chip:hover { background: #fff; }
.cat-chip[aria-pressed="true"] { background: linear-gradient(135deg, rgb(56 104 255 / 92%), rgb(109 77 255 / 82%)); color: #fff; border-color: rgb(255 255 255 / 50%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 10px 20px -12px rgb(47 91 255 / 70%); }
.cat-chip[aria-pressed="true"] small { color: rgb(255 255 255 / 85%); }
.event-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.event-table th { text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 16px 4px; }
.event-table td { background: rgb(255 255 255 / 55%); padding: 14px 16px; border-block: 1px solid #fff; font-weight: 500; }
.event-table td:first-child { border-left: 1px solid #fff; border-radius: 16px 0 0 16px; color: var(--muted); font-variant-numeric: tabular-nums; width: 64px; }
.event-table td:last-child { border-right: 1px solid #fff; border-radius: 0 16px 16px 0; text-align: right; width: 1%; white-space: nowrap; }
.event-table tr:hover td { background: #fff; }
.event-name { font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--acc-soft, rgb(143 211 255 / 50%)); color: var(--acc-ink, var(--cobalt-deep)); white-space: nowrap; }
.event-table .btn { min-height: 38px; padding: 0 14px; font-size: .84rem; }
@media (max-width: 720px) {
  .event-table thead { display: none; }
  .event-table, .event-table tbody, .event-table tr, .event-table td { display: block; width: 100%; }
  .event-table tr { margin-bottom: 10px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 60%); border: 1px solid #fff; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
  .event-table td { padding: 0; border: 0 !important; background: none !important; border-radius: 0 !important; width: auto !important; text-align: left !important; }
  .event-table td:first-child { display: none; }
  .event-table td:nth-child(2) { grid-column: 1 / -1; }
}
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pager__info { font-weight: 600; color: var(--muted); font-size: .92rem; }
.pager__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid #fff; background: rgb(255 255 255 / 60%); font-weight: 700; box-shadow: inset 0 1px 0 #fff; }
.pager button:hover:not(:disabled) { background: #fff; }
.pager button[aria-current="page"] { background: var(--ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.flags { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.flag { display: grid; justify-items: center; gap: 12px; padding: 20px 12px; border-radius: 24px; font-weight: 600; text-align: center; }
.flag img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 10px 20px -8px rgb(30 50 120 / 35%); }
@media (max-width: 1000px) { .flags { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact / legal ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 26px; }
.contact-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.contact-card p, .contact-card a { color: var(--muted); font-weight: 500; }
.contact-card a:hover { color: var(--cobalt-deep); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.map-frame { overflow: hidden; border-radius: var(--r-xl); padding: 10px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: 28px; display: block; }
.legal { display: grid; gap: 28px; }
.legal h2 { font-size: 1.3rem; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { display: grid; gap: 8px; }
.legal li { display: flex; gap: 10px; }
.legal li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--cobalt), var(--violet)); }
.legal section { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.pre-footer { padding-top: 20px; }
.site-footer { position: relative; margin-top: 60px; padding: clamp(56px, 7vw, 86px) 0 0; color: var(--muted); background: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 62%)); border-top: 1px solid rgb(255 255 255 / 85%); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
.site-footer .brand__name { color: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin: 18px 0 20px; max-width: 38ch; }
.footer__badges { display: flex; gap: 12px; }
.footer__badges img { width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 8px 16px -10px rgb(30 50 120 / 45%); }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer__links a:hover { color: var(--cobalt-deep); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--cobalt); margin-top: 3px; width: 18px; height: 18px; }
.footer__contact a:hover { color: var(--cobalt-deep); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--glass-line); font-size: .88rem; }
.footer__bottom a:hover { color: var(--cobalt-deep); }
.footer__wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 13vw, 11rem); letter-spacing: -0.05em; line-height: .8; text-align: center; margin-top: 40px; color: transparent; -webkit-text-stroke: 1px rgb(11 20 38 / 10%); user-select: none; white-space: nowrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.shop-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
@media (max-width: 640px) { .shop-fab { right: 12px; bottom: 12px; } .shop-fab .btn { min-height: 46px; padding: 0 16px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.nf__code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); font-weight: 600; line-height: .9; letter-spacing: -0.06em; }

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .clay, .panel.clay, .btn, .chip, .tabs, .cta-card, .site-footer { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; }
  .btn--clay, .btn--primary { background: var(--cobalt) !important; }
  .btn--ink { background: var(--ink) !important; }
}
@media (forced-colors: active) { .btn, .glass, .clay, .seg, .field input, .field textarea { border: 1px solid ButtonText; } .grad-text { color: CanvasText; background: none; } }
@media print { .site-header, .shop-fab, .liquid-bg, .drawer, .site-footer, .pre-footer { display: none !important; } }
