:root {
  --green: #285c47;
  --ink: #253c31;
  --muted: #6e7b70;
  --paper: #fbfcf8;
  --line: #dde5d9;
  --gold: #edc66a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.7 "Segoe UI",
    sans-serif;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
a,
summary {
  outline-offset: 6px;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font:
    31px Georgia,
    serif;
  letter-spacing: -1px;
}
.brand img {
  width: 44px;
  height: 44px;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.hero {
  background: linear-gradient(180deg, #eaf0e4, var(--paper));
  padding: 76px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 70px;
  align-items: center;
}
.kicker {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
h1 {
  font:
    64px/1.08 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 22px 0 24px;
}
h1 em {
  color: var(--green);
  font-style: normal;
}
p {
  color: var(--muted);
}
.hero-copy p {
  max-width: 480px;
  font-size: 18px;
}
.button {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  margin: 10px 0;
}
.button:hover {
  background: #204e3d;
  text-decoration: none;
}
.trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 23px;
}
.trust span:before {
  content: "✓";
  color: var(--green);
  margin-right: 7px;
}
.workbook {
  background: #fffef8;
  padding: 34px 35px;
  border: 1px solid #d6ddcd;
  box-shadow:
    15px 16px 0 #dce6d4,
    0 14px 35px #283c3112;
  transform: rotate(-3deg);
  position: relative;
}
.workbook .book-top {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}
.workbook img {
  width: 39px;
  height: 39px;
}
.workbook h2 {
  font: 34px/1.2 Georgia;
  margin: 26px 0 8px;
}
.workbook .small {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 20px;
  padding: 32px 0;
  font: 24px Georgia;
}
.sums small {
  font:
    10px "Segoe UI",
    sans-serif;
  margin-right: 9px;
  color: #8b9585;
}
.pencil {
  height: 14px;
  width: 195px;
  background: var(--gold);
  position: absolute;
  bottom: 30px;
  right: -26px;
  transform: rotate(-28deg);
  border-left: 25px solid #ccb69a;
  border-right: 18px solid #ce8c7b;
}
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font: 43px/1.18 Georgia;
  margin: 12px 0 22px;
  letter-spacing: -0.6px;
}
.section-head {
  max-width: 620px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 44px;
  margin-top: 48px;
}
.feature {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.feature .mark {
  font: 29px Georgia;
  color: #7b995f;
}
.feature h3 {
  font-size: 17px;
  margin: 13px 0 10px;
}
.feature p {
  font-size: 14px;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  margin-top: 40px;
}
.step span {
  font: 42px Georgia;
  color: #9bb184;
}
.step h3 {
  font-size: 17px;
  margin: 10px 0;
}
.step p {
  font-size: 14px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 42px;
  margin-top: 30px;
}
details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
details p {
  font-size: 14px;
  margin: 12px 0 0;
}
.cta {
  background: #edf2e6;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 {
  font: 35px Georgia;
  margin: 0;
}
.cta p {
  margin: 10px 0 0;
  font-size: 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px 0;
  font-size: 12px;
  color: var(--muted);
}
footer div {
  display: flex;
  gap: 22px;
}
.legal {
  max-width: 780px;
  padding: 65px 0 75px;
}
.legal h1 {
  font-size: 48px;
}
.legal h2 {
  font: 27px Georgia;
  margin-top: 34px;
}
.legal p {
  font-size: 15px;
}
.legal ul {
  padding-left: 23px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .hero {
    padding: 45px 0 65px;
  }
  h1 {
    font-size: 50px;
  }
  .workbook {
    max-width: 460px;
  }
  .features,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .cta {
    padding: 30px;
    display: block;
  }
  .nav-links {
    gap: 15px;
  }
  .section {
    padding: 50px 0;
  }
}
@media (max-width: 500px) {
  .wrap {
    padding: 0 22px;
  }
  nav {
    height: 80px;
  }
  .nav-links a:last-child {
    display: none;
  }
  .features,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-copy p {
    font-size: 16px;
  }
  h1 {
    font-size: 44px;
  }
  .sums {
    font-size: 21px;
  }
  .workbook {
    padding: 25px;
  }
  .section h2 {
    font-size: 35px;
  }
  .legal h1 {
    font-size: 39px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: arrive 0.55s ease-out;
  }
  .workbook {
    animation: arrive 0.8s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      translate: 0 14px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
/* Screenshots retain the complete source aspect ratio at every breakpoint. */
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.screenshot-grid figure:first-child {
  grid-column: 1/-1;
}
.screenshot-grid figure {
  margin: 0;
}
.screenshot-grid img,
.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.screenshot-grid figcaption,
.article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 46px;
  margin: 38px 0;
}
.guide-card {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.guide-card h2,
.guide-card h3 {
  font:
    27px/1.3 Georgia,
    serif;
  letter-spacing: -0.25px;
  margin: 12px 0;
}
.guide-card p {
  font-size: 15px;
}
.guide-meta,
.article-meta {
  font-size: 12px;
  color: var(--muted);
}
.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
}
.blog-index {
  padding-top: 36px;
  padding-bottom: 55px;
}
.blog-header {
  max-width: 780px;
  margin: 48px 0;
}
.blog-header h1 {
  font-size: 57px;
}
.blog-header p {
  font-size: 19px;
  max-width: 650px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.blog-note {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.blog-note h2 {
  font:
    30px Georgia,
    serif;
}
.article-shell {
  padding-top: 32px;
  padding-bottom: 32px;
}
.article-header {
  max-width: 870px;
  margin: 40px auto;
}
.article-header h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.article-body {
  max-width: 780px;
  margin: auto;
}
.article-body p,
.article-body li {
  color: #536458;
}
.article-body p {
  margin: 20px 0;
}
.article-body h2 {
  font:
    30px/1.25 Georgia,
    serif;
  letter-spacing: -0.25px;
  margin: 43px 0 18px;
  scroll-margin-top: 20px;
}
.article-body h3 {
  font-size: 20px;
  margin: 30px 0 14px;
}
.article-body .lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
}
.article-body li {
  margin: 12px 0;
  padding-left: 6px;
}
.article-body ul,
.article-body ol {
  padding-left: 25px;
}
.article-body figure {
  margin: 32px 0;
}
.article-body a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-toc {
  height: auto;
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
  font-size: 14px;
}
.takeaway,
.worked-example {
  padding: 22px 26px;
  background: #edf2e6;
  border-left: 3px solid #8aa46e;
  margin: 28px 0;
}
.takeaway p,
.worked-example p {
  margin: 8px 0;
}
.worked-example {
  font-size: 18px;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
  margin: 25px 0;
}
.article-body th,
.article-body td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.article-body th {
  background: #edf2e6;
}
.article-cta {
  padding: 28px 32px;
  margin: 42px 0 12px;
  background: #edf2e6;
}
.article-cta h2 {
  margin: 0;
}
.article-cta .text-link {
  display: block;
  margin-top: 10px;
}
.related-guides .guide-grid {
  grid-template-columns: repeat(3, 1fr);
}
.related-guides .guide-card h2 {
  font-size: 24px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--paper);
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.site-guides .section-head {
  max-width: 720px;
}
@media (max-width: 800px) {
  .article-header h1 {
    font-size: 39px;
  }
  .related-guides .guide-grid {
    grid-template-columns: 1fr;
  }
  .blog-header h1 {
    font-size: 45px;
  }
}
@media (max-width: 500px) {
  .screenshot-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .blog-header {
    margin: 35px 0;
  }
  .blog-header h1 {
    font-size: 37px;
  }
  .article-header h1 {
    font-size: 34px;
  }
  .article-body .lead {
    font-size: 18px;
  }
  .article-body h2 {
    font-size: 27px;
  }
  .article-body table {
    font-size: 12px;
  }
  .article-body th,
  .article-body td {
    padding: 10px 7px;
  }
  .article-cta {
    padding: 25px 22px;
  }
  .takeaway,
  .worked-example {
    padding: 18px;
  }
  .nav-links a:last-child {
    display: inline;
  }
  .nav-links {
    gap: 13px;
    font-size: 12px;
  }
  .brand {
    font-size: 26px;
    gap: 8px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
}
.breadcrumbs {
  height: auto;
  border: 0;
  justify-content: flex-start;
}
@media (max-width: 500px) {
  .nav-links a[href^="mailto:"] {
    display: none;
  }
}
.section.wrap {
  padding: 76px 32px;
}
@media (max-width: 800px) {
  .section.wrap {
    padding: 50px 32px;
  }
}
@media (max-width: 500px) {
  .section.wrap {
    padding: 45px 22px;
  }
}
@media (max-width: 500px) {
  .pencil {
    right: 0;
    width: 165px;
  }
}
