:root {
  --black: #050403;
  --black-2: #0d0a08;
  --ink: #1f1b18;
  --cream: #e3c9a6;
  --cream-2: #d4ad7a;
  --muted: #b8aa99;
  --copper: #c58a47;
  --copper-2: #e0ae68;
  --copper-on-cream: #714016;
  --sage: #788a75;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

[data-theme="light"] {
  --black: #fbf1e3;
  --black-2: #efe0cc;
  --ink: #21160f;
  --cream: #ead0aa;
  --cream-2: #d8b17e;
  --muted: #735f49;
  --copper: #a8652c;
  --copper-2: #c9843e;
  --copper-on-cream: #714016;
  --sage: #66765d;
  --line: rgba(78, 49, 27, 0.18);
  --shadow: 0 22px 55px rgba(84, 51, 25, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--black);
  color: #fffaf0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

[data-theme="light"] body {
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(5, 4, 3, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .site-header {
  background: rgba(251, 241, 227, 0.9);
  border-bottom-color: rgba(78, 49, 27, 0.14);
}

.brand {
  display: inline-grid;
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.brand span {
  font-size: 2.25rem;
  color: #fffaf0;
}

[data-theme="light"] .brand span {
  color: var(--ink);
}

.brand strong {
  font-size: 1.3rem;
  color: var(--copper-2);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
}

[data-theme="light"] .site-nav {
  color: rgba(33, 22, 15, 0.76);
}

.site-nav a {
  padding: 12px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--copper-2);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 250, 240, 0.86);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-toggle-track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #1b1510;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.theme-toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--copper-2);
  transition: transform 160ms ease;
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(78, 49, 27, 0.2);
  background: rgba(255, 255, 255, 0.5);
  color: rgba(33, 22, 15, 0.78);
}

[data-theme="light"] .theme-toggle-track {
  background: #f4e2c9;
  box-shadow: inset 0 0 0 1px rgba(78, 49, 27, 0.24);
}

[data-theme="light"] .theme-toggle-dot {
  transform: translateX(16px);
}

.header-cta,
.button.primary {
  background: linear-gradient(180deg, var(--copper-2), var(--copper));
  color: #150d07;
  box-shadow: 0 14px 34px rgba(197, 138, 71, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fffaf0;
}

[data-theme="light"] .button.secondary {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(78, 49, 27, 0.28);
  color: var(--ink);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(500px, 72svh, 680px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.99) 0%, rgba(5, 4, 3, 0.96) 48%, rgba(5, 4, 3, 0.36) 100%),
    url("assets/coffee-ritual.webp") center right / cover;
}

[data-theme="light"] .hero {
  background:
    linear-gradient(90deg, rgba(251, 241, 227, 0.97) 0%, rgba(239, 224, 204, 0.9) 48%, rgba(239, 224, 204, 0.28) 100%),
    url("assets/coffee-ritual.webp") center right / cover;
}

@media (max-width: 980px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.99) 0%, rgba(5, 4, 3, 0.96) 48%, rgba(5, 4, 3, 0.36) 100%),
      url("assets/coffee-ritual-720.webp") center right / cover;
  }

  [data-theme="light"] .hero {
    background:
      linear-gradient(90deg, rgba(251, 241, 227, 0.97) 0%, rgba(239, 224, 204, 0.9) 48%, rgba(239, 224, 204, 0.28) 100%),
      url("assets/coffee-ritual-720.webp") center right / cover;
  }
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 26% 36%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 68% 22%, rgba(197, 138, 71, 0.16) 0 1px, transparent 1px);
  background-size: 28px 28px, 34px 34px;
}

[data-theme="light"] .hero-noise {
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 26% 36%, rgba(80, 49, 27, 0.11) 0 1px, transparent 1px),
    radial-gradient(circle at 68% 22%, rgba(168, 101, 44, 0.16) 0 1px, transparent 1px);
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(26px, 3.2vw, 44px) 0 clamp(28px, 4vw, 52px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow-wrap: normal;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.05;
}

.hero-lead {
  max-width: 550px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

[data-theme="light"] .hero-lead {
  color: rgba(33, 22, 15, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-rating {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 530px;
  margin: 38px 0 0;
}

.hero-rating div {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .hero-rating div {
  background: rgba(255, 255, 255, 0.36);
}

.hero-rating dt {
  color: #fffaf0;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

[data-theme="light"] .hero-rating dt {
  color: var(--ink);
}

.hero-rating dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 18%;
  width: 66%;
  height: 42%;
  background: rgba(197, 138, 71, 0.22);
  filter: blur(48px);
}

.hero-visual img {
  position: relative;
  width: min(390px, 90%);
  max-height: 70svh;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.62));
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid rgba(197, 138, 71, 0.35);
  border-bottom: 1px solid rgba(77, 45, 22, 0.14);
}

.benefit-strip article {
  min-height: 190px;
  padding: clamp(22px, 3.4vw, 46px);
  border-right: 1px solid rgba(77, 45, 22, 0.16);
}

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

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(197, 138, 71, 0.55);
  border-radius: 999px;
  color: var(--copper);
  font-size: 0.95rem;
  font-weight: 950;
}

.benefit-strip .line-icon {
  color: var(--copper-on-cream);
}

.benefit-strip h2 {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.benefit-strip p {
  max-width: 240px;
  margin: 10px 0 0;
  color: rgba(31, 27, 24, 0.7);
  font-size: 0.94rem;
}

[data-theme="light"] .benefit-strip {
  background: #f1ddbe;
}

.product-section {
  background:
    linear-gradient(180deg, #11100e 0%, var(--black) 100%);
  padding: clamp(56px, 7vw, 108px) clamp(18px, 4vw, 54px);
}

[data-theme="light"] .product-section {
  background:
    linear-gradient(180deg, #f5e3c9 0%, #fbf1e3 100%);
}

.section-copy {
  width: min(1180px, 100%);
  margin: 0 auto clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: end;
}

.section-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

[data-theme="light"] .section-copy p:last-child {
  color: rgba(33, 22, 15, 0.7);
}

.product-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(330px, 0.72fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0908;
  box-shadow: var(--shadow);
}

[data-theme="light"] .product-shell {
  background: #ead0aa;
}

.product-photo {
  min-height: 590px;
  display: grid;
  place-items: center;
  padding: clamp(24px, 3vw, 44px);
  background:
    radial-gradient(circle at 50% 76%, rgba(197, 138, 71, 0.24), transparent 34%),
    linear-gradient(180deg, #14100d 0%, #090705 100%);
}

.product-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.5));
}

/* --- Ambient coffee atmosphere behind the pack: warm glow drift + rising steam --- */
.product-photo,
.page-product-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-photo::before,
.page-product-photo::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: radial-gradient(closest-side at 50% 60%,
    rgba(224, 174, 104, 0.24), rgba(197, 138, 71, 0.09) 46%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.product-photo::after,
.page-product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(30% 16% at 50% 12%, rgba(255, 243, 225, 0.30), transparent 72%),
    radial-gradient(20% 26% at 50% 26%, rgba(255, 240, 220, 0.15), transparent 70%),
    radial-gradient(13% 30% at 9% 48%, rgba(255, 246, 232, 0.18), transparent 72%),
    radial-gradient(12% 26% at 91% 44%, rgba(255, 246, 232, 0.15), transparent 72%);
  filter: blur(14px);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .product-photo::before,
  .page-product-photo::before {
    animation: pack-glow-drift 17s ease-in-out infinite alternate;
  }

  .product-photo::after,
  .page-product-photo::after {
    animation: pack-steam 10s ease-in-out infinite;
  }
}

@keyframes pack-glow-drift {
  0%   { transform: translate(-5%, 4%) scale(1);    opacity: 0.82; }
  50%  { transform: translate(4%, -3%) scale(1.07); opacity: 1; }
  100% { transform: translate(-2%, 5%) scale(1.02); opacity: 0.9; }
}

@keyframes pack-steam {
  0%   { transform: translateY(10%) scale(0.98);  opacity: 0; }
  30%  { opacity: 0.85; }
  65%  { opacity: 0.5; }
  100% { transform: translateY(-12%) scale(1.06); opacity: 0; }
}

.product-buy {
  padding: clamp(30px, 5vw, 58px);
  background: var(--cream);
  color: var(--ink);
}

.product-buy .eyebrow {
  color: var(--copper-on-cream);
}

.product-buy h3 {
  max-width: 8.5em;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.stars {
  margin: 0;
  color: var(--copper);
  font-weight: 900;
}

.stars span {
  color: rgba(31, 27, 24, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.clean-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
  color: rgba(31, 27, 24, 0.78);
  font-weight: 750;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
}

.price-row {
  display: grid;
  gap: 4px;
  margin: 28px 0;
  padding-top: 26px;
  border-top: 1px solid rgba(31, 27, 24, 0.16);
}

.price-row strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.old-price,
.variant-old-price {
  color: rgba(31, 27, 24, 0.52);
  font-weight: 850;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.old-price {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.price-row span {
  color: rgba(31, 27, 24, 0.78);
  font-weight: 750;
}

.price-row .old-price {
  color: rgba(31, 27, 24, 0.52);
}

.cart-row {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 12px;
}

.cart-row--single {
  grid-template-columns: 1fr;
}

.qty {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  min-height: 50px;
  border: 1px solid rgba(31, 27, 24, 0.22);
  background: rgba(255, 255, 255, 0.35);
}

.qty button,
.qty output {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.qty button {
  cursor: pointer;
}

.taste-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  align-items: center;
  background: var(--cream);
  color: var(--ink);
}

[data-theme="light"] .taste-section,
[data-theme="light"] .contact-section {
  background: #f0d7b5;
}

.taste-image {
  height: 100%;
  min-height: 640px;
  background: #0b0908;
  overflow: hidden;
}

.taste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.taste-copy {
  padding: clamp(42px, 7vw, 96px) clamp(22px, 6vw, 84px);
}

.taste-copy .eyebrow {
  color: var(--copper-on-cream);
}

.taste-copy > p {
  max-width: 680px;
  color: rgba(31, 27, 24, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.taste-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.taste-grid article {
  min-height: 140px;
  padding: 22px;
  border: 1px solid rgba(31, 27, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.42);
}

.taste-grid h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.taste-grid p {
  margin: 10px 0 0;
  color: rgba(31, 27, 24, 0.68);
}

.ritual-section {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #070504;
  border-block: 1px solid rgba(197, 138, 71, 0.24);
}

.ritual-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ritual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 4, 3, 0.92) 0%, rgba(5, 4, 3, 0.74) 42%, rgba(5, 4, 3, 0.16) 100%);
}

.ritual-copy {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 120px);
}

.ritual-copy p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.ritual-copy .button {
  margin-top: 24px;
}

[data-theme="light"] .ritual-section::after {
  background: linear-gradient(90deg, rgba(251, 241, 227, 0.94) 0%, rgba(239, 224, 204, 0.72) 42%, rgba(33, 22, 15, 0.2) 100%);
}

[data-theme="light"] .ritual-copy p:not(.eyebrow) {
  color: rgba(33, 22, 15, 0.76);
}

.business-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 90px);
  padding: clamp(64px, 9vw, 132px) clamp(18px, 7vw, 98px);
  overflow: hidden;
  background: #070504;
  border-block: 1px solid rgba(197, 138, 71, 0.26);
}

.business-section::before,
.business-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.business-section::before {
  z-index: -2;
  background: url("assets/coffee-ritual.webp") center right / cover;
  opacity: 0.34;
}

.business-section::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.9) 46%, rgba(5, 4, 3, 0.74) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.2), rgba(5, 4, 3, 0.72));
}

