:root {
  --ground: #eef1ef;
  --paper: #ffffff;
  --ink: #16222c;
  --muted: #56626c;
  --rule: #d3d9d6;
  --pen: #2343a6;
  --pen-dark: #182f7a;
  --canary: #f3de6b;
  --canary-soft: #faf0b4;
  --night: #16222c;
  --night-text: #d8dfe3;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

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

a {
  color: var(--pen);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pen-dark);
}

:focus-visible {
  outline: 3px solid var(--pen);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-stretch: 108%;
}

h3 {
  font-size: 1.15rem;
  font-stretch: 100%;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

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

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--pen);
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--pen-dark);
  color: #fff;
}

.button-quiet {
  background: transparent;
  color: var(--pen);
  box-shadow: inset 0 0 0 2px var(--pen);
}

.button-quiet:hover {
  background: var(--pen);
  color: #fff;
}

/* Header */

.site-header {
  background: var(--ground);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-stretch: 110%;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}

.site-nav a:not(.button):hover {
  text-decoration: underline;
}

.site-nav .button {
  min-height: 42px;
  padding: 0 16px;
}

/* Hero */

.hero {
  background: var(--ground);
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-lede {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}

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

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Exhibit: notes become a proposal */

.exhibit {
  position: relative;
  margin: 0;
  padding-bottom: 40px;
  min-height: 660px;
}

.notes {
  position: relative;
  width: 78%;
  padding: 26px 26px 30px 44px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 33px,
      #bcd0e6 33px,
      #bcd0e6 34px
    ),
    #fffef7;
  background-position: 0 58px;
  box-shadow:
    0 1px 1px rgba(22, 34, 44, 0.08),
    0 10px 24px -12px rgba(22, 34, 44, 0.35);
  transform: rotate(-2.2deg);
  font-family: var(--hand);
  font-size: 1.12rem;
  line-height: 34px;
  color: #23305a;
}

.notes::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 1px;
  background: #e6a2a2;
}

.notes-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.notes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notes mark {
  background: linear-gradient(
    100deg,
    transparent 2%,
    var(--canary) 6%,
    var(--canary) 94%,
    transparent 98%
  );
  color: inherit;
  padding: 0 3px;
}

.sheet {
  position: absolute;
  right: 0;
  top: 262px;
  width: 72%;
  background: var(--paper);
  border-radius: 3px;
  box-shadow:
    0 1px 2px rgba(22, 34, 44, 0.1),
    0 22px 40px -18px rgba(22, 34, 44, 0.45);
  transform: rotate(1.4deg);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #24433b;
  color: #eef4f1;
  border-radius: 3px 3px 0 0;
  font-weight: 650;
  font-size: 0.85rem;
}

.sheet-head span:last-child {
  font-weight: 400;
  opacity: 0.8;
}

.sheet-body {
  padding: 18px 18px 20px;
}

.sheet-title {
  font-weight: 750;
  font-stretch: 108%;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.sheet-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.sheet-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.sheet-table td {
  padding: 7px 0;
  border-top: 1px solid var(--rule);
}

.sheet-table td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 12px;
}

.sheet-table tr.total td {
  font-weight: 750;
  border-top: 2px solid var(--ink);
}

.sheet-callout {
  margin-top: 14px;
  padding: 10px 12px;
  background: #eaf1ed;
  border-left: 3px solid #24433b;
  font-size: 0.86rem;
}

.exhibit figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .sheet {
    animation: sheet-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 350ms both;
  }

  @keyframes sheet-in {
    from {
      opacity: 0;
      transform: translate(24px, 28px) rotate(4deg);
    }
    to {
      opacity: 1;
      transform: rotate(1.4deg);
    }
  }
}

/* Sections */

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-intro {
  max-width: 40rem;
}

.section-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Problem */

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 80px);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  padding: 22px 0 26px;
  border-top: 2px solid var(--ink);
}

.problem-list h3 {
  margin-bottom: 8px;
}

.problem-list p {
  color: var(--muted);
  max-width: 32rem;
}

.aside-2026 {
  margin-top: 36px;
  max-width: 44rem;
  padding: 18px 22px;
  background: var(--canary-soft);
  font-size: 1.05rem;
}

/* Steps */

.steps-section {
  background: var(--ground);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 4rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.9;
  color: var(--pen);
}

.steps h3 {
  font-size: 1.3rem;
  font-stretch: 105%;
  margin-bottom: 10px;
}

.steps p {
  color: var(--ink);
}

/* Contents */

.contents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

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

