/* ============================================================
   TRUE NORTH PRECISION — Perplexity design system
   Light: bone cream + true turquoise
   Dark:  off-black + bright turquoise
   ============================================================ */

:root {
  /* --- Perplexity light palette --- */
  --bg:            #FBFAF4;   /* "Bone" — canvas */
  --bg-offset:     #F3F1E7;   /* "Offset" — section bands */
  --paper:         #FFFFFF;   /* cards / surfaces */
  --paper-2:       #FDFCF7;   /* subtle warm surface */

  --ink:           #091717;   /* near-black */
  --ink-2:         #2A3335;
  --muted:         #6B7271;
  --muted-2:       #9AA0A0;

  --teal:          #20808D;   /* "True Turquoise" */
  --teal-hover:    #186670;
  --teal-bright:   #1FB8CD;   /* "Turquoise" */
  --teal-soft:     #E7F1F2;
  --teal-ink:      #13343B;

  --line:          #E8E5D9;
  --line-strong:   #D3CEBE;
  --ring:          rgba(32,128,141,0.28);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;

  --shadow-1: 0 1px 2px rgba(9,23,23,0.04);
  --shadow-2: 0 2px 8px rgba(9,23,23,0.06), 0 1px 2px rgba(9,23,23,0.04);
  --shadow-3: 0 12px 40px rgba(9,23,23,0.10), 0 2px 8px rgba(9,23,23,0.06);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 44px);

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg:            #191A1A;
  --bg-offset:     #202222;
  --paper:         #252525;
  --paper-2:       #2A2C2C;

  --ink:           #F5F5F3;
  --ink-2:         #D7D9D7;
  --muted:         #A6AAA8;
  --muted-2:       #7A7E7C;

  --teal:          #1FB8CD;
  --teal-hover:    #1DA8BB;
  --teal-bright:   #2DCDE2;
  --teal-soft:     rgba(31,184,205,0.12);
  --teal-ink:      #7FDEE8;

  --line:          #333636;
  --line-strong:   #464A4A;
  --ring:          rgba(31,184,205,0.32);

  --shadow-1: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-2: 0 2px 8px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-3: 0 12px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
}

/* ---------- 2027 texture layer — bold aurora mesh + grain + subtle grid ---------- */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 10%, rgba(32,128,141,0.18), transparent 55%),
    radial-gradient(ellipse 50% 38% at 88% 18%, rgba(31,184,205,0.14), transparent 55%),
    radial-gradient(ellipse 65% 50% at 50% 100%, rgba(32,128,141,0.12), transparent 55%),
    radial-gradient(ellipse 40% 32% at 75% 75%, rgba(31,184,205,0.09), transparent 55%);
  filter: blur(60px);
  animation: auroraShift 24s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.11;
  mix-blend-mode: multiply;
}
html[data-theme="dark"] body::before {
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 10%, rgba(31,184,205,0.22), transparent 55%),
    radial-gradient(ellipse 50% 38% at 88% 18%, rgba(32,128,141,0.16), transparent 55%),
    radial-gradient(ellipse 65% 50% at 50% 100%, rgba(31,184,205,0.14), transparent 55%),
    radial-gradient(ellipse 40% 32% at 75% 75%, rgba(32,128,141,0.10), transparent 55%);
}
html[data-theme="dark"] body::after {
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: screen;
}
@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate3d(-3%, 2%, 0) scale(1.06) rotate(0.6deg); }
  66%  { transform: translate3d(2%, -2.5%, 0) scale(1.08) rotate(-0.4deg); }
  100% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.04) rotate(0.3deg); }
}
main, .nav, .footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Typography — sans-serif only, Perplexity-style ---------- */
h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 550;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.032em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 550; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; letter-spacing: -0.012em; }
p  { color: var(--ink-2); }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--teal);
  text-transform: none;
}

/* ---------- Container ---------- */
.container {
  width: min(var(--container), 100% - (2 * var(--gutter)));
  margin-inline: auto;
}
section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; display: inline-block; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1rem; max-width: 58ch; }

