:root {
  --accent: #087e5b;
  --accent-dark: #066b4d;
  --background: #fafaf8;
  --ink: #1d1d1f;
  --line: #dfdfda;
  --muted: #666661;
  --soft: #f1f2ee;
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--background); margin: 0; }
a { color: inherit; }

.site-header,
main,
footer {
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: 28px;
}

.site-header {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img { border-radius: 8px; }

nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"],
.footer-links a:hover { color: var(--ink); }

.hero {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
  min-height: 680px;
  padding-block: 76px 110px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -.052em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 680;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.lede {
  color: #4f4f4a;
  font-size: clamp(19px, 2vw, 22px);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 34px 20px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.primary:hover { background: var(--accent-dark); }
.button.secondary:hover { border-color: #a9aaa5; }
.quiet { color: var(--muted); font-size: 13px; }

.product-preview {
  background: #fff;
  border: 1px solid #d7d8d3;
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(25, 27, 23, .12);
  overflow: hidden;
}

.preview-header,
.preview-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
}

.preview-header {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.preview-header span { color: var(--muted); font-size: 22px; }
.preview-section { border-bottom: 1px solid var(--line); padding: 18px 16px; }
.preview-section p { margin-bottom: 0; }
.preview-section > p:not(.evidence) { background: #fbfbfa; border: 1px solid #d5d6d1; border-radius: 7px; padding: 12px; }

.preview-label,
.suggestion-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}

.suggestion-heading {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.suggestion-heading strong,
.preview-section.compact strong { font-size: 14px; }
.evidence { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.edit {
  background: #f6f8f6;
  border-left: 3px solid var(--accent);
  font-size: 14px;
  margin-top: 12px;
  padding: 13px 12px;
}

.removed { background: #f3dbd8; text-decoration: line-through; }
.added { background: #d8eee4; text-decoration: none; }
.preview-section.compact { padding-block: 15px; }
.preview-section.compact p { color: var(--muted); font-size: 13px; margin: 5px 0 0; }
.preview-footer { color: var(--muted); font-size: 12px; }

.preview-footer button {
  background: var(--accent);
  border: 0;
  border-radius: 7px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  opacity: 1;
  padding: 9px 12px;
}

.section { border-top: 1px solid var(--line); padding-block: 110px; }
.section-heading { max-width: 720px; }

.features {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.features article {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.features p,
.workflow li,
.availability p,
.availability-note span,
.privacy-callout p,
.legal-content p,
.legal-content li,
.support-grid p,
.support-request li {
  color: var(--muted);
}

.number { color: var(--muted); display: block; font-size: 12px; margin-bottom: 42px; }

.workflow,
.availability,
.privacy-callout,
.support-request {
  display: grid;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: 1fr 1fr;
}

.workflow ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow li {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  padding: 20px 0;
}

.workflow li span { color: var(--ink); font-size: 13px; font-weight: 700; }

.availability-note {
  align-self: center;
  border-left: 3px solid var(--accent);
  display: grid;
  gap: 8px;
  padding: 10px 0 10px 24px;
}

.privacy-callout {
  background: #eff2ed;
  margin-bottom: 80px;
  max-width: none;
  padding: 72px;
}

.privacy-callout a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 112px;
}

.footer-links { display: flex; gap: 24px; }
footer > p { color: var(--muted); font-size: 12px; margin: 0; text-align: right; }

.legal-page,
.support-page { max-width: 940px; }

.legal-intro {
  border-bottom: 1px solid var(--line);
  padding-block: 110px 72px;
}

.legal-intro h1 { font-size: clamp(48px, 7vw, 72px); }
.legal-intro > p:last-of-type { color: var(--muted); font-size: 20px; max-width: 720px; }
.legal-intro .button { margin-top: 18px; }

.legal-content { max-width: 720px; padding-block: 70px 120px; }
.legal-content section { margin-bottom: 52px; }
.legal-content h2,
.support-grid h2,
.support-request h2 {
  font-size: 23px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-dark); }
code { background: var(--soft); border-radius: 4px; font-size: .9em; padding: 2px 5px; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 74px;
}

.support-grid article {
  border-bottom: 1px solid var(--line);
  padding: 34px 44px 34px 0;
}

.support-grid article:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 44px;
}

.support-request {
  border-top: 1px solid var(--line);
  padding-block: 86px 120px;
}

.support-request ul { margin: 0; padding-left: 20px; }
.support-request li { margin-bottom: 10px; }

@media (max-width: 820px) {
  .site-header { height: 68px; }
  nav { gap: 18px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 64px 90px; }
  .product-preview { margin-inline: auto; max-width: 520px; width: 100%; }
  .features { grid-template-columns: 1fr; }
  .number { margin-bottom: 18px; }
  .workflow,
  .availability,
  .privacy-callout,
  .support-request { grid-template-columns: 1fr; }
  .privacy-callout { margin-inline: -28px; padding: 64px 28px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer { padding-inline: 20px; }
  .brand img { height: 28px; width: 28px; }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  .hero { padding-top: 52px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .suggestion-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .preview-footer button { max-width: 170px; }
  .section { padding-block: 84px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article,
  .support-grid article:nth-child(even) { border-left: 0; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
