:root {
  --ag-yellow: #FAD200;
  --ag-yellow-2: #FFD84D;
  --ag-black: #0B0B0B;
  --ag-muted: rgba(11, 11, 11, 0.72);
  --ag-border: rgba(11, 11, 11, 0.14);
  --radius: 16px;
  --shadow-soft: 0 12px 26px rgba(11, 11, 11, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ag-black);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(900px 600px at 85% 35%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ag-yellow) 0%, var(--ag-yellow-2) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(11, 11, 11, 0.10);
  border: 1px solid var(--ag-border);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__name {
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.9;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--ag-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.02em;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 34px 0 18px;
}

.hero {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(520px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 14px 34px rgba(11, 11, 11, 0.28));
}

.hero__title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero__desc {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--ag-muted);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 8px;
}

.btn {
  appearance: none;
  border: 1px solid var(--ag-border);
  background: rgba(255, 255, 255, 0.18);
  color: var(--ag-black);
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.26);
}

.btn:active {
  transform: translateY(0);
}

.site-footer {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  color: rgba(11, 11, 11, 0.58);
  font-size: 12px;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 11, 11, 0.25);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__logo {
    animation: floatIn 650ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .hero > *:nth-child(2) {
    animation: fadeUp 620ms 120ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .hero > *:nth-child(3) {
    animation: fadeUp 620ms 220ms cubic-bezier(.2, .8, .2, 1) both;
  }

  .hero > *:nth-child(4) {
    animation: fadeUp 620ms 320ms cubic-bezier(.2, .8, .2, 1) both;
  }

  @keyframes floatIn {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Small screens */
@media (max-width: 520px) {
  .site-header { gap: 10px; }
  .header-pill { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
