:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --ink: #101010;
  --muted: #5a5a5a;
  --line: #dcdcdc;
  --line-soft: #ebebeb;
  --ok: #1d7f4f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f9f8f5 0%, #f2f1ee 100%);
  line-height: 1.5;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.ticker {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 9px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 244, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.header-link {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--ink);
}

.hero {
  padding: 34px 0 48px;
}

.hero-wrap {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(24px, 5vw, 56px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 11px;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: clamp(42px, 7vw, 96px);
  max-width: 11ch;
  margin-top: 10px;
}

h2 {
  font-size: clamp(30px, 5vw, 54px);
  margin-top: 8px;
}

h3 {
  font-size: clamp(20px, 2.2vw, 30px);
}

.hero-copy {
  margin-top: 16px;
  color: #373737;
  max-width: 64ch;
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #111;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-wrap {
  display: grid;
  gap: 6px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

select,
input[type="email"] {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
}

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

.product-card {
  border: 1px solid var(--line-soft);
  background: #fff;
}

.product-image {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #efefef;
}

.product-body {
  padding: 14px;
}

.caps {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: #6c6c6c;
  margin: 0;
}

.product-body h3 {
  margin-top: 6px;
}

.price {
  margin: 6px 0 14px;
  font-weight: 700;
}

.split-section {
  background: #f0efec;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #2f2f2f;
}

.list li {
  margin-bottom: 8px;
}

.status-card {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.status-card p {
  margin: 4px 0 0;
  color: #5f5f5f;
  font-size: 13px;
}

.dot {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  border: 1px solid #b6d9c8;
}

.dot.ok {
  color: var(--ok);
  background: #edf8f2;
}

.email-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.integration-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
}

.integration-card p {
  margin-top: 8px;
  color: #575757;
}

.customize-block {
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  padding: 12px;
}

.customize-block label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #666;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 10px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.chip.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.muted {
  color: #5a5a5a;
  margin-top: 10px;
}

.meter-wrap {
  margin-top: 14px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meter {
  margin-top: 6px;
  height: 8px;
  background: #e4e4e4;
}

.meter-fill {
  width: 0;
  height: 100%;
  background: #111;
  transition: width 0.85s ease;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-row {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .product-grid,
  .split-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    min-height: 68px;
  }

  .section {
    padding: 42px 0;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
