:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --text: #18212f;
  --muted: #5d6b82;
  --border: #d8e0ee;
  --primary: #2463eb;
  --primary-dark: #1849b8;
  --accent: #0d9f6e;
  --danger: #db3d3d;
  --shadow: 0 18px 50px rgba(23, 36, 63, 0.08);
  --radius: 20px;
  --max: 1120px;
}

* {
  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;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(216, 224, 238, 0.7);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.brand,
h1,
h2,
h3,
summary {
  letter-spacing: -0.02em;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.grid,
.signup-wrap,
.footer-row {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.signup-wrap {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.hero-copy,
.section-heading p,
.card p,
.form-note,
.site-footer p,
.signup-wrap p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--border);
  background: white;
}

.trust-list,
.pricing-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

.section {
  padding: 2rem 0 4rem;
}

.alt {
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.75), rgba(238, 243, 255, 0.3));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two-up,
.pricing-grid,
.footer-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.dashboard-preview {
  background: linear-gradient(180deg, #1d2638, #25334d);
  color: #edf2ff;
}

.preview-top {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pill.urgent {
  background: rgba(219, 61, 61, 0.18);
  color: #ffb3b3;
}

.pill.open {
  background: rgba(36, 99, 235, 0.18);
  color: #bcd4ff;
}

.pill.overdue {
  background: rgba(255, 183, 0, 0.2);
  color: #ffe39a;
}

.preview-list {
  display: grid;
  gap: 0.9rem;
}

.preview-list article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 16px;
}

.preview-list p {
  color: rgba(237, 242, 255, 0.8);
  margin-bottom: 0;
}

.features .card {
  min-height: 100%;
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(36, 99, 235, 0.35);
  box-shadow: 0 22px 60px rgba(36, 99, 235, 0.14);
}

.plan {
  color: var(--primary);
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 3rem;
}

.pricing-card h3 span {
  font-size: 1rem;
  color: var(--muted);
}

.signup-form {
  display: grid;
  gap: 1rem;
}

.signup-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.signup-form input,
.signup-form textarea,
.signup-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: white;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
}

.footer-row {
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .signup-wrap,
  .grid.three-up,
  .grid.two-up,
  .pricing-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}