/* ============================================================ */
/* NAV                                                          */
/* ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0F1216;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.brand-text {
  font-size: 1rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 600;
}
.brand-text .small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 500;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-links a:hover { background: var(--bg-offset); color: var(--ink); }
.nav-links a.active { color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
  background: var(--paper);
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.mobile-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.mobile-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.mobile-toggle span::before, .mobile-toggle span::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.mobile-toggle span::before { top: -5px; } .mobile-toggle span::after { top: 5px; }

/* ============================================================ */
/* BUTTONS — clean rounded rectangles, not pills                */
/* ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 550;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: all 0.18s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-offset); border-color: var(--line-strong); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: 0.9; }
.btn-link {
  color: var(--teal); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-link:hover { color: var(--teal-hover); }
.btn-lg { padding: 13px 24px; font-size: 0.98rem; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }

.arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .arrow, a:hover .arrow { transform: translateX(2px); }

/* ============================================================ */
/* HERO — search-first, Perplexity centerpiece                  */
/* ============================================================ */
.hero {
  position: relative;
  padding: clamp(80px, 13vw, 160px) 0 clamp(24px, 5vw, 56px);
  overflow: hidden;
}
.hero.hero-compact { padding: clamp(48px, 7vw, 88px) 0 clamp(16px, 3vw, 32px); }
.hero-compact .hero-title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
.hero-compact .hero-sub { margin-bottom: 28px; }
.hero::before, .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(32,128,141,0.18), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(31,184,205,0.14), transparent 50%),
    radial-gradient(circle at 60% 90%, rgba(32,128,141,0.10), transparent 50%);
  filter: blur(40px);
  animation: orbFloat 22s ease-in-out infinite alternate;
}
.hero::after {
  background: linear-gradient(180deg, transparent 0%, var(--bg) 95%);
}
html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(31,184,205,0.22), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(31,184,205,0.16), transparent 50%),
    radial-gradient(circle at 60% 90%, rgba(32,128,141,0.12), transparent 50%);
}
@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(3%, -2%, 0); }
  100% { transform: translate3d(-2%, 3%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-title-accent {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 550;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* Quick strip — Perplexity-style stat row under hero */
.quickstrip-section { padding: 8px 0 40px; }
.quickstrip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 20px 32px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.quickstrip-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
.qs-num {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.qs-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}
.quickstrip-divider {
  width: 1px;
  background: var(--line);
  margin: 4px 0;
}
@media (max-width: 640px) {
  .quickstrip { padding: 14px 18px; }
  .qs-num { font-size: 1.05rem; }
  .qs-label { font-size: 0.68rem; }
}

/* Prompt bar — the Perplexity-style centerpiece */
.prompt-bar {
  position: relative;
  max-width: 720px;
  margin: 0 auto 20px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-3);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  overflow: hidden;
}
.prompt-bar:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--ring), var(--shadow-3);
}
.prompt-input {
  width: 100%;
  min-height: 64px;
  max-height: 220px;
  padding: 22px 22px 6px 22px;
  font-size: 1.02rem;
  font-family: inherit;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  resize: none;
  line-height: 1.5;
}
.prompt-input::placeholder { color: var(--muted-2); }
.prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 10px 10px;
  gap: 8px;
}
.prompt-tools-left { display: flex; gap: 4px; flex-wrap: wrap; }
.prompt-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.prompt-tool:hover {
  background: var(--teal-soft);
  border-color: var(--line);
  color: var(--teal);
}
.prompt-tool.active {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: var(--teal);
}
.prompt-submit {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  transition: all 0.18s var(--ease);
  flex-shrink: 0;
}
.prompt-submit:hover { background: var(--teal-hover); transform: scale(1.04); }

.search-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  max-width: 680px; margin: 0 auto;
}
.suggest-chip {
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 500;
  transition: all 0.15s var(--ease);
  cursor: pointer;
}
.suggest-chip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }

.search-results-pop {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  max-height: 420px; overflow-y: auto;
  z-index: 10;
  text-align: left;
}
.search-results-pop.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.12s var(--ease);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-offset); }
.search-result-thumb {
  width: 40px; height: 40px; border-radius: 8px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal);
  overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-meta { flex: 1; min-width: 0; }
.search-result-name { font-weight: 500; font-size: 0.92rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-cat { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.search-result-price { font-weight: 600; font-size: 0.9rem; color: var(--ink); }

/* ============================================================ */
/* FEATURE STRIP (replaces hero-stats + dark band)              */
/* ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  margin-top: 48px;
}
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 8px 12px;
}
.feature-item .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; color: var(--ink); }
.feature-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ============================================================ */
/* CATEGORY CARDS                                               */
/* ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 16px;
}
.cat-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.cat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.cat-card h3 { margin-bottom: 6px; font-weight: 600; }
.cat-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.cat-count {
  font-size: 0.82rem; color: var(--teal);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================ */
/* PRODUCT GRID                                                 */
/* ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.18s var(--ease);
  display: flex; flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.product-img {
  aspect-ratio: 1;
  background: var(--bg-offset);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-img.placeholder {
  background-color: var(--bg-offset);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(32,128,141,0.07), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(31,184,205,0.05), transparent 55%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
}
html[data-theme="dark"] .product-img.placeholder {
  background-image:
    radial-gradient(circle at 30% 20%, rgba(31,184,205,0.09), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(32,128,141,0.06), transparent 55%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
}
.product-img-initials {
  font-size: 1.8rem;
  color: var(--teal);
  letter-spacing: -0.03em;
  font-weight: 500;
  opacity: 0.85;
  position: relative; z-index: 1;
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.66rem;
  letter-spacing: 0;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.product-meta { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.product-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { font-size: 1rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.product-buy {
  padding: 6px 12px;
  background: var(--bg-offset);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.15s var(--ease);
}
.product-card:hover .product-buy { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ============================================================ */
/* PROCESS                                                      */
/* ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.process-step {
  position: relative;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.2s var(--ease);
  counter-increment: step;
}
.process-step:hover { border-color: var(--teal); }
.process-step .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 6px; font-weight: 600; }
.process-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

/* ============================================================ */
/* NEWSLETTER                                                   */
/* ============================================================ */
.newsletter {
  max-width: 620px; margin: 0 auto;
  text-align: center;
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { color: var(--muted); margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.newsletter-form:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--ring); }
.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: 0; outline: none;
  font-size: 0.95rem;
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--muted-2); }

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
.footer {
  background: var(--bg-offset);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: 0.88rem; max-width: 34ch; line-height: 1.55; }
