:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-elevated: #111114;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 68rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.18em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -10%,
      rgba(59, 130, 246, 0.16),
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.04),
      transparent 30%
    );
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 1rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.header-link {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.header-link:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #d4d4d8;
  max-width: 38rem;
}

.section-label {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.product,
.details {
  padding: 2rem 0 3rem;
}

.product-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .product-card {
    grid-template-columns: 1fr auto;
    padding: 2.25rem 2.5rem;
  }
}

.product-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.product-copy p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  color: #fff;
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.34);
}

.product-mark {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  color: #eff6ff;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.mark-ring {
  position: absolute;
  inset: -0.65rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 2rem;
  background: var(--accent-soft);
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
    padding: 2rem 2.25rem;
  }
}

.detail-grid div {
  margin: 0;
}

.detail-grid dt {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-grid dd {
  margin: 0;
  color: #e4e4e7;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  margin-top: 0.35rem !important;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
