/**
 * BoozeButler B2B Landing Page Styles
 * Scoped to /b2b marketing page only.
 */

:root {
  --b2b-ivory: #fbf7ef;
  --b2b-cream: #f4eadc;
  --b2b-card: #fffdf8;
  --b2b-charcoal: #171614;
  --b2b-brown: #3c2518;
  --b2b-muted: #6c5f55;
  --b2b-copper: #c47e42;
  --b2b-gold: #d9a75f;
  --b2b-border: rgba(94, 55, 30, 0.16);
  --b2b-shadow: 0 20px 56px rgba(42, 25, 14, 0.11);
  --b2b-soft-shadow: 0 10px 28px rgba(42, 25, 14, 0.075);
}

html {
  scroll-behavior: smooth;
}

.b2b-page {
  margin: 0;
  color: var(--b2b-charcoal);
  background:
    radial-gradient(circle at 18% 6%, rgba(217, 167, 95, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(117, 67, 38, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--b2b-ivory) 0%, #fffaf3 44%, #f7efe4 100%);
}

.b2b-page * {
  box-sizing: border-box;
}

.b2b-page a {
  color: inherit;
}

.btn {
  border-radius: 999px;
}

.b2b-page .btn--large {
  padding: 0.78rem 1.12rem;
  font-size: 0.94rem;
}

.btn--secondary {
  background: rgba(255, 253, 248, 0.78);
  color: var(--b2b-brown);
  border: 1px solid rgba(94, 55, 30, 0.22);
  box-shadow: none;
}

.btn--secondary:hover {
  background: #fffdf8;
  border-color: rgba(196, 126, 66, 0.55);
}

.b2b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 247, 239, 0.86);
  border-bottom: 1px solid var(--b2b-border);
  backdrop-filter: blur(18px);
}

.b2b-header-inner {
  max-width: 1088px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.b2b-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--b2b-charcoal);
}

.b2b-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.b2b-brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.b2b-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.b2b-nav a {
  color: rgba(23, 22, 20, 0.76);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 0.18s ease;
}

.b2b-nav a:hover {
  color: var(--b2b-copper);
}

.b2b-cta-nav {
  color: var(--b2b-brown) !important;
  padding: 9px 14px;
  border: 1px solid var(--b2b-border);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
}

.b2b-hero {
  padding: 24px 24px 12px;
  overflow: hidden;
}

.b2b-hero-inner,
.b2b-proof-inner,
.b2b-section-inner,
.b2b-footer-inner {
  width: min(100%, 1088px);
  margin: 0 auto;
}

.b2b-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 1.02fr);
  align-items: center;
  gap: 24px;
}

.b2b-hero-copy {
  max-width: 560px;
}

.b2b-eyebrow,
.b2b-card-kicker,
.b2b-mini-label,
.b2b-showcase-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--b2b-copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.b2b-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--b2b-copper), var(--b2b-gold));
}

.b2b-hero-headline,
.b2b-section-title {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  color: var(--b2b-charcoal);
  letter-spacing: -0.035em;
}

.b2b-hero-headline {
  max-width: 12ch;
  margin: 0 0 12px;
  font-size: clamp(2.32rem, 3.72vw, 3.62rem);
  font-weight: 700;
  line-height: 0.95;
}

.b2b-hero-subtext {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--b2b-muted);
  font-size: clamp(0.94rem, 1.06vw, 1.02rem);
  line-height: 1.5;
}

.b2b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
}

.b2b-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b2b-trust-row span {
  padding: 6px 9px;
  color: var(--b2b-brown);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--b2b-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.b2b-hero-product {
  position: relative;
  min-height: 258px;
}

.b2b-product-preview {
  position: relative;
  margin: 2px 0 0 auto;
  display: grid;
  grid-template-areas:
    "kicker kicker kicker"
    "taste match demand";
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px 12px;
  max-width: 576px;
  padding: 12px 14px 14px;
  background:
    radial-gradient(circle at 94% 8%, rgba(217, 167, 95, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 234, 220, 0.88)),
    var(--b2b-card);
  border: 1px solid rgba(94, 55, 30, 0.17);
  border-radius: 26px;
  box-shadow: var(--b2b-shadow);
}

.b2b-product-preview::before {
  content: "";
  position: absolute;
  left: 23%;
  right: 19%;
  top: 57%;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 167, 95, 0), rgba(217, 167, 95, 0.46), rgba(217, 167, 95, 0));
  transform: translateY(-50%);
}

