:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --fg: #0f172a;
  --fg-muted: #475569;
  --brand: #c32e2e;
  --brand-dark: #bc0e0e;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand img { height: 20px; width: auto; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}

.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero p.lede {
  font-size: 18px;
  color: var(--fg-muted);
  margin: 0 0 32px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-ghost:hover { background: var(--bg-alt); }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone {
  width: 280px;
  max-width: 100%;
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: #111;
  padding: 10px;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* Features */
.features {
  background: var(--bg-alt);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.section-title {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--fg-muted);
  margin: 0;
  max-width: 640px;
}

/* Generic prose section used by sub-pages such as terms. */
.prose {
  padding-top: 56px;
  padding-bottom: 72px;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.prose p,
.prose li {
  color: var(--fg-muted);
  font-size: 16px;
}

.prose ul {
  padding-left: 20px;
}

/* Footer */
footer {
  padding: 40px 0;
  color: var(--fg-muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 40px;
    gap: 40px;
  }
  .hero .cta-row { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
