/* VIN UI Kit — extracted core styles */
@import url("../../colors_and_type.css");

* { box-sizing: border-box; }
body { margin: 0; background: #F7F7F7; color: #002855; font-family: 'ProximaNova', sans-serif; }

.app { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  background: #002855;
  color: #DDE5ED;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,.10);
}
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__brand img { height: 28px; }
.site-header__divider { height: 20px; width: 1px; background: rgba(255,255,255,0.2); }
.site-header__product { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.site-header__nav { margin-left: auto; display: flex; gap: 22px; }
.site-header__nav a {
  color: #DDE5ED; text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: color 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header__nav a:hover, .site-header__nav a.is-active { color: #FFFFFF; }
.site-header__user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 12px; font-weight: 500; color: #FFFFFF;
}
.site-header__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: #B9975B; color: #002855;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

.layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; flex: 1; }
@media (max-width: 1024px) { .layout { grid-template-columns: 1fr; } }

.sidebar {
  background: #FFFFFF;
  border-right: 1px solid #C9D2DD;
  padding: 28px 16px;
}
.sidebar__heading {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: #4D6995; margin: 0 12px 10px;
}
.sidebar__list { list-style: none; padding: 0; margin: 0 0 24px; }
.sidebar__item a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
  color: #002855; text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: background-color 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar__item a:hover { background: #DDE5ED; }
.sidebar__item a.is-active { background: #DDE5ED; color: #001A72; font-weight: 800; }
.sidebar__item img { width: 16px; height: 16px; opacity: .7; }

.main { padding: 36px clamp(24px, 4vw, 54px); max-width: 1280px; }

.page-title {
  font-size: 32px; font-weight: 800; line-height: 1.15;
  margin: 0 0 8px; color: #002855;
}
.page-overline {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #4D6995; margin-bottom: 6px;
}
.page-desc { font-size: 15px; line-height: 1.6; color: #4D6995; margin: 0 0 24px; max-width: 60ch; }

.hero {
  position: relative;
  background: #002855;
  color: #F7F7F7;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 36px;
  overflow: hidden;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 10px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(77,105,149,0.32) 0%, transparent 60%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero__overline { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B1C9E8; margin-bottom: 10px; }
.hero__title { font-size: 36px; font-weight: 800; line-height: 1.1; margin: 0 0 10px; max-width: 22ch; color: #F7F7F7; }
.hero__desc { font-size: 15px; font-weight: 300; color: #DDE5ED; line-height: 1.7; max-width: 56ch; margin: 0 0 22px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: none; border-radius: 8px;
  font-family: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0.16, 1, 0.3, 1), transform 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--primary { background: #002855; color: #F7F7F7; }
.btn--primary:hover { background: #001A72; }
.btn--on-dark { background: #FFFFFF; color: #002855; }
.btn--on-dark:hover { background: #DDE5ED; }
.btn--secondary { background: #FFFFFF; color: #002855; border: 1px solid #C9D2DD; }
.btn--secondary:hover { background: #DDE5ED; }
.btn--tertiary { background: transparent; color: #0861CE; padding-inline: 8px; }
.btn--tertiary:hover { color: #001A72; }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.section-heading__title { font-size: 20px; font-weight: 800; color: #002855; margin: 0; text-wrap: balance; }
.section-heading__link { font-size: 12px; font-weight: 500; color: #0861CE; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 36px; }

.fancy-card {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  background: #FFFFFF;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fancy-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08); }
.fancy-card__header {
  position: relative; padding: 22px 24px 18px;
  background: #002855; color: #F7F7F7;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 8px);
  overflow: hidden;
}
.fancy-card__header::after {
  content:''; position: absolute; inset-block-end: -2rem; inset-inline-end: -2rem;
  width: 8rem; height: 8rem; border-radius: 50%; background: rgba(255,255,255,0.06);
}
.fancy-card__top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fancy-card__icon { width: 28px; height: 28px; opacity: .85; }
.fancy-card__icon img { width: 100%; height: 100%; filter: brightness(0) invert(1); opacity: .8; }
.fancy-card__overline { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #B1C9E8; margin-bottom: 4px; }
.fancy-card__title { font-size: 18px; font-weight: 800; line-height: 1.25; margin: 0; color: #F7F7F7; text-wrap: balance; }
.fancy-card__body { flex: 1; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.fancy-card__desc { font-size: 13px; line-height: 1.5; color: #4D6995; margin: 0; }
.fancy-card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.fancy-card__tag {
  padding: 2px 10px; border-radius: 999px;
  font-size: 9px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  background: #DDE5ED; color: #4D6995; border: 1px solid #C9D2DD;
}
.fancy-card__stat { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fancy-card__stat-value { font-size: 24px; font-weight: 800; color: #002855; line-height: 1.1; }
.fancy-card__stat-label { font-size: 11px; font-weight: 500; color: #4D6995; line-height: 1.3; }
.fancy-card__footer { padding: 12px 24px; border-block-start: 1px solid #C9D2DD; display: flex; align-items: center; justify-content: space-between; }
.fancy-card__link { font-size: 12px; font-weight: 500; color: #0861CE; text-decoration: none; }

.basic-card {
  display: flex; flex-direction: column;
  border-radius: 8px; overflow: hidden;
  background: #FFFFFF; border: 1px solid #C9D2DD;
  box-shadow: 0 1px 3px rgba(0,0,0,.10);
}
.basic-card__header { padding: 14px 20px; background: #DDE5ED; border-block-end: 1px solid #C9D2DD; }
.basic-card__overline { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #4D6995; margin-bottom: 4px; }
.basic-card__title { font-size: 16px; font-weight: 800; line-height: 1.2; margin: 0; }
.basic-card__body { padding: 14px 20px; }
.basic-card__desc { font-size: 13px; line-height: 1.5; color: #4D6995; margin: 0 0 8px; }

.toolbar { display: flex; gap: 8px; align-items: center; padding: 12px 0 22px; }
.search {
  flex: 1; max-width: 480px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid #C9D2DD; border-radius: 8px;
  background: #FFFFFF;
}
.search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 14px; color: #002855; background: transparent; }

.banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 8px;
  background: #E8E3D2; border-left: 4px solid #B75D04;
  color: #002855; font-size: 13px; line-height: 1.5;
  margin-bottom: 24px;
}
.banner img { width: 20px; height: 20px; }
.banner strong { color: #002855; }

.tabs { display: flex; gap: 0; border-bottom: 1px solid #C9D2DD; margin-bottom: 24px; }
.tabs button {
  background: transparent; border: none;
  padding: 12px 18px; font-family: inherit; font-size: 13px; font-weight: 500;
  color: #4D6995; cursor: pointer; border-bottom: 2px solid transparent;
}
.tabs button:hover { color: #002855; }
.tabs button.is-active { color: #002855; font-weight: 800; border-bottom-color: #002855; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .reveal--1 { animation-delay: 50ms; } .reveal--2 { animation-delay: 100ms; }
  .reveal--3 { animation-delay: 150ms; } .reveal--4 { animation-delay: 200ms; }
}
