:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f4;
  --text: #17181a;
  --text-muted: #5f6570;
  --accent: #e2542a;
  --accent-dark: #c4431f;
  --border: #eceae6;
  --radius: 14px;
  --max-width: 1080px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  height: 30px;
  width: 30px;
  border-radius: 8px;
}

.logo-word {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  background: var(--text);
  color: var(--bg);
}

/* Hero */
.hero {
  padding: 130px 0 104px;
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(255, 138, 92, 0.45) 0%, transparent 55%),
    radial-gradient(70% 90% at 10% 110%, rgba(226, 84, 42, 0.25) 0%, transparent 60%),
    #14171a;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 16ch;
  color: #fff;
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin: 0;
}

/* Brands */
.brands {
  padding: 64px 0 96px;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.brand-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(23, 24, 26, 0.08);
  border-color: transparent;
}

.brand-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f1115;
}

.figure-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-figure--dicom,
.brand-figure--citemi,
.brand-figure--vads {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brand-figure--dicom {
  background: #2f78d6;
}

.brand-figure--citemi {
  background: #241c42;
}

.brand-figure--vads {
  background: #0d7a68;
}

.figure-icon {
  border-radius: 16px;
}

.figure-word {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.figure-word-accent {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.figure-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(4px);
}

.brand-card figcaption {
  padding: 24px 24px 28px;
}

.brand-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-dark);
}

.brand-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.brand-card:hover .brand-link svg {
  transform: translate(3px, -3px);
}

/* Contact */
.contact {
  padding: 88px 0;
  background: radial-gradient(120% 160% at 15% 15%, #ff8a5c 0%, var(--accent) 45%, var(--accent-dark) 100%);
  border-top: none;
  border-bottom: none;
}

.contact .wrap {
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  padding: 32px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero {
    padding: 88px 0 64px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}
