:root {
  --ink: #111;
  --muted: #636976;
  --paper: #f5f6f2;
  --surface: #fff;
  --night: #17191e;
  --line: #dde2e6;
  --accent: #ff6b4a;
  --accent-soft: rgba(255, 107, 74, 0.14);
  --shadow: 0 26px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.app-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.app-nav,
.hero-actions,
.legal-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.app-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.app-nav a,
.button {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.app-nav a {
  color: var(--muted);
}

.app-nav a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.06);
}

.app-hero,
.section,
.legal-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.app-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
  min-height: 76vh;
  padding: clamp(70px, 12vw, 132px) 0;
}

.app-icon {
  width: min(320px, 80vw);
  border-radius: 28%;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.legal-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.badge-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}

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

.feature-card,
.legal-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.07);
}

.feature-card p,
.legal-card p {
  color: var(--muted);
}

.dark-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 7vw, 90px);
  padding: clamp(28px, 6vw, 64px);
  color: var(--surface);
  background: var(--night);
  border-radius: 30px;
}

.dark-band p {
  color: rgba(255, 255, 255, 0.76);
}

.legal-shell {
  max-width: 800px;
  padding: 56px 0 82px;
}

.legal-page {
  background: #fff;
  background-image: none;
}

.legal-doc {
  padding-top: 28px;
  color: #111;
  font-family: inherit;
}

.legal-doc h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.legal-doc h2 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal-doc ul {
  margin-top: 0;
}

.legal-doc li {
  margin-bottom: 6px;
}

.legal-doc .meta {
  color: #555;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@media (max-width: 860px) {
  .app-header,
  .app-hero,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-hero,
  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .app-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .button {
    width: 100%;
  }
}
