/* =========================================================================
   PARKOMAK — Base + reusable components (v2 · Sky theme)
   Each block = one Figma component (with variants).
   Flexbox → Figma auto-layout. Absolute positioning only for decoration.
   ========================================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { 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; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--ink-900);
}
::selection { background: var(--sky-200); color: var(--ink-900); }

:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: var(--radius-xs); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: var(--sky-50); }
.section--soft { background: linear-gradient(180deg, var(--white), var(--sky-50)); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }

/* ---------- Section header (SectionHeader) ---------- */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 760px; margin-bottom: var(--space-16); }
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }
.section-head__title { font-size: var(--text-h1); }
.section-head__lead { font-size: var(--text-lg); color: var(--color-text-secondary); max-width: 640px; }

/* ---------- Eyebrow pill (Eyebrow; variants: sky / violet / coral / mint / sun) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px 0 6px;
  border-radius: var(--radius-full);
  background: var(--white); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sky-700);
}
.eyebrow__dot { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-100); color: var(--sky-700); }
.eyebrow__dot .icon { width: 12px; height: 12px; }
.eyebrow--violet { color: var(--violet-ink); } .eyebrow--violet .eyebrow__dot { background: var(--violet-100); color: var(--violet-ink); }
.eyebrow--coral  { color: var(--coral-ink); }  .eyebrow--coral .eyebrow__dot  { background: var(--coral-100); color: var(--coral-ink); }
.eyebrow--mint   { color: var(--mint-ink); }   .eyebrow--mint .eyebrow__dot   { background: var(--mint-100); color: var(--mint-ink); }
.eyebrow--sun    { color: var(--sun-ink); }    .eyebrow--sun .eyebrow__dot    { background: var(--sun-100); color: var(--sun-ink); }

/* Gradient text */
.grad-text { background: var(--grad-sky); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.grad-text--pop { background: var(--grad-pop); -webkit-background-clip: text; background-clip: text; }
.marker { position: relative; white-space: nowrap; }
.marker::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; border-radius: 6px; background: linear-gradient(90deg, rgba(255,176,32,.45), rgba(255,107,91,.35)); z-index: -1; }

