/* Pageseam: the home page. Loaded after site.css. */

main h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.more { font-weight: 600; }
.assure { font-size: 0.9375rem; color: var(--ink-2); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 48px; }
.hero h1 {
  font-size: clamp(2.75rem, 1.6rem + 4.2vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  max-width: 11em;
  margin-bottom: 32px;
}
.hero .lede { max-width: 31em; margin-bottom: 20px; }
.offer { max-width: 34em; margin-bottom: 32px; }
.hero .assure { margin: 20px 0 0; max-width: 34em; }
.hero-fig { margin: 0; width: 100%; max-width: 440px; }
.hero-fig img { width: 100%; border-radius: 4px; background: var(--mist); }
.hero-fig figcaption { margin-top: 12px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-fig { grid-column: 8 / span 5; justify-self: end; }
}

/* The work: the only dark block */
.work { background: var(--night); color: var(--on-night); padding: 64px 0 72px; }
.work h2 { color: var(--on-night); margin-bottom: 20px; }
.work-head { max-width: 38rem; margin-bottom: 48px; }
.work-head p { font-size: 1.25rem; line-height: 1.5; margin: 0; }
.work :focus-visible { outline-color: var(--on-night); }
.ad { margin: 0; }
.ad img { width: 100%; border-radius: 4px; background: #1D3127; }
.ad figcaption { color: var(--on-night-2); margin-top: 12px; }
.reel {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 12px;
  scroll-padding-inline: var(--gutter);
}
.reel .ad { flex: 0 0 auto; width: calc(var(--r) * 320px); scroll-snap-align: start; }
.work-note { margin-top: 32px; max-width: 30rem; }
.work-note p { margin: 0 0 12px; }
.work-note a { font-weight: 600; }
@media (min-width: 640px) and (max-width: 899px) {
  .reel .ad { width: calc(var(--r) * 400px); }
}
@media (min-width: 900px) {
  .work { padding: 104px 0 112px; }
  .sheet {
    display: grid;
    grid-template-columns: minmax(0, 0.5658fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 40px 24px;
    max-width: 1120px;
  }
  .reel { display: contents; }
  .reel .ad { width: auto; }
  .work-note { grid-column: 3; grid-row: 2; align-self: end; margin: 0; }
}

/* The argument */
.argue { padding: 56px 0; }
.argue h2 { margin-bottom: 24px; }
.argue .lede { margin: 0; }
@media (min-width: 900px) {
  .argue { padding: 96px 0; }
  .argue-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .argue h2 { grid-column: 1 / span 5; margin: 0; }
  .argue-body { grid-column: 7 / span 6; }
}

/* The free sample, the check and the form */
.sample { background: var(--mist); padding: 56px 0; }
.sample h2 { margin-bottom: 24px; }
.sample .lede { max-width: 30em; margin-bottom: 32px; }
.gets { list-style: none; display: grid; gap: 16px; max-width: 34em; }
.check { margin: 40px 0 0; max-width: 36rem; }
.check-doc { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px 22px 6px; }
.check-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.check-head h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
.check-head p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.check ol { list-style: none; counter-reset: point; }
.check li {
  counter-increment: point;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px;
  padding: 14px 0; font-size: 1rem; line-height: 1.5;
}
.check li + li { border-top: 1px solid var(--line); }
.check li::before {
  content: counter(point);
  grid-row: span 2;
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--ink-2);
}
.check li b { display: block; }
.check li span { color: var(--ink-2); }
.check figcaption { margin-top: 12px; }
@media (min-width: 640px) { .check-doc { padding: 32px 32px 8px; } }

.req-col { margin-top: 40px; }
.req { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px 22px; }
.req h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.req-intro { color: var(--ink-2); font-size: 1rem; margin-bottom: 24px; }
.hint { display: block; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.consent {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start;
  margin: 4px 0 24px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2);
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--forest); }
.req .btn { width: 100%; }
.form-note { font-size: 0.875rem; color: var(--ink-2); margin: 16px 0 0; }
.req-small { font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); margin: 16px 0 0; }
.req-small + .req-small { margin-top: 4px; }
@media (min-width: 640px) { .req { padding: 36px 32px; } }
@media (min-width: 960px) {
  .sample { padding: 96px 0; }
  .sample-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .sample-copy { grid-column: 1 / span 6; }
  .req-col { grid-column: 8 / span 5; margin: 0; position: sticky; top: calc(var(--head) + 24px); }
}

