:root {
  color-scheme: light;
  --page: #f1f4f0;
  --paper: #ffffff;
  --ink: #1f2422;
  --muted: #626b67;
  --line: #d6dcd7;
  --green: #176148;
  --green-dark: #114a38;
  --red: #9c3f32;
  --gold: #a26a20;
  --blue: #365f87;
  --reporting: #2d6d57;
  --oversight: #9c3f32;
  --filing: #a26a20;
  --opinion: #365f87;
  --records: #60686a;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #d9a63c;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 12px 16px;
  color: #ffffff;
  background: #171b19;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(22px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid #cbd2cc;
  background: #f9faf8;
}

.lab-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lab-wordmark > div {
  min-width: 0;
}

.lab-wordmark img {
  width: 42px;
  height: 42px;
}

.lab-wordmark p,
.lab-wordmark strong,
.lab-wordmark span {
  margin: 0;
}

.lab-wordmark p {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-wordmark span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.lab-mobile-title {
  display: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #2b322f;
  border-radius: 4px;
  color: #ffffff;
  background: #2b322f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.return-short {
  display: none;
}

.lab-main {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 58px 0 70px;
}

.lab-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 52px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 4px double #2b302e;
}

.kicker,
.option-number {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lab-intro h1,
.direction-copy h2,
.recommendation h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.lab-intro h1 {
  max-width: 790px;
  font-size: 58px;
  line-height: 1.02;
}

.intro-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4f5955;
  font-size: 17px;
  line-height: 1.65;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.principles span {
  min-height: 52px;
  padding: 10px;
  border-top: 3px solid var(--green);
  color: #46504c;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.principles span:nth-child(2) {
  border-color: var(--red);
}

.principles span:nth-child(3) {
  border-color: var(--gold);
}

.principles span:nth-child(4) {
  border-color: var(--blue);
}

.mockup-jump {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  border: 1px solid #cdd4ce;
  background: rgba(249, 250, 248, 0.96);
  backdrop-filter: blur(12px);
}

.mockup-jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-right: 1px solid #cdd4ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  text-decoration: none;
}

.mockup-jump a:last-child {
  border-right: 0;
}

.mockup-jump span {
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.data-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.data-notice a {
  color: var(--green-dark);
  font-weight: 700;
}

.data-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.data-notice.is-live .data-dot {
  background: var(--green);
}

.mockup-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
  gap: 50px;
  align-items: start;
  padding: 68px 0;
  border-top: 1px solid #cdd4ce;
  scroll-margin-top: 58px;
}

.direction-copy {
  position: sticky;
  top: 76px;
}

.direction-copy h2 {
  font-size: 38px;
  line-height: 1.05;
}

.direction-copy > p:not(.option-number) {
  margin: 18px 0 0;
  color: #53605b;
  font-size: 15px;
  line-height: 1.65;
}

.direction-copy ul {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid #ccd3ce;
  list-style: none;
}

.direction-copy li {
  padding: 11px 0;
  border-bottom: 1px solid #dce1dd;
  color: #3f4945;
  font-size: 13px;
  line-height: 1.45;
}

.preview-tool {
  min-width: 0;
  border: 1px solid #c8cfca;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e9e5;
  box-shadow: 0 18px 42px rgba(35, 44, 39, 0.11);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid #c6cdc8;
  background: #f7f8f6;
  color: #59635f;
  font-size: 12px;
  font-weight: 700;
}

.width-switch {
  display: flex;
  padding: 3px;
  border: 1px solid #c8cfca;
  border-radius: 5px;
  background: #e8ebe8;
}

.width-switch button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: #59635f;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.width-switch button.is-active {
  color: #ffffff;
  background: #2d3431;
}

.preview-stage {
  display: flex;
  justify-content: center;
  max-height: 950px;
  padding: 24px;
  overflow: auto;
}

.email-sheet {
  width: min(680px, 100%);
  min-width: 0;
  color: #242826;
  background: var(--paper);
  box-shadow: 0 4px 22px rgba(20, 28, 24, 0.12);
  transition: width 180ms ease;
}

.preview-stage.is-phone .email-sheet {
  width: 402px;
  max-width: 100%;
}

.email-sheet a {
  color: inherit;
}

.email-masthead {
  padding: 26px 28px 20px;
  text-align: center;
}

.email-masthead .edition-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 9px;
  border-top: 1px solid #9ba39e;
  color: #5b6560;
  font-size: 11px;
  line-height: 1.35;
}

.email-masthead .brand {
  margin: 0;
  color: #1d2421;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.02;
}

