:root {
  --bg: #f4efe4;
  --surface: rgba(255, 252, 246, 0.82);
  --surface-strong: #fffaf0;
  --ink: #14213d;
  --muted: #5c6478;
  --line: rgba(20, 33, 61, 0.08);
  --accent: #f3a712;
  --accent-deep: #d97706;
  --teal: #2a9d8f;
  --coral: #e76f51;
  --shadow: 0 20px 60px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 167, 18, 0.28), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(42, 157, 143, 0.25), transparent 24%),
    linear-gradient(180deg, #f9f3e7 0%, #f4efe4 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.app-card,
.policy-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 36px;
  padding: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.section-heading h2 {
  margin: 18px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.hero-copy p,
.section-heading p,
.app-content p,
.policy-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.app-meta,
.hero-stats,
.section {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #1f1300;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.22);
}

.button-secondary {
  background: rgba(20, 33, 61, 0.07);
  color: var(--ink);
}

.button-small {
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.hero-stats strong,
.app-meta span,
.identity h2,
.policy-card strong {
  display: block;
}

.hero-stats span {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  padding: 28px;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.hero-visual::before {
  inset: auto auto 28px -40px;
  width: 180px;
  height: 180px;
  background: rgba(231, 111, 81, 0.24);
}

.hero-visual::after {
  inset: 40px -28px auto auto;
  width: 140px;
  height: 140px;
  background: rgba(42, 157, 143, 0.22);
}

.avatar-card {
  position: relative;
  height: 100%;
  min-height: 464px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 248, 237, 0.9)),
    linear-gradient(135deg, rgba(243, 167, 18, 0.16), rgba(42, 157, 143, 0.08));
  border: 1px solid rgba(20, 33, 61, 0.08);
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  margin: 14px auto 24px;
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, var(--accent), #ffd166, var(--teal), var(--coral), var(--accent));
  animation: rotate 16s linear infinite;
}

.avatar-face {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff6d8, #f0b868 42%, #cc7a1d 100%);
  box-shadow: inset 0 -18px 36px rgba(0, 0, 0, 0.12);
}

.avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.92);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.identity {
  text-align: center;
}

.identity-label,
.identity-note,
.app-tag {
  color: var(--muted);
}

.identity-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.identity h2 {
  margin: 10px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.floating-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 14px 40px rgba(20, 33, 61, 0.14);
}

.floating-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding-top: 72px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.app-card {
  padding: 26px;
  border-radius: 28px;
}

.app-card.featured {
  background:
    linear-gradient(135deg, rgba(243, 167, 18, 0.22), rgba(255, 255, 255, 0.86));
}

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fffaf0;
}

.app-icon.amber {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.app-icon.teal {
  background: linear-gradient(135deg, #2a9d8f, #1f776d);
}

.app-icon.coral {
  background: linear-gradient(135deg, #e76f51, #c85539);
}

.app-content h3,
.policy-card h3 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.app-content {
  margin-top: 18px;
}

.app-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.app-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-section {
  padding-bottom: 40px;
}

.policy-card {
  margin-top: 28px;
  padding: 36px;
  border-radius: 32px;
}

.policy-card h3 {
  margin-top: 28px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 38px 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar {
    padding: 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .avatar-ring {
    width: 220px;
    height: 220px;
  }

  .avatar-face {
    width: 176px;
    height: 176px;
  }

  .avatar-card {
    min-height: auto;
    padding: 24px 18px 96px;
  }

  .policy-card,
  .app-card {
    padding: 24px 18px;
  }
}
