:root {
  --bg: #f7f4f2;
  --card: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #e7e2df;
  --brand: #111827;
  --accent: #b83280;
  --soft: #fff4fb;
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(184, 50, 128, .16), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(17, 24, 39, .10), transparent 28rem),
    var(--bg);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(231, 226, 223, .85);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.nav-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.nav-button,
.primary {
  background: var(--brand);
  color: #fff;
}

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

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 32px;
  align-items: center;
  min-height: 680px;
  padding: 54px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .92;
  letter-spacing: -.07em;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

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

.hero-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,244,251,.9));
  box-shadow: 0 30px 90px rgba(17, 24, 39, .12);
}

.phone-preview,
.tablet-preview {
  position: absolute;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 55px rgba(17, 24, 39, .10);
}

.phone-preview {
  top: 38px;
  left: 34px;
  width: 260px;
  padding: 20px;
  border-radius: 34px;
}

.phone-preview h3 {
  margin: 16px 0 8px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.preview-top {
  width: 82px;
  height: 8px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #111827;
}

.preview-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  font-size: 14px;
}

.phone-preview button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.tablet-preview {
  right: 26px;
  bottom: 40px;
  width: 330px;
  padding: 22px;
  border-radius: 28px;
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, .14);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.button-row span {
  padding: 10px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.scenario-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 70px;
}

.scenario,
.features article,
.onboarding,
.join-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 45px rgba(17, 24, 39, .06);
}

.scenario {
  padding: 24px;
}

.scenario span {
  color: var(--accent);
  font-weight: 950;
}

.scenario h2,
.features h3 {
  margin: 12px 0 10px;
  letter-spacing: -.04em;
}

.scenario p,
.features p,
.onboarding p,
.join-card p {
  color: var(--muted);
  line-height: 1.5;
}

.section-title {
  max-width: 620px;
  margin-bottom: 22px;
}

.section-title h2,
.onboarding h2,
.join-card h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.06em;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.features article {
  padding: 22px;
}

.onboarding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  margin-bottom: 60px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  color: var(--muted);
  font-weight: 700;
}

.join-shell {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding: 48px 0;
}

.join-card {
  width: min(680px, 100%);
  padding: clamp(24px, 5vw, 44px);
}

.join-card label {
  display: block;
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.join-card input {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 16px;
}

.join-card button {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.small {
  font-size: 13px;
}

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

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 580px;
  }

  .scenario-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 22px, 1180px);
  }

  .site-header nav a:not(.nav-button) {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-panel {
    min-height: 500px;
  }

  .phone-preview {
    left: 14px;
    width: calc(100% - 52px);
  }

  .tablet-preview {
    right: 14px;
    bottom: 24px;
    width: calc(100% - 52px);
  }

  .scenario-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
