@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&family=Source+Code+Pro:wght@400;500&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f2ea;
  --ink: #1a1511;
  --accent: #c13b2a;
  --accent-2: #1f4b99;
  --accent-3: #f4d9b7;
  --card: #ffffff;
  --muted: #6e645a;
  --border: #e6d8cb;
  --shadow: 0 20px 60px rgba(31, 26, 23, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #fff8eb 0%, var(--bg) 45%, #f3ede3 100%);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.35;
  z-index: -1;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #ffd4b8, transparent 70%);
  top: -120px;
  left: -160px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #b6d4ff, transparent 70%);
  top: 200px;
  right: -120px;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #fbe3b6, transparent 70%);
  bottom: -140px;
  left: 20%;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.hero {
  padding: 32px 24px 56px;
}

.nav {
  max-width: 1150px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 0 0 auto;
}

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

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

.nav-links a:hover {
  color: var(--ink);
}

.hero-content {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin: 0 0 16px;
}

.hero-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.stat-value {
  display: block;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.meta {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(31, 26, 23, 0.12);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

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

.btn.glow {
  background: #fff6ea;
  color: #5b2c16;
  border-color: #f2c99f;
  box-shadow: 0 10px 24px rgba(193, 59, 42, 0.18);
}

.btn.glow:hover {
  animation: glowPulse 1.4s ease-in-out infinite;
  box-shadow: 0 16px 36px rgba(193, 59, 42, 0.28);
  transform: translateY(-2px);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 16px 36px rgba(193, 59, 42, 0.28);
  }
  50% {
    box-shadow: 0 20px 44px rgba(193, 59, 42, 0.38);
  }
  100% {
    box-shadow: 0 16px 36px rgba(193, 59, 42, 0.28);
  }
}

.btn.small {
  padding: 8px 14px;
  font-size: 14px;
}

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

main {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.section {
  margin-top: 56px;
}

.section-header h2 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  margin: 0 0 8px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.announce-stack {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.announce-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(31, 26, 23, 0.08);
  overflow: hidden;
}

.announce-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.announce-item summary::-webkit-details-marker {
  display: none;
}

.announce-item summary:hover {
  background: #fff7eb;
  transform: translateY(-1px);
}

.announce-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #fff2df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9b3c2f;
}

.announce-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.announce-date {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.announce-title {
  display: block;
  font-family: \"Space Grotesk\", \"IBM Plex Sans\", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.announce-body {
  padding: 0 20px 20px 72px;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.announce-item[open] .announce-body {
  max-height: 220px;
  opacity: 1;
}

.announce-body a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(31, 26, 23, 0.08);
}

.card h3,
.card h4 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.list {
  padding-left: 18px;
  color: var(--muted);
  margin: 12px 0 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.figure-card {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1fr;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.figure-card img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}

pre {
  background: #17120f;
  color: #fdf4e7;
  padding: 16px;
  border-radius: 16px;
  overflow-x: auto;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
}

.callout {
  margin-top: 16px;
  background: #fff2df;
  border: 1px solid #f4d9b7;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  color: #634b36;
}

.video-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.video-pill {
  background: var(--accent-2);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.steps {
  padding-left: 18px;
  color: var(--muted);
}

.media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

footer {
  padding: 32px 24px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

footer a {
  color: var(--accent-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 860px) {
  .figure-card {
    grid-template-columns: 1fr;
  }

  .video-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 24px;
  }

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