/* Prices: one table, three columns */
.prices { padding: 56px 0; }
.prices-head { max-width: 40rem; margin-bottom: 40px; }
.prices-head h2 { margin-bottom: 20px; }
.prices-head .lede { margin: 0; }
.plans { display: grid; border-top: 1px solid var(--ink); }
.plan { display: flex; flex-direction: column; padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.plan-for { font-size: 0.9375rem; font-weight: 600; margin: 0 0 8px; }
.plan h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; }
.price b {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 1.9rem + 2.2vw, 3.5rem); line-height: 1; letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.price span { font-size: 0.9375rem; color: var(--ink-2); }
.later { font-size: 0.875rem; color: var(--ink-2); margin: 0 0 24px; }
.plan ul { list-style: disc; padding-left: 1.15em; font-size: 1rem; margin: 0 0 32px; }
.plan li { margin-bottom: 8px; }
.plan li::marker { color: var(--ink-2); }
.plan-cta { margin: 0; }
.plan-link { font-weight: 600; }
.founding { max-width: 46rem; margin-top: 40px; }
.founding p { margin: 0 0 8px; }
.taken { font-size: 0.9375rem; color: var(--ink-2); }
.pay-grid { display: grid; gap: 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.pay-grid h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: 20px; }
.conds dl { margin: 0; display: grid; gap: 20px; }
.conds dt { font-weight: 600; }
.conds dd { margin: 4px 0 0; color: var(--ink-2); }
.extras table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.extras th, .extras td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; }
.extras tr:first-child th, .extras tr:first-child td { border-top: 1px solid var(--line); }
.extras td {
  text-align: right; white-space: nowrap; padding-left: 16px;
  font-family: var(--serif); font-size: 1.25rem; font-feature-settings: "tnum" 1, "lnum" 1;
}
@media (min-width: 900px) {
  .prices { padding: 96px 0; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); border-bottom: 1px solid var(--line); }
  .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; padding: 32px 32px 40px; border-bottom: 0; border-left: 1px solid var(--line); }
  .plan:first-child { padding-left: 0; border-left: 0; }
  .plan:last-child { padding-right: 0; }
  .plan-for { grid-row: 1; }
  .plan h3 { grid-row: 2; }
  .price { grid-row: 3; }
  .later { grid-row: 4; }
  .plan ul { grid-row: 5; }
  .plan-cta { grid-row: 6; align-self: end; }
  .pay-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .conds { grid-column: 1 / span 6; }
  .extras { grid-column: 8 / span 5; }
}

/* How it works: four steps on one line */
.how { border-top: 1px solid var(--line); padding: 56px 0; }
.how h2 { margin-bottom: 40px; }
.steps { list-style: none; display: grid; gap: 32px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps h3 { font-size: 1.375rem; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.store { margin-top: 40px; max-width: 46rem; border: 1px solid var(--line); border-radius: 10px; padding: 28px 22px; }
.store h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: 16px; }
.store ul { list-style: disc; padding-left: 1.15em; font-size: 1rem; color: var(--ink-2); }
.store li + li { margin-top: 8px; }
@media (min-width: 640px) { .store { padding: 32px 36px; } }
@media (min-width: 900px) {
  .how { padding: 96px 0; }
  .how h2 { margin-bottom: 48px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .store { margin-top: 56px; }
}

/* Questions */
.faq { border-top: 1px solid var(--line); padding: 56px 0; }
.faq-side h2 { margin-bottom: 20px; }
.faq-side p { color: var(--ink-2); max-width: 22em; margin: 0; }
.qs { border-top: 1px solid var(--line); margin-top: 32px; }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0;
  font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.3;
}
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after {
  content: "+";
  position: absolute; right: 4px; top: 19px;
  font-family: var(--sans); font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--ink-2);
}
.qs details[open] summary::after { content: "\2212"; }
.qs details p { margin: 0 0 24px; max-width: 40rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .faq { padding: 96px 0; }
  .faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .faq-side { grid-column: 1 / span 4; }
  .qs { grid-column: 6 / span 7; margin-top: 0; }
}

/* The terms, in short */
.terms-short { background: var(--mist); padding: 48px 0; }
.terms-short h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.15; margin-bottom: 24px; }
.terms-list { list-style: disc; padding-left: 1.15em; }
.terms-list li + li { margin-top: 8px; }
.terms-list li::marker { color: var(--ink-2); }
.terms-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; font-weight: 600; }
@media (min-width: 900px) {
  .terms-short { padding: 80px 0; }
  .terms-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .terms-grid > h2 { grid-column: 1 / span 4; margin: 0; }
  .terms-grid > div { grid-column: 6 / span 7; }
}

/* Last call */
.final { padding: 64px 0 72px; }
.final h2 { max-width: 14em; margin-bottom: 32px; }
.final .assure { margin: 0; }
@media (min-width: 900px) { .final { padding: 96px 0 104px; } }