.b2b-pipeline-kicker {
  grid-area: kicker;
  position: relative;
  z-index: 1;
  padding: 4px 8px 2px;
  color: rgba(60, 37, 24, 0.58);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.b2b-signal-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 158px;
  padding: 15px;
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 234, 220, 0.82)),
    var(--b2b-card);
  color: var(--b2b-charcoal);
  border: 1px solid rgba(94, 55, 30, 0.13);
  box-shadow: 0 10px 22px rgba(42, 25, 14, 0.08);
  z-index: 1;
}

.b2b-signal-panel:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(143, 84, 45, 0.36);
  border-right: 1px solid rgba(143, 84, 45, 0.36);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.b2b-signal-label {
  display: block;
  margin-bottom: 12px;
  color: var(--b2b-copper);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.b2b-signal-panel strong {
  display: block;
  margin: 0 0 9px;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  color: var(--b2b-brown);
  font-size: 1.28rem;
  line-height: 1;
}

.b2b-signal-panel p {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.b2b-signal-panel small {
  display: block;
  margin-top: auto;
  color: var(--b2b-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.b2b-signal-panel--match {
  grid-area: match;
  background:
    radial-gradient(circle at 86% 12%, rgba(217, 167, 95, 0.16), transparent 7rem),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 234, 220, 0.82)),
    var(--b2b-card);
}

.b2b-signal-panel--match p {
  margin-bottom: 5px;
  color: rgba(60, 37, 24, 0.56);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.34;
}

.b2b-signal-panel--match small {
  margin-top: 0;
  color: var(--b2b-brown);
  font-size: 0.78rem;
  font-weight: 900;
}

.b2b-signal-panel--taste {
  grid-area: taste;
}

.b2b-signal-panel--demand {
  grid-area: demand;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 253, 248, 0.7), transparent 7rem),
    linear-gradient(145deg, rgba(255, 250, 243, 0.98), rgba(232, 184, 111, 0.3));
  border-color: rgba(196, 126, 66, 0.26);
  color: var(--b2b-charcoal);
  box-shadow: 0 16px 30px rgba(143, 84, 45, 0.12);
}

.b2b-signal-panel--demand .b2b-signal-label {
  color: rgba(143, 84, 45, 0.82);
}

.b2b-signal-panel--demand strong {
  color: var(--b2b-brown);
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 2.34rem;
  letter-spacing: -0.05em;
}

.b2b-signal-panel--demand p,
.b2b-signal-panel--demand small {
  color: rgba(60, 37, 24, 0.7);
}

.b2b-proof-strip {
  padding: 0 24px 10px;
}

.b2b-proof-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--b2b-border);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--b2b-soft-shadow);
}

.b2b-proof-inner div {
  padding: 13px 18px;
  border-right: 1px solid var(--b2b-border);
}

.b2b-proof-inner div:last-child {
  border-right: none;
}

.b2b-proof-inner strong,
.b2b-proof-inner span {
  display: block;
}

.b2b-proof-inner strong {
  margin-bottom: 5px;
  color: var(--b2b-brown);
  font-size: 0.88rem;
}

.b2b-proof-inner span {
  color: var(--b2b-muted);
  font-size: 0.82rem;
  line-height: 1.38;
}

.b2b-section {
  padding: 30px 24px;
}

.b2b-section--warm {
  background: rgba(255, 253, 248, 0.48);
}

.b2b-section--deep {
  color: #fffaf3;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 167, 95, 0.2), transparent 24rem),
    linear-gradient(135deg, #19130f, #3a2418);
}

.b2b-section-inner--wide {
  max-width: 1088px;
}

.b2b-section-heading {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
}

.b2b-section-heading--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.b2b-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.02vw, 2.28rem);
  font-weight: 700;
  line-height: 1;
}

.b2b-section--deep .b2b-section-title,
.b2b-section--deep .b2b-section-lead {
  color: #fffaf3;
}

.b2b-section-lead,
.b2b-video-lead,
.b2b-pilot-desc {
  color: var(--b2b-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.b2b-section-lead {
  margin: 11px 0 0;
}

.b2b-product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 12px;
}

.b2b-feature-card,
.b2b-flow-card,
.b2b-kpi-card,
.b2b-showcase-card,
.b2b-faq-item,
.b2b-cta-panel,
.b2b-pilot-panel {
  border: 1px solid var(--b2b-border);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--b2b-soft-shadow);
}