/* ---------- Icon ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }

/* IconTile (variants: sky / violet / coral / sun / mint / brand / white) */
.icon-tile {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--sky-50); color: var(--sky-700);
  box-shadow: inset 0 0 0 1px rgba(14,165,233,.18);
}
.icon-tile--violet { background: var(--violet-50); color: var(--violet-ink); box-shadow: inset 0 0 0 1px rgba(124,92,255,.2); }
.icon-tile--coral  { background: var(--coral-50);  color: var(--coral-ink);  box-shadow: inset 0 0 0 1px rgba(255,107,91,.22); }
.icon-tile--sun    { background: var(--sun-50);    color: var(--sun-ink);    box-shadow: inset 0 0 0 1px rgba(255,176,32,.28); }
.icon-tile--mint   { background: var(--mint-50);   color: var(--mint-ink);   box-shadow: inset 0 0 0 1px rgba(16,185,129,.22); }
.icon-tile--brand  { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.icon-tile--white  { background: #fff; color: var(--sky-700); box-shadow: var(--shadow-sm); }
.icon-tile--sm { width: 38px; height: 38px; border-radius: var(--radius-sm); }
.icon-tile--lg { width: 64px; height: 64px; border-radius: var(--radius-lg); }

/* ---------- Buttons (Button; variants: primary / secondary / ghost / dark / white / glass / link; sizes sm / md / lg) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 50px; padding: 0 var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-md); font-weight: 650; letter-spacing: -0.005em;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), background var(--duration-normal), border-color var(--duration-normal), color var(--duration-normal);
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 40px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn--lg { height: 58px; padding: 0 var(--space-8); font-size: var(--text-lg); }
.btn--block { width: 100%; }
.btn--icon { width: 44px; height: 44px; padding: 0; }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(37,99,235,.55), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-1px); }
/* shimmer sweep (Magic UI "shimmer button") */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: shimmer 3.6s var(--ease-out) infinite;
}
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.btn--secondary { background: #fff; color: var(--ink-900); border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { border-color: var(--sky-300); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-300); }
.btn--ghost:hover { background: var(--sky-50); border-color: var(--sky-400); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--white { background: #fff; color: var(--ink-900); box-shadow: 0 12px 30px -10px rgba(7,20,42,.35); }
.btn--white:hover { transform: translateY(-1px); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.btn--link { height: auto; padding: 0; border-radius: 0; color: var(--sky-700); font-weight: 650; overflow: visible; }
.btn--link .icon { transition: transform var(--duration-normal) var(--ease-out); }
.btn--link:hover .icon { transform: translateX(4px); }

/* ---------- Badge (variants: neutral / sky / violet / coral / sun / mint / good / warn / bad / info / glass) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 650; white-space: nowrap;
  background: var(--ink-100); color: var(--ink-700);
}
.badge--sky, .badge--info { background: var(--sky-100); color: var(--sky-800); }
.badge--violet { background: var(--violet-100); color: var(--violet-ink); }
.badge--coral, .badge--bad { background: var(--coral-100); color: #B4232A; }
.badge--sun, .badge--warn { background: var(--sun-100); color: var(--sun-ink); }
.badge--mint, .badge--good { background: var(--mint-100); color: var(--mint-ink); }
.badge--pop { background: var(--grad-pop); color: var(--ink-950); }
.badge--glass { background: rgba(255,255,255,.75); color: var(--ink-800); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.8); }

/* Live dot */
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-500); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint-500); opacity: .5; animation: ping 1.8s var(--ease-out) infinite; }
.live-dot--red { background: #EF4444; } .live-dot--red::after { border-color: #EF4444; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* Status (icon + label, never colour alone) */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.status .icon { width: 13px; height: 13px; }
.status--good { color: var(--mint-ink); }
.status--info { color: var(--sky-700); }
.status--bad  { color: var(--status-bad-ink); }
.status--warn { color: var(--sun-ink); }
.status--muted { color: var(--ink-500); }
.status--pill { height: 24px; padding: 0 9px; border-radius: var(--radius-full); }
.status--pill.status--good { background: var(--mint-50); }
.status--pill.status--info { background: var(--sky-50); }
.status--pill.status--bad  { background: var(--status-bad-bg); }
.status--pill.status--warn { background: var(--sun-50); }
.status--pill.status--muted { background: var(--ink-100); }

/* ---------- License plate (Plate; sizes sm / md / lg) ---------- */
.plate {
  display: inline-flex; align-items: stretch; flex: none;
  height: 32px; background: #fff; color: var(--ink-950);
  border: 2px solid var(--ink-950); border-radius: 6px; overflow: hidden;
  font-family: var(--font-plate); font-weight: 600; box-shadow: var(--shadow-xs);
}
.plate__band { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 20px; padding-bottom: 3px; background: var(--plate-blue); color: #fff; font-family: var(--font-body); font-size: 7px; font-weight: 700; }
.plate__band::before { content: ""; width: 8px; height: 8px; margin: 4px 0 auto; border-radius: 50%; border: 1.5px dotted var(--plate-yellow); }
.plate__num { display: flex; flex: 1; align-items: center; justify-content: center; padding: 0 10px; font-size: 20px; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.plate--sm { height: 26px; border-width: 1.5px; border-radius: 5px; }
.plate--sm .plate__band { width: 16px; font-size: 6px; }
.plate--sm .plate__band::before { width: 6px; height: 6px; margin-top: 3px; }
.plate--sm .plate__num { font-size: 16px; padding: 0 8px; }
.plate--lg { height: 52px; border-width: 3px; border-radius: 9px; }
.plate--lg .plate__band { width: 30px; font-size: 9px; padding-bottom: 5px; }
.plate--lg .plate__band::before { width: 13px; height: 13px; margin-top: 7px; }
.plate--lg .plate__num { font-size: 34px; padding: 0 16px; }

/* ---------- Card (variants: default / glass / tint / interactive / spotlight) ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-8);
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}
.card--glass { background: rgba(255,255,255,.72); border-color: rgba(255,255,255,.9); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--shadow-md); }
.card--tint { background: var(--sky-50); border-color: var(--sky-100); }
.card--interactive { transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal), border-color var(--duration-normal); }
.card--interactive:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sky-200); }
.card__title { font-size: var(--text-h4); font-weight: 750; letter-spacing: -0.02em; }
.card__text { color: var(--color-text-secondary); }

/* Spotlight (Magic UI "magic card"): JS sets --mx / --my */
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(56,189,248,.14), transparent 45%);
  transition: opacity var(--duration-normal);
}
.spotlight:hover::before { opacity: 1; }

/* Border beam (Magic UI) — animated gradient border */
.beam { position: relative; isolation: isolate; }
.beam::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--beam-angle, 0deg), transparent 0 70%, #38BDF8 78%, #7C5CFF 86%, #FF6B5B 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 5s linear infinite;
}
@property --beam-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --beam-angle: 360deg; } }

