:root {
  --paper: #f6f7f5;
  --white: #ffffff;
  --ink: #1e2b30;
  --muted: #56656b;
  --line: #d6dcd8;
  --harbor: #24506b;
  --harbor-deep: #183a4f;
  --folder: #e9dfc6;
  --folder-edge: #cdbf9c;
  --done: #3d7a57;
  --soon: #9a6512;
  --critical: #a8432f;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--harbor); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #e2a83a; outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

.site-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1160px; margin: 0 auto; padding: 22px 28px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; line-height: 1.2; }
.wordmark span { display: block; font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.site-head nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-head nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-head nav a:hover { color: var(--harbor); text-decoration: underline; }
.site-head nav .signin { color: var(--harbor); font-weight: 700; }

main > section { max-width: 1160px; margin: 0 auto; padding: 72px 28px; }
main > section + section { border-top: 1px solid var(--line); }

.btn { display: inline-block; font: inherit; font-weight: 700; padding: 13px 22px; border-radius: 6px; border: 1.5px solid var(--harbor); color: var(--harbor); background: transparent; text-decoration: none; }
.btn:hover { background: var(--white); }
.btn-primary { background: var(--harbor); color: var(--white); }
.btn-primary:hover { background: var(--harbor-deep); border-color: var(--harbor-deep); }
.btn-light { background: var(--white); color: var(--harbor-deep); border-color: var(--white); }
.btn-light:hover { background: var(--paper); }

/* Hero: the file is the one bold element on the page */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding-top: 48px; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; max-width: 17ch; }
.hero .lede { font-size: 1.15rem; color: var(--muted); margin-top: 24px; max-width: 46ch; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.file { margin: 0; position: relative; padding-top: 34px; }
.file-tab { position: absolute; top: 0; left: 28px; background: var(--folder); border: 1px solid var(--folder-edge); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 7px 18px 8px; font-family: var(--serif); font-weight: 600; font-size: 1rem; }
.file-body { background: var(--folder); border: 1px solid var(--folder-edge); border-radius: 4px 10px 10px 10px; padding: 14px; box-shadow: 0 18px 40px -24px rgba(30, 43, 48, .45); }
.file-progress { background: var(--white); border-radius: 6px 6px 0 0; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.file-progress p { margin: 0 0 10px; font-size: .95rem; }
.file-progress strong { font-family: var(--serif); font-size: 1.35rem; margin-right: 4px; }
.bar { height: 8px; background: #e6ebe7; border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--done); }
.file-items { list-style: none; margin: 0; padding: 4px 20px 8px; background: var(--white); border-radius: 0 0 6px 6px; }
.file-items li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid #edf0ee; font-size: .95rem; }
.file-items li:last-child { border-bottom: 0; }
.mark { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); align-self: center; }
.ok .mark { background: var(--done); border-color: var(--done); }
.critical .mark { background: var(--critical); border-color: var(--critical); }
.soon .mark { border-color: var(--soon); }
.state { font-size: .85rem; color: var(--muted); text-align: right; }
.ok .state { color: var(--done); }
.critical .state { color: var(--critical); font-weight: 700; }
.soon .state { color: var(--soon); }
.file figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .file-items li { animation: settle .5s ease-out both; }
  .file-items li:nth-child(2) { animation-delay: .08s; }
  .file-items li:nth-child(3) { animation-delay: .16s; }
  .file-items li:nth-child(4) { animation-delay: .24s; }
  .file-items li:nth-child(5) { animation-delay: .32s; }
  .file-items li:nth-child(6) { animation-delay: .40s; }
  @keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* The gap */
.gap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.gap h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.gap .prose { max-width: var(--measure); }

/* How it works: a real sequence, so it's numbered */
.how h2, .organize h2, .early h2 { font-size: 1.9rem; margin-bottom: 36px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { counter-increment: step; border-top: 3px solid var(--harbor); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--harbor); margin-bottom: 6px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; color: var(--muted); }

/* What goes in the file */
.organize dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.organize dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.organize dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.organize dd { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }

/* Early conversations */
.early-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.early h3 { font-size: 1.2rem; margin-bottom: 10px; }
.early p { color: var(--muted); }

.attorneys p, .limits p { max-width: var(--measure); font-size: 1.05rem; }
.attorneys h2, .privacy h2, .limits h2 { font-size: 1.6rem; margin-bottom: 18px; }
.privacy ul { max-width: var(--measure); padding-left: 1.2em; margin: 0; }
.privacy li { margin-bottom: 10px; }

/* Demo call to action */
main > section.demo { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--harbor); color: var(--white); border-radius: 10px; margin-bottom: 72px; padding: 48px; border-top: 0; }
.demo h2 { font-size: 1.7rem; margin-bottom: 10px; }
.demo p { margin: 0; max-width: 58ch; color: #dbe6ec; }

.site-foot { max-width: 1160px; margin: 0 auto; padding: 0 28px 48px; color: var(--muted); font-size: .9rem; }
.site-foot p { margin: 0 0 4px; }

@media (max-width: 980px) {
  .hero, .gap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .early-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  main > section { padding: 52px 20px; }
  .site-head { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .steps, .organize dl { grid-template-columns: 1fr; }
  main > section.demo { flex-direction: column; align-items: flex-start; padding: 32px 24px; margin: 0 16px 48px; }
  .file-items li { grid-template-columns: 14px 1fr; }
  .file-items .state { grid-column: 2; text-align: left; }
}