.business-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.business-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 32px;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.business-points {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 4, 3, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.business-points article {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.business-points span {
  display: block;
  color: var(--copper-2);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.business-points p {
  margin: 10px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.reviews-section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 54px);
  background: #0b0908;
}

[data-theme="light"] .reviews-section {
  background: #f8ead5;
}

.review-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-grid article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .review-grid article {
  border-color: rgba(78, 49, 27, 0.16);
  background: rgba(255, 248, 237, 0.66);
}

blockquote {
  margin: 16px 0 20px;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

[data-theme="light"] blockquote {
  color: rgba(33, 22, 15, 0.8);
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 7vw, 98px);
  background: var(--cream);
  color: var(--ink);
}

.contact-copy .eyebrow {
  color: var(--copper-on-cream);
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(31, 27, 24, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(31, 27, 24, 0.13);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.46);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(31, 27, 24, 0.78);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(31, 27, 24, 0.18);
  border-radius: 4px;
  background: #fffaf0;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 120px;
  padding: 14px;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.contact-form button {
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 32px clamp(18px, 4vw, 54px);
  background: #030302;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .site-footer {
  background: #26170e;
  color: #fffaf0;
  border-top-color: rgba(78, 49, 27, 0.16);
}

[data-theme="light"] .site-footer .brand span {
  color: #fffaf0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-mid {
  display: grid;
  gap: 6px;
}

.site-footer .footer-legal {
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0.85;
}

.site-footer .footer-contact a {
  color: var(--copper-2);
  font-weight: 850;
}

/* Light theme uses a dark footer, so the tagline needs a light color for AA contrast. */
[data-theme="light"] .site-footer p {
  color: rgba(255, 250, 240, 0.74);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.subpage main {
  background:
    radial-gradient(circle at 86% 10%, rgba(197, 138, 71, 0.16), transparent 28%),
    var(--black);
}

.page-hero,
.page-product,
.page-heading,
.page-grid,
.page-review-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  min-height: calc(82svh - 76px);
  padding: clamp(52px, 8vw, 112px) 0;
}

.page-hero h1,
.page-heading h1,
.page-product h1 {
  white-space: normal;
}

.page-hero p:not(.eyebrow),
.page-heading p:not(.eyebrow),
.page-product-copy > p {
  max-width: 640px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.page-hero img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 clamp(62px, 8vw, 110px);
}

.page-grid article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.page-grid h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.page-grid p {
  color: var(--muted);
}

.page-product {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  min-height: calc(86svh - 76px);
  padding: clamp(52px, 8vw, 112px) 0;
}

.page-product-photo {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 76%, rgba(197, 138, 71, 0.24), transparent 34%),
    linear-gradient(180deg, #14100d 0%, #090705 100%);
}

.page-product-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.5));
}

.page-product-copy .button {
  margin-top: 8px;
}

.page-product-copy .clean-list {
  color: rgba(255, 250, 240, 0.78);
}

[data-theme="light"] .page-product-copy .clean-list {
  color: rgba(33, 22, 15, 0.78);
}

.page-heading {
  padding: clamp(56px, 8vw, 112px) 0 clamp(24px, 5vw, 54px);
}

.page-review-grid {
  padding-bottom: clamp(62px, 8vw, 110px);
}

.standalone-contact {
  min-height: calc(86svh - 76px);
}

[data-theme="light"] .subpage main {
  background:
    radial-gradient(circle at 86% 10%, rgba(168, 101, 44, 0.13), transparent 28%),
    #fbf1e3;
}

[data-theme="light"] .page-hero p:not(.eyebrow),
[data-theme="light"] .page-heading p:not(.eyebrow),
[data-theme="light"] .page-product-copy > p,
[data-theme="light"] .page-grid p {
  color: rgba(33, 22, 15, 0.72);
}

[data-theme="light"] .page-grid article {
  border-color: rgba(78, 49, 27, 0.16);
  background: rgba(255, 248, 237, 0.62);
}

[data-theme="light"] .page-product-photo {
  border-color: rgba(78, 49, 27, 0.16);
}

.sales-hero,
.sales-downloads,
.lead-board,
.sales-playbook {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: auto;
  padding: clamp(34px, 5vw, 58px) 0 clamp(22px, 4vw, 42px);
}

