/* CopyMyBooks site. One idea carried everywhere: the real company is an outline (only read),
   the copy is filled (yours). The logo, the hero and the "who does what" chips all use it. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fafcfb;
  --raised: #ffffff;
  --ink: #0e2420;
  --muted: #536b65;
  --line: #d9e4e1;
  --brand: #059669;
  --link: #047857;
  --copy-a: #047857;
  --copy-b: #0e7490;
  --tint: #ecf7f3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1816;
    --raised: #10221f;
    --ink: #e3efec;
    --muted: #93aba5;
    --line: #213833;
    --brand: #10b981;
    --link: #34d399;
    --copy-a: #047857;
    --copy-b: #0e7490;
    --tint: #0f2622;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.6 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "cv11", "ss01";
}
a {
  color: var(--link);
  text-underline-offset: 3px;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--ink);
}
.top nav .signin {
  color: var(--ink);
  font-weight: 600;
  border: 1.5px solid var(--line);
  padding: 6px 14px;
  border-radius: 8px;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--copy-a);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
}
.button:hover {
  background: #065f46;
}
.quiet {
  font-weight: 600;
  padding: 12px 6px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}
.cta-note {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 0;
}

/* Hero */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 760;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 44ch;
  margin: 22px 0 0;
}

/* The two books: the real company (outline) and the copy (filled), overlapping like the logo */
.books {
  display: grid;
  margin: 0;
}
.book {
  grid-area: 1 / 1;
  border-radius: 14px;
  padding: 18px 20px 16px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.book.real {
  border: 2.5px solid var(--brand);
  background: var(--raised);
  margin: 0 72px 150px 0;
}
.book.copy {
  background: linear-gradient(135deg, var(--copy-a), var(--copy-b));
  color: #fff;
  margin: 132px 0 0 56px;
  box-shadow: 0 18px 40px -18px rgba(4, 64, 52, 0.55);
}
.book-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.book-title span {
  font-weight: 500;
  opacity: 0.8;
}
.book.real .book-title span {
  color: var(--muted);
  opacity: 1;
}
.book table {
  width: 100%;
  border-collapse: collapse;
}
.book td {
  padding: 6px 0;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
.book.copy td {
  border-top-color: rgba(255, 255, 255, 0.22);
}
.book td:last-child {
  text-align: right;
}
.book .who {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
  width: 60%;
  padding: 6px 10px;
}
.book .mail td {
  font-size: 12.5px;
  color: var(--muted);
}
.book.copy .mail td {
  color: rgba(255, 255, 255, 0.82);
}
.book .check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  font-size: 13px;
}
.books figcaption {
  grid-area: 2 / 1;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 14px;
  padding-left: 56px;
}

/* Sections */
section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 720;
  margin: 0 0 14px;
  max-width: 22ch;
  text-wrap: balance;
}
.intro {
  color: var(--muted);
  font-size: 18px;
  max-width: 58ch;
  margin: 0 0 40px;
}

/* Why real books */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-grid li {
  padding: 18px 0;
  border-top: 1.5px solid var(--ink);
}
.why-grid strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.why-grid span {
  color: var(--muted);
  font-size: 15.5px;
}

/* How it works: who does each step */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  background: var(--copy-a);
  color: #fff;
}
.steps li.owner::before {
  background: var(--paper);
  color: var(--brand);
  box-shadow: inset 0 0 0 2.5px var(--brand);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 48px;
  right: -16px;
  border-top: 2px dashed var(--line);
}
.actor {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
  background: var(--copy-a);
  color: #fff;
}
.owner .actor {
  background: transparent;
  color: var(--link);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.steps h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* The owner stays in control */
.control {
  background: var(--tint);
}
.control .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
}
.facts {
  margin: 0;
  display: grid;
  gap: 0;
}
.facts div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:first-child {
  padding-top: 4px;
}
.facts dt {
  font-weight: 680;
  font-size: 18px;
}
.facts dd {
  margin: 4px 0 0;
  color: var(--muted);
}

