.home {
  --ink: #17271f;
  --green: #173f31;
  --muted: #4d6157;
  --line: #dce6db;
  --mint: #e1f3e8;
  max-width: none;
  padding: 0;
  background: #fcfdf9;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

.home a { color: inherit; }
.home main { padding: 0; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header, .site-footer, .closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header, .site-footer { border-color: var(--line); }
.home nav { align-items: center; }
.home nav a, .wordmark { text-decoration: none; }
.home nav a:hover, .secondary:hover { text-decoration: underline; }
.wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.wordmark span { display: block; margin-top: .35rem; font-size: .7rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

.home .button, .secondary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: .7rem 1rem;
  border-radius: .65rem;
  white-space: nowrap;
}
.home .button { background: var(--green); color: white; }
.home .button:hover { background: #255a46; }
.secondary { border: 1px solid #b9cbbf; text-decoration: none; font-weight: 600; }
.home a:focus-visible { outline: 3px solid #417c62; outline-offset: 4px; }

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 3rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 63%, #dceee0, transparent 73%);
}
.hero h1 { margin: 0; font-size: clamp(2.65rem, 7.5vw, 5.8rem); line-height: 1.02; letter-spacing: -.075em; }
.hero h1 em { color: #356a53; font-style: normal; }
.hero > .wrap > p { max-width: 36rem; margin: 1.4rem auto 1.65rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

.preview {
  max-width: 950px;
  margin: 3rem auto 0;
  overflow: hidden;
  border: 1px solid #ccdcd1;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 26px 65px #254c3522;
  text-align: left;
}
.preview figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1.15rem; background: #f5f8f3; border-bottom: 1px solid var(--line); font-size: .85rem; }
.preview figcaption span { color: var(--muted); }
.preview-body { display: grid; grid-template-columns: 145px minmax(0, 1fr); }
.preview-body aside { display: grid; align-content: start; gap: .8rem; padding: 1.3rem 1rem; background: #17271f; color: white; font-size: .85rem; }
.preview-body aside span { color: #c4d7cb; }
.preview-main { min-width: 0; padding: clamp(1rem, 3vw, 1.9rem); }
.preview-main h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.pipeline { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pipeline li { flex: 1 0 auto; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: #f7faf6; font-size: .8rem; font-weight: 650; }
.pipeline li:first-child { background: var(--mint); }
.preview-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .8rem; }
.preview-columns > div { padding: .85rem; border: 1px solid var(--line); border-radius: .65rem; }
.preview-columns h3 { margin: 0 0 .75rem; font-size: .95rem; }
.preview-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; font-size: .78rem; }
.status, .feature-tag { display: inline-block; padding: .12rem .45rem; border-radius: .4rem; background: #f2eddb; color: #554b29; }
.passed, .feature-tag { background: var(--mint); color: var(--green); }
.preview-columns .preview-upload { background: #edf5ed; font-size: .85rem; }
.preview-upload div { padding: .6rem; border: 1px dashed #7f9d87; border-radius: .4rem; }
.preview-upload p { margin: .55rem 0 0; color: var(--muted); }

.features { padding: clamp(3rem, 8vw, 6rem) 0; }
.features h2, .closing h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.05em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.feature-grid article { padding: 1.25rem; border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
.feature-tag { font-size: .82rem; font-weight: 650; }
.feature-grid h3 { margin: .85rem 0 .4rem; font-size: 1.2rem; }
.feature-grid p, .closing p { margin: 0; color: var(--muted); }
.closing { padding: clamp(1.25rem, 4vw, 2.5rem); box-sizing: border-box; margin-bottom: 3rem; border-radius: 1rem; background: var(--mint); }
.closing p { margin-top: .5rem; }

@media (max-width: 670px) {
  .wrap { width: calc(100% - 32px); }
  .preview-body, .preview-columns, .feature-grid { grid-template-columns: 1fr; }
  .preview-body aside { display: flex; flex-wrap: wrap; padding: .55rem 1rem; }
  .site-header nav a[href="#features"] { display: none; }
  .site-footer, .closing { align-items: flex-start; flex-direction: column; }
}