.footer-col h4 {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.15s var(--ease);
  background: var(--paper);
}
.footer-socials a:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================ */
/* SHOP PAGE                                                    */
/* ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px 0 88px;
}
.page-header { padding: 48px 0 16px; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.page-header p { color: var(--muted); font-size: 0.98rem; max-width: 60ch; }

.filter-sidebar { position: sticky; top: 84px; align-self: start; }
.filter-group { margin-bottom: 28px; }
.filter-group h4 {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-list button {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: background 0.12s var(--ease);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 500;
}
.filter-list button:hover { background: var(--bg-offset); }
.filter-list button.active { background: var(--teal-soft); color: var(--teal); }
.filter-list .count { font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.shop-main .shop-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.shop-bar .count-text { color: var(--muted); font-size: 0.88rem; }
.shop-bar .sort-select {
  padding: 7px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}

.shop-search {
  position: relative;
  margin-bottom: 20px;
}
.shop-search input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.92rem;
  outline: none;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.shop-search input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--ring); }
.shop-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.load-more { display: flex; justify-content: center; margin-top: 40px; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }

/* ============================================================ */
/* PRODUCT DETAIL                                               */
/* ============================================================ */
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: 32px 0 88px;
}
.product-gallery { display: flex; flex-direction: column; gap: 10px; }
.product-gallery-main {
  aspect-ratio: 1;
  background: var(--bg-offset);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid; place-items: center;
  position: relative;
}
.product-gallery-main.placeholder {
  background-color: var(--bg-offset);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(32,128,141,0.08), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(31,184,205,0.06), transparent 55%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}
html[data-theme="dark"] .product-gallery-main.placeholder {
  background-image:
    radial-gradient(circle at 30% 20%, rgba(31,184,205,0.10), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(32,128,141,0.06), transparent 55%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
}
.product-gallery-main .product-img-initials { font-size: 4.5rem; }
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-offset);
  display: grid; place-items: center;
  color: var(--teal);
  font-weight: 500;
  font-size: 1.1rem;
  opacity: 0.75;
  overflow: hidden;
}

.product-info .breadcrumb {
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 18px;
}
.product-info .breadcrumb a:hover { color: var(--teal); }
.product-info h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
  font-weight: 600;
}
.product-info .product-cat-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.78rem;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 500;
}
.product-info .product-price-big {
  font-size: 1.9rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-weight: 600;
}
.product-info .description {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.96rem;
}

.spec-table {
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.spec-row {
  display: flex;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.spec-row .spec-label {
  flex: 0 0 140px;
  color: var(--muted);
  font-weight: 500;
}
.spec-row .spec-val { color: var(--ink); }

.buy-buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.buy-note {
  padding: 12px 16px;
  background: var(--teal-soft);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--teal-ink);
  border-left: 3px solid var(--teal);
}
.image-disclaimer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

/* ============================================================ */
/* CONTENT PAGES                                                */
/* ============================================================ */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 88px;
}
.content-page h1 { margin-bottom: 20px; font-weight: 600; }
.content-page p, .content-page li { color: var(--ink-2); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.content-page h2 { margin-top: 40px; margin-bottom: 14px; font-weight: 600; }
.content-page h3 { margin-top: 28px; margin-bottom: 10px; }
.content-page ul, .content-page ol { padding-left: 22px; margin-bottom: 20px; }
.content-page ul li, .content-page ol li { margin-bottom: 6px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.value-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.value-card svg { color: var(--teal); margin-bottom: 14px; }
.value-card h3 { margin-bottom: 6px; font-size: 1.05rem; font-weight: 600; }
.value-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px 0 88px;
  align-items: start;
}
.contact-info h1 { margin-bottom: 14px; font-weight: 600; }
.contact-info > p { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.contact-detail {
  display: flex; gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-detail h4 { font-size: 0.92rem; margin-bottom: 2px; font-weight: 600; }
.contact-detail p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.contact-form {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  outline: none;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  font-family: inherit;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--ring);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1024px) {
  .cat-grid, .process-grid, .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 200px 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper);
    padding: 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    gap: 2px;
  }
  .nav-cta .btn-ghost { display: none; }
  .cat-grid, .process-grid, .feature-strip, .products-grid, .shop-grid, .values-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

.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; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.fade-in { animation: fadeIn 0.4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