/* What's copied */
.copied {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 48px;
}
.copied h3 {
  font-size: 15px;
  font-weight: 680;
  margin: 0 0 4px;
  padding: 14px 0 0;
}
.copied p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}
.col-yes,
.col-no {
  border-top: 2.5px solid var(--brand);
  padding-top: 6px;
}
.col-no {
  border-top-color: var(--line);
}
.col-head {
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.015em;
  margin: 10px 0 2px;
}
.limits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  list-style: none;
}
.limits li {
  font-size: 15.5px;
  color: var(--muted);
}
.limits strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

/* Checked */
.checked .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.report {
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.report table {
  width: 100%;
  border-collapse: collapse;
}
.report th {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0 8px;
}
.report th:first-child {
  text-align: left;
}
.report td {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  text-align: right;
}
.report td:first-child {
  text-align: left;
}
.report .ok {
  color: var(--link);
  font-weight: 600;
  margin: 12px 0 0;
  font-size: 14px;
}

/* FAQ */
.faq {
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 650;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 64ch;
}

/* Sibling and closing */
.sibling {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 22px 26px;
}
.sibling p {
  margin: 0;
  max-width: 60ch;
}
.closing {
  text-align: left;
}
.closing h2 {
  max-width: 18ch;
}

/* Single-column reading pages: for owners, privacy, terms */
.doc {
  max-width: 808px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.doc h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  max-width: 20ch;
}
.doc h2 {
  font-size: 26px;
  margin-top: 56px;
  max-width: none;
}
.doc p,
.doc li {
  max-width: 66ch;
}
.owner-facts {
  margin: 36px 0 0;
  border-top: 2.5px solid var(--brand);
}
.owner-facts div:first-child {
  padding-top: 18px;
}
.owner-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.owner-steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 56px;
}
.owner-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
  background: var(--paper);
  box-shadow: inset 0 0 0 2.5px var(--brand);
}
.owner-steps > li:last-child::before {
  color: #fff;
  background: var(--copy-a);
  box-shadow: none;
}
.owner-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 44px;
  bottom: 6px;
  border-left: 2px dashed var(--line);
}
.owner-steps h3 {
  font-size: 19px;
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.owner-steps p,
.owner-steps ul {
  margin: 0 0 10px;
  color: var(--muted);
}
.owner-steps ul {
  padding-left: 20px;
}
.owner-steps ul li {
  margin: 6px 0;
}
.owner-steps strong {
  color: var(--ink);
}
.small {
  font-size: 15px;
}
.plain {
  padding-left: 20px;
}
.plain li {
  margin: 8px 0;
}
.doc .faq {
  margin-top: 8px;
}
.contact {
  margin-top: 40px;
}

/* Privacy and terms */
.updated {
  color: var(--muted);
  margin: 10px 0 28px;
  font-size: 15px;
}
.summary {
  background: var(--tint);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
}
.summary ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  margin: 12px 0;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
.doc th {
  font-weight: 650;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0 40px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
footer a {
  color: inherit;
}
footer .legal {
  flex-basis: 100%;
}

@media (max-width: 900px) {
  .hero .wrap,
  .control .wrap,
  .checked .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .why-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps li:not(:last-child)::after {
    display: none;
  }
  .limits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top nav .hide-sm {
    display: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .doc {
    padding: 36px 16px 56px;
  }
  .doc table {
    display: block;
    overflow-x: auto;
  }
  .top .wrap {
    gap: 12px;
  }
  .top nav {
    gap: 14px;
  }
  .hero .wrap {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  section {
    padding: 56px 0;
  }
  .book.real {
    margin: 0 24px 128px 0;
  }
  .book.copy {
    margin: 118px 0 0 20px;
  }
  .books figcaption {
    padding-left: 0;
  }
  .copied,
  .limits {
    grid-template-columns: minmax(0, 1fr);
  }
  .col-no {
    margin-top: 28px;
  }
}
/* The smallest phones (320 px): the brand and both header links still fit on one line */
@media (max-width: 359px) {
  .top .wrap {
    gap: 6px;
  }
  .top nav {
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .brand {
    gap: 6px;
    font-size: 15px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .top nav .signin {
    padding: 5px 10px;
  }
}
