:root {
  --hue: 199;
  --c-900: hsl(var(--hue) 62% 12%);
  --c-800: hsl(var(--hue) 58% 18%);
  --c-700: hsl(var(--hue) 66% 26%);
  --c-500: hsl(var(--hue) 58% 38%);
  --c-300: hsl(var(--hue) 40% 74%);
  --c-100: hsl(var(--hue) 44% 95%);
  --surface: #ffffff;
  --surface-alt: hsl(var(--hue) 20% 97%);
  --line: hsl(var(--hue) 22% 87%);
  --text: hsl(var(--hue) 18% 17%);
  --text-muted: hsl(var(--hue) 12% 38%);
  --text-invert: #ffffff;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --f-xs: 0.8125rem;
  --f-sm: 0.875rem;
  --f-base: 1rem;
  --f-md: 1.25rem;
  --f-lg: 1.5625rem;
  --f-xl: 1.953rem;
  --f-2xl: 2.441rem;
  --f-3xl: 3.052rem;

  --container: 1200px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--f-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--c-900);
}

p { margin: 0; }

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

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

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--c-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.topbar {
  background: var(--c-900);
  color: hsl(var(--hue) 30% 88%);
  font-size: var(--f-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.topbar-nav {
  display: flex;
  gap: var(--s-5);
  list-style: none;
}

.topbar-nav a { display: inline-block; padding: var(--s-3) 0; }

.topbar-nav a:hover,
.topbar-contact a:hover { color: #fff; text-decoration: underline; }

.topbar-contact {
  display: flex;
  gap: var(--s-5);
}

.masthead {
  background: var(--c-800);
  color: var(--text-invert);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead .container {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: var(--f-md);
  letter-spacing: -0.01em;
  padding: var(--s-2) 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--c-300);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 55% -10% -10% -10%;
  background: var(--c-700);
  border-radius: 50% 50% 0 0;
}

.mainnav { margin-left: auto; }

.mainnav ul {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
}

.mainnav a,
.mainnav .navlabel {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-3);
  font-size: var(--f-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: hsl(var(--hue) 30% 92%);
  cursor: pointer;
}

.mainnav a:hover,
.mainnav .navlabel:hover,
.mainnav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--c-300);
}

.has-menu { position: relative; }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px hsl(var(--hue) 40% 12% / 0.18);
  display: none;
  flex-direction: column;
  padding: var(--s-2) 0;
}

.has-menu:hover .submenu,
.has-menu:focus-within .submenu { display: flex; }

.submenu a {
  color: var(--text);
  min-height: 48px;
  padding: 0 var(--s-4);
  box-shadow: none;
}

.submenu a:hover {
  background: var(--c-100);
  color: var(--c-700);
  box-shadow: none;
}

.utility {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-left: var(--s-4);
  border-left: 1px solid hsl(var(--hue) 30% 100% / 0.22);
}

.currency {
  display: flex;
  border: 1px solid hsl(var(--hue) 30% 100% / 0.4);
  border-radius: var(--radius);
  overflow: hidden;
}

.currency button {
  min-width: 52px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: var(--f-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.currency button[aria-pressed="true"] {
  background: #fff;
  color: var(--c-800);
}

.cart {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 48px;
  font-size: var(--f-sm);
  font-weight: 600;
}

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(120% 90% at 82% 12%, hsl(var(--hue) 52% 42% / 0.85), transparent 62%),
    linear-gradient(158deg, var(--c-700) 0%, var(--c-900) 68%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -5% -18% -5%;
  height: 62%;
  background:
    repeating-linear-gradient(90deg, hsl(var(--hue) 40% 100% / 0.07) 0 2px, transparent 2px 26px),
    radial-gradient(60% 100% at 20% 0%, hsl(var(--hue) 50% 70% / 0.35), transparent 70%);
  transform: skewY(-3deg);
}

.hero .container {
  position: relative;
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
  max-width: var(--container);
}

.hero-inner { max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-300);
  margin-bottom: var(--s-4);
}

.section .eyebrow { color: var(--c-500); }

.section .eyebrow::before { background: var(--c-500); }

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-300);
}

.hero h1 {
  color: #fff;
  font-size: var(--f-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-5);
}

