:root {
  color-scheme: dark;
  --bg: #10120f;
  --bg-2: #171a16;
  --fg: #f7f3e8;
  --muted: #b9c3af;
  --soft: #d9e4cf;
  --accent: #7fd7a4;
  --accent-2: #f1b768;
  --panel: #1d221c;
  --panel-2: #242a22;
  --line: rgba(247, 243, 232, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(16, 18, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.header-link,
.text-link {
  color: var(--accent);
  font-weight: 750;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.home-hero,
.product-hero,
.projects-section,
.content-band,
.media-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 4rem);
}

.home-hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: calc(100vh - 4.5rem);
  background:
    linear-gradient(135deg, rgba(127, 215, 164, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.home-hero {
  min-height: 42rem;
}

.home-hero-copy,
.product-copy,
.section-heading,
.content-band > .details-copy,
.detail-list {
  max-width: 44rem;
}

.home-hero-copy,
.product-copy,
.home-hero-media,
.home-hero-panel,
.hero-art {
  min-width: 0;
}

.home-hero-media {
  margin: 0;
}

.home-hero-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-hero-panel {
  display: grid;
  min-height: 26rem;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(247, 243, 232, 0.08), transparent),
    var(--panel);
}

.mark {
  display: block;
}

.large-mark {
  width: clamp(8rem, 18vw, 13rem);
  height: clamp(8rem, 18vw, 13rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.product-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 6rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.project-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 76rem;
}

.project-card,
.feature-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
}

.project-card {
  display: grid;
  grid-column: span 3;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  min-height: 18rem;
  padding: 1rem;
  overflow: hidden;
}

.project-card-body {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-content: center;
  gap: 1rem;
  padding: 0.35rem;
}

.project-card-body > .text-link {
  grid-column: 2;
  align-self: start;
}

.project-icon-link {
  display: block;
  align-self: start;
  width: 5.5rem;
  height: 5.5rem;
}

.project-icon-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.25rem;
}

.project-preview {
  display: block;
  min-width: 0;
  align-self: stretch;
}

.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 1px solid var(--line);
  object-fit: cover;
}

.project-icon,
.app-icon {
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

.project-icon {
  width: 5.5rem;
  height: 5.5rem;
}

.project-card p,
.feature-grid p,
.detail-list dd {
  color: var(--muted);
  line-height: 1.55;
}

.project-type {
  margin-bottom: 0.5rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.app-icon {
  width: 6rem;
  height: 6rem;
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-kicker {
  margin: -0.6rem 0 0;
  color: var(--muted);
  font-weight: 750;
}
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: 850;
  text-decoration: none;
}

.app-store-badge-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge {
  display: block;
  width: 11.25rem;
  height: auto;
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-band {
  background: var(--bg);
}

.content-band.alt {
  background: var(--bg-2);
}

.media-section {
  display: grid;
  grid-template-columns: minmax(22rem, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: var(--bg-2);
}

.media-figure {
  min-width: 0;
  margin: 0;
}

.media-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-copy {
  min-width: 0;
  max-width: 38rem;
}

.media-copy p {
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 13rem;
  padding: 1.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  max-width: 76rem;
}

.price-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.price-card.emphasized {
  background:
    linear-gradient(135deg, rgba(127, 215, 164, 0.12), transparent),
    var(--panel-2);
}

.price-label {
  margin-bottom: 0.5rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
}

.price-card p:not(.price-label),
.pricing-note {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-note {
  max-width: 54rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 4rem);
  background:
    linear-gradient(135deg, rgba(127, 215, 164, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.page-hero h1 {
  max-width: 12ch;
}

.narrow {
  display: grid;
  gap: 1rem;
  max-width: 58rem;
}

.prose-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.prose-card p,
.prose-card li {
  color: var(--muted);
  line-height: 1.6;
}

.section-label {
  margin-bottom: 0.5rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

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

.detail-list div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.detail-list dt {
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
}

.site-footer-inner {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  color: var(--soft);
}

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

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: var(--accent);
}

.site-footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .home-hero,
  .product-hero,
  .details,
  .media-section {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .product-hero {
    overflow: hidden;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero-panel {
    min-height: 16rem;
  }

  .project-grid,
  .feature-grid,
  .feature-grid.compact,
  .pricing-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1,
  .product-copy h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

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

  .project-card-body {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }

  .project-card-body > .text-link {
    grid-column: 1 / -1;
  }

  .project-icon,
  .project-icon-link {
    width: 4.75rem;
    height: 4.75rem;
  }
}
