@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/SourceSerif4-Italic-Variable.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f4efe6;
  --paper-deep: #ede5d8;
  --plate: #fbf7f0;
  --ink: #141414;
  --graphite: #2a2a2a;
  --slate: #2e5566;
  --slate-soft: #597081;
  --moss: #3d725c;
  --moss-soft: rgba(61, 114, 92, 0.1);
  --rule: #d8d1c7;
  --highlight: #f3d37a;
  --archive-red: #b13a2e;
  --shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.58;
}

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

a:hover {
  opacity: 0.84;
}

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

.wrap {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--graphite);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
}

.brand:hover {
  opacity: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.08);
}

.brand-name {
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.nav nav a:hover {
  background: rgba(46, 85, 102, 0.08);
  opacity: 1;
}

.nav nav a[aria-current='page'] {
  background: var(--moss-soft);
  color: var(--moss);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
  padding: 72px 0 40px;
}

.hero-copy {
  padding-top: 10px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.98;
}

.page h1,
.section-heading h2,
.cta-panel h2 {
  max-width: none;
}

.page h1 {
  font-size: clamp(2.1rem, 3vw, 3.1rem);
}

h2,
h3 {
  margin-top: 0;
}

.lede {
  max-width: 58ch;
  margin: 0;
  color: var(--graphite);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 12px 16px;
  background: transparent;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button.button-disabled,
.button.primary.button-disabled {
  border-color: rgba(20, 20, 20, 0.08);
  background: rgba(20, 20, 20, 0.18);
  color: rgba(244, 239, 230, 0.92);
  cursor: not-allowed;
  pointer-events: auto;
}

.button.subtle {
  background: rgba(46, 85, 102, 0.04);
}

.hero-meta,
.meta,
.shot-meta,
.section-note,
.page-note {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}

.hero-meta {
  margin-top: 18px;
  color: var(--slate);
  font-size: 0.98rem;
}

.panel {
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 24px;
  background: var(--plate);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.hero-card .shot-card {
  margin: 0;
}

.hero-card .shot-card img {
  aspect-ratio: 412 / 915;
  object-fit: cover;
  object-position: top center;
}

.proof-strip,
.workflow-grid,
.pricing-grid,
.faq-grid,
.screenshot-grid,
.comparison-grid,
.info-grid,
.support-grid,
.interest-grid,
.card-link-grid {
  display: grid;
  gap: 20px;
}

.proof-strip {
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0 36px;
}

.proof-strip .panel {
  background: transparent;
  border-radius: 22px;
  box-shadow: none;
}

.proof-strip .panel h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.workflow-grid,
.faq-grid,
.comparison-grid,
.support-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-grid,
.screenshot-grid,
.interest-grid,
.card-link-grid,
.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.screenshot-grid-compact {
  margin-top: 18px;
}

.screenshot-grid-compact .panel {
  padding: 18px;
}

.shot-card {
  overflow: hidden;
}

.shot-card img {
  border-radius: 18px;
  border: 1px solid rgba(216, 209, 199, 0.85);
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.08);
}

.shot-card figcaption {
  margin-top: 14px;
  color: var(--graphite);
}

.shot-meta {
  margin: 0 0 12px;
  color: var(--slate-soft);
  font-size: 0.95rem;
}

.section-stack {
  padding: 26px 0 52px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1.06;
}

.section-heading p:last-child,
.section-note,
.page-note,
.support-note {
  color: var(--graphite);
}

.page-note {
  margin-top: 14px;
}

.install-status {
  margin: 14px 0 0;
  color: var(--moss);
  font-size: 0.98rem;
  font-weight: 600;
}

.page {
  padding: 52px 0 84px;
}

.page-hero {
  margin-bottom: 28px;
  background:
    linear-gradient(180deg, rgba(243, 211, 122, 0.1), transparent 52%),
    var(--plate);
}

.page-hero .lede,
.page-hero .page-note {
  max-width: 68ch;
}

.page-hero .page-note {
  margin-bottom: 0;
}

.page .prose {
  max-width: 76ch;
}

.prose h2 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: var(--graphite);
}

.prose ul,
.prose ol {
  padding-left: 20px;
}

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

.stack-tight > * + * {
  margin-top: 10px;
}

.list-tight {
  margin: 0;
  padding-left: 20px;
}

.list-tight li + li {
  margin-top: 8px;
}

.comparison-card .meta,
.pricing-grid .meta {
  margin-bottom: 10px;
  color: var(--slate);
}

.comparison-card h3,
.pricing-grid h3,
.support-grid h3,
.card-link-grid h3 {
  margin-bottom: 10px;
}

.comparison-card ul,
.support-grid ul,
.pricing-grid ul {
  margin-bottom: 0;
}

.inline-link {
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.card-link p {
  margin: 0;
  color: var(--graphite);
}

.card-link .button {
  margin-top: auto;
  align-self: flex-start;
}

.cta-band {
  padding: 8px 0 64px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(243, 211, 122, 0.12), transparent 45%),
    var(--plate);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
}

.site-footer .brand {
  margin-bottom: 8px;
}

.site-footer .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.site-footer .brand-name {
  font-size: 1.02rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid p {
  margin: 0;
  color: var(--graphite);
}

.footer-grid a {
  width: fit-content;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-cloud a {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(46, 85, 102, 0.04);
}

.compact-steps {
  margin: 0;
  padding-left: 20px;
}

.compact-steps li + li {
  margin-top: 10px;
}

.mini-kicker {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-grid .button,
.interest-grid .button,
.card-link-grid .button {
  width: fit-content;
}

@media (max-width: 860px) {
  .hero,
  .footer-grid,
  .proof-strip,
  .workflow-grid,
  .pricing-grid,
  .faq-grid,
  .screenshot-grid,
  .comparison-grid,
  .info-grid,
  .support-grid,
  .interest-grid,
  .card-link-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    display: block;
  }
}
