:root {
  --brand: #0048e2;
  --brand-dark: #0039b4;
  --ink: #11131a;
  --muted: #5b6072;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --border: #e6e9f2;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

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

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero img.logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 16px 40px rgba(0, 72, 226, 0.25);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--brand);
}

.hero p {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 72, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 72, 226, 0.38);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #ebeef7;
}

/* Features */
.features {
  padding: 64px 0 96px;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card .emoji {
  font-size: 30px;
  margin-bottom: 14px;
  display: inline-block;
}

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

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

/* How it works */
.how {
  padding: 0 0 96px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

/* CTA band */
.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: 28px;
  margin: 0 24px 96px;
  padding: 56px 24px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
}

.cta-band p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.footer-row a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 20px;
}

.footer-row a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* Legal pages */
.legal {
  padding: 64px 0 96px;
}

.legal h1 {
  font-size: clamp(28px, 5vw, 38px);
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  color: #2c2f3a;
  font-size: 16px;
}

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