:root {
  --lime: #b5cc18;
  --lime-soft: #f4f8dc;
  --pink: #e8247a;
  --pink-dark: #b8135c;
  --ink: #23262b;
  --muted: #5b6068;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-alt: #f7f8f5;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 30, 0.04), 0 8px 24px rgba(20, 24, 30, 0.06);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--pink-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink);
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--lime-soft);
  box-shadow: inset 0 0 0 1px rgba(181, 204, 24, 0.45);
}

/* Main */
main {
  flex: 1;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
}

.prose {
  max-width: 68ch;
  color: var(--muted);
}

.prose .lead,
.prose h1,
.prose h2 {
  color: var(--ink);
}

/* Hero */
.hero {
  text-align: center;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(181, 204, 24, 0.14), transparent 70%),
    radial-gradient(50% 70% at 90% 10%, rgba(232, 36, 122, 0.08), transparent 70%);
}

.hero-logo {
  /* the logo PNG has an off-white background; multiply blends it into the hero gradient */
  mix-blend-mode: multiply;
  width: min(520px, 90%);
  margin: 0 auto 2.25rem;
}

.hero .prose {
  margin: 0 auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.actions--start {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn--primary:hover {
  background: #000;
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

/* About */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.founder-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 800 / 721;
  object-fit: cover;
  width: 100%;
}

.founder .prose {
  max-width: none;
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--lime);
  background: var(--lime-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Products */
.page-intro {
  padding-bottom: 0;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-media--earthbeat {
  background: #fff;
}

.product-media--earthbeat img {
  width: 78%;
  height: auto;
}

.product-media--badrally {
  background: linear-gradient(135deg, #f5f0fd, #ebe2fa);
}

.product-media--badrally img {
  width: auto;
  height: 72%;
  border-radius: 22%;
  box-shadow: 0 10px 30px rgba(76, 29, 149, 0.28);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}

.product-body h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-body p {
  color: var(--muted);
}

.product-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #4b1a9a;
  background: #efe7fb;
}

/* 404 */
.not-found {
  text-align: center;
}

.not-found .code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 0.5rem;
  background: linear-gradient(120deg, var(--lime), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found .prose {
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.site-footer p {
  margin: 0;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 820px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 320px;
  }

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

@media (max-width: 560px) {
  .site-header .container {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    padding-top: 0.6rem;
    padding-bottom: 0.5rem;
    min-height: 0;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    margin-left: -0.6rem;
  }

  .site-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