.email-masthead .edition-name {
  margin: 8px 0 0;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.email-section {
  padding: 0 28px;
}

.email-section-head {
  margin: 0;
  padding: 16px 0 8px;
  border-top: 3px double #313633;
  color: #2d3431;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.lead-story,
.brief-row,
.ledger-row {
  position: relative;
  border-bottom: 1px solid #d9ded9;
}

.lead-story {
  padding: 17px 0 21px 12px;
  border-left: 3px solid var(--material-color, var(--reporting));
}

.story-label,
.story-meta,
.quick-label,
.ledger-label {
  color: #68716d;
  font-size: 11px;
  line-height: 1.35;
}

.story-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--material-color, var(--green));
  font-weight: 800;
  text-transform: uppercase;
}

.lead-story h3,
.brief-row h3,
.front-lead h3,
.ledger-lead h3,
.ledger-row h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.lead-story h3 {
  font-size: 23px;
  line-height: 1.16;
}

.lead-story h3 a,
.brief-row h3 a,
.front-lead h3 a,
.ledger-lead h3 a,
.ledger-row h3 a {
  text-decoration-color: #819b8e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.story-meta {
  margin-top: 8px;
}

.story-copy,
.why-line {
  margin: 11px 0 0;
  color: #37413d;
  font-size: 15px;
  line-height: 1.55;
}

.why-line {
  padding-left: 11px;
  border-left: 2px solid #b7c3bc;
  color: #4b5651;
  font-size: 14px;
}

.why-line strong {
  color: #27312d;
}

.brief-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 0;
}

.brief-row .row-index {
  padding-top: 2px;
  color: var(--material-color, var(--green));
  font-size: 11px;
  font-weight: 800;
}

.brief-row h3 {
  font-size: 17px;
  line-height: 1.28;
}

.brief-row p {
  margin: 6px 0 0;
  color: #626c67;
  font-size: 12px;
  line-height: 1.45;
}

.email-endmatter {
  margin: 22px 28px 0;
  padding: 17px 0;
  border-top: 3px double #303633;
}

.email-endmatter > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.email-endmatter h3 {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.email-endmatter p {
  margin: 8px 0 0;
  color: #505b56;
  font-size: 13px;
  line-height: 1.5;
}

.email-cartoon img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border: 1px solid #d2d7d2;
}

.email-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 18px 28px 24px;
  color: #6b746f;
  background: #f1f3f0;
  font-size: 10px;
  line-height: 1.45;
}

.material-reporting { --material-color: var(--reporting); }
.material-oversight { --material-color: var(--oversight); }
.material-filing { --material-color: var(--filing); }
.material-opinion { --material-color: var(--opinion); }
.material-records { --material-color: var(--records); }

/* Option 2 */

.front-email .email-masthead {
  padding-bottom: 16px;
  border-bottom: 1px solid #cfd5d0;
}

.edition-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 28px;
  border-bottom: 1px solid #cfd5d0;
}

.edition-index div {
  min-width: 0;
  padding: 12px 8px;
  border-right: 1px solid #d9ded9;
}

.edition-index div:last-child {
  border-right: 0;
}

.edition-index strong,
.edition-index span {
  display: block;
}

.edition-index strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.edition-index span {
  margin-top: 3px;
  color: #6a746f;
  font-size: 10px;
  line-height: 1.3;
}

.front-lead {
  margin: 0 28px;
  padding: 25px 0 23px;
  border-bottom: 1px solid #cfd5d0;
}

.front-lead .overline {
  margin: 0 0 8px;
  color: var(--material-color, var(--green));
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.front-lead h3 {
  font-size: 30px;
  line-height: 1.08;
}

.front-lead .deck {
  margin: 13px 0 0;
  color: #3e4944;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.5;
}

.front-lead .story-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e0e4e0;
}

.quick-reads {
  padding: 0 28px;
}

.quick-reads-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0 7px;
  border-bottom: 2px solid #333936;
}

.quick-reads-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.quick-reads-head span {
  color: #6b746f;
  font-size: 10px;
}

.front-email .brief-row {
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 10px;
}

.front-email .brief-row .material-mark {
  width: 4px;
  height: 100%;
  min-height: 44px;
  background: var(--material-color, var(--green));
}

.front-email .brief-row .score {
  padding-top: 2px;
  color: #5e6863;
  font-size: 11px;
  font-weight: 800;
}

.pattern-note {
  margin: 20px 28px 0;
  padding: 15px 0;
  border-top: 1px solid #77827c;
  border-bottom: 1px solid #77827c;
}

.pattern-note span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.pattern-note h3 {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.pattern-note p {
  margin: 7px 0 0;
  color: #525d58;
  font-size: 13px;
  line-height: 1.5;
}

/* Option 3 */

.ledger-email {
  border-top: 7px solid #26322e;
}

.ledger-email .email-masthead {
  text-align: left;
}

.ledger-email .email-masthead .brand {
  font-size: 27px;
}

.ledger-summary {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 0.75fr);
  margin: 0 28px;
  border-top: 1px solid #9fa7a2;
  border-bottom: 1px solid #9fa7a2;
}

.ledger-summary div {
  padding: 10px 8px;
  border-right: 1px solid #d7ddd8;
}

