:root {
  --bg: #07090f;
  --bg-2: #0b0f17;
  --bg-3: #11161f;
  --bg-4: #161c27;

  --text: #f5f7fa;
  --muted: #8896ab;
  --muted-2: #5d6a80;
  --muted-3: #404a5d;

  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.22);

  --cool: #4fa4ff;
  --cool-soft: #85b7eb;
  --mid: #2cc28e;
  --mid-soft: #5dcaa5;
  --warm: #f0a934;
  --warm-soft: #fac775;
  --hot: #ef6a3d;

  --grad: linear-gradient(90deg, #4fa4ff 0%, #2cc28e 55%, #f0a934 100%);

  --dot: rgba(255, 255, 255, 0.045);
  --orb-cool: #2e83ff;
  --orb-warm: #f0a934;
  --orb-cool-opacity: 0.22;
  --orb-warm-opacity: 0.16;
  --shadow-panel: 0 30px 60px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.04) inset;

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #fbfcfd;
  --bg-2: #f3f6fa;
  --bg-3: #ecf0f5;
  --bg-4: #dee5ed;

  --text: #0b0f17;
  --muted: #5d6a80;
  --muted-2: #8a95a6;
  --muted-3: #b4bdcb;

  --line: rgba(11, 15, 23, 0.07);
  --line-2: rgba(11, 15, 23, 0.13);
  --line-3: rgba(11, 15, 23, 0.22);

  --cool: #185fa5;
  --cool-soft: #378add;
  --mid: #0f6e56;
  --mid-soft: #1d9e75;
  --warm: #854f0b;
  --warm-soft: #ba7517;
  --hot: #993c1d;

  --dot: rgba(11, 15, 23, 0.05);
  --orb-cool: #2e83ff;
  --orb-warm: #f0a934;
  --orb-cool-opacity: 0.1;
  --orb-warm-opacity: 0.08;
  --shadow-panel: 0 24px 48px rgba(11, 15, 23, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

html {
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--sans);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
  z-index: -2;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* Soft gradient orbs */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.bg-shape--left {
  width: 46vw;
  height: 46vw;
  left: -18vw;
  top: 8vh;
  background: var(--orb-cool);
  opacity: var(--orb-cool-opacity);
}

.bg-shape--right {
  width: 40vw;
  height: 40vw;
  right: -14vw;
  top: 36vh;
  background: var(--orb-warm);
  opacity: var(--orb-warm-opacity);
}

.header,
.hero {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.header {
  margin-top: 22px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  animation: rise 0.55s ease both;
}

.logo {
  width: clamp(110px, 14vw, 140px);
  height: auto;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.contact-chip {
  appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-action-size, 42px);
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: var(--header-action-radius, 10px);
  padding: 0 18px;
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: 0.2s ease;
}

.contact-chip:hover {
  border-color: var(--line-3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.contact-chip--user {
  gap: 8px;
  max-width: min(240px, 34vw);
  color: var(--text);
}

.contact-chip__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--muted);
}

.contact-chip__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 80px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero-copy {
  animation: rise 0.7s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 13px 6px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mid);
  box-shadow: 0 0 0 0 rgba(44, 194, 142, 0.5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 194, 142, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(44, 194, 142, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 194, 142, 0);
  }
}

h1 {
  font-family: var(--sans);
  margin: 22px 0 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.97;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 13ch;
  color: var(--text);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15.5px, 1.7vw, 19px);
  max-width: 46ch;
  line-height: 1.55;
}

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

.btn {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
}

.btn--primary {
  color: #07090f;
  background: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.btn--primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.04);
}

/* Dashboard panel mockup */
.hero-visual {
  margin: 0;
  animation: rise 0.95s ease both;
}

.panel {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(180deg, rgba(79, 164, 255, 0.25), transparent 35%);
  pointer-events: none;
  border-radius: 14px;
  z-index: 0;
  opacity: 0.5;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.panel-bar-dots {
  display: inline-flex;
  gap: 5px;
}

.panel-bar-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.panel-bar-path {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.panel-title-group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mid);
  box-shadow: 0 0 8px rgba(44, 194, 142, 0.7);
}

.panel-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}

.panel-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.panel-body {
  display: flex;
  flex-direction: column;
}