.sales-hero h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 4.8vw, 4.3rem);
  line-height: 0.98;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sales-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.12rem;
}

.sales-scoreboard,
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sales-scoreboard article,
.download-grid a,
.lead-board,
.pipeline-grid article,
.activity-grid article,
.playbook-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.sales-scoreboard article {
  min-height: 112px;
  padding: 18px;
}

.sales-scoreboard span {
  display: block;
  color: var(--copper-2);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 950;
  line-height: 0.95;
}

.sales-scoreboard p,
.download-grid small,
.pipeline-grid p,
.playbook-grid p,
.lead-board-head p:last-child,
.lead-company small,
.lead-meta,
.lead-contact span,
.lead-reason,
.lead-notes label,
.lead-empty {
  color: var(--muted);
}

.sales-downloads,
.sales-playbook {
  padding: clamp(26px, 4vw, 52px) 0;
}

.sales-downloads .section-copy,
.sales-playbook .section-copy {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.72fr);
}

.sales-downloads .section-copy h2,
.sales-playbook .section-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.download-grid a {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.download-grid a:hover,
.download-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(224, 174, 104, 0.58);
  background: rgba(197, 138, 71, 0.1);
}

.download-grid span,
.playbook-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(224, 174, 104, 0.42);
  border-radius: 4px;
  color: var(--copper-2);
  font-size: 0.76rem;
  font-weight: 950;
}

.download-grid strong {
  font-size: 1.2rem;
}

.lead-board {
  padding: clamp(18px, 3vw, 32px);
}

.lead-board-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.lead-board-head h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
}

.lead-board-head p:last-child {
  font-weight: 850;
}

.lead-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) repeat(3, minmax(150px, 0.32fr));
  gap: 10px;
  margin-top: 22px;
}

.lead-filters label,
.lead-notes label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-filters input,
.lead-filters select,
.lead-stage,
.lead-notes textarea,
.lead-notes input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fffaf0;
}

.lead-filters input,
.lead-filters select,
.lead-stage,
.lead-notes input {
  min-height: 42px;
  padding: 0 12px;
}

.lead-filters select option,
.lead-stage option {
  color: #1f1b18;
}

.lead-stage {
  min-width: 132px;
}

.activity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.activity-grid article {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.activity-grid span {
  color: var(--copper-2);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.activity-grid strong {
  font-size: 0.86rem;
  text-align: right;
  text-transform: uppercase;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pipeline-grid article {
  padding: 18px;
}

.pipeline-grid span {
  color: var(--copper-2);
  font-size: 2rem;
  font-weight: 950;
}

.pipeline-grid strong {
  display: block;
  margin-top: 4px;
}

.pipeline-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.lead-table-shell {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lead-table th:nth-child(1) { width: 62px; }
.lead-table th:nth-child(2) { width: 290px; }
.lead-table th:nth-child(3) { width: 230px; }
.lead-table th:nth-child(4) { width: 132px; }
.lead-table th:nth-child(5) { width: 148px; }
.lead-table th:nth-child(6) { width: 270px; }

.lead-table tbody tr:last-child td {
  border-bottom: 0;
}

.lead-table strong,
.lead-contact a,
.lead-actions a {
  color: #fffaf0;
}

.lead-score {
  display: inline-grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  border-radius: 4px;
  background: rgba(224, 174, 104, 0.16);
  color: var(--copper-2);
  font-weight: 950;
}

.lead-company {
  display: grid;
  min-width: 220px;
  gap: 4px;
}

.lead-company small,
.lead-meta,
.lead-contact span,
.lead-reason {
  font-size: 0.84rem;
}

.lead-reason {
  max-width: 340px;
}

.lead-contact,
.lead-notes {
  display: grid;
  gap: 7px;
}

.lead-checks {
  display: grid;
  gap: 7px;
}

.lead-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
}

.lead-checks input {
  width: 16px;
  height: 16px;
  accent-color: var(--copper-2);
}

.lead-notes textarea {
  min-height: 74px;
  min-width: 230px;
  padding: 10px;
  resize: vertical;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
}

.lead-actions a {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 900;
}

.lead-actions a:hover,
.lead-actions a:focus-visible {
  border-color: rgba(224, 174, 104, 0.58);
}

.lead-empty {
  padding: 30px !important;
  text-align: center !important;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.playbook-grid article {
  min-height: 210px;
  padding: 22px;
}

.playbook-grid h3 {
  margin-top: 18px;
}

[data-theme="light"] .sales-hero-copy > p:not(.eyebrow),
[data-theme="light"] .sales-scoreboard p,
[data-theme="light"] .download-grid small,
[data-theme="light"] .lead-board-head p:last-child,
[data-theme="light"] .lead-filters label,
[data-theme="light"] .lead-notes label,
[data-theme="light"] .pipeline-grid p,
[data-theme="light"] .playbook-grid p,
[data-theme="light"] .lead-company small,
[data-theme="light"] .lead-meta,
[data-theme="light"] .lead-contact span,
[data-theme="light"] .lead-reason,
[data-theme="light"] .lead-empty {
  color: rgba(33, 22, 15, 0.7);
}

[data-theme="light"] .sales-scoreboard article,
[data-theme="light"] .download-grid a,
[data-theme="light"] .lead-board,
[data-theme="light"] .pipeline-grid article,
[data-theme="light"] .activity-grid article,
[data-theme="light"] .playbook-grid article,
[data-theme="light"] .lead-table-shell {
  border-color: rgba(78, 49, 27, 0.16);
  background: rgba(255, 248, 237, 0.66);
  box-shadow: 0 18px 52px rgba(84, 51, 25, 0.12);
}

[data-theme="light"] .lead-filters input,
[data-theme="light"] .lead-filters select,
[data-theme="light"] .lead-stage,
[data-theme="light"] .lead-notes textarea,
[data-theme="light"] .lead-notes input {
  border-color: rgba(78, 49, 27, 0.18);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
}

[data-theme="light"] .lead-table th {
  background: rgba(78, 49, 27, 0.06);
}

[data-theme="light"] .lead-table strong,
[data-theme="light"] .lead-contact a,
[data-theme="light"] .lead-actions a,
[data-theme="light"] .lead-checks label {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity 620ms ease, transform 620ms ease;
  }

  .hero-visual img,
  .page-product-photo img {
    animation: pack-float 6s ease-in-out infinite;
  }

  .line-icon,
  .theme-toggle-dot {
    transition: transform 180ms ease, background 180ms ease;
  }

  .benefit-strip article:hover .line-icon,
  .page-grid article:hover .line-icon {
    transform: translateY(-3px);
  }

  .ritual-section img {
    animation: ritual-drift 14s ease-in-out infinite alternate;
  }
}

@keyframes pack-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.4deg);
  }
}

@keyframes ritual-drift {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.06) translateX(-18px);
  }
}

