/* ============== Reset & base ============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #E2F549;
  --brand-dark: #c9dc2e;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --border: #ececec;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --max-w: 1180px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  opacity: 0.85;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s ease;
}

.nav a:hover {
  background: var(--bg-soft);
  opacity: 1;
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 6px;
}

.nav .nav-cta:hover {
  background: var(--ink-soft);
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(226, 245, 73, 0.45),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 0% 30%,
      rgba(226, 245, 73, 0.25),
      transparent 60%
    ),
    #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 24px;
}

h1 .accent {
  background: linear-gradient(180deg, transparent 60%, var(--brand) 60%);
  padding: 0 4px;
}

.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background 0.15s ease;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  opacity: 1;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-meta-item span {
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual (icon card) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15),
    0 18px 36px -18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.icon-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.icon-card img {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.floating-tag {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.floating-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.tag-1 {
  top: 8%;
  left: -6%;
}

.tag-2 {
  bottom: 12%;
  right: -8%;
}

/* ============== Footer ============== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner small {
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
  opacity: 1;
}

/* ============== Legal pages ============== */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

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

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 600;
}

.legal p,
.legal li {
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.75;
}

.legal p {
  margin-bottom: 14px;
}

.legal ul,
.legal ol {
  margin: 0 0 16px 22px;
}

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

.legal a {
  color: #1d4ed8;
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--ink);
  opacity: 1;
}

/* ============== Responsive ============== */
@media (max-width: 880px) {
  .hero {
    padding: 64px 0 80px;
  }

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

  .hero-visual {
    order: -1;
  }

  .icon-card {
    max-width: 280px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 64px;
  }

  .hero-meta {
    gap: 22px;
  }

  .floating-tag {
    font-size: 12px;
    padding: 8px 12px;
  }

  .footer-inner {
    justify-content: flex-start;
  }
}