.hero p {
  font-size: var(--f-md);
  line-height: 1.6;
  color: hsl(var(--hue) 30% 90%);
  max-width: 48ch;
  margin-bottom: var(--s-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--s-6);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Archivo", sans-serif;
  font-size: var(--f-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: var(--c-800);
}

.btn-primary:hover { background: var(--c-100); }

.btn-outline {
  background: transparent;
  border-color: var(--c-500);
  color: var(--c-700);
}

.btn-outline:hover {
  background: var(--c-700);
  border-color: var(--c-700);
  color: #fff;
}

.strip {
  background: var(--c-900);
  color: #fff;
}

.strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.strip li {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
  border-right: 1px solid hsl(var(--hue) 30% 100% / 0.14);
}

.strip li:last-child { border-right: 0; }

.strip b {
  font-family: "Archivo", sans-serif;
  font-size: var(--f-sm);
  letter-spacing: 0.02em;
}

.strip span {
  font-size: var(--f-xs);
  color: hsl(var(--hue) 26% 82%);
}

.section { padding: var(--s-9) 0; }

.section-alt { background: var(--surface-alt); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}

.section-head h2 {
  font-size: var(--f-2xl);
  font-weight: 800;
}

.section-head p {
  color: var(--text-muted);
  max-width: 46ch;
  margin-top: var(--s-3);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}

.filters button {
  min-height: 48px;
  padding: 0 var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--f-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.filters button:hover { border-color: var(--c-500); color: var(--c-700); }

.filters button[aria-pressed="true"] {
  background: var(--c-800);
  border-color: var(--c-800);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card:hover {
  border-color: var(--c-500);
  box-shadow: 0 14px 30px hsl(var(--hue) 40% 20% / 0.1);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--c-100);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  flex: 1;
}

.card-cat {
  font-size: var(--f-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-500);
}

.card h3 {
  font-size: var(--f-base);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  font-size: var(--f-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.card-price {
  margin-top: auto;
  padding-top: var(--s-3);
  font-family: "Archivo", sans-serif;
  font-size: var(--f-md);
  font-weight: 800;
  color: var(--c-700);
  letter-spacing: -0.01em;
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.cat {
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  padding: var(--s-4);
  border-radius: var(--radius);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, var(--c-500), var(--c-800));
}

.cat:nth-child(even) { background: linear-gradient(180deg, var(--c-700), var(--c-900)); }

.cat:hover { filter: brightness(1.08); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
}

.split h2 { font-size: var(--f-xl); margin-bottom: var(--s-4); }

.split p { color: var(--text-muted); }

.spec {
  list-style: none;
  display: grid;
  gap: var(--s-3);
}

.spec li {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--f-sm);
}

.spec b {
  font-family: "Archivo", sans-serif;
  color: var(--c-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--f-xs);
}

.page-head {
  background: var(--c-800);
  color: #fff;
  padding: var(--s-8) 0;
}

.page-head h1 {
  color: #fff;
  font-size: var(--f-2xl);
  font-weight: 800;
}

.page-head p {
  margin-top: var(--s-3);
  color: hsl(var(--hue) 28% 88%);
  max-width: 60ch;
}

.doc {
  max-width: 780px;
  padding: var(--s-9) var(--s-5);
  margin: 0 auto;
}

.doc h2 {
  font-size: var(--f-lg);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
}

.doc h2:first-of-type { margin-top: 0; }

.doc h3 {
  font-size: var(--f-md);
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
}

.doc p { margin-bottom: var(--s-4); }

.doc ul {
  padding-left: var(--s-5);
  margin-bottom: var(--s-4);
  display: grid;
  gap: var(--s-2);
}

.doc li { list-style: disc; }

.doc a { color: var(--c-700); text-decoration: underline; }

.callout {
  border-left: 4px solid var(--c-500);
  background: var(--c-100);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
}

.footer {
  background: var(--c-900);
  color: hsl(var(--hue) 26% 84%);
  padding: var(--s-9) 0 var(--s-6);
  font-size: var(--f-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-7);
}

.footer h4 {
  color: #fff;
  font-size: var(--f-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.footer ul { list-style: none; display: grid; gap: var(--s-2); }

.footer a:hover { color: #fff; text-decoration: underline; }

.footer .logo { color: #fff; margin-bottom: var(--s-4); }

.footer-note {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid hsl(var(--hue) 30% 100% / 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  font-size: var(--f-xs);
  color: hsl(var(--hue) 20% 76%);
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mainnav { display: none; }
}

@media (max-width: 720px) {
  :root { --f-3xl: 2.25rem; --f-2xl: 1.85rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--s-8) 0; }
  .hero .container { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .topbar-nav { display: none; }
  .spec li { grid-template-columns: 1fr; gap: var(--s-1); }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .strip ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