@media (max-width: 980px) {
  [id] {
    scroll-margin-top: 80px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    min-height: 68px;
    padding-inline: 18px;
  }

  .brand span {
    font-size: 1.95rem;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 26;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fffaf0;
  }

  [data-theme="light"] .menu-toggle {
    border-color: rgba(78, 49, 27, 0.2);
    background: rgba(255, 255, 255, 0.45);
  }

  [data-theme="light"] .menu-toggle span {
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    grid-column: 1 / -1;
    inset: 68px 0 auto 0;
    z-index: 25;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(5, 4, 3, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  [data-theme="light"] .site-nav {
    background: rgba(251, 241, 227, 0.98);
    border-bottom-color: rgba(78, 49, 27, 0.16);
  }

  body.menu-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  [data-theme="light"] .site-nav a {
    border-bottom-color: rgba(78, 49, 27, 0.12);
  }

  .header-cta {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.74rem;
  }

  .theme-toggle {
    min-height: 44px;
  }

  .hero {
    min-height: clamp(420px, 60svh, 560px);
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
    align-content: start;
    padding: 24px 0 28px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  h1 {
    font-size: clamp(3.6rem, 15vw, 5.7rem);
  }

  .hero-lead {
    max-width: 430px;
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-rating {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
  }

  .hero-rating div {
    padding: 12px;
  }

  .hero-rating dt {
    font-size: 1.15rem;
  }

  .hero-visual {
    position: absolute;
    right: 0;
    bottom: 4px;
    min-height: 0;
    width: min(46vw, 210px);
    opacity: 0.26;
    z-index: 1;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    max-height: 48svh;
  }

  .benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-strip article {
    min-height: 168px;
  }

  .section-copy,
  .product-shell,
  .taste-section,
  .business-section,
  .contact-section,
  .page-hero,
  .page-product,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-photo {
    min-height: 460px;
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    max-height: 460px;
  }

  .taste-image {
    min-height: 420px;
  }

  .business-points,
  .review-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .ritual-section {
    min-height: 540px;
  }

  .ritual-copy {
    margin-inline: auto;
  }

  .page-hero,
  .page-product {
    min-height: auto;
  }

  .page-hero img {
    min-height: 340px;
  }

  .page-product-photo {
    min-height: 460px;
  }

  .page-product-photo img {
    max-height: 460px;
  }

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .theme-toggle {
    padding-inline: 10px;
  }

  .site-nav {
    inset-block-start: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 520px);
    padding: 20px 0 30px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-rating {
    max-width: 340px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-rating div:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    display: grid;
    width: min(82%, 300px);
    margin: 18px auto 0;
    opacity: 1;
  }

  .hero-visual img {
    max-height: 360px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-strip article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 27, 24, 0.1);
  }

  .benefit-strip article:last-child {
    border-bottom: 0;
  }

  .product-section,
  .reviews-section {
    padding-inline: 14px;
  }

  .product-buy {
    padding: 26px 18px;
  }

  .product-buy h3 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .qty {
    width: 148px;
  }

  .taste-grid,
  .business-points,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .taste-image {
    min-height: 340px;
  }

  .business-section,
  .contact-section {
    padding-inline: 18px;
  }

  .review-grid article {
    min-height: 0;
  }

  .ritual-section {
    min-height: 520px;
  }

  .page-hero,
  .page-product,
  .page-heading,
  .page-grid,
  .page-review-grid {
    width: min(100% - 28px, 520px);
  }

  .page-hero img {
    min-height: 260px;
  }

  .standalone-contact {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .sales-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lead-board-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .download-grid,
  .playbook-grid,
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-filters,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .sales-hero,
  .sales-downloads,
  .lead-board,
  .sales-playbook {
    width: min(100% - 28px, 520px);
  }

  .sales-scoreboard,
  .download-grid,
  .activity-grid,
  .playbook-grid {
    grid-template-columns: 1fr;
  }

  .sales-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .lead-board {
    padding: 16px;
  }

  .lead-table {
    min-width: 1080px;
  }
}

/* Sales CRM mockup */
.sales-app {
  background: #f4f6f8;
  color: #172033;
  font-size: 14px;
  line-height: 1.45;
}

.sales-app h1,
.sales-app h2,
.sales-app h3,
.sales-app p {
  overflow-wrap: normal;
}

.crm-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  background: #f4f6f8;
}

.crm-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 14px;
  border-right: 1px solid #dde3eb;
  background: #fff;
}

.crm-brand {
  display: grid;
  line-height: 0.86;
  font-weight: 950;
  color: #172033;
}

.crm-brand span {
  font-size: 2rem;
}

.crm-brand strong {
  color: #a8652c;
  font-size: 1.16rem;
}

.crm-nav {
  display: grid;
  gap: 6px;
}

.crm-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #5c667a;
  font-weight: 800;
}

.crm-nav a:hover,
.crm-nav a:focus-visible,
.crm-nav a.active {
  background: #f1f5f9;
  color: #172033;
}

.crm-nav a.active {
  box-shadow: inset 3px 0 0 #a8652c;
}

.crm-side-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.crm-side-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-side-card strong {
  display: block;
  margin-top: 4px;
  color: #172033;
}

.crm-side-card p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
}

.crm-main {
  min-width: 0;
  padding: clamp(14px, 1.6vw, 22px);
}

.crm-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.crm-kicker {
  margin: 0 0 5px;
  color: #a8652c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crm-topbar h1,
.crm-panel-head h2 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.15;
  white-space: normal;
}

.crm-topbar p:last-child {
  margin: 6px 0 0;
  color: #64748b;
  font-weight: 750;
}

.crm-top-actions,
.crm-panel-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.crm-top-actions a,
.crm-top-actions button,
.crm-panel-tools a,
.lead-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #263244;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.crm-top-actions a:first-child,
.crm-top-actions button:first-child,
.crm-panel-tools a:last-child {
  border-color: #a8652c;
  background: #a8652c;
  color: #fff;
}

.crm-metrics,
.crm-status-grid,
.crm-priority-grid {
  display: grid;
  gap: 12px;
}

.crm-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.crm-day-plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.crm-forecast {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.crm-metrics article,
.crm-status-grid article,
.crm-priority-grid article,
.crm-day-plan article,
.crm-forecast article,
.crm-panel {
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.crm-metrics article {
  padding: 14px;
}

.crm-day-plan article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px;
}

.crm-forecast article {
  padding: 14px;
  background: #172033;
  border-color: #172033;
}

.crm-metrics span,
.crm-status-grid span,
.crm-priority-grid span,
.crm-day-plan span {
  color: #172033;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.crm-forecast span {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.crm-metrics p,
.crm-status-grid strong,
.crm-priority-grid strong {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.crm-day-plan strong {
  display: block;
  color: #172033;
  font-size: 13px;
  line-height: 1.2;
}

.crm-day-plan p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.crm-forecast p {
  margin: 7px 0 0;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.crm-panel {
  padding: 16px;
}

.crm-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.crm-view-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #f8fafc;
}

.crm-view-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5c667a;
  cursor: pointer;
  font-weight: 850;
}

.crm-view-tabs button.active {
  background: #fff;
  color: #172033;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.crm-view-panel {
  display: none;
}

.crm-view-panel.active {
  display: block;
}

.crm-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 170px 160px;
  gap: 10px;
  margin-top: 0;
}

.sales-app .lead-filters label,
.sales-app .lead-notes label {
  gap: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sales-app .lead-filters input,
.sales-app .lead-filters select,
.sales-app .lead-stage,
.sales-app .lead-notes textarea,
.sales-app .lead-notes input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
}

.sales-app .lead-filters input,
.sales-app .lead-filters select,
.sales-app .lead-stage,
.sales-app .lead-notes input {
  min-height: 38px;
  padding: 0 10px;
}

.crm-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.crm-status-grid article,
.crm-priority-grid article {
  min-height: 70px;
  padding: 12px;
}

.crm-status-grid article {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.crm-status-grid strong {
  margin: 0;
  text-align: right;
}

.crm-priority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.crm-table-shell {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
}

.sales-app .lead-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: #172033;
  table-layout: fixed;
}

.sales-app .lead-table th,
.sales-app .lead-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
}

.sales-app .lead-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sales-app .lead-table tbody tr:hover {
  background: #f8fafc;
}

.sales-app .lead-table tbody tr {
  background: #fff;
}

.sales-app .lead-table th:nth-child(1),
.sales-app .lead-table td:nth-child(1) {
  width: 62px;
}

.sales-app .lead-table th:nth-child(2),
.sales-app .lead-table td:nth-child(2) {
  width: 24%;
}

.sales-app .lead-table th:nth-child(3),
.sales-app .lead-table td:nth-child(3) {
  width: 23%;
}

.sales-app .lead-table th:nth-child(4),
.sales-app .lead-table td:nth-child(4) {
  width: 132px;
}

.sales-app .lead-table th:nth-child(5),
.sales-app .lead-table td:nth-child(5) {
  width: 142px;
}