.b2b-feature-card {
  min-height: 142px;
  padding: 15px;
  border-radius: 19px;
}

.b2b-feature-card--large {
  grid-row: span 2;
  min-height: 292px;
  padding: 19px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.95), rgba(244, 234, 220, 0.82)),
    var(--b2b-card);
}

.b2b-feature-card h3,
.b2b-flow-card h3,
.b2b-showcase-card h3 {
  margin: 0 0 8px;
  color: var(--b2b-brown);
  font-size: 1.04rem;
  line-height: 1.16;
}

.b2b-feature-card--large h3 {
  max-width: 10ch;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.52rem, 2.46vw, 2.34rem);
  letter-spacing: -0.035em;
}

.b2b-feature-card p,
.b2b-flow-card p,
.b2b-showcase-card p,
.b2b-faq-a {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.b2b-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.b2b-flow-card {
  position: relative;
  min-height: 134px;
  padding: 14px;
  border-radius: 18px;
}

.b2b-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  color: var(--b2b-brown);
  background: rgba(217, 167, 95, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.b2b-analytics-layout,
.b2b-video-layout,
.b2b-pilot-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
}

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

.b2b-kpi-card {
  min-height: 108px;
  padding: 13px;
  border-radius: 18px;
}

.b2b-kpi-card span {
  color: var(--b2b-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b2b-kpi-card strong {
  display: block;
  margin: 11px 0 5px;
  color: var(--b2b-brown);
  font-size: 1.74rem;
  line-height: 1;
}

.b2b-kpi-card p {
  margin: 0;
  color: var(--b2b-muted);
  line-height: 1.45;
}

.b2b-text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--b2b-copper);
  font-weight: 800;
  text-decoration: none;
}

.b2b-text-link:hover {
  text-decoration: underline;
}

.b2b-section--deep .b2b-eyebrow,
.b2b-section--deep .b2b-showcase-tag {
  color: var(--b2b-gold);
}

.b2b-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.b2b-showcase-card {
  min-height: 150px;
  padding: 15px;
  color: #fffaf3;
  text-decoration: none;
  border-color: rgba(255, 250, 243, 0.16);
  background: rgba(255, 250, 243, 0.08);
  border-radius: 20px;
  box-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.b2b-showcase-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 250, 243, 0.12);
  border-color: rgba(217, 167, 95, 0.42);
}

.b2b-showcase-card h3 {
  color: #fffaf3;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.42rem;
}

.b2b-showcase-card p {
  color: rgba(255, 250, 243, 0.72);
}

.b2b-section--video {
  padding-top: 30px;
  padding-bottom: 30px;
}

.b2b-video-lead {
  margin: 13px 0 0;
}

.b2b-video-wrap {
  width: 100%;
}

.b2b-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(94, 55, 30, 0.16);
  border-radius: 19px;
  background: #000;
  box-shadow: var(--b2b-shadow);
}

.b2b-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.b2b-video-cta {
  margin-top: 16px;
}

.b2b-pilot-panel {
  padding: 18px;
  border-radius: 22px;
}

.b2b-pilot-panel .b2b-section-title,
.b2b-cta-panel .b2b-section-title {
  text-align: left;
}

.b2b-pilot-panel .btn {
  justify-self: end;
  white-space: nowrap;
}

.b2b-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.b2b-faq-item {
  padding: 15px;
  border-radius: 17px;
}

.b2b-faq-q {
  margin: 0 0 8px;
  color: var(--b2b-brown);
  font-weight: 800;
}

.b2b-cta-section {
  padding-bottom: 34px;
}

.b2b-cta-panel {
  max-width: 860px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(244, 234, 220, 0.78)),
    var(--b2b-card);
}

.b2b-cta-panel .b2b-section-lead {
  max-width: 680px;
}

.b2b-cta-trust {
  margin: 10px 0 16px;
  color: var(--b2b-copper);
  font-weight: 800;
}

.b2b-demo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.b2b-form-row:nth-of-type(2) {
  grid-template-columns: 1fr;
}

