:root {
  --ink: #221934;
  --muted: #675f72;
  --paper: #fbfaf7;
  --purple: #2b145f;
  --purple-soft: #efeafb;
  --gold: #d8a328;
  --line: #ded9e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: white;
  color: var(--purple);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  min-height: 35rem;
  color: white;
  background:
    radial-gradient(circle at 86% 12%, rgba(216, 163, 40, 0.35), transparent 24rem),
    linear-gradient(135deg, #221047 0%, var(--purple) 58%, #4a277c 100%);
}

.nav-shell,
.hero-copy,
.content-shell,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(11, 4, 28, 0.3);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy {
  padding: 72px 0 88px;
}

.hero-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.25rem;
  line-height: 1.65;
}

.updated {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-primary,
.hero-secondary {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 800;
}

.hero-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #24143f;
}

.hero-secondary {
  color: white;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.status-row span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.hero-device {
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  background: rgba(12, 5, 31, 0.55);
  box-shadow: 0 34px 80px rgba(13, 4, 36, 0.48);
}

.hero-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.hero-device figcaption {
  padding: 12px 6px 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  text-align: center;
}

.content-shell {
  padding-block: 88px;
}

.product-story {
  padding-bottom: 96px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
}

.section-summary,
.demo-disclosure {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.screenshot-gallery figure {
  margin: 0;
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(34, 25, 52, 0.1);
}

.screenshot-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.screenshot-gallery figcaption {
  padding: 14px 8px 2px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.demo-disclosure {
  max-width: 760px;
  margin-top: 22px;
  font-size: 0.9rem;
}

.content-shell h2 {
  max-width: 760px;
  margin: 0 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.policy-effective {
  margin: -20px 0 34px;
  color: var(--muted);
  line-height: 1.7;
}

.policy-effective a {
  color: var(--purple);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.info-card {
  min-height: 270px;
  padding: 30px;
  background: white;
}

.info-card + .info-card {
  border-left: 1px solid var(--line);
}

.card-number {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card h3 {
  margin: 72px 0 12px;
  font-size: 1.15rem;
}

.info-card p,
.support-panel p,
.policy-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.policy-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.policy-details article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.policy-details h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.detail-kicker {
  margin-bottom: 12px !important;
  color: var(--purple) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-details ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.future-notice {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: 18px;
  background: var(--purple);
  color: white;
}

.future-notice span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.future-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.support-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 88px;
  padding: 52px;
  border-radius: 24px;
  background: var(--purple-soft);
}

.support-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.support-panel p {
  max-width: 650px;
}

.support-panel .support-email {
  margin-top: 12px;
  color: var(--ink);
}

.support-email a,
footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary-link {
  flex: 0 0 auto;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--purple);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.projects-section {
  padding-top: 96px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.project-card > div {
  padding: 30px;
}

.project-card h3 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.project-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.project-card a,
.quiet-link {
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-status {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 30px 30px 0;
  border-radius: 24px;
  object-fit: cover;
}

.project-wide-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gardenbound-card {
  grid-column: span 2;
}

.pixel-icon {
  image-rendering: pixelated;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    font-size: 0.9rem;
    justify-content: space-between;
    overflow-x: auto;
  }

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

  .hero-copy {
    padding-block: 76px;
  }

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

  .hero-device {
    width: min(100%, 300px);
  }

  .section-heading-row,
  .screenshot-gallery,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .gardenbound-card {
    grid-column: auto;
  }

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

  .info-card + .info-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .info-card {
    min-height: auto;
  }

  .info-card h3 {
    margin-top: 38px;
  }

  .support-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 32px;
  }

  .policy-details {
    grid-template-columns: 1fr;
  }

  .future-notice {
    grid-template-columns: 1fr;
  }

  .primary-link {
    text-align: center;
  }

  footer {
    flex-direction: column;
  }
}

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

  .skip-link {
    transition: none;
  }
}

@media print {
  .hero {
    min-height: auto;
    background: white;
    color: var(--ink);
  }

  .nav-links,
  .primary-link {
    display: none;
  }

  .intro,
  .updated {
    color: var(--muted);
  }

  .content-shell {
    padding-block: 32px;
  }
}