.ledger-summary div:last-child {
  border-right: 0;
}

.ledger-summary strong,
.ledger-summary span {
  display: block;
}

.ledger-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.ledger-summary span {
  margin-top: 3px;
  color: #69736e;
  font-size: 9px;
  text-transform: uppercase;
}

.ledger-lead {
  margin: 0 28px;
  padding: 21px 0;
  border-bottom: 2px solid #303633;
}

.ledger-lead .ledger-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--material-color, var(--green));
  font-weight: 800;
  text-transform: uppercase;
}

.ledger-lead h3 {
  font-size: 25px;
  line-height: 1.12;
}

.ledger-lead .story-copy {
  font-size: 14px;
}

.ledger-list {
  padding: 0 28px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 30px;
  gap: 10px;
  padding: 13px 0;
}

.ledger-row .rank {
  color: var(--material-color, var(--green));
  font-size: 11px;
  font-weight: 800;
}

.ledger-row h3 {
  font-size: 16px;
  line-height: 1.25;
}

.ledger-row p {
  margin: 5px 0 0;
  color: #626c67;
  font-size: 11px;
  line-height: 1.4;
}

.ledger-row .score {
  color: #3c4641;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  text-align: right;
}

.record-rollup {
  margin: 16px 28px 0;
  padding: 14px;
  border: 1px solid #cbd2cd;
  border-radius: 4px;
  background: #f4f6f3;
}

.record-rollup > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.record-rollup h3 {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.record-rollup ul {
  margin: 9px 0 0;
  padding-left: 18px;
}

.record-rollup li {
  margin-top: 5px;
  color: #4e5954;
  font-size: 12px;
  line-height: 1.4;
}

.recommendation {
  max-width: 900px;
  margin: 14px 0 0 auto;
  padding: 34px 0 0;
  border-top: 4px double #2b302e;
}

.recommendation h2 {
  font-size: 34px;
  line-height: 1.1;
}

.recommendation > p:last-child {
  margin: 17px 0 0;
  color: #4f5a55;
  font-size: 16px;
  line-height: 1.65;
}

.lab-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(22px, calc((100% - 1240px) / 2));
  border-top: 1px solid #cbd2cc;
  color: #69736e;
  background: #e9ede8;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 920px) {
  .lab-intro,
  .mockup-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .lab-intro {
    gap: 28px;
  }

  .lab-intro h1 {
    font-size: 46px;
  }

  .mockup-section {
    gap: 28px;
  }

  .direction-copy {
    position: static;
  }

  .direction-copy ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .direction-copy li {
    padding-right: 14px;
  }
}

@media (max-width: 680px) {
  .lab-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .lab-wordmark img {
    width: 36px;
    height: 36px;
  }

  .lab-wordmark p {
    display: none;
  }

  .lab-mobile-title {
    display: block;
  }

  .lab-wordmark span {
    display: none;
  }

  .return-link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .return-full {
    display: none;
  }

  .return-short {
    display: inline;
  }

  .lab-main {
    width: min(100% - 24px, 1240px);
    padding: 34px 0 52px;
  }

  .lab-intro h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .intro-copy {
    font-size: 16px;
  }

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

  .principles span {
    min-height: 44px;
  }

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

  .mockup-jump a {
    justify-content: flex-start;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid #cdd4ce;
  }

  .mockup-jump a:last-child {
    border-bottom: 0;
  }

  .mockup-section {
    padding: 48px 0;
    scroll-margin-top: 154px;
  }

  .direction-copy h2 {
    font-size: 32px;
  }

  .direction-copy ul {
    display: block;
  }

  .preview-tool {
    margin: 0 -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .preview-stage {
    max-height: none;
    padding: 12px 0;
    overflow: visible;
  }

  .email-sheet,
  .preview-stage.is-phone .email-sheet {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }

  .width-switch {
    display: none;
  }

  .email-masthead,
  .email-section,
  .quick-reads,
  .ledger-list {
    padding-right: 20px;
    padding-left: 20px;
  }

  .front-lead,
  .pattern-note,
  .ledger-summary,
  .ledger-lead,
  .record-rollup,
  .edition-index {
    margin-right: 20px;
    margin-left: 20px;
  }

  .email-endmatter {
    margin-right: 20px;
    margin-left: 20px;
  }

  .email-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .front-lead h3 {
    font-size: 27px;
  }

  .lab-footer {
    display: grid;
    padding: 20px 14px;
  }
}

@media (max-width: 360px) {
  .lab-wordmark p {
    max-width: 150px;
  }

  .lab-intro h1 {
    font-size: 34px;
  }

  .email-masthead .brand {
    font-size: 27px;
  }

  .email-masthead .edition-line,
  .front-lead .story-meta {
    display: grid;
  }

  .front-lead h3 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .email-sheet {
    transition: none;
  }
}