.b2b-demo-form input,
.b2b-demo-form textarea {
  width: 100%;
  padding: 11px 13px;
  color: var(--b2b-charcoal);
  background: #fffdf8;
  border: 1px solid rgba(94, 55, 30, 0.18);
  border-radius: 13px;
  font: inherit;
}

.b2b-demo-form input:focus,
.b2b-demo-form textarea:focus {
  border-color: var(--b2b-copper);
  outline: 3px solid rgba(196, 126, 66, 0.13);
}

.b2b-demo-form textarea {
  min-height: 78px;
  resize: vertical;
}

.b2b-demo-form button {
  align-self: flex-start;
}

.b2b-footer {
  padding: 28px 24px;
  color: rgba(255, 250, 243, 0.72);
  background: #171614;
}

.b2b-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.b2b-footer-tagline,
.b2b-footer-copyright {
  margin: 0;
}

.b2b-footer-tagline {
  color: #fffaf3;
  font-weight: 800;
}

.b2b-footer-copyright {
  margin-top: 5px;
  color: rgba(255, 250, 243, 0.58);
  font-size: 0.86rem;
}

.b2b-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.b2b-footer-nav a {
  color: rgba(255, 250, 243, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
}

.b2b-footer-nav a:hover {
  color: var(--b2b-gold);
}

@media (max-width: 980px) {
  .b2b-hero-inner,
  .b2b-analytics-layout,
  .b2b-video-layout,
  .b2b-pilot-panel {
    grid-template-columns: 1fr;
  }

  .b2b-hero-copy,
  .b2b-section-heading--left {
    max-width: 760px;
  }

  .b2b-hero-product {
    max-width: 560px;
    min-height: auto;
  }

  .b2b-product-preview {
    margin-left: 0;
  }

  .b2b-flow-grid,
  .b2b-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2b-product-grid {
    grid-template-columns: 1fr;
  }

  .b2b-feature-card--large {
    min-height: auto;
  }

  .b2b-pilot-panel .btn {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .b2b-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .b2b-nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .b2b-nav a {
    white-space: nowrap;
  }

  .b2b-hero {
    padding: 30px 18px 18px;
  }

  .b2b-hero-headline {
    max-width: 12ch;
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }

  .b2b-section {
    padding: 34px 18px;
  }

  .b2b-proof-strip {
    padding-left: 18px;
    padding-right: 18px;
  }

  .b2b-proof-inner,
  .b2b-kpi-grid,
  .b2b-faq-list,
  .b2b-flow-grid,
  .b2b-showcase-grid {
    grid-template-columns: 1fr;
  }

  .b2b-proof-inner div {
    border-right: none;
    border-bottom: 1px solid var(--b2b-border);
  }

  .b2b-proof-inner div:last-child {
    border-bottom: none;
  }

  .b2b-hero-product {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .b2b-product-preview {
    grid-template-areas:
      "kicker"
      "taste"
      "match"
      "demand";
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 15px;
    border-radius: 24px;
  }

  .b2b-product-preview::before {
    left: 50%;
    right: auto;
    top: 23%;
    bottom: 16%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(217, 167, 95, 0), rgba(217, 167, 95, 0.36), rgba(217, 167, 95, 0));
    transform: translateX(-50%);
  }

  .b2b-signal-panel {
    min-height: auto;
    padding: 16px;
  }

  .b2b-signal-panel:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%) rotate(135deg);
  }

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

  .b2b-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .b2b-hero-actions .btn,
  .b2b-demo-form button {
    width: 100%;
    text-align: center;
  }

  .b2b-cta-panel,
  .b2b-pilot-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .b2b-footer-inner {
    grid-template-columns: 1fr;
  }

  .b2b-footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .b2b-section-title {
    font-size: 1.82rem;
  }

  .b2b-page .btn--large {
    padding: 0.74rem 1rem;
  }

  .b2b-product-preview {
    padding: 12px;
    gap: 10px;
  }

  .b2b-signal-panel {
    padding: 14px;
  }

  .b2b-signal-panel strong {
    font-size: 1.24rem;
  }

  .b2b-signal-panel--demand strong {
    font-size: 2rem;
  }

  .b2b-trust-row span {
    width: 100%;
  }

  .b2b-showcase-card,
  .b2b-flow-card,
  .b2b-feature-card,
  .b2b-kpi-card {
    min-height: auto;
  }
}
