/* ---------- Fonts ---------- */

@font-face {
  font-family: 'Nunito Sans Variable';
  src: url('../font/nunito-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angelface';
  src: url('../font/angelface.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */

:root {
  --ink: #17242c;
  --navy: #2c3e50;
  --slate: #34495e;
  --red: #e74c3c;
  --red-dark: #c0392b;
  --green: #27ae60;
  --blue: #2d7dd2;
  --paper: #ffffff;
  --bg: #f5f6fa;
  --border: #e3e7eb;
  --muted: #5f6f7a;
  --muted-light: #8a99a3;

  --max-width: 1120px;
  --radius: 10px;
}

/* ---------- Reset ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito Sans Variable', system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: #fdecea;
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.button--primary {
  background: var(--red);
  color: var(--paper);
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.button--ghost:hover {
  border-color: var(--navy);
}

.button--small {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: 34px;
}

.brand-wordmark {
  line-height: 1;
  white-space: nowrap;
  font-family: 'Angelface', sans-serif;
  font-size: 1.35rem;
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  font-size: 2.75rem;
  margin: 18px 0 20px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  color: var(--muted-light);
  font-size: 0.9rem;
}

/* ---------- Mockup illustrations (placeholders) ---------- */

.mockup {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 40px -24px rgba(23, 36, 44, 0.35);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--ink);
}

.mockup-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
}

.mockup-header svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  flex-shrink: 0;
}

.mockup-group-header {
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--border);
}

.mockup-meta-tags {
  display: flex;
  gap: 8px;
}

.mockup-body {
  padding: 22px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mockup-row:last-child {
  border-bottom: none;
}

.mockup-chip {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-chip svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
}

.mockup-chip--blue {
  background: var(--blue);
}

.mockup-chip--blue svg {
  stroke: var(--paper);
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-avatar svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
}

.mockup-avatar--red {
  background: var(--red);
}

.mockup-avatar--red svg {
  stroke: var(--paper);
}

.mockup-lines {
  flex: 1;
}

.mockup-line {
  height: 9px;
  border-radius: 5px;
  background: var(--border);
  margin-bottom: 6px;
}

.mockup-line:last-child {
  margin-bottom: 0;
}

.mockup-line--w60 { width: 60%; }
.mockup-line--w40 { width: 40%; }
.mockup-line--w80 { width: 80%; }
.mockup-line--w30 { width: 30%; }

.mockup-line--title {
  height: 14px;
  width: 140px;
  margin-bottom: 12px;
}

.mockup-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Who it's for ---------- */

.audience {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.audience-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
}

.audience-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.audience-card p {
  color: var(--muted);
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--paper);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
}

/* ---------- Capabilities ---------- */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--slate);
  font-weight: 600;
}

.capability-grid svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--green);
}

.capability-item--upcoming {
  color: var(--muted-light);
  font-weight: 400;
  font-style: italic;
}

.capability-item--upcoming svg {
  stroke: var(--muted-light);
}

.capability-item--more {
  justify-content: center;
  color: var(--muted-light);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Split (Groups spotlight) ---------- */

.split {
  background: var(--ink);
  color: var(--bg);
}

.split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 {
  color: var(--paper);
  font-size: 2rem;
  margin-bottom: 18px;
}

.split p {
  color: #c3ccd1;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.split-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  color: #dfe4e7;
}

.split-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--green);
}

.split .mockup {
  border-color: var(--slate);
}

/* ---------- Devices ---------- */

.devices {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.devices .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.devices-copy {
  max-width: 420px;
}

.devices-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.devices-copy p {
  color: var(--muted);
}

.device-icons {
  display: flex;
  gap: 32px;
}

.device-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.device-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--navy);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
}

.pricing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pricing-card-head h3 {
  font-size: 1.25rem;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}

.pricing-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.pricing-tagline {
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  color: var(--slate);
}

.pricing-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--green);
}

.pricing-list--muted li {
  color: var(--muted-light);
  font-style: italic;
}

.pricing-card--unavailable {
  opacity: 0.55;
}

.pricing-cta {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 40px auto 0;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--red);
  text-align: center;
}

.final-cta h2 {
  color: var(--paper);
  font-size: 2rem;
  margin-bottom: 24px;
}

.final-cta .button--primary {
  background: var(--paper);
  color: var(--red);
}

.final-cta .button--primary:hover {
  background: var(--bg);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #9fb0b8;
  padding: 56px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 30px;
  width: 30px;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand .brand-wordmark {
  color: var(--red);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: var(--paper);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: #9fb0b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--paper);
}

/* ---------- Privacy page ---------- */

.legal {
  padding: 64px 0 96px;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted-light);
  margin-bottom: 40px;
  display: block;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p, .legal li {
  color: var(--slate);
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal li {
  list-style: disc;
  margin-bottom: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-visual {
    display: none;
  }

  .split .container {
    grid-template-columns: 1fr;
  }

  .split .mockup {
    order: -1;
  }

  .feature-grid,
  .audience-grid,
  .capability-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .button--ghost {
    display: none;
  }

  .devices .container {
    justify-content: center;
    text-align: center;
  }

  .devices-copy {
    max-width: none;
  }
}