/* ---------- Check list ---------- */
.check-list { display: flex; flex-direction: column; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--color-text-secondary); }
.check-list .check { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--sky-100); color: var(--sky-700); }
.check-list .check .icon { width: 13px; height: 13px; stroke-width: 3; }
.check-list--mint .check { background: var(--mint-100); color: var(--mint-ink); }
.check-list--white li { color: rgba(255,255,255,.9); }
.check-list--white .check { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Photo (Photo; replace src with final photography) ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sky-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.photo--zoom:hover img, .card--interactive:hover .photo img { transform: scale(1.06); }
.photo__credit { position: absolute; right: 8px; bottom: 6px; font-size: 9px; color: rgba(255,255,255,.7); }

/* ---------- Form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: var(--text-sm); font-weight: 650; color: var(--ink-800); }
.field__label .req { color: var(--coral-ink); }
.field__error { display: none; font-size: var(--text-xs); color: var(--status-bad-ink); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input { border-color: var(--status-bad); background: #FFF8F8; }

.input {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-sm);
  font-size: var(--text-md); color: var(--ink-900);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}
.input::placeholder { color: var(--ink-400); }
.input:hover { border-color: var(--sky-300); }
.input:focus { outline: none; border-color: var(--sky-500); box-shadow: var(--ring-focus); }
textarea.input { height: auto; min-height: 116px; padding: 14px 16px; resize: vertical; }
select.input { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235D7290' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input-group { display: flex; }
.input-group__prefix { display: flex; align-items: center; flex: none; padding: 0 14px; appearance: none; cursor: pointer; border: 1px solid var(--ink-200); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--sky-50); color: var(--ink-600); font-size: var(--text-sm); font-weight: 600; }
.input-group .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--ink-600); cursor: pointer; }
.checkbox input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ink-300); border-radius: 6px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background var(--duration-fast), border-color var(--duration-fast); }
.checkbox input:checked { background: var(--sky-600); border-color: var(--sky-600); }
.checkbox input:checked::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.checkbox a { color: var(--sky-700); text-decoration: underline; text-underline-offset: 3px; }

.radio-cards { display: flex; gap: var(--space-3); }
.radio-card { position: relative; flex: 1; display: flex; align-items: center; gap: var(--space-3); padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--ink-200); background: #fff; cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__icon { color: var(--ink-400); }
.radio-card__title { font-weight: 650; font-size: var(--text-sm); }
.radio-card__sub { font-size: var(--text-xs); color: var(--ink-500); }
.radio-card:hover { border-color: var(--sky-300); }
.radio-card:has(input:checked) { border-color: var(--sky-500); background: var(--sky-50); box-shadow: var(--ring-focus); }
.radio-card:has(input:checked) .radio-card__icon { color: var(--sky-600); }

/* ---------- Segmented control ---------- */
.segmented { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--radius-full); background: rgba(255,255,255,.8); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.segmented__btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 18px; border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 650; color: var(--ink-600); white-space: nowrap; transition: background var(--duration-normal) var(--ease-out), color var(--duration-normal), box-shadow var(--duration-normal); }
.segmented__btn:hover { color: var(--ink-900); background: var(--sky-50); }
.segmented__btn[aria-pressed="true"], .segmented__btn[aria-selected="true"] { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: var(--space-3); }
.accordion__item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; transition: border-color var(--duration-normal), box-shadow var(--duration-normal); }
.accordion__item:hover { border-color: var(--sky-200); }
.accordion__item.is-open { border-color: var(--sky-200); box-shadow: var(--shadow-md); }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; padding: 22px 24px; text-align: left; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.accordion__chevron { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-50); color: var(--sky-700); transition: transform var(--duration-normal) var(--ease-out), background var(--duration-normal), color var(--duration-normal); }
.accordion__item.is-open .accordion__chevron { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.accordion__panel { display: none; padding: 0 24px 24px; color: var(--color-text-secondary); max-width: 720px; }
.accordion__item.is-open .accordion__panel { display: block; }

/* ---------- Stars / Avatar ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--sun-500); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700; font-size: var(--text-sm); background: var(--grad-sky); box-shadow: 0 0 0 3px #fff; }
.avatar--coral { background: var(--grad-pop); }
.avatar--mint { background: linear-gradient(135deg, #34D399, #0EA5E9); }
.avatar--violet { background: linear-gradient(135deg, #A78BFA, #6366F1); }
.avatar--sm { width: 34px; height: 34px; font-size: 12px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -5px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- Decorative backgrounds ---------- */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(14,116,190,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14,116,190,.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%); }
.bg-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(14,116,190,.18) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.blob--sky { background: #7DD3FC; } .blob--violet { background: #C4B5FD; } .blob--coral { background: #FDBA9F; } .blob--sun { background: #FDE68A; } .blob--mint { background: #A7F3D0; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.1); } 100% { transform: translate(-30px,20px) scale(.95); } }

/* ---------- Marquee (Magic UI) ---------- */
.marquee { --gap: 48px; --duration: 40s; display: flex; overflow: hidden; gap: var(--gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; flex: none; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: marquee var(--duration) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

/* =========================================================================
   Global chrome
   ========================================================================= */

/* Announcement bar */
.announce { position: relative; background: var(--grad-cta); color: #fff; font-size: var(--text-xs); overflow: hidden; }
.announce::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: translateX(-100%); animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.announce__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 40px; }
.announce__msg { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.announce__msg .badge { height: 20px; padding: 0 8px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.announce__msg a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce__group { display: flex; align-items: center; gap: var(--space-5); }
.announce__item { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.announce__item:hover { opacity: 1; }
.announce .icon { width: 14px; height: 14px; }

.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-full); background: rgba(255,255,255,.18); }
.lang-switch a { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.9); transition: background var(--duration-fast), color var(--duration-fast); }
.lang-switch a:hover { background: rgba(255,255,255,.2); }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--sky-800); }
.lang-switch--light { background: var(--sky-50); border: 1px solid var(--color-border); align-self: flex-start; }
.lang-switch--light a { height: 34px; padding: 0 14px; font-size: 13px; letter-spacing: 0; color: var(--ink-600); }
.lang-switch--light a:hover { background: #fff; }
.lang-switch--light a[aria-current="true"] { background: var(--grad-brand); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,.75); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border-bottom: 1px solid transparent; transition: background var(--duration-normal), border-color var(--duration-normal), box-shadow var(--duration-normal); }
.site-header.is-scrolled { background: rgba(255,255,255,.9); border-color: var(--color-border); box-shadow: 0 8px 30px -12px rgba(14,80,160,.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); }
.logo__mark { width: 38px; height: 38px; flex: none; overflow: visible; filter: drop-shadow(0 6px 12px rgba(37,99,235,.32)); }
.logo__word { height: 25px; width: auto; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 550; color: var(--ink-600); transition: color var(--duration-fast), background var(--duration-fast); }
.nav__link:hover { color: var(--ink-900); background: var(--sky-50); }
.nav__link .badge { height: 18px; padding: 0 6px; font-size: 10px; margin-left: 6px; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.menu-toggle { display: none; color: var(--ink-900); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: #fff; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; flex-direction: column; background: linear-gradient(180deg, #fff, var(--sky-50)); padding: 0 var(--gutter) var(--space-8); overflow-y: auto; }
.drawer.is-open { display: flex; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.drawer__nav { display: flex; flex-direction: column; margin-top: var(--space-4); }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--color-border); font-family: var(--font-display); font-size: 22px; font-weight: 750; color: var(--ink-900); }
.drawer__nav a .icon { color: var(--sky-600); }
.drawer__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.drawer__meta { display: flex; flex-direction: column; gap: var(--space-3); margin-top: auto; padding-top: var(--space-8); color: var(--ink-600); font-size: var(--text-sm); }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), #fff); color: var(--ink-600); padding-top: var(--space-20); font-size: var(--text-sm); border-top: 1px solid var(--color-border); }
.footer-top { position: relative; display: flex; gap: var(--space-16); padding-bottom: var(--space-12); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-5); flex: 0 0 340px; }
.footer-cols { display: flex; flex: 1; gap: var(--space-8); justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 140px; }
.footer-col__title { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; color: var(--ink-900); margin-bottom: var(--space-2); }
.footer-col a { transition: color var(--duration-fast); }
.footer-col a:hover { color: var(--sky-700); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--sky-600); }
.socials { display: flex; gap: var(--space-2); }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--color-border); color: var(--ink-600); transition: color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
.socials a:hover { color: var(--sky-700); border-color: var(--sky-300); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.footer-wordmark { position: relative; color: var(--sky-500); opacity: .2; user-select: none; margin-bottom: -2.2%; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
.footer-wordmark__svg { width: 100%; height: auto; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-6); border-top: 1px solid var(--color-border); font-size: var(--text-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.footer-legal a:hover, .footer-legal button:hover { color: var(--sky-700); }

/* Cookie banner */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: var(--z-overlay); display: flex; flex-direction: column; gap: var(--space-4); width: 400px; max-width: calc(100vw - 32px); padding: var(--space-6); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.cookie[hidden] { display: none; }
.cookie__head { display: flex; gap: var(--space-3); align-items: center; font-family: var(--font-display); font-weight: 750; font-size: var(--text-lg); color: var(--ink-900); }
.cookie__head .icon { color: var(--sun-ink); }
.cookie__text { font-size: var(--text-sm); color: var(--ink-600); }
.cookie__text a { color: var(--sky-700); text-decoration: underline; }
.cookie__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* FAB */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: var(--z-overlay); display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 8px; border-radius: var(--radius-full); background: #fff; color: var(--ink-900); font-weight: 700; box-shadow: var(--shadow-xl); border: 1px solid var(--color-border); transition: transform var(--duration-normal) var(--ease-out); }
.fab:hover { transform: translateY(-3px); }
.fab__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #7C5CFF, #0EA5E9); color: #fff; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: var(--z-toast); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-full); background: var(--ink-900); color: #fff; font-size: var(--text-sm); font-weight: 600; box-shadow: var(--shadow-xl); }
.toast[hidden] { display: none; }
.toast .icon { color: var(--mint-400); }

/* =========================================================================
   Developer helpers
   ?markers → outline data-onur hooks · html.is-static → Figma capture mode
   ========================================================================= */
html.show-markers [data-onur] { outline: 2px dashed #FF4FD8 !important; outline-offset: 3px; position: relative; }
html.show-markers [data-onur]::before { content: "ONUR · " attr(data-onur); position: absolute; top: -12px; left: 0; z-index: 999; padding: 2px 6px; border-radius: 4px; background: #FF4FD8; color: #fff; font: 700 10px/1.2 var(--font-body); white-space: nowrap; pointer-events: none; }
html.show-markers [data-asset] { outline: 2px dashed #3D7BFA !important; outline-offset: -2px; }

html.is-static, html.is-static body { scroll-behavior: auto; }
html.is-static *, html.is-static *::before, html.is-static *::after { animation: none !important; transition: none !important; }
html.is-static .site-header { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
html.is-static .cookie, html.is-static .fab, html.is-static .toast, html.is-static .drawer { display: none !important; }
html.is-static .blob { filter: blur(70px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive chrome ---------- */
@media (max-width: 1099px) {
  .nav, .header-actions .btn--login-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-top { flex-direction: column; gap: var(--space-12); }
  .footer-brand { flex: none; }
  .footer-cols { flex-wrap: wrap; justify-content: flex-start; gap: var(--space-10) var(--space-8); }
  .announce__msg span.hide-md { display: none; }
}
@media (max-width: 767px) {
  .announce__group--right .announce__item { display: none; }
  .announce__msg a { display: none; }
  .header-actions .btn--cta-desktop { display: none; }
  .footer-col { min-width: calc(50% - var(--space-4)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .fab { right: 16px; bottom: 16px; padding: 0 8px; }
  .fab__label { display: none; }
  .radio-cards { flex-direction: column; }
  .card { padding: var(--space-6); }
}