.sales-app .lead-table th:nth-child(6),
.sales-app .lead-table td:nth-child(6) {
  width: 250px;
}

.lead-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: #172033;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.lead-open:hover,
.lead-open:focus-visible {
  color: #a8652c;
  text-decoration: underline;
}

.sales-app .lead-table strong,
.sales-app .lead-contact a,
.sales-app .lead-actions a {
  color: #172033;
}

.sales-app .lead-score {
  min-width: 42px;
  min-height: 30px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
}

.sales-app .lead-company {
  min-width: 0;
  gap: 3px;
}

.sales-app .lead-company small,
.sales-app .lead-meta,
.sales-app .lead-contact span,
.sales-app .lead-reason {
  color: #64748b;
  font-size: 12px;
}

.sales-app .lead-reason {
  max-width: 270px;
}

.sales-app .lead-contact {
  gap: 4px;
}

.sales-app .lead-actions {
  gap: 6px;
  margin-top: 7px;
}

.sales-app .lead-actions a {
  min-height: 28px;
  padding: 0 8px;
  background: #f8fafc;
  font-size: 11px;
}

.sales-app .lead-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sales-app .lead-checks label {
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #dbe3ed;
  border-radius: 6px;
  background: #fff;
  color: #263244;
  font-size: 12px;
  font-weight: 800;
}

.sales-app .lead-checks input {
  width: 14px;
  height: 14px;
  accent-color: #a8652c;
}

.sales-app .lead-notes {
  gap: 6px;
  min-width: 0;
}

.sales-app .lead-notes textarea {
  width: 100%;
  min-height: 58px;
  min-width: 0;
  padding: 8px;
  box-sizing: border-box;
  line-height: 1.3;
  resize: vertical;
}

.sales-app .lead-notes input {
  width: 100%;
  box-sizing: border-box;
}

.sales-app .lead-empty {
  padding: 28px !important;
  color: #64748b;
  text-align: center !important;
}

.crm-kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.kanban-column {
  min-height: 420px;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #f8fafc;
}

.kanban-column header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #dde3eb;
}

.kanban-column header strong {
  color: #172033;
}

.kanban-column header span {
  display: inline-grid;
  min-width: 28px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.kanban-cards {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.kanban-card {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 11px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  text-align: left;
}

.kanban-card:hover,
.kanban-card:focus-visible {
  border-color: #a8652c;
}

.kanban-card span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 950;
}

.kanban-card strong {
  font-size: 13px;
}

.kanban-card small,
.kanban-card em,
.kanban-empty {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.kanban-empty {
  margin: 0;
  padding: 12px;
}

.crm-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 12px;
}

.crm-insights-grid > article {
  min-height: 360px;
  padding: 16px;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
}

.crm-insight-head span {
  color: #a8652c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.crm-insight-head strong {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: 18px;
}

.crm-bars,
.crm-playbook {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.crm-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(120px, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

.crm-bar-row strong,
.crm-bar-row span,
.crm-bar-row em {
  display: block;
}

.crm-bar-row strong {
  color: #172033;
  font-size: 13px;
}

.crm-bar-row span,
.crm-bar-row em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.crm-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.crm-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #a8652c;
}

.crm-playbook {
  padding-left: 20px;
  color: #475569;
  font-weight: 700;
}

.crm-playbook li {
  padding-left: 4px;
}

.crm-map-layout,
.crm-tools-grid,
.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 12px;
}

.crm-tools-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.8fr) minmax(320px, 1fr);
}

.crm-map-card,
.crm-tool-card,
.presentation-grid > article {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
}

.crm-lead-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.crm-map-city {
  min-height: 84px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 11px;
  border: 1px solid rgba(168, 101, 44, calc(0.28 + var(--strength) * 0.48));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.94)),
    linear-gradient(135deg, rgba(168, 101, 44, var(--strength)), rgba(23, 32, 51, calc(var(--strength) * 0.44)));
  color: #172033;
  cursor: pointer;
  text-align: left;
}

.crm-map-city:hover,
.crm-map-city:focus-visible,
.crm-route-row:hover,
.crm-route-row:focus-visible {
  border-color: #a8652c;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.crm-map-city strong,
.crm-route-row strong {
  color: #172033;
  font-size: 13px;
}

.crm-map-city span,
.crm-route-row p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.crm-route-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.crm-route-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.crm-route-row > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: #f1f5f9;
  color: #a8652c;
  font-weight: 950;
}

.crm-calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.crm-calculator label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-calculator input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  padding: 0 10px;
}

.crm-calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.crm-calc-results div {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.crm-calc-results span {
  color: #172033;
  font-size: 22px;
  font-weight: 950;
}

.crm-calc-results p,
.crm-tool-note {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
}

.crm-tool-note {
  margin-top: 14px;
  font-weight: 750;
}

.crm-offer-template {
  display: block;
  width: 100%;
  min-height: 250px !important;
  margin-top: 16px;
  box-sizing: border-box;
}

.crm-tool-card .copy-script {
  margin-top: 10px;
}

.crm-presentation {
  display: grid;
  gap: 12px;
}

.presentation-hero {
  padding: 22px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}

.presentation-hero h3 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.08;
}

.presentation-hero p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: #dbe3ed;
  font-size: 15px;
}

.presentation-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.presentation-metrics article {
  padding: 15px;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
}

.presentation-metrics span {
  color: #172033;
  font-size: 26px;
  font-weight: 950;
}

.presentation-metrics p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.lead-drawer.open {
  display: block;
}

.lead-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.32);
  cursor: pointer;
}

.lead-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.16);
}

.lead-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.lead-drawer-head h2 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.1;
}

.lead-drawer-head p:last-child {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 13px;
}

.lead-drawer-head button {
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.lead-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.lead-detail-actions a,
.lead-detail-actions button,
.copy-script {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #172033;
  cursor: pointer;
  font-weight: 850;
}

.lead-detail-actions button {
  font: inherit;
}

.lead-detail-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  background: #fff;
}

.lead-detail-card h3 {
  margin: 0;
  color: #172033;
  font-size: 16px;
}

.lead-detail-card label {
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-detail-card select,
.lead-detail-card input,
.lead-detail-card textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  padding: 8px 10px;
}

.lead-detail-card textarea {
  min-height: 90px;
  resize: vertical;
}

.lead-potential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lead-potential-grid article {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.lead-potential-grid span {
  color: #a8652c;
  font-size: 24px;
  font-weight: 950;
}

.lead-potential-grid p,
.lead-detail-card > p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.detail-checks label {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px;
  border: 1px solid #dbe3ed;
  border-radius: 6px;
  color: #263244;
  text-transform: none;
}

.detail-checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: #a8652c;
}

.lead-timeline {
  display: grid;
  gap: 10px;
}

.lead-timeline article {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 9px;
}

.lead-timeline article > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: #a8652c;
}

.lead-timeline strong {
  color: #172033;
}

.lead-timeline p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
}

.script-tabs {
  display: flex;
  gap: 6px;
}

.script-tabs button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-weight: 850;
}

.script-tabs button.active {
  border-color: #a8652c;
  background: #a8652c;
  color: #fff;
}

