:root {
  --red: #d62828;
  --red-dark: #a4161a;
  --dark: #161616;
  --text: #333333;
  --muted: #6b7280;
  --light: #f8f8f8;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(214, 40, 40, 0.10), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 18px rgba(214, 40, 40, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}

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

.hero {
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 {
  color: var(--dark);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin: 30px 0 10px;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 28px rgba(214, 40, 40, 0.24);
}

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

.button.secondary {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.12), rgba(214, 40, 40, 0));
  z-index: -1;
  transform: translate(40px, 30px);
}

.app-mockup-image {
  width: min(440px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.16));
}

.features {
  padding: 96px 0;
  background: white;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

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

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-card h3 {
  margin-top: 0;
}

.privacy-teaser { padding: 84px 0; }

.privacy-box {
  background: var(--dark);
  color: white;
  border-radius: 32px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.privacy-box h2 { color: white; }

.privacy-box p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 680px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: white;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.footer-inner a { color: var(--dark); }
.footer-inner a:hover { color: var(--red); }

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.legal-page { padding: 72px 0 96px; }

.legal-container { max-width: 860px; }

.legal-container h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  margin-bottom: 42px;
}

.legal-container section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.legal-container h2 {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.legal-container p,
.legal-container li {
  line-height: 1.75;
  color: var(--text);
}

.legal-container a {
  color: var(--red);
  font-weight: 700;
}

.legal-container ul {
  padding-left: 1.35rem;
  margin-top: 8px;
}

.legal-container li + li {
  margin-top: 4px;
}

@media (max-width: 860px) {
  .hero { padding: 42px 0 72px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-visual { order: -1; }

  .app-mockup-image {
    width: min(330px, 92vw);
  }

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

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

  .header-inner { height: 68px; }

  .nav {
    gap: 14px;
    font-size: 0.92rem;
  }

  .brand span { font-size: 1.05rem; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1120px); }

  .nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .hero-actions { flex-direction: column; }

  .button { width: 100%; }

  .privacy-box {
    padding: 28px;
    border-radius: 24px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 22px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