.unit {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.unit:last-child {
  border-bottom: 0;
}

.unit-name {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.unit-temp {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.unit-temp-unit {
  color: var(--muted-2);
  font-weight: 400;
  margin-left: 1px;
}

.unit-mode {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid transparent;
  min-width: 56px;
  text-align: center;
}

.mode--cool {
  color: var(--cool-soft);
  background: rgba(79, 164, 255, 0.09);
  border-color: rgba(79, 164, 255, 0.22);
}

.mode--auto {
  color: var(--mid-soft);
  background: rgba(44, 194, 142, 0.1);
  border-color: rgba(44, 194, 142, 0.24);
}

.mode--heat {
  color: var(--warm-soft);
  background: rgba(240, 169, 52, 0.1);
  border-color: rgba(240, 169, 52, 0.26);
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}

.panel-stat b {
  color: var(--text);
  font-weight: 500;
}

.panel-stat em {
  color: var(--muted-3);
  font-style: normal;
  margin: 0 4px;
}

.panel-modbus {
  color: var(--muted-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section label */
.section-label {
  margin: 96px 0 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line-2);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  animation: rise 1.2s ease both;
}

.features article {
  background: var(--bg);
  padding: 32px 28px 34px;
  position: relative;
  transition: background 0.3s ease;
  backdrop-filter: none;
  box-shadow: none;
}

.features article:hover {
  background: var(--bg-2);
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.25s ease;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.features article:hover .feature-icon {
  color: var(--text);
}

.features .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-3);
}

.features h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--text);
  max-width: 14ch;
}

.features p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* Integrations */
/* How it works — schematic diagram */
.how-it-works {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.how-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.how-header .section-label {
  margin-top: 0;
}

.how-header h2 {
  margin: 18px 0 0;
  max-width: 20ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.how-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.how-diagram {
  margin: 0;
  padding: 32px 20px 24px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-panel);
}

.how-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.how-diagram svg .how-box {
  fill: rgba(255, 255, 255, 0.055);
  stroke: rgba(255, 255, 255, 0.20);
  stroke-width: 1;
}

.how-diagram svg .how-title {
  fill: var(--text);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.012em;
}

.how-diagram svg .how-sub {
  fill: var(--muted);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 12.5px;
}

.how-diagram svg .how-chip {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.how-diagram svg .how-note {
  fill: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.how-caption {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Mobile vertical chain — hidden on desktop, shown on small screens */
.how-diagram-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 4px 0;
}

.how-mnode {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.how-mnode-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-mnode-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.how-mnode-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text);
}

.how-mnode-text p {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.how-mlink {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}

.how-mlink-stem {
  width: 1px;
  height: 10px;
  background: var(--line-3);
}

.how-mlink-chip {
  margin-top: 4px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
}

.how-mlink-note {
  margin-top: 4px;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.how-mlink--vpn .how-mlink-chip {
  background: rgba(79, 164, 255, 0.22);
  border-color: rgba(79, 164, 255, 0.55);
  color: #85B7EB;
}

.how-mlink--lan .how-mlink-chip {
  background: rgba(136, 150, 171, 0.22);
  border-color: rgba(136, 150, 171, 0.55);
  color: #8896AB;
}

.how-mlink--rs485 .how-mlink-chip {
  background: rgba(240, 169, 52, 0.22);
  border-color: rgba(240, 169, 52, 0.55);
  color: #FAC775;
}


[data-theme="light"] .how-diagram {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
}

[data-theme="light"] .how-diagram svg .how-box {
  fill: rgba(11, 15, 23, 0.03);
  stroke: rgba(11, 15, 23, 0.14);
}

[data-theme="light"] .how-mnode {
  background: rgba(11, 15, 23, 0.03);
}

[data-theme="light"] .how-diagram svg .how-chip[fill="#85B7EB"] {
  fill: #185FA5;
}
[data-theme="light"] .how-diagram svg .how-chip[fill="#8896AB"] {
  fill: #5D6A80;
}
[data-theme="light"] .how-diagram svg .how-chip[fill="#FAC775"] {
  fill: #854F0B;
}

.integrations {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.integrations-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.integrations-header .section-label {
  margin-top: 0;
}

.integrations-header h2 {
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.integrations-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.integrations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.integration {
  position: relative;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
  min-height: 184px;
  background: transparent;
  transition: color 0.25s ease, transform 0.25s ease;
}

.integration + .integration {
  border-left: 1px solid var(--line);
}

.integration:hover {
  transform: translateY(-2px);
}

.integration-logo-wrap {
  width: 150px;
  height: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.integration-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
  width: auto;
  height: 86px;
  max-width: 132px;
}

.integration h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
}

.integration p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Capabilities section — feature grid */
.capabilities {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.cap-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.cap-header .section-label {
  margin-top: 0;
}

.cap-header h2 {
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.cap-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.cap-item {
  background: var(--bg);
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s ease;
}

.cap-item:hover {
  background: var(--bg-2);
}

.cap-icon {
  width: 32px;
  height: 32px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.cap-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-item:hover .cap-icon {
  color: var(--text);
}

.cap-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.cap-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

[data-theme="light"] .cap-item {
  background: #ffffff;
}

[data-theme="light"] .cap-item:hover {
  background: var(--bg-2);
}

/* Equipment section — brand grid */
.equipment {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.eq-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.eq-header .section-label {
  margin-top: 0;
}

.eq-header h2 {
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.eq-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.eq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.eq-list li {
  background: var(--bg);
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  text-align: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

.eq-list li:hover {
  background: var(--bg-2);
}

.eq-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 35px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.eq-logo-dark {
  display: none;
}

.eq-list .eq-other {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 400;
}

[data-theme="dark"] .eq-logo-dark {
  display: block;
}

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

[data-theme="dark"] .eq-logo--royal {
  filter: brightness(1.35) contrast(1.14);
}

[data-theme="light"] .eq-list li {
  background: #ffffff;
}

[data-theme="light"] .eq-list li:hover {
  background: var(--bg-2);
}

/* FAQ section */
.faq {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.faq-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.faq-header .section-label {
  margin-top: 0;
}

.faq-header h2 {
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line-2);
}

.faq-item {
  border-bottom: 1px solid var(--line-2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.012em;
  transition: color 0.2s ease;
}

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

.faq-item summary::after {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238896ab' stroke-width='1.6' stroke-linecap='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--muted);
}

.faq-body {
  padding: 0 4px 24px 0;
  max-width: 70ch;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA section — final conversion */
.cta {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-panel);
  align-items: center;
}

.cta-copy .section-label {
  margin-top: 0;
}

.cta-copy h2 {
  margin: 18px 0 0;
  max-width: 16ch;
  color: var(--text);
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.cta-lead {
  margin: 18px 0 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-field > span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cta-field input,
.cta-field select {
  appearance: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-field input::placeholder {
  color: var(--muted-2);
  font-weight: 400;
}

.cta-field input:focus,
.cta-field select:focus {
  outline: none;
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.06);
}

.cta-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238896ab' stroke-width='1.6' stroke-linecap='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
}

[data-theme="light"] .cta-field input,
[data-theme="light"] .cta-field select {
  background: #ffffff;
  border-color: var(--line-2);
}

[data-theme="light"] .cta-field input:focus,
[data-theme="light"] .cta-field select:focus {
  background: #ffffff;
  border-color: var(--line-3);
}

.cta-submit {
  margin-top: 6px;
  justify-content: center;
  width: 100%;
}

/* Mobile apps section */
.apps {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.apps-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.apps-visual {
  margin: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.apps-backdrop {
  display: none;
}

.apps-visual svg {
  position: relative;
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.50)) drop-shadow(0 8px 20px rgba(79, 164, 255, 0.08));
}

.apps-copy .section-label {
  margin-top: 0;
}

.apps-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.apps-copy h2 {
  margin: 18px 0 0;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.apps-lead {
  margin: 22px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.apps-stores {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 228px));
  gap: 12px;
  width: auto;
  justify-content: flex-start;
}

.apps-stores li {
  display: block;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  background: #1A1F2A;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(7, 14, 30, 0.28);
}

.store-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.store-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  display: block;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.store-kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
  white-space: nowrap;
}

.store-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #FFFFFF;
  white-space: nowrap;
}

[data-theme="light"] .store-btn {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="light"] .store-btn:hover {
  background: #1A1F2A;
}

/* Phone mockup — inverts the screen theme relative to the site theme.
   Default (site light / no theme) shows a DARK phone screen + dark body.
   On [data-theme="dark"] the phone screen flips to LIGHT and the body
   becomes brushed aluminum.
*/

/* Phone body — dark default */
.p-body-top { stop-color: #2A3140; }
.p-body-mid { stop-color: #1A1F2A; }
.p-body-bottom { stop-color: #0F141C; }
.p-body-stroke { stroke: rgba(255, 255, 255, 0.10); }
.p-body-stroke-inner { stroke: rgba(255, 255, 255, 0.04); }

/* SITE dark → phone body becomes aluminum (silver gradient) */
[data-theme="dark"] .p-body-top { stop-color: #E5E9EE; }
[data-theme="dark"] .p-body-mid { stop-color: #B6BCC2; }
[data-theme="dark"] .p-body-bottom { stop-color: #7E858C; }
[data-theme="dark"] .p-body-stroke { stroke: rgba(11, 15, 23, 0.18); }
[data-theme="dark"] .p-body-stroke-inner { stroke: rgba(255, 255, 255, 0.50); }

.p-screen-top { stop-color: #0F172A; }
.p-screen-bottom { stop-color: #06090F; }
.p-glow-top { stop-color: rgba(79, 164, 255, 0.18); }
.p-glow-mid { stop-color: rgba(44, 194, 142, 0.04); }

.p-text { fill: #FFFFFF; }
.p-muted { fill: #8896AB; }
.p-muted-2 { fill: #5D6A80; }

.p-divider { stroke: rgba(255, 255, 255, 0.06); }

.p-card-bg { fill: rgba(255, 255, 255, 0.045); }
.p-card-stroke { stroke: rgba(255, 255, 255, 0.08); }
.p-strip-bg { fill: rgba(255, 255, 255, 0.025); }
.p-strip-stroke { stroke: rgba(255, 255, 255, 0.06); }

.p-statusbar-fill { fill: #FFFFFF; }
.p-statusbar-stroke { stroke: #FFFFFF; }

.p-tab-active { stroke: #FFFFFF; }
.p-tab-inactive { stroke: #5D6A80; }

.p-pill-cool { fill: #85B7EB; }
.p-pill-mid { fill: #5DCAA5; }
.p-pill-warm { fill: #FAC775; }

.p-home { fill: #FFFFFF; }

/* SITE is dark → flip phone screen to LIGHT */
[data-theme="dark"] .p-screen-top { stop-color: #F4F6FA; }
[data-theme="dark"] .p-screen-bottom { stop-color: #FFFFFF; }
[data-theme="dark"] .p-glow-top { stop-color: rgba(79, 164, 255, 0.10); }
[data-theme="dark"] .p-glow-mid { stop-color: rgba(44, 194, 142, 0.03); }

[data-theme="dark"] .p-text { fill: #0B0F17; }
[data-theme="dark"] .p-muted { fill: #5D6A80; }
[data-theme="dark"] .p-muted-2 { fill: #8A95A6; }

[data-theme="dark"] .p-divider { stroke: rgba(11, 15, 23, 0.08); }

[data-theme="dark"] .p-card-bg { fill: rgba(11, 15, 23, 0.04); }
[data-theme="dark"] .p-card-stroke { stroke: rgba(11, 15, 23, 0.10); }
[data-theme="dark"] .p-strip-bg { fill: rgba(11, 15, 23, 0.02); }
[data-theme="dark"] .p-strip-stroke { stroke: rgba(11, 15, 23, 0.06); }

[data-theme="dark"] .p-statusbar-fill { fill: #0B0F17; }
[data-theme="dark"] .p-statusbar-stroke { stroke: #0B0F17; }

[data-theme="dark"] .p-tab-active { stroke: #0B0F17; }
[data-theme="dark"] .p-tab-inactive { stroke: #B4BDCB; }

[data-theme="dark"] .p-pill-cool { fill: #185FA5; }
[data-theme="dark"] .p-pill-mid { fill: #0F6E56; }
[data-theme="dark"] .p-pill-warm { fill: #854F0B; }

[data-theme="dark"] .p-home { fill: #0B0F17; }

/* Footer */
.footer {
  margin-top: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 16% 0%, rgba(79, 164, 255, 0.14), transparent 34%),
    radial-gradient(circle at 86% 24%, rgba(240, 169, 52, 0.1), transparent 30%),
    #06090f;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--sans);
}

.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: 56px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2.15fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  line-height: 0;
  text-decoration: none;
}

.footer-logo img {
  width: clamp(118px, 13vw, 148px);
  height: auto;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.55;
}

.footer-mail {
  width: fit-content;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .footer {
    margin-top: 72px;
  }

  .footer-inner {
    width: min(1200px, calc(100% - 24px));
    padding: 42px 0 24px;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .footer-nav {
    gap: 26px 18px;
  }

  .footer-bottom {
    margin-top: 34px;
    font-size: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
}

body.modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.login-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 28% 20%, rgba(79, 164, 255, 0.2), transparent 30%),
    radial-gradient(circle at 80% 76%, rgba(240, 169, 52, 0.17), transparent 28%),
    rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

[data-theme="light"] .login-backdrop {
  background:
    radial-gradient(circle at 28% 20%, rgba(79, 164, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 76%, rgba(240, 169, 52, 0.12), transparent 28%),
    rgba(245, 248, 252, 0.76);
}

.login-dialog {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 30px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-panel);
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease;
}

.login-dialog[hidden] {
  display: none;
}

[data-theme="light"] .login-dialog {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
}

.login-modal[aria-hidden="true"] .login-dialog {
  transform: translateY(10px) scale(0.98);
}

.login-dialog::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(79, 164, 255, 0.25), transparent 38%, rgba(240, 169, 52, 0.22));
  pointer-events: none;
  opacity: 0.55;
}

.login-dialog > * {
  position: relative;
  z-index: 1;
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.login-close:hover {
  color: var(--text);
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .login-close:hover {
  background: rgba(11, 15, 23, 0.04);
}

.login-close span {
  position: absolute;
  left: 9px;
  top: 15px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}

.login-close span:first-child {
  transform: rotate(45deg);
}

.login-close span:last-child {
  transform: rotate(-45deg);
}

.login-kicker {
  display: inline-flex;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-dialog h2 {
  margin: 18px 0 0;
  max-width: 10ch;
  color: var(--text);
  font-size: clamp(34px, 7vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.login-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.login-form {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.captcha-human-label {
  gap: 10px;
}

.otp-recaptcha-wrap {
  align-items: flex-start;
}

.otp-recaptcha-box {
  width: fit-content;
  max-width: 100%;
  padding: 10px 10px 8px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .otp-recaptcha-box {
  background: rgba(11, 15, 23, 0.025);
}

.otp-recaptcha-box > div {
  max-width: 100%;
}

.otp-recaptcha-box iframe {
  max-width: 100%;
}

.login-form input:not([type="checkbox"]),
.login-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  transition: 0.2s ease;
}

.login-form textarea {
  min-height: 138px;
  resize: vertical;
}

[data-theme="light"] .login-form input:not([type="checkbox"]),
[data-theme="light"] .login-form textarea {
  background: rgba(11, 15, 23, 0.025);
}

[data-theme="light"] .cookie-banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    rgba(251, 252, 253, 0.8);
  box-shadow: 0 18px 34px rgba(11, 15, 23, 0.11);
}

.login-form input:not([type="checkbox"]):focus,
.login-form textarea:focus {
  border-color: rgba(79, 164, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(79, 164, 255, 0.12);
}

.login-form input:not([type="checkbox"]).otp-error-shake {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
  animation: otp-shake 0.34s ease;
}

@keyframes otp-shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.login-form input:not([type="checkbox"])::placeholder,
.login-form textarea::placeholder {
  color: var(--muted-3);
}

.login-submit {
  width: 100%;
  justify-content: center;
  margin-top: 5px;
}

.form-disclaimer {
  margin: 2px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.form-disclaimer a {
  color: color-mix(in srgb, var(--cool-soft) 78%, var(--mid-soft) 22%);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.form-disclaimer a:hover {
  color: var(--cool);
}

.forgot-link {
  width: fit-content;
  margin: -3px 0 0 auto;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}

.forgot-link--back {
  margin: 0 auto;
}

.reset-message {
  min-height: 38px;
  margin: 0;
  color: var(--mid-soft);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.reset-message--error {
  color: #ff6b6b;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    color-mix(in srgb, var(--bg-2) 82%, transparent);
  box-shadow: 0 16px 44px rgba(3, 5, 10, 0.35);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner--show {
  opacity: 1;
  transform: translateY(0);
}

body.modal-open .cookie-banner {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.cookie-banner__text {
  display: grid;
  gap: 6px;
}

.cookie-banner__title {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner__lead {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__lead a {
  color: color-mix(in srgb, var(--cool-soft) 80%, var(--mid-soft) 20%);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.cookie-banner__lead a:hover {
  color: var(--cool);
}

/* Legal pages */
html.legal-html {
  background: #f7f9fc;
  color-scheme: light;
}

body.legal-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #edf3f9 100%);
  color: #0b1220;
  min-height: 100vh;
  padding: 38px 0 74px;
}

body.legal-page::before {
  display: none;
}

body.legal-page a {
  color: #2c5f97;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 95, 151, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.legal-page a:hover {
  color: #1a4b80;
  border-bottom-color: rgba(26, 75, 128, 0.52);
}

body.legal-page a:focus-visible {
  outline: 2px solid rgba(29, 99, 171, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}

.legal-wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(11, 15, 23, 0.12);
  padding-bottom: 18px;
}

.legal-logo {
  width: 128px;
  height: auto;
}

.legal-back {
  border: 1px solid rgba(11, 15, 23, 0.14);
  border-radius: 10px;
  padding: 8px 12px;
  color: #5a6b84;
  background: #ffffff;
  text-decoration: none !important;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.legal-back:hover {
  color: #0b1220;
  border-color: rgba(29, 99, 171, 0.4);
  background: #f7fbff;
}

.legal-headline {
  margin: 30px 0 12px;
  max-width: 22ch;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0b1220;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.legal-meta {
  margin: 0 0 30px;
  color: #70809a;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-block {
  margin: 0 0 18px;
  padding: 20px 22px;
  border: 1px solid rgba(11, 15, 23, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 15, 23, 0.045);
}

.legal-block h2 {
  margin: 0 0 12px;
  color: #101b2d;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.legal-block p {
  margin: 0 0 11px;
  color: #596c89;
  line-height: 1.68;
}

.legal-block ul {
  margin: 0;
  padding-left: 18px;
  color: #596c89;
  line-height: 1.68;
}

.legal-block li + li {
  margin-top: 6px;
}

.legal-block strong {
  color: #111d30;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(11, 15, 23, 0.1);
  padding: 11px 8px;
  color: #596c89;
  line-height: 1.56;
}

.legal-table th {
  color: #122036;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  font-size: 11px;
  text-transform: uppercase;
}

.legal-table code {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(17, 29, 48, 0.12);
  background: #f5f8fc;
  color: #233850;
  font-family: var(--mono);
  font-size: 12px;
}

.legal-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(44, 95, 151, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff 0%, #f1f6fc 100%);
  color: #617391;
  font-size: 13px;
}

.cookie-banner__actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  appearance: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--muted);
}

.cookie-btn--ghost:hover {
  color: var(--text);
  border-color: var(--line-3);
}

.cookie-btn--primary {
  border-color: transparent;
  background: var(--grad);
  color: #0a0f17;
}

.cookie-btn--primary:hover {
  filter: saturate(1.1) brightness(1.02);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header right group + theme toggle */
.header-right {
  --header-action-size: 42px;
  --header-action-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  box-sizing: border-box;
  width: var(--header-action-size);
  height: var(--header-action-size);
  border-radius: var(--header-action-radius);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--line-3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(11, 15, 23, 0.04);
}

.theme-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.theme-icon--moon { display: none; }
.theme-icon--sun { display: block; }

[data-theme="light"] .theme-icon--sun { display: none; }
[data-theme="light"] .theme-icon--moon { display: block; }

/* Logo variants */
.logo--light { display: none; }
.logo--dark { display: block; }

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

/* Light-theme component overrides (rgba(white,...) → rgba(dark,...) etc.) */
[data-theme="light"] .contact-chip:hover {
  background: rgba(11, 15, 23, 0.03);
}

[data-theme="light"] .btn--ghost:hover {
  background: rgba(11, 15, 23, 0.03);
}

[data-theme="light"] .btn--primary {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

[data-theme="light"] .btn--primary:hover {
  background: #000000;
  box-shadow: 0 10px 30px rgba(11, 15, 23, 0.18);
}

[data-theme="light"] .panel {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
}

[data-theme="light"] .panel::before {
  background: linear-gradient(180deg, rgba(79, 164, 255, 0.16), transparent 35%);
  opacity: 0.8;
}

[data-theme="light"] .panel-bar {
  background: rgba(11, 15, 23, 0.025);
}

[data-theme="light"] .panel-bar-dots i {
  background: rgba(11, 15, 23, 0.15);
}

[data-theme="light"] .panel-footer {
  background: rgba(11, 15, 23, 0.025);
}

[data-theme="light"] .panel-dot {
  box-shadow: 0 0 8px rgba(15, 110, 86, 0.4);
}

[data-theme="light"] .features article:hover {
  background: var(--bg-2);
}

[data-theme="light"] .integration {
  background: transparent;
}

[data-theme="light"] .integration-logo {
  filter: drop-shadow(0 10px 18px rgba(11, 15, 23, 0.1));
}

/* Mode pills — readable on light backgrounds */
[data-theme="light"] .mode--cool {
  color: #0c447c;
  background: rgba(79, 164, 255, 0.12);
  border-color: rgba(79, 164, 255, 0.35);
}

[data-theme="light"] .mode--auto {
  color: #085041;
  background: rgba(29, 158, 117, 0.12);
  border-color: rgba(29, 158, 117, 0.35);
}

[data-theme="light"] .mode--heat {
  color: #633806;
  background: rgba(240, 169, 52, 0.16);
  border-color: rgba(240, 169, 52, 0.4);
}

/* Pulse keyframes recolored for light theme */
[data-theme="light"] .badge::before {
  background: var(--mid-soft);
  box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45);
  animation-name: pulse-light;
}

@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(29, 158, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0); }
}

@media (max-width: 980px) {
  .hero {
    padding: 60px 0 24px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  h1 {
    max-width: 16ch;
  }
  .integrations-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integrations-header h2 {
    max-width: 16ch;
  }
  .apps-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .apps-visual svg {
    width: 100%;
    margin-left: 0;
    max-width: 320px;
    display: block;
    margin-inline: auto;
  }
  .eq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .eq-logo {
    height: 32px;
  }
}

@media (max-width: 720px) {
  .header,
  .hero {
    width: min(1200px, calc(100% - 24px));
  }
  .features {
    grid-template-columns: 1fr;
  }
  .cap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-it-works {
    margin-top: 72px;
  }
  .how-diagram {
    padding: 14px 12px;
  }
  .how-diagram > svg {
    display: none;
  }
  .how-diagram-mobile {
    display: flex;
  }
  .how-caption {
    margin-top: 22px;
    text-align: left;
  }
  .integrations {
    margin-top: 72px;
  }
  .integrations-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integration + .integration {
    border-left: 0;
    border-top: 0;
  }
  .integration {
    min-height: auto;
    padding: 22px 16px 24px;
  }
  .integration:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .integration:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .integration-logo-wrap {
    width: 116px;
    height: 84px;
  }
  .integration-logo {
    height: 64px;
    max-width: 100px;
  }
  .integration h3 {
    font-size: 16px;
  }
  .integration p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .apps {
    margin-top: 72px;
  }
  .apps-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }
  .eq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eq-list li {
    min-height: 82px;
  }
  .eq-logo {
    height: 27px;
  }
  .eq-list .eq-other {
    grid-column: 1 / -1;
    min-height: 64px;
  }
  .section-label {
    margin-top: 72px;
  }
  .unit {
    grid-template-columns: 1fr auto;
  }
  .unit-mode {
    grid-column: 2;
  }
  .unit-temp {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 22px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__lead {
    max-width: none;
    font-size: 13px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1 1 160px;
  }

  .legal-wrap {
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  body.legal-page {
    padding: 18px 0 48px;
  }

  .legal-headline {
    margin-top: 20px;
    font-size: 34px;
  }

  .legal-block {
    padding: 18px;
    border-radius: 14px;
  }

  .legal-table th,
  .legal-table td {
    font-size: 13px;
    padding: 9px 6px;
  }
}

@media (max-width: 520px) {
  .integrations-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integration {
    padding: 18px 12px 20px;
    gap: 10px;
  }
  .integration-logo-wrap {
    width: 98px;
    height: 72px;
  }
  .integration-logo {
    height: 54px;
    max-width: 86px;
  }
  .integration h3 {
    font-size: 15px;
  }
  .integration p {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .apps-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .store-btn {
    min-height: 58px;
    padding: 8px 10px;
    gap: 8px;
  }
  .store-icon {
    width: 24px;
    height: 24px;
  }
  .store-icon svg {
    width: 21px;
    height: 21px;
  }
  .store-kicker {
    font-size: 9px;
    margin-bottom: 2px;
  }
  .store-name {
    font-size: 12px;
  }
}

.phone-mockup {
  position: relative;
  width: min(100%, 310px);
  min-height: 560px;
  padding: 64px 24px 24px;
  border: 12px solid #0a0f1a;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 164, 255, 0.18), transparent 42%),
    linear-gradient(180deg, #142337 0%, #070b14 100%);
  box-shadow: 0 42px 82px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.phone-speaker {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 28px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #02050a;
}

.phone-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1;
}

.phone-topbar span:last-child {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.phone-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.phone-card strong {
  font-size: 15px;
  font-weight: 600;
}

.phone-card span {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.phone-card b {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.phone-stats span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-stats b {
  color: #ffffff;
  font-family: var(--sans);
  font-size: 24px;
  letter-spacing: -0.04em;
}

[data-theme="dark"] .phone-mockup {
  border-color: #d8dde4;
  background: linear-gradient(180deg, #f7fbff 0%, #eef3f8 100%);
  color: #0b111c;
  box-shadow: 0 42px 82px rgba(18, 30, 44, 0.18), inset 0 0 0 1px rgba(11, 17, 28, 0.08);
}

[data-theme="dark"] .phone-speaker {
  background: #111827;
}

[data-theme="dark"] .phone-topbar,
[data-theme="dark"] .phone-card span,
[data-theme="dark"] .phone-stats span {
  color: rgba(11, 17, 28, 0.58);
}

[data-theme="dark"] .phone-card,
[data-theme="dark"] .phone-stats {
  border-color: rgba(11, 17, 28, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .phone-stats span {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .phone-stats b {
  color: #0b111c;
}

/* Audience navigation and audience landing pages */
.audience-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 32px);
  margin-inline: auto;
  padding-inline: 24px;
}

.audience-nav a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(16px, 1vw, 17px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: none;
  transition: color 0.2s ease;
}

.audience-nav a:hover,
.audience-nav a[aria-current="page"] {
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audience-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.audience-more {
  margin-top: auto;
  padding-top: 22px;
  color: color-mix(in srgb, var(--cool-soft) 70%, var(--mid-soft) 30%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-page .hero {
  padding-top: 70px;
}

.audience-page .hero-layout {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.audience-kicker-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.audience-kicker-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.audience-kicker-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--grad);
}

.audience-panel {
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-panel);
}

.audience-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.audience-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.audience-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.audience-metric {
  padding: 22px 18px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.audience-metric strong {
  display: block;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

.audience-metric span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.audience-benefits,
.audience-flow {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.audience-section-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.audience-section-header .section-label {
  margin-top: 0;
}

.audience-section-header h2 {
  margin: 18px 0 0;
  max-width: 19ch;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.audience-section-header p {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.audience-benefit-grid,
.audience-flow-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.audience-benefit-grid li,
.audience-flow-grid li {
  background: var(--bg);
  padding: 28px 24px 30px;
}

.audience-benefit-grid h3,
.audience-flow-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.audience-benefit-grid p,
.audience-flow-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.audience-flow-grid strong {
  display: inline-flex;
  margin-bottom: 18px;
  color: color-mix(in srgb, var(--cool-soft) 62%, var(--mid-soft) 38%);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.business-integrations {
  margin-top: 96px;
  animation: rise 1.25s ease both;
}

.business-integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.business-integration-card {
  position: relative;
  min-height: 320px;
  padding: 30px 26px 32px;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--cool-soft) 16%, transparent), transparent 36%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.business-integration-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.82;
}

.business-integration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--cool-soft) 70%, var(--mid-soft) 30%);
  box-shadow: none;
}

.business-integration-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-integration-kicker {
  margin: 30px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.business-integration-card h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 650;
}

.business-integration-card p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

[data-theme="light"] .audience-panel,
[data-theme="light"] .audience-benefit-grid li,
[data-theme="light"] .audience-flow-grid li,
[data-theme="light"] .audience-metric,
[data-theme="light"] .business-integration-card {
  background: #ffffff;
}

@media (max-width: 980px) {
  .audience-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0 0;
    overflow-x: auto;
  }
  .header {
    flex-wrap: wrap;
  }
  .audience-page .hero-layout {
    grid-template-columns: 1fr;
  }
  .audience-benefit-grid,
  .audience-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .business-integration-grid {
    grid-template-columns: 1fr;
  }
  .business-integration-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .audience-nav {
    gap: 18px;
  }
  .audience-nav a {
    font-size: 15px;
    white-space: nowrap;
  }
  .audience-metrics,
  .audience-benefit-grid,
  .audience-flow-grid {
    grid-template-columns: 1fr;
  }
  .business-integrations {
    margin-top: 72px;
  }
  .business-integration-card {
    padding: 24px 20px 28px;
  }
  .business-integration-icon {
    width: 54px;
    height: 54px;
  }
  .business-integration-icon svg {
    width: 30px;
    height: 30px;
  }
  .features h3 {
    max-width: none;
  }
}