.script-output {
  min-height: 220px !important;
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.copy-script {
  width: fit-content;
  background: #a8652c;
  color: #fff;
  border-color: #a8652c;
}

.lead-offer-button {
  width: 100%;
}

@media (max-width: 1060px) {
  .crm-shell {
    grid-template-columns: 1fr;
  }

  .crm-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .crm-nav {
    display: flex;
    overflow-x: auto;
  }

  .crm-side-card {
    display: none;
  }

  .crm-filters,
  .crm-metrics,
  .crm-day-plan,
  .crm-forecast,
  .crm-status-grid,
  .crm-priority-grid,
  .crm-insights-grid,
  .crm-map-layout,
  .crm-tools-grid,
  .presentation-grid,
  .presentation-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-lead-map {
    grid-template-columns: repeat(4, minmax(90px, 1fr));
  }
}

@media (max-width: 680px) {
  .crm-main {
    padding: 14px;
  }

  .crm-topbar,
  .crm-panel-head {
    display: grid;
  }

  .crm-top-actions,
  .crm-panel-tools {
    justify-content: flex-start;
  }

  .crm-metrics,
  .crm-day-plan,
  .crm-forecast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .crm-metrics article,
  .crm-day-plan article,
  .crm-forecast article {
    min-height: 76px;
    padding: 12px;
  }

  .crm-day-plan article {
    display: grid;
    gap: 6px;
  }

  .crm-metrics span,
  .crm-day-plan span,
  .crm-forecast span {
    font-size: 24px;
  }

  .crm-metrics p,
  .crm-day-plan p,
  .crm-forecast p {
    font-size: 10px;
  }

  .crm-day-plan strong {
    font-size: 12px;
  }

  .crm-filters,
  .crm-status-grid,
  .crm-priority-grid,
  .crm-insights-grid,
  .crm-map-layout,
  .crm-tools-grid,
  .crm-calculator,
  .crm-calc-results,
  .presentation-grid,
  .presentation-metrics,
  .lead-potential-grid,
  .detail-checks {
    grid-template-columns: 1fr;
  }

  .crm-lead-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-sidebar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px;
  }
}

@media (max-width: 340px) {
  .crm-metrics,
  .crm-day-plan,
  .crm-forecast {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Landing conversion components (proof bar, variant picker,
   comparison, FAQ, sticky mobile CTA) — supports dark + light.
   ============================================================ */

/* Proof bar (evolves the former .hero-rating) */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.proof-bar li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .proof-bar li {
  background: rgba(255, 255, 255, 0.4);
}

.proof-bar strong {
  color: #fffaf0;
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
}

[data-theme="light"] .proof-bar strong {
  color: var(--ink);
}

.proof-bar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

/* Variant / SKU picker */
.variant-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 6px 0 18px;
  padding: 0;
  border: 0;
}

.variant-picker legend {
  margin-bottom: 24px;
  padding: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.variant-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.variant-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.variant-card {
  display: grid;
  gap: 5px;
  height: 100%;
  padding: 14px 12px;
  border: 1.5px solid rgba(31, 27, 24, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.variant-option:hover .variant-card {
  border-color: var(--copper);
}

.variant-option input:checked + .variant-card {
  border-color: var(--copper);
  background: rgba(197, 138, 71, 0.16);
  box-shadow: 0 0 0 1px var(--copper) inset;
}

.variant-option input:focus-visible + .variant-card {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.variant-size {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 950;
}

.variant-price {
  color: rgba(31, 27, 24, 0.72);
  font-size: 1.35rem;
  font-weight: 950;
}

.variant-badge {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 9px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--copper-2), var(--copper));
  color: #150d07;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

/* Grind selector inside the buy box */
.grind-picker {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.grind-picker select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(31, 27, 24, 0.22);
  border-radius: 4px;
  background: #fffaf0;
  color: var(--ink);
  font-weight: 750;
}

.grind-picker select:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}

/* Comparison section */
.compare-section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 54px);
  background: #0b0908;
}

[data-theme="light"] .compare-section {
  background: #f8ead5;
}

.compare-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: stretch;
}

.compare-col {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .compare-col {
  border-color: rgba(78, 49, 27, 0.16);
  background: rgba(255, 248, 237, 0.66);
}

.compare-col h3 {
  margin-bottom: 20px;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.compare-col--good {
  border-color: rgba(224, 174, 104, 0.5);
  background: rgba(197, 138, 71, 0.1);
}

.compare-col--good h3 {
  color: var(--copper-2);
}

[data-theme="light"] .compare-col--good {
  border-color: rgba(168, 101, 44, 0.4);
  background: rgba(197, 138, 71, 0.14);
}

[data-theme="light"] .compare-col--good h3 {
  color: var(--copper);
}

.compare-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 250, 240, 0.86);
  font-weight: 700;
}

[data-theme="light"] .compare-col li {
  color: rgba(33, 22, 15, 0.82);
}

.compare-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.compare-col--bad li::before {
  content: "×";
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

[data-theme="light"] .compare-col--bad li::before {
  background: rgba(78, 49, 27, 0.12);
}

.compare-col--good li::before {
  content: "✓";
  background: linear-gradient(180deg, var(--copper-2), var(--copper));
  color: #150d07;
}

.compare-versus {
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--copper-2);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

[data-theme="light"] .compare-versus {
  border-color: rgba(78, 49, 27, 0.18);
  background: rgba(255, 248, 237, 0.7);
  color: var(--copper);
}

/* FAQ section */
.faq-section {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, #11100e 0%, var(--black) 100%);
}

[data-theme="light"] .faq-section {
  background:
    linear-gradient(180deg, #f5e3c9 0%, #fbf1e3 100%);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

[data-theme="light"] .faq-item {
  border-color: rgba(78, 49, 27, 0.16);
  background: rgba(255, 248, 237, 0.66);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px clamp(18px, 3vw, 28px);
  color: #fffaf0;
  cursor: pointer;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 850;
  list-style: none;
}

[data-theme="light"] .faq-item summary {
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--copper-2);
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

[data-theme="light"] .faq-item summary::after {
  border-color: rgba(78, 49, 27, 0.2);
  color: var(--copper);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -2px;
}

.faq-item > p {
  margin: 0;
  padding: 0 clamp(18px, 3vw, 28px) 20px;
  color: rgba(255, 250, 240, 0.8);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
}

[data-theme="light"] .faq-item > p {
  color: rgba(33, 22, 15, 0.78);
}

.faq-item > p a {
  color: var(--copper-2);
  font-weight: 800;
  text-decoration: underline;
}

[data-theme="light"] .faq-item > p a {
  color: var(--copper);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  z-index: 40;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 4, 3, 0.96);
  border-top: 1px solid rgba(224, 174, 104, 0.3);
  backdrop-filter: blur(14px);
  transform: translateY(110%);
}

[data-theme="light"] .sticky-cta {
  background: rgba(251, 241, 227, 0.97);
  border-top-color: rgba(168, 101, 44, 0.32);
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .sticky-cta {
    transition: transform 220ms ease;
  }
}

.sticky-cta-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-cta-info strong {
  color: #fffaf0;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

[data-theme="light"] .sticky-cta-info strong {
  color: var(--ink);
}

.sticky-cta-info span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta .button {
  flex-shrink: 0;
  width: auto;
  min-width: 130px;
}

/* Responsive: landing conversion components */
@media (max-width: 980px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-versus {
    justify-self: center;
    margin: -6px 0;
  }
}

@media (max-width: 760px) {
  .variant-picker {
    grid-template-columns: 1fr;
  }

  .variant-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .variant-badge {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 2px;
    white-space: nowrap;
  }
}

@media (max-width: 580px) {
  .proof-bar {
    grid-template-columns: 1fr 1fr;
    max-width: 340px;
  }

  .compare-section,
  .faq-section {
    padding-inline: 14px;
  }
}

@media (min-width: 761px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ============================================================
   Strony prawne (Polityka prywatności / cookies)
   ============================================================ */
.legal {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 9vw, 110px);
  color: #ece1d2;
  font-size: 1.02rem;
  line-height: 1.65;
}

[data-theme="light"] .legal {
  color: #2c2118;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 6px 0 6px;
}

.legal h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  margin: 38px 0 10px;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul,
.legal ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin: 0 0 7px;
}

.legal a {
  color: var(--copper-2);
  text-decoration: underline;
}

[data-theme="light"] .legal a {
  color: var(--copper);
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-note {
  margin: 22px 0 8px;
  padding: 12px 16px;
  border: 1px dashed rgba(224, 174, 104, 0.5);
  border-radius: 8px;
  background: rgba(197, 138, 71, 0.1);
  font-size: 0.92rem;
}

.legal code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(224, 174, 104, 0.16);
  font-size: 0.9em;
}

.legal-back {
  margin-top: 40px;
  font-weight: 800;
}

/* Zgoda RODO w formularzu kontaktowym */
.contact-form .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(31, 27, 24, 0.78);
}

.contact-form .consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--copper);
}

