﻿:root {
  --bg: #efe7da;
  --paper: #fcfbf7;
  --cream: #e5dccb;
  --ink: #151513;
  --muted: #615b51;
  --line: #cbbca8;
  --olive: #66745a;
  --olive-dark: #2f3828;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

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

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

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

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
}

.nav-links {
  display: none;
  gap: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.section {
  padding: 66px 0;
}

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.28;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  border-color: var(--olive-dark);
  background: var(--olive-dark);
  color: var(--paper);
}

.hero {
  padding: 64px 0;
}

.hero-grid,
.split,
.equal-grid,
.preview-grid,
.steps,
.footer-grid {
  display: grid;
  gap: 22px;
}

.hero-split,
.product-visual-client {
  align-items: center;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.compact {
  margin-bottom: 22px;
}

.hero-points,
.detail-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.detail-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
}

.hero-points li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
}

.cta-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.micro-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-block h3 {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.mini-block .detail-list {
  margin-top: 10px;
}

.inline-cta {
  margin-top: 22px;
}

.founder p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.hero-grid > *,
.split > *,
.equal-grid > *,
.preview-grid > *,
.steps > *,
.dual-covers > *,
.product-visual > * {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dual-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.cover-frame,
.image-frame,
.preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cover-frame {
  aspect-ratio: 0.72;
}

.cover-frame img,
.image-frame img,
.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}

.cover-frame.dad img {
  object-fit: cover;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 28px;
}

.system-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--paper);
}

.system-card-media {
  aspect-ratio: 4 / 3.35;
  border-bottom: 1px solid var(--line);
  background: #f8f5ee;
}

.system-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-card-media.dad img {
  object-fit: cover;
}

.system-card-body {
  padding: 20px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-card-body p,
.preview-caption,
.panel p,
.panel li,
.footer p {
  color: var(--muted);
}

.preview-card img {
  aspect-ratio: 0.72;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.preview-caption .caption-line {
  display: block;
  max-width: 72%;
}

.preview-caption .caption-sub {
  color: var(--muted);
}

.addons-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-hero {
  padding: 66px 0 58px;
}

.product-visual {
  display: grid;
  grid-template-columns: 0.86fr 0.68fr;
  gap: 16px;
  align-items: end;
}

.product-visual .image-frame:first-child {
  aspect-ratio: 0.72;
}

.product-visual .image-frame:last-child {
  aspect-ratio: 0.72;
  transform: translateY(24px);
}

.product-visual.dad .image-frame:first-child img {
  object-fit: cover;
}

.facts {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 24px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.fact strong {
  color: var(--ink);
}

.panel {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.clean-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(214, 204, 189, 0.8);
}

.step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.steps {
  counter-reset: step;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.final-cta {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 34px 0;
  border-block: 1px solid var(--line);
}

.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  padding: 32px 0;
  font-size: 0.84rem;
}

.footer strong {
  color: var(--ink);
}

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

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero-grid,
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

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

  .preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

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

  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 719px) {
  body {
    font-size: 14px;
  }

  .hero,
  .section,
  .product-hero {
    padding: 48px 0;
  }

  .lead {
    max-width: 330px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .dual-covers,
  .product-visual {
    gap: 10px;
  }

  .product-visual .image-frame:last-child {
    transform: translateY(0);
  }
}


/* Buy link styles */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.buy-link {
  font-size: 0.8rem;
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.buy-link:hover {
  color: #1d4ed8;
}

.buy-link.secondary {
  color: #64748b;
}

.buy-link.secondary:hover {
  color: #334155;
}
