:root {
  --background: #f8faf8;
  --foreground: #172a26;
  --card: #ffffff;
  --primary: #0e6658;
  --primary-foreground: #ffffff;
  --secondary: #e6f3fb;
  --secondary-foreground: #1b4860;
  --muted: #edf3ea;
  --muted-foreground: #5a6862;
  --accent: #f5b431;
  --accent-foreground: #422905;
  --border: #dbe5df;
  --shadow: 0 24px 70px rgba(14, 102, 88, 0.15);
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.hero {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, var(--background) 0%, #e7f3fb 56%, rgba(245, 180, 49, 0.2) 100%);
  overflow: hidden;
}

.site-nav,
.site-footer,
.section {
  margin: 0 auto;
  max-width: 1152px;
  padding-left: 16px;
  padding-right: 16px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
  padding-top: 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 20px;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  display: block;
  height: 32px;
  width: 32px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.nav-links a,
.site-footer a,
.back-link {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.back-link:hover {
  color: var(--foreground);
}

.button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary-foreground) !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.button.secondary {
  background: var(--card);
  color: var(--primary) !important;
}

.button.inverse {
  background: var(--background);
  border-color: var(--background);
  color: var(--foreground) !important;
}

.hero-grid {
  display: grid;
  gap: 32px;
  min-height: 36rem;
  padding-bottom: 64px;
  padding-top: 40px;
  position: relative;
}

.hero-copy {
  max-width: 36rem;
  padding-top: 32px;
  position: relative;
  z-index: 2;
}

.badge,
.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.badge {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 102, 88, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(14, 102, 88, 0.08);
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 12px;
  text-transform: none;
}

.eyebrow {
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 650;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 650;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 40rem;
}

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

.trust-list {
  color: var(--muted-foreground);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.trust-list li,
.icon-line {
  align-items: center;
  display: flex;
  gap: 8px;
}

.check,
.spark,
.small-icon {
  color: var(--primary);
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.check {
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.check::after {
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  height: 4px;
  left: 4px;
  position: absolute;
  top: 4px;
  transform: rotate(-45deg);
  width: 8px;
}

.spark {
  position: relative;
}

.spark::before,
.spark::after {
  background: currentColor;
  content: "";
  left: 8px;
  position: absolute;
  top: 3px;
}

.spark::before {
  height: 12px;
  width: 2px;
}

.spark::after {
  height: 2px;
  left: 3px;
  top: 8px;
  width: 12px;
}

.calendar-icon {
  border: 2px solid currentColor;
  border-radius: 5px;
  position: relative;
}

.calendar-icon::before {
  background: currentColor;
  content: "";
  height: 2px;
  left: 2px;
  position: absolute;
  right: 2px;
  top: 5px;
}

.preview-wrap {
  pointer-events: none;
}

.phone-preview {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 24rem;
  padding: 12px;
}

.phone-screen {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.preview-head {
  align-items: center;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.preview-head p {
  margin: 0;
}

.preview-body {
  padding: 16px;
}

.person-row {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.avatar {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.avatar.emerald {
  background: #065f46;
}

.avatar.sky {
  background: #0369a1;
}

.avatar.amber {
  background: #f59e0b;
  color: #422905;
}

.avatar.rose {
  background: #be123c;
}

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

.person-name h2,
.person-name p {
  margin: 0;
}

.pill {
  background: var(--secondary);
  border-radius: 999px;
  color: var(--secondary-foreground);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.muted {
  color: var(--muted-foreground);
}

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

.note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  line-height: 1.45;
  padding: 10px 12px;
}

.cue-box {
  background: var(--secondary);
  border-radius: 10px;
  color: var(--secondary-foreground);
  font-size: 14px;
  margin-top: 16px;
  padding: 12px;
}

.cue-box p {
  margin-bottom: 4px;
}

.meta-row {
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-foreground);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 9px 12px;
}

.section {
  padding-bottom: 64px;
  padding-top: 64px;
}

.section-grid {
  display: grid;
  gap: 32px;
}

.two-col {
  grid-template-columns: 0.85fr 1.15fr;
}

.split {
  grid-template-columns: 1fr 0.9fr;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 42, 38, 0.03);
}

.step-card {
  overflow: hidden;
}

.step-head {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 18px 18px 8px;
}

.step-icon {
  align-items: center;
  background: var(--secondary);
  border-radius: 8px;
  color: var(--secondary-foreground);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: relative;
  width: 40px;
}

.plus-icon::before,
.plus-icon::after,
.message-icon::before,
.message-icon::after,
.search-icon::before,
.search-icon::after {
  content: "";
  position: absolute;
}

.plus-icon::before {
  background: currentColor;
  height: 18px;
  width: 2px;
}

.plus-icon::after {
  background: currentColor;
  height: 2px;
  width: 18px;
}

.search-icon::before {
  border: 2px solid currentColor;
  border-radius: 999px;
  height: 13px;
  width: 13px;
}

.search-icon::after {
  background: currentColor;
  height: 9px;
  transform: translate(8px, 9px) rotate(-45deg);
  width: 2px;
}

.message-icon::before {
  border: 2px solid currentColor;
  border-radius: 8px;
  height: 16px;
  width: 20px;
}

.message-icon::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  height: 6px;
  transform: translate(-6px, 9px) rotate(45deg);
  width: 6px;
}

.step-card p,
.plain-card p {
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
  padding: 0 18px 18px;
}

.band {
  background: rgba(237, 243, 234, 0.3);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.conversation-panel {
  padding: 18px;
}

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

.panel-head p {
  margin: 0;
}

.people-list {
  display: grid;
  gap: 12px;
}

.person-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.person-card p {
  margin: 0;
}

.panel-footer {
  align-items: center;
  background: var(--muted);
  border-radius: 8px;
  color: var(--muted-foreground);
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
}

.audience-item {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 12px;
  min-height: 80px;
  padding: 16px;
}

.cta {
  background: var(--primary);
  border-radius: 8px;
  color: var(--primary-foreground);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  padding: 28px;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0;
}

.public-main {
  margin: 0 auto;
  max-width: 768px;
  padding: 32px 16px 48px;
}

.back-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
  padding: 4px 8px;
}

.back-link:hover {
  background: var(--muted);
}

.content-card {
  margin-top: 32px;
  padding: 28px;
}

.content-card section + section {
  margin-top: 28px;
}

.content-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0;
}

.content-card p + p {
  margin-top: 12px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 32px;
  padding-top: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (min-width: 800px) {
  .hero-grid {
    align-items: center;
  }

  .preview-wrap {
    bottom: 24px;
    position: absolute;
    right: 16px;
    width: min(28rem, 43%);
  }
}

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

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 48px;
    padding-top: 16px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .trust-list {
    display: none;
  }

  .two-col,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .meta-row,
  .cue-box {
    display: none;
  }
}
