/*
 * The site's one stylesheet (ADR-0175 §1, §2). Placeholder: enough to read the pages,
 * nothing that is the design. The design session replaces it; its values may be copied
 * from packages/design-tokens, never imported from it.
 */

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: #1f2937;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1rem;
  padding-inline: 1.5rem;
  border-block-end: 1px solid #ccc;
}

.site-name {
  font-weight: bold;
}

.site-header ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-account {
  display: flex;
  gap: 1rem;
  margin-inline-start: auto;
}

[aria-current='page'] {
  font-weight: bold;
}

main {
  max-inline-size: 44rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 2rem 4rem;
}

main > section + section,
main > .plans + section {
  margin-block-start: 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.125rem;
}

.steps {
  padding-inline-start: 1.25rem;
}

.steps li + li {
  margin-block-start: 0.5rem;
}

/* Calls to action: one filled button per page, plain links beside it. */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.button {
  display: inline-block;
  padding-block: 0.625rem;
  padding-inline: 1.25rem;
  border-radius: 0.375rem;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #1e40af;
}

.button-secondary {
  font-weight: 600;
}

/* Screenshots: served at twice the size they are shown, capped to the column. */
figure {
  margin: 1.5rem 0;
}

figure img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
}

.figure-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.figure-pair figure {
  margin: 0;
}

.figure-pair .wide {
  flex: 3 1 20rem;
}

.figure-pair .narrow {
  flex: 1 1 10rem;
}

.inline-figure img {
  border: none;
  border-radius: 0;
}

/* The plans page's two cards. */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-block-start: 2rem;
}

.plan {
  padding: 1.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
}

.plan h2 {
  margin-block-start: 0;
}

.faq dt {
  font-weight: bold;
}

.faq dd {
  margin: 0.25rem 0 1rem;
}