.contact-form .consent a {
  color: var(--copper-on-cream);
  text-decoration: underline;
}

/* ============================================================
   Rozszerzona karta produktu
   ============================================================ */
.product-information {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 9vw, 120px);
}

.product-information > header {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.product-information > header p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.product-facts,
.brew-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-facts {
  margin: 0 0 clamp(42px, 6vw, 72px);
}

.product-facts > div,
.brew-guides article {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.product-facts dt {
  margin-bottom: 8px;
  color: var(--copper-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: 1.04rem;
  font-weight: 750;
}

.brew-guides article h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.brew-guides article p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
}

.product-information .product-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

[data-theme="light"] .product-information > header p:not(.eyebrow),
[data-theme="light"] .product-facts dd,
[data-theme="light"] .brew-guides article p {
  color: rgba(33, 22, 15, 0.78);
}

@media (max-width: 760px) {
  .product-facts,
  .brew-guides {
    grid-template-columns: 1fr;
  }
}

/* Honeypot — ukryte pole łapiące boty */
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Komunikat po wysłaniu formularza */
.contact-status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.contact-status[hidden] {
  display: none;
}

.contact-status[data-kind="ok"] {
  border: 1px solid rgba(46, 110, 54, 0.45);
  background: rgba(46, 110, 54, 0.12);
  color: #1c5023;
}

.contact-status[data-kind="err"] {
  border: 1px solid rgba(150, 30, 30, 0.45);
  background: rgba(150, 30, 30, 0.1);
  color: #7c1414;
}

/* ============================================================
   CRM: pasek wyloguj/motyw (wstrzykiwany przez crm-chrome.js)
   ============================================================ */
.crm-chrome {
  display: grid;
  gap: 8px;
}

.crm-chrome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #263244;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.crm-chrome-btn:hover {
  border-color: #a8652c;
}

.crm-chrome-logout {
  color: #b03030;
}

/* ============================================================
   CRM: MOTYW CIEMNY (data-theme="dark" na <html>)
   ============================================================ */
[data-theme="dark"] .sales-app { background: #0f141b; color: #e7ecf3; }
[data-theme="dark"] .crm-shell { background: #0f141b; }
[data-theme="dark"] .crm-sidebar { background: #161c26; border-right-color: #2a3441; }
[data-theme="dark"] .crm-brand { color: #e7ecf3; }
[data-theme="dark"] .crm-brand strong { color: #e0ae68; }
[data-theme="dark"] .crm-nav a { color: #9aa7b8; }
[data-theme="dark"] .crm-nav a:hover,
[data-theme="dark"] .crm-nav a:focus-visible,
[data-theme="dark"] .crm-nav a.active { background: #1e2632; color: #fff; }
[data-theme="dark"] .crm-side-card { background: #1a212c; border-color: #2a3441; }
[data-theme="dark"] .crm-side-card span,
[data-theme="dark"] .crm-side-card p { color: #9aa7b8; }
[data-theme="dark"] .crm-side-card strong { color: #e7ecf3; }
[data-theme="dark"] .crm-topbar h1,
[data-theme="dark"] .crm-panel-head h2 { color: #e7ecf3; }
[data-theme="dark"] .crm-topbar p:last-child { color: #9aa7b8; }
[data-theme="dark"] .crm-top-actions a,
[data-theme="dark"] .crm-top-actions button,
[data-theme="dark"] .crm-panel-tools a { background: #1e2632; border-color: #38465a; color: #dbe4f0; }
[data-theme="dark"] .crm-top-actions a:first-child,
[data-theme="dark"] .crm-top-actions button:first-child,
[data-theme="dark"] .crm-panel-tools a:last-child { background: #a8652c; border-color: #a8652c; color: #fff; }
[data-theme="dark"] .crm-metrics article,
[data-theme="dark"] .crm-status-grid article,
[data-theme="dark"] .crm-priority-grid article,
[data-theme="dark"] .crm-day-plan article,
[data-theme="dark"] .crm-forecast article,
[data-theme="dark"] .crm-panel { background: #161c26; border-color: #2a3441; box-shadow: none; }
[data-theme="dark"] .crm-chrome-btn { background: #1e2632; border-color: #38465a; color: #dbe4f0; }
[data-theme="dark"] .crm-chrome-logout { color: #f0a0a0; }

/* Tabela leadów (B2B / FMCG) */
[data-theme="dark"] .sales-app .lead-table { color: #e7ecf3; }
[data-theme="dark"] .sales-app .lead-table th { background: #1e2632; color: #9aa7b8; }
[data-theme="dark"] .sales-app .lead-table th,
[data-theme="dark"] .sales-app .lead-table td { border-bottom-color: #2a3441; }
[data-theme="dark"] .sales-app .lead-table tbody tr { background: #161c26; }
[data-theme="dark"] .sales-app .lead-table tbody tr:hover { background: #1b2330; }
[data-theme="dark"] .sales-app .lead-table strong,
[data-theme="dark"] .sales-app .lead-company { color: #e7ecf3; }
[data-theme="dark"] .sales-app .lead-company small,
[data-theme="dark"] .sales-app .lead-meta,
[data-theme="dark"] .sales-app .lead-contact span,
[data-theme="dark"] .sales-app .lead-reason { color: #9aa7b8; }
[data-theme="dark"] .sales-app .lead-contact a,
[data-theme="dark"] .sales-app .lead-actions a { color: #e0ae68; }
[data-theme="dark"] .sales-app .lead-filters input,
[data-theme="dark"] .sales-app .lead-filters select,
[data-theme="dark"] .sales-app .lead-stage,
[data-theme="dark"] .sales-app .lead-notes textarea,
[data-theme="dark"] .sales-app .lead-notes input { background: #1e2632; border-color: #38465a; color: #e7ecf3; }

/* Karty zamówień */
[data-theme="dark"] .order-card { background: #161c26; border-color: #2a3441; }
[data-theme="dark"] .order-id { color: #e7ecf3; }
[data-theme="dark"] .order-id .order-date,
[data-theme="dark"] .order-status label { color: #9aa7b8; }
[data-theme="dark"] .order-channel,
[data-theme="dark"] .order-box { background: #1e2632; border-color: #2a3441; color: #9aa7b8; }
[data-theme="dark"] .order-status select { background: #1e2632; border-color: #38465a; color: #e7ecf3; }

/* Karty zapytań */
[data-theme="dark"] .inq-card { background: #161c26; border-color: #2a3441; }
[data-theme="dark"] .inq-name { color: #e7ecf3; }
[data-theme="dark"] .inq-date,
[data-theme="dark"] .inq-empty { color: #9aa7b8; }
[data-theme="dark"] .inq-message { color: #cdd6e2; }
[data-theme="dark"] .inq-email a { color: #e0ae68; }
[data-theme="dark"] .inq-refresh button,
[data-theme="dark"] .inq-actions .reopen { background: #1e2632; border-color: #38465a; color: #dbe4f0; }
[data-theme="dark"] .inq-toolbar h2 { color: #e7ecf3 !important; }

/* Metryki — duże liczby */
[data-theme="dark"] .crm-metrics span,
[data-theme="dark"] .crm-status-grid span,
[data-theme="dark"] .crm-priority-grid span,
[data-theme="dark"] .crm-day-plan span { color: #e7ecf3; }

/* Leady FMCG — karty + modal profilu (klasy inline w panelu) */
[data-theme="dark"] .lead-card { background: #161c26; border-color: #2a3441; }
[data-theme="dark"] .lead-card.active,
[data-theme="dark"] .lead-card:hover { background: #1b2330; }
[data-theme="dark"] .lead-card-title,
[data-theme="dark"] .lead-card-contact span,
[data-theme="dark"] .lead-card .sample-score strong { color: #e7ecf3; }
[data-theme="dark"] .lead-card-sub,
[data-theme="dark"] .lead-card-label { color: #9aa7b8; }
[data-theme="dark"] .sample-links a { background: #1e2632; border-color: #38465a; color: #dbe4f0; }
[data-theme="dark"] .lead-profile-panel,
[data-theme="dark"] .profile-summary,
[data-theme="dark"] .profile-box,
[data-theme="dark"] .profile-close { background: #161c26; border-color: #2a3441; }
[data-theme="dark"] .profile-head h2,
[data-theme="dark"] .profile-person,
[data-theme="dark"] .profile-score strong,
[data-theme="dark"] .profile-box h3 { color: #e7ecf3; }
[data-theme="dark"] .profile-head p:last-child,
[data-theme="dark"] .profile-person span,
[data-theme="dark"] .profile-score span { color: #9aa7b8; }

/* Ciemny CRM: "atrament" (var(--ink)) na jasny — naprawia cały tekst używający tej zmiennej */
[data-theme="dark"] .sales-app { --ink: #e7ecf3; }
/* ...oraz przyciemnienie pozostałych jasnych teł w panelu FMCG */
[data-theme="dark"] .sample-alert { background: rgba(197, 138, 71, 0.16); border-color: rgba(224, 174, 104, 0.34); }
[data-theme="dark"] .sample-search,
[data-theme="dark"] .sample-filter,
[data-theme="dark"] .profile-actions a { background: #1e2632; border-color: #38465a; }
[data-theme="dark"] .sample-badge { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .sample-reason,
[data-theme="dark"] .profile-contact { background: #1e2632; }

/* ===== Poprawki po audycie 2026-07-02 ===== */

/* CTA w rozwijanym menu - na desktopie ukryty (CTA jest w pasku) */
.site-nav .nav-cta {
  display: none;
}

@media (max-width: 980px) {
  /* backdrop-filter na headerze tworzyl containing block dla position:fixed
     i lamal rozwijane menu (panel zwezal sie do komorki grida zamiast pelnej
     szerokosci). Na mobile header ma pelne krycie, wiec blur jest zbedny. */
  .site-header {
    backdrop-filter: none;
    background: #050403;
  }

  [data-theme="light"] .site-header {
    background: #fbf1e3;
  }

  .site-nav {
    background: #050403;
  }

  [data-theme="light"] .site-nav {
    background: #fbf1e3;
  }

  /* Bazowe justify-self:center (desktop) zwija fixed panel do szerokosci
     tresci - na mobile panel ma sie rozciagac na cala szerokosc ekranu. */
  .site-nav {
    justify-self: stretch;
    width: 100%;
  }

  .site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 14px;
    border-bottom: 0;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--copper-2), var(--copper));
    color: #150d07;
    font-weight: 900;
    font-size: 0.82rem;
    text-transform: uppercase;
  }
}

/* Koncowe CTA na podstronach */
.page-cta {
  padding: clamp(46px, 8vw, 84px) clamp(18px, 6vw, 120px) clamp(56px, 9vw, 96px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0 0 10px;
}

.page-cta p {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Cena na stronie produktu */
.page-product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
}

.page-product-price .old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.page-product-price strong {
  font-size: 2rem;
  color: var(--copper-2);
}

.page-product-price .price-note {
  width: 100%;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Bezposredni kontakt na stronie kontaktu */
.contact-direct {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-direct a {
  color: var(--copper-2);
  font-weight: 750;
}

/* Kontakt: dlugi H1 lamie sie normalnie (globalny h1 ma nowrap pod
   jednowyrazowe hero na stronie glownej) i schodzi do skali naglowka sekcji */
.standalone-contact h1 {
  white-space: normal;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 0.98;
}

/* ============================================================
   Faza 0 B2B (2026-07-05): pas-pomost na home + sticky/nav hurt
   ============================================================ */
/* Pas-pomost jest ZAWSZE ciemny (także w motywie jasnym) - dark band
   wyróżnia strefę "dla firm" i daje tło dla aury maskotki. */
.b2b-bridge {
  padding: clamp(30px, 5vw, 58px) clamp(16px, 5vw, 72px);
  background:
    radial-gradient(85% 120% at 80% 12%, rgba(197, 138, 71, 0.22), transparent 60%),
    #0d0a08;
  border-block: 1px solid rgba(197, 138, 71, 0.30);
}

.b2b-bridge-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.72fr);
  gap: clamp(18px, 3vw, 52px);
  align-items: center;
}

.b2b-bridge-copy h2 {
  margin: 10px 0 12px;
  color: #fffaf0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.b2b-bridge-copy p:not(.eyebrow) {
  max-width: 48ch;
  margin: 0 0 20px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.b2b-bridge-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.b2b-bridge-proof li {
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.b2b-bridge-proof strong {
  display: block;
  color: var(--copper-2);
  font-size: clamp(0.98rem, 1.7vw, 1.2rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.b2b-bridge-proof span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.b2b-bridge-mascot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.b2b-bridge-mascot img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.5));
}

@media (max-width: 860px) {
  .b2b-bridge-inner {
    grid-template-columns: 1fr;
  }

  .b2b-bridge-mascot img {
    max-height: 260px;
  }
}

@media (max-width: 480px) {
  .b2b-bridge-proof {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* sticky-cta: druga pigułka B2B obok detalicznego "Zamów" */
.sticky-cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.sticky-cta .button {
  min-width: 0;
  padding-inline: 14px;
  white-space: nowrap;
}

.sticky-cta-b2b {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 380px) {
  .sticky-cta-info span {
    display: none;
  }
}

/* nav-cta wariant B2B (widoczny w menu mobilnym, nad detalicznym CTA) */
@media (max-width: 980px) {
  .site-nav .nav-cta--b2b {
    margin-top: 14px;
    margin-bottom: 0;
    border: 1.5px solid var(--copper-2);
    background: transparent;
    color: var(--copper-2);
  }

  [data-theme="light"] .site-nav .nav-cta--b2b {
    border-color: var(--copper);
    color: var(--copper);
  }

  .site-nav .nav-cta:not(.nav-cta--b2b) {
    margin-top: 8px;
  }
}

/* ============================================================
   Brand: realne logo klienta zamiast tekstowego lockupu (2026-07-06)
   ============================================================ */
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.brand-logo--light {
  display: none;
}

[data-theme="light"] .brand-logo--dark {
  display: none;
}

[data-theme="light"] .brand-logo--light {
  display: block;
}

/* stopka jest ciemna w obu motywach -> zawsze logo na ciemne tło */
.site-footer .brand-logo--dark {
  display: block !important;
}

.site-footer .brand-logo--light {
  display: none !important;
}

.site-footer .brand-logo {
  height: 46px;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 38px;
  }
}

/* ============================================================
   2026-07-07 uwagi klienta: logo w hero + sekcja smaku bez grafiki
   ============================================================ */
/* Hero: logo marki zamiast napisu tekstowego (duże, przełączane motywem) */
.hero-brand {
  margin: 0 0 8px;
  line-height: 0;
}

.hero-brand .brand-logo {
  height: clamp(76px, 15vw, 170px);
  width: 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;
}

/* Sekcja smaku bez starej grafiki -> wyśrodkowane atuty */
.taste-section--nomedia {
  grid-template-columns: 1fr;
  padding-block: clamp(52px, 8vw, 100px);
}

.taste-section--nomedia .taste-copy {
  max-width: 1040px;
  margin-inline: auto;
  padding: 0 clamp(22px, 6vw, 40px);
  text-align: center;
}

.taste-section--nomedia .taste-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin-inline: auto;
}

.taste-section--nomedia .taste-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
  margin-top: clamp(30px, 4vw, 48px);
}

@media (max-width: 760px) {
  .taste-section--nomedia .taste-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .taste-section--nomedia .taste-grid {
    grid-template-columns: 1fr;
  }
}
