:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #aab5af;
  --paper: #0b0f0e;
  --surface: #141a18;
  --surface-strong: #1a231f;
  --line: #29332f;
  --sage: #8eb8a8;
  --teal: #67b6a2;
  --coral: #e38968;
  --gold: #d7a642;
  --blue: #7aa6bd;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(41, 51, 47, 0.82);
  background: rgba(11, 15, 14, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark::before {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 68% 34%, var(--gold) 0 10%, transparent 11%),
    conic-gradient(from 160deg, #35695d, var(--sage), var(--coral), #35695d);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: #1c2723;
  color: var(--ink);
}

.site-nav a.contact-link {
  border: 1px solid var(--line);
  background: #101614;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 20%, rgba(227, 137, 104, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(142, 184, 168, 0.12), rgba(11, 15, 14, 0.45) 55%, rgba(122, 166, 189, 0.12)),
    var(--paper);
}

.hero-grid {
  display: grid;
  min-height: clamp(600px, 78vh, 780px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 13vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.page-title {
  max-width: 820px;
  font-size: clamp(3rem, 9vw, 6.8rem);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: #8ecab9;
  background: #8ecab9;
  color: #08100e;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  transform: rotate(1deg);
}

.hero-visual img {
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #101614;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.product-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  padding: 24px;
}

.feature b,
.product-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.feature p,
.product-card p,
.info-panel p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  min-height: 280px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.product-art {
  display: grid;
  height: 126px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: #202926;
  overflow: hidden;
}

.record-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f8efe0 0 10%, var(--coral) 11% 15%, #17201e 16% 100%),
    #17201e;
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.05), inset 0 0 0 32px rgba(255, 255, 255, 0.04);
}

.app-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.product-card .app-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
}

.product-logo-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.embed-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  min-height: 520px;
}

.embed-panel .payhip-embed-page {
  min-height: 520px;
}

.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 8%, rgba(215, 166, 66, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(142, 184, 168, 0.12), rgba(11, 15, 14, 0.2));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 38px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.copy-stack h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
}

.copy-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat {
  min-height: 140px;
  background: var(--surface);
  padding: 24px;
}

.stat strong {
  display: block;
  font-size: 2rem;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}

.footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
}

.template-note {
  border-left: 4px solid var(--coral);
  background: rgba(227, 137, 104, 0.1);
  padding: 16px 18px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

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

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

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

  .hero-grid {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3.9rem, 18vw, 6.2rem);
  }

  .hero-visual {
    transform: none;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .feature-grid,
  .product-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .footer .section-inner {
    flex-direction: column;
  }
}