.contents-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.contents-list li:first-child {
  border-top: 1px solid var(--rule);
}

.contents-list svg {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--pen);
}

.contents-cta {
  margin-top: 28px;
}

/* Trust */

.trust {
  background: var(--night);
  color: var(--night-text);
}

.trust h2 {
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px clamp(32px, 6vw, 80px);
  margin-top: 48px;
}

.trust-grid h3 {
  color: #fff;
  margin-bottom: 8px;
}

.trust-grid p {
  max-width: 32rem;
}

/* Pricing */

.price-table {
  margin-top: 48px;
  border-top: 2px solid var(--ink);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.1fr) minmax(0, 2.4fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.price-row h3 {
  font-size: 1.15rem;
}

.price {
  font-size: 1.35rem;
  font-weight: 750;
  font-stretch: 105%;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.price small {
  display: block;
  font-size: 0.9rem;
  font-weight: 450;
  font-stretch: 100%;
  color: var(--muted);
}

.price-row p {
  color: var(--muted);
}

.price-row.is-free {
  background: var(--canary-soft);
  margin: 0 calc(var(--gutter) * -0.5);
  padding-left: calc(var(--gutter) * 0.5);
  padding-right: calc(var(--gutter) * 0.5);
}

.price-foot {
  margin-top: 20px;
  color: var(--muted);
}

/* FAQ */

.faq {
  background: var(--ground);
}

.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list details:first-child {
  border-top: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.08rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--pen);
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 40rem;
}

/* Closing */

.closing h2,
.closing p {
  max-width: 44rem;
}

.closing h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-stretch: 112%;
}

.closing p {
  margin-top: 18px;
  font-size: 1.15rem;
}

.closing .hero-actions {
  margin-top: 28px;
}

.closing .who {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
}

/* Footer */

.site-footer {
  background: var(--night);
  color: var(--night-text);
  padding: 48px 0 40px;
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
}

.site-footer a {
  color: #fff;
}

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

.disclaimer {
  grid-column: 1 / -1;
  max-width: 48rem;
  color: #a9b5bc;
  font-size: 0.875rem;
}

/* Document pages (sample, privacy, terms) */

.doc-page {
  background: var(--ground);
  padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px);
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 1px 2px rgba(22, 34, 44, 0.08);
}

.doc h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-stretch: 108%;
  max-width: none;
}

.doc h2 {
  font-size: 1.45rem;
  font-stretch: 104%;
  margin-top: 44px;
  margin-bottom: 12px;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0 0 14px;
  max-width: 42rem;
}

.doc li {
  margin-bottom: 6px;
}

.doc .meta {
  color: var(--muted);
  margin-top: 8px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}

.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.doc th {
  border-bottom: 2px solid var(--ink);
  font-weight: 650;
}

.doc td.num,
.doc th.num {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}

.doc tr.total td {
  font-weight: 750;
  border-top: 2px solid var(--ink);
}

.doc .small {
  font-size: 0.9rem;
  color: var(--muted);
}

.sample-banner {
  max-width: 820px;
  margin: 0 auto 16px;
  padding: 14px 18px;
  background: var(--canary-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.sample-banner p {
  margin: 0;
}

.letterhead {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: calc(clamp(24px, 5vw, 56px) * -1) calc(clamp(24px, 5vw, 56px) * -1) 32px;
  padding: 18px clamp(24px, 5vw, 56px);
  background: #24433b;
  color: #eef4f1;
}

.letterhead strong {
  font-stretch: 108%;
  font-size: 1.1rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 32px;
  margin: 20px 0 8px;
  padding: 0;
  list-style: none;
}

.facts li {
  margin: 0;
}

.facts span {
  color: var(--muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .exhibit {
    max-width: 560px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
  }

  .steps li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
  }

  .steps li::before {
    grid-row: span 2;
    font-size: 3.4rem;
  }

  .contents,
  .faq .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav a:not(.button) {
    display: none;
  }

  .problem-list,
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .doc table {
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.95rem;
  }

  .site-nav .button {
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .exhibit {
    min-height: 0;
    padding-bottom: 32px;
  }

  .notes {
    width: 92%;
    font-size: 1.02rem;
  }

  .sheet {
    position: relative;
    top: auto;
    width: 92%;
    margin: -64px 0 0 auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .sample-banner {
    display: none;
  }

  .doc-page {
    background: none;
    padding: 0;
  }

  .doc {
    box-shadow: none;
    padding: 0;
  }

  .letterhead {
    margin: 0 0 24px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
