:root {
  --color-primary: #127cc3; /* brand blue */
  --color-accent: #ffb703; /* warm accent for CTAs */
  --color-bg: #f7fafc; /* off-white background */
  --color-fg: #0f172a; /* near-black text */
  --color-muted: #64748b; /* gray for secondary text */
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.04);
  --shadow-md: 0 6px 20px rgba(2, 6, 23, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Utilities */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.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;
}
.text-balance {
  text-wrap: balance;
}
.text-pretty {
  text-wrap: pretty;
}
.muted {
  color: var(--color-muted);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  color: var(--color-fg);
}
.skip-link:focus {
  top: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5eaf0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-fg);
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  border-radius: 8px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #e5eaf0;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}
.menu-bar {
  width: 22px;
  height: 2px;
  background: var(--color-fg);
  display: block;
  border-radius: 2px;
}
.site-nav {
  display: none;
}
.site-nav.open {
  display: block;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-list a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-list a:hover {
  background: #f0f4f9;
  text-decoration: none;
}

/* Desktop nav */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .site-nav {
    display: block !important;
  }
  .nav-list {
    flex-direction: row;
    gap: 18px;
    padding: 0;
  }
}

/* Buttons */
.btn {
  --btn-bg: #fff;
  --btn-fg: var(--color-fg);
  --btn-bd: #e5eaf0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--btn-bd);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .06s ease, background .2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  --btn-bd: var(--color-primary);
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.btn-primary:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
.btn-ghost {
  background: #fff;
  color: var(--color-fg);
}
.btn-ghost:hover {
  background: #f2f6fb;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}
.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy .eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}
.hero-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 6px 0 10px;
}
.hero-subtitle {
  color: var(--color-muted);
  margin: 0 0 18px;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-art {
  justify-self: center;
  max-width: 360px;
  filter: drop-shadow(var(--shadow-md));
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0;
  }
  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
  }
  .hero-art {
    max-width: 420px;
  }
}

/* Value strip */
.value-strip {
  padding: 28px 0;
  border-top: 1px solid #e5eaf0;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
}
.strip-grid {
  display: grid;
  gap: 18px;
}
.strip-item {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: #fafcff;
  border: 1px solid #eaf0f7;
}
.strip-item .icon {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
  flex: 0 0 auto;
  margin-top: 2px;
}
.strip-title {
  margin: 0 0 4px;
  font-size: 1rem;
}
.strip-text {
  margin: 0;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Categories */
.categories {
  padding: 40px 0;
}
.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 14px;
}
.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 600px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cat-card {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eaf0f7;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #dbe7f5;
}
.cat-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}
.cat-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.cat-name {
  margin: 0;
  font-weight: 600;
}

/* Notify form */
.notify {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}
.notify-subtitle {
  color: var(--color-muted);
  margin: 0 0 12px;
}
.notify-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 1px solid #eaf0f7;
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.notify-form input {
  min-width: 220px;
  flex: 1 1 240px;
  border: 0;
  outline: none;
  padding: 10px 12px;
  border-radius: 8px;
}
.notify-form input::placeholder {
  color: #9aa7b6;
}
.form-note {
  color: var(--color-muted);
  font-size: .9rem;
  margin-top: 8px;
}

/* Toast */
.toast {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 100;
}
.toast-inner {
  background: #111827;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 80vw;
}
.toast-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

/* Footer */
.site-footer {
  background: #0b1220;
  color: #e5ecf6;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-columns {
  display: grid;
  gap: 14px;
}
.footer-title {
  margin: 0 0 10px;
  font-size: .95rem;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col a {
  color: #cdd7e6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 18px;
  color: #b6c1d4;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
