:root {
  --ink: #071827;
  --muted: #5d6f7d;
  --paper: #f4f8f9;
  --panel: #ffffff;
  --line: #d8e4e8;
  --teal: #0e7c70;
  --teal-dark: #075e54;
  --mint: #cceee5;
  --coral: #ef6f61;
  --amber: #f6bd3f;
  --blue: #3178c6;
  --shadow: 0 24px 70px rgba(7, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(244, 248, 249, 0.86);
  border-bottom: 1px solid rgba(216, 228, 232, 0.8);
  backdrop-filter: blur(18px);
}

.site-header.simple {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

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

.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav .nav-cta {
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 1px 0 var(--line);
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(90px, 12vw, 140px) clamp(18px, 5vw, 80px) clamp(54px, 7vw, 88px);
  background: #dce9e9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 248, 249, 0.96) 0%, rgba(244, 248, 249, 0.78) 42%, rgba(244, 248, 249, 0.15) 100%);
  z-index: 1;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(14, 124, 112, 0.16), rgba(239, 111, 97, 0.12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='%23ffffff' fill-opacity='.42' d='M0 0h90v90H0zM90 90h90v90H90z'/%3E%3C/svg%3E");
}

.dashboard-shot,
.phone-shot {
  position: absolute;
  border: 1px solid rgba(7, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.dashboard-shot {
  right: clamp(24px, 8vw, 150px);
  top: 16%;
  width: min(620px, 58vw);
  height: 390px;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-2deg);
}

.shot-top {
  height: 58px;
  background: var(--teal-dark);
}

.shot-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  padding: 18px;
}

.device-list span,
.message-panel span,
.phone-row,
.bubble {
  display: block;
  border-radius: 14px;
  background: #e9f1f4;
}

.device-list span {
  height: 58px;
  margin-bottom: 12px;
}

.device-list span:nth-child(2) {
  background: var(--mint);
}

.message-panel span {
  height: 84px;
  margin-bottom: 14px;
}

.message-panel span:nth-child(1) {
  border-left: 5px solid var(--blue);
}

.phone-shot {
  right: min(10vw, 120px);
  bottom: 8%;
  width: 250px;
  height: 470px;
  border-radius: 38px;
  padding: 34px 18px;
  transform: rotate(5deg);
}

.phone-speaker {
  width: 66px;
  height: 7px;
  border-radius: 999px;
  background: #ccd8dc;
  margin: 0 auto 24px;
}

.phone-row {
  height: 54px;
  margin-bottom: 12px;
}

.phone-row.active {
  background: var(--mint);
}

.phone-row.short {
  width: 72%;
}

.bubble {
  height: 58px;
  margin-top: 22px;
}

.bubble.inbound {
  width: 78%;
  background: #eef4f6;
}

.bubble.outbound {
  width: 72%;
  margin-left: auto;
  background: var(--teal);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  max-width: 840px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  max-width: 780px;
}

h3 {
  font-size: 21px;
}

.hero-copy {
  max-width: 670px;
  font-size: clamp(18px, 2vw, 22px);
  color: #344955;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button.small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.band {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 80px);
}

.intro {
  background: var(--panel);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
}

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

.feature-card {
  min-height: 260px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.feature-icon.accent {
  background: var(--blue);
}

.feature-icon.warm {
  background: var(--amber);
  color: var(--ink);
}

.feature-icon.coral {
  background: var(--coral);
}

.pro-band {
  color: #fff;
  background: #0b2529;
}

.pro-band p,
.pro-band .section-kicker {
  color: #b7d5d1;
}

.pro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: start;
}

.pro-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.split-band {
  background: #eef5f3;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.code-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071827;
  color: #d7fff4;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
  overflow-x: auto;
}

.notify-band {
  background: var(--panel);
}

.notify {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 80px);
  background: #071827;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: #b7c7cf;
}

.site-footer nav,
.site-footer.compact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #d7fff4;
  font-weight: 700;
}

.legal-page {
  padding: clamp(36px, 7vw, 86px) 18px;
}

.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-doc h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.legal-doc h2 {
  margin-top: 34px;
  font-size: 25px;
}

.legal-doc a {
  color: var(--teal-dark);
  font-weight: 800;
}

.cookie-notice {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(7, 24, 39, 0.18);
}

.cookie-notice p {
  margin: 0;
  font-size: 14px;
}

.cookie-notice div {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(244, 248, 249, 0.98), rgba(244, 248, 249, 0.74));
  }

  .dashboard-shot {
    width: 560px;
    right: -190px;
    top: 28%;
  }

  .phone-shot {
    right: 22px;
    bottom: 36px;
    width: 210px;
    height: 390px;
  }

  .feature-grid,
  .pro-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .notify,
  .site-footer,
  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav a {
    padding: 8px 9px;
  }

  .hero {
    padding-top: 54px;
    min-height: 720px;
  }

  .dashboard-shot {
    display: none;
  }

  .phone-shot {
    opacity: 0.72;
    right: -22px;
  }

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