/* Simple Pre Packs — marketing site */

:root {
  --teal-dark: #0d4f4f;
  --teal-mid: #1a7a7a;
  --teal-light: #2a9d9d;
  --mint: #98e2c6;
  --mint-dark: #6bc9a8;
  --ink: #1a1a1a;
  --muted: #5c6b6b;
  --surface: #f7fafa;
  --white: #ffffff;
  --border: #d8e8e8;
  --shadow: 0 4px 24px rgba(13, 79, 79, 0.1);
  --shadow-lg: 0 12px 48px rgba(13, 79, 79, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1100px;
  --prose-width: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-mid);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--prose-width);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--teal-dark);
}

.site-logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.btn--primary:hover {
  background: var(--teal-mid);
  border-color: var(--teal-mid);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn--secondary:hover {
  background: var(--surface);
  color: var(--teal-dark);
}

.btn--mint {
  background: var(--mint);
  color: var(--teal-dark);
  border-color: var(--mint);
}

.btn--mint:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  color: var(--teal-dark);
}

.btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* Hero */

.hero {
  background: linear-gradient(160deg, var(--teal-mid) 0%, var(--teal-dark) 55%, #083838 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(152, 226, 198, 0.2);
  color: var(--mint);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(152, 226, 198, 0.35);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  max-width: 32rem;
}

.hero__subtitle strong {
  color: var(--mint);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero .btn--primary {
  background: var(--mint);
  color: var(--teal-dark);
  border-color: var(--mint);
}

.hero .btn--primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--teal-dark);
}

.hero .btn--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.hero__visual {
  position: relative;
}

.hero__screenshot {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__icon-fallback {
  width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section--surface {
  background: var(--surface);
}

.section__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin: 0 0 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* Feature cards */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.features-grid--dense {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--mint);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--mint) 0%, #c5f0de 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--teal-dark);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

.feature-card__link {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-mid);
}

.feature-card__link:hover {
  color: var(--teal-dark);
}

/* Pack badge */

.pack-badge {
  display: inline-block;
  background: var(--mint);
  color: var(--teal-dark);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step__number {
  width: 36px;
  height: 36px;
  background: var(--teal-dark);
  color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--teal-dark);
}

.step__desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Storefront callout */

.storefront-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.storefront-callout__content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.storefront-callout__content p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.storefront-callout__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.storefront-callout__steps li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink);
}

.storefront-callout__steps li::before {
  content: "✓";
  color: var(--teal-mid);
  font-weight: 700;
  flex-shrink: 0;
}

.storefront-callout__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  margin: 0 auto;
}

/* Pricing */

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--teal-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-card__plan {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin: 0 0 0.5rem;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0;
  line-height: 1;
}

.pricing-card__price span {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card__trial {
  font-size: 1rem;
  color: var(--teal-mid);
  font-weight: 600;
  margin: 0.75rem 0 1.5rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-card__features li {
  display: flex;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li::before {
  content: "✓";
  color: var(--teal-mid);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card__note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
  line-height: 1.5;
}

/* Screenshot showcase */

.screenshot-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.screenshot-showcase img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: 100%;
}

/* CTA band */

.cta-band {
  background: linear-gradient(160deg, var(--teal-mid) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.cta-band__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */

.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.site-footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.site-footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--mint);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__bottom a {
  color: var(--mint);
}

/* Legal pages */

.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink);
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-page li {
  margin-bottom: 0.375rem;
}

.legal-page a {
  color: var(--teal-mid);
}

/* Responsive */

@media (max-width: 900px) {
  .hero__grid,
  .storefront-callout,
  .features-grid,
  .features-grid--dense,
  .screenshot-showcase {
    grid-template-columns: 1fr;
  }

  .features-grid--dense {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .hero__screenshot {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-header__inner {
    position: relative;
  }

  .site-header .btn--sm {
    display: none;
  }

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

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .features-grid--dense {
    grid-template-columns: 1fr;
  }
}

/* Blog */

.blog-index {
  padding: 3rem 0 5rem;
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-card {
  display: block;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--mint);
  color: inherit;
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.blog-post {
  padding: 3rem 0 5rem;
}

.blog-post__meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.blog-post h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.blog-post h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 2rem 0 0.75rem;
}

.blog-post p,
.blog-post li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.blog-post p {
  margin: 0 0 1rem;
}

.blog-post ul,
.blog-post ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.blog-post li {
  margin-bottom: 0.4rem;
}

.blog-post a {
  color: var(--teal-mid);
  font-weight: 500;
}

.blog-post__cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.blog-post__cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.blog-post__related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-post__related h2 {
  margin-top: 0;
}

.blog-post__related ul {
  list-style: none;
  padding: 0;
}

.blog-post__related li {
  margin-bottom: 0.5rem;
}

/* Demo page */

.demo-page {
  padding-top: 2.5rem;
}

.demo-player {
  width: 100%;
  max-width: min(480px, 100%);
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #111;
  aspect-ratio: 16 / 9;
}

.demo-player__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #111;
}

.demo-outline {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.demo-outline li + li {
  margin-top: 0.45rem;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}
