:root {
  --ink: #062e63;        /* secondary — navy derived from the logo blue */
  --ink-soft: #0d3d7c;   /* lighter navy, for borders on dark surfaces */
  --paper: #ffffff;      /* base — pure white */
  --paper-alt: #edf2fa;  /* light blue-tinted surface for cards/sections */
  --accent: #0251b6;     /* primary — exact logo blue */
  --accent-ink: #023a82; /* darker blue for text on tinted/white surfaces */
  --muted: #5b6472;      /* cool gray, matched to the blue's undertone */
  --border: #dde4ee;     /* cool light border */

  /* Secondary/tertiary brand accents — used to color-code categories and
     persona cards so the page reads as more than one flat blue block. */
  --secondary: #0f7a8c;      /* teal */
  --secondary-ink: #0b5e6d;
  --secondary-bg: #e1f3f5;
  --tertiary: #b35b00;       /* amber */
  --tertiary-ink: #8a4700;
  --tertiary-bg: #fdf0df;

  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility/promo bar */
.utility-bar {
  background: var(--ink);
  color: #c9d3e6;
}

.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
  font-size: 12.5px;
  flex-wrap: wrap;
}

.utility-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.utility-bar a { color: inherit; }
.utility-bar a:hover { color: var(--paper); }

.utility-bar-icon {
  display: inline-flex;
  vertical-align: -2px;
  margin-right: 5px;
}

.utility-bar-icon svg { width: 13px; height: 13px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  flex-wrap: wrap;
}

.main-nav > a {
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav > a:hover { border-bottom-color: var(--accent); }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  font: inherit;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px 0;
}

.nav-dropdown-caret {
  transition: transform 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 200;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(6, 46, 99, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.nav-dropdown-menu a:hover { background: var(--paper-alt); }

.search-form input {
  font: inherit;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--paper-alt);
  width: 220px;
}

.cart-link {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  white-space: nowrap;
}

.cart-link:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(720px 360px at 88% -10%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--accent-ink) 62%, var(--accent) 130%);
  color: var(--paper);
  padding: 76px 0 60px;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 6px 14px;
  margin: 0 0 20px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fd67a;
  flex: none;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
  max-width: 17ch;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 18px;
  color: #c9d3e6;
  max-width: 52ch;
  margin: 0;
}

/* Use-case grid */
.use-case-grid {
  padding: 56px 0 48px;
}

.section-lede {
  margin: 0 0 28px;
}

.section-lede h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.section-lede p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.use-case-grid .wrap > .use-case-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.use-case-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 26px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

.use-case-icon svg { width: 26px; height: 26px; }

.use-case-card h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.use-case-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(2, 58, 130, 0.12);
}

/* Quick highlights strip */
.highlights-strip {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.highlights-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.highlight-icon svg { width: 20px; height: 20px; }

.highlight-item h3 {
  font-size: 14px;
  margin: 0 0 2px;
}

.highlight-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Category grid */
.category-grid { padding: 48px 0; background: var(--paper-alt); }

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(2, 58, 130, 0.1);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.category-card--secondary .category-icon { background: var(--secondary); }

.category-icon svg { width: 28px; height: 28px; }

.category-card h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.category-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--paper-alt);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.category-card--secondary .category-count { color: var(--secondary-ink); background: var(--secondary-bg); }

/* Persona cards — color-coded variants + real starting price */
.use-case-card--secondary { border-top-color: var(--secondary); }
.use-case-card--secondary .use-case-icon { background: var(--secondary); }

.use-case-card--tertiary { border-top-color: var(--tertiary); }
.use-case-card--tertiary .use-case-icon { background: var(--tertiary); }

.use-case-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--paper-alt);
  color: var(--accent-ink);
  margin: 0 0 12px;
}

.use-case-card--secondary .use-case-badge { background: var(--secondary-bg); color: var(--secondary-ink); }
.use-case-card--tertiary .use-case-badge { background: var(--tertiary-bg); color: var(--tertiary-ink); }

.use-case-price {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.use-case-price strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

/* Flash deals */
.deals-section { padding: 48px 0; }

.deals-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}

.deals-heading .icon-badge-lg {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--tertiary-bg);
  color: var(--tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.deals-heading .icon-badge-lg svg { width: 22px; height: 22px; }

.deals-heading h2 { font-size: 22px; margin: 0; }
.deals-heading p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.deal-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.deal-card:hover { border-color: var(--tertiary); box-shadow: 0 10px 22px rgba(179, 91, 0, 0.12); }

.deal-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-image img { width: 100%; height: 100%; object-fit: contain; }

.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tertiary);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}

.deal-name {
  font-size: 14px;
  padding: 12px 14px 0;
  margin: 0;
  line-height: 1.4;
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px 14px;
}

.deal-price { font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.deal-price-was { font-size: 13px; color: var(--muted); text-decoration: line-through; }

/* Brand directory */
.brand-directory { padding: 48px 0; background: var(--paper-alt); }

.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-directory-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.15s ease;
}

.brand-directory-card:hover { box-shadow: 0 8px 18px rgba(6, 46, 99, 0.08); }

.brand-directory-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
}

.brand-directory-top strong { font-size: 16px; letter-spacing: -0.01em; }

.brand-directory-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

.brand-directory-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
}

.brand-directory-card a:hover { text-decoration: underline; }

/* Page hero (landing pages) */
.page-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.page-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* Product grid */
.product-grid-section { padding: 40px 0 64px; }

.section-heading {
  font-size: 20px;
  margin: 0 0 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.product-card:hover { border-color: var(--ink); }

.product-image {
  aspect-ratio: 4 / 3;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img { width: 100%; height: 100%; object-fit: contain; }

.product-name {
  font-size: 14px;
  padding: 12px 14px 0;
  margin: 0;
  line-height: 1.4;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  padding: 6px 14px 14px;
  margin: 0;
  color: var(--accent-ink);
}

.empty-state {
  color: var(--muted);
  padding: 32px 0;
}

.empty-state a { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b7bcc4;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}

.footer-about .logo { color: var(--paper); }
.footer-about .logo span { color: var(--accent); }
.footer-about p { font-size: 14px; max-width: 34ch; }

.footer-links h3 {
  font-size: 13px;
  color: var(--paper);
  margin: 0 0 12px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: #b7bcc4;
}

.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  border-top: 1px solid var(--ink-soft);
  padding: 16px 0;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .use-case-cards { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .search-form { display: none; }
  .highlights-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .category-cards { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-directory-grid { grid-template-columns: repeat(2, 1fr); }
  .utility-bar-links { gap: 12px; }
}

@media (max-width: 600px) {
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
  .main-nav { gap: 16px; order: 3; width: 100%; }
  .use-case-cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .highlights-strip .wrap { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr; }
  .brand-directory-grid { grid-template-columns: 1fr; }
  .category-card { flex-direction: column; text-align: center; }
  .utility-bar .wrap { justify-content: center; height: auto; padding: 6px 0; gap: 8px; }
  .utility-bar-links { justify-content: center; width: 100%; }
}
