:root {
  --bg: #faf9f5;
  --body: #56524b;
  --green: #244d3d;
  --ink: #171914;
  --line: #dedbd1;
  --muted: #7a7468;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  line-height: 1.65;
  margin: 0;
}

a {
  color: var(--green);
}

.shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 28px clamp(18px, 5vw, 56px) 76px;
}

.top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 58px;
  padding-bottom: 20px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.call {
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 78px);
}

h2 {
  font-size: clamp(28px, 5vw, 44px);
  margin-top: 44px;
}

.direct {
  border-left: 6px solid var(--green);
  color: var(--ink);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  margin: 30px 0 0;
  padding-left: 22px;
}

.share-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
  padding: 16px 0;
}

.share-bar span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-right: 4px;
  text-transform: uppercase;
}

.share-bar a,
.share-bar button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: 700 14px/1 var(--sans);
  padding: 10px 12px;
  text-decoration: none;
}

.share-bar a:hover,
.share-bar button:hover {
  border-color: var(--green);
}

.share-status {
  color: var(--green);
  font-size: 14px;
}

p,
li {
  font-size: 18px;
}

ul {
  padding-left: 22px;
}

.post-photo {
  margin: 34px 0;
}

.post-photo img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.post-photo figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
}

.cta {
  background: var(--green);
  color: #fff;
  margin-top: 48px;
  padding: 28px;
}

.cta h2 {
  color: #fff;
  font-size: 32px;
  margin-top: 0;
}

.cta a {
  color: #fff;
  font-weight: 800;
}

.note {
  color: var(--muted);
  font-size: 15px;
}

.article-breadcrumb { margin: -28px 0 28px; font-size: 15px; }
.article-breadcrumb a { display: inline-block; padding: 10px 0; }
.article-return { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; }
.article-return a { display: inline-block; padding: 10px 0; font-weight: 700; }
.related-guides { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 24px; }
.related-guides h2 { font-size: clamp(25px, 4vw, 30px); line-height: 1.2; margin: 0 0 18px; }
.related-guides ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.related-guides li { font-size: 16px; }
.related-guides a { display: block; height: 100%; border: 1px solid var(--line); background: white; padding: 14px 16px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.related-guides a:hover { border-color: var(--green); text-decoration: underline; }
.guide-library h1 { font-size: clamp(42px, 7vw, 64px); line-height: 1.08; }
.library-intro { max-width: 680px; font-size: 20px; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 38px; }
.topic-nav a { border: 1px solid var(--line); padding: 10px 14px; text-decoration: none; font-weight: 700; }
.topic-nav a:hover { border-color: var(--green); background: white; }
.guide-section { scroll-margin-top: 24px; margin-top: 42px; }
.guide-section h2 { font-size: clamp(28px, 5vw, 36px); line-height: 1.15; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); background: white; text-decoration: none; }
.guide-card:hover { border-color: var(--green); }
.guide-card h3 { color: var(--ink); font: 600 25px/1.2 var(--serif); margin: 0; }
.guide-card p { color: var(--body); font-size: 17px; margin: 14px 0 20px; }
.guide-card span { margin-top: auto; font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

@media (max-width: 620px) {
  .related-guides ul { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .top {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .share-bar a,
  .share-bar button {
    text-align: center;
    width: 100%;
  }
}

/* Editorial reading layout, sized for a phone as well as a desktop. */
body { color: #3f463e; line-height: 1.72; }
.shell { max-width: 1020px; padding-bottom: 96px; }
.shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return),
.shell:not(.guide-library) > ul { max-width: 720px; }
.top { margin-bottom: 46px; }
.brand { font-size: 17px; }
h1 { max-width: 820px; font-size: clamp(44px, 5.7vw, 66px); line-height: 1.11; }
h2 { max-width: 760px; font-size: clamp(31px, 3.8vw, 39px); line-height: 1.18; margin-top: 56px; }
p, li { font-size: 19px; line-height: 1.72; }
p { margin-block: 20px; }
li + li { margin-top: 8px; }
.direct { max-width: 800px; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.48; margin-block: 28px 36px; }
.post-photo { max-width: 900px; margin: 42px 0; }
.post-photo img { border-radius: 4px; }
.post-photo figcaption { font-size: 15px; line-height: 1.55; }
.share-bar { margin-block: 28px 38px; }
.cta { max-width: 800px; border-radius: 4px; padding: 32px; }
.cta h2 { line-height: 1.2; }
.related-guides { margin-top: 68px; }
.related-guides li { margin: 0; }

.guide-library { max-width: 1160px; }
.library-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .7fr); gap: 34px; align-items: center; }
.library-hero img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }
.guide-library h1 { max-width: none; font-size: clamp(44px, 5.5vw, 68px); }
.library-intro { max-width: 680px; font-size: 21px; line-height: 1.6; }
.topic-nav { margin-block: 34px 60px; }
.topic-nav a { background: #f0f3ec; font-size: 16px; padding: 11px 16px; }
.guide-section { border-top: 1px solid var(--line); margin-top: 58px; padding-top: 42px; }
.guide-section-heading { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-bottom: 24px; }
.guide-section-heading h2 { margin: 0; }
.guide-section-heading p { max-width: 580px; font-size: 18px; margin: 14px 0 0; }
.guide-section-heading img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; }
.guide-grid { gap: 18px; }
.guide-card { min-height: 230px; padding: 26px; background: #fff; border-radius: 4px; }
.guide-card h3 { font-size: clamp(25px, 2.6vw, 30px); line-height: 1.23; }
.guide-card p { font-size: 18px; line-height: 1.55; }
.guide-card span { font-size: 16px; }

@media (max-width: 700px) {
  .shell { padding-inline: 22px; }
  .top { margin-bottom: 38px; }
  h1 { font-size: clamp(40px, 10vw, 50px); line-height: 1.12; }
  h2 { font-size: 32px; margin-top: 48px; }
  p, li { font-size: 18px; line-height: 1.7; }
  .direct { font-size: 22px; padding-left: 18px; }
  .share-bar { flex-direction: row; align-items: center; gap: 8px; padding-block: 13px; }
  .share-bar a, .share-bar button { width: auto; font-size: 13px; padding: 9px 10px; }
  .share-bar span { width: 100%; }
  .post-photo { margin-block: 32px; }
  .guide-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .library-hero { grid-template-columns: 1fr; gap: 14px; }
  .library-hero img { height: 190px; }
  .guide-section-heading img { height: 190px; }
  .guide-section { margin-top: 48px; padding-top: 32px; }
  .topic-nav { margin-bottom: 46px; }
}

/* A warmer, more visual reading rhythm across the guide library and articles. */
:root { --sage: #e8eee6; --paper: #f7f0e7; --accent: #a96346; }
body { background: #fbf9f4; color: #363e37; }
.top { border-color: #ccd5ca; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -.02em; }
.brand::before { content: 'FF'; display: grid; place-items: center; width: 40px; height: 40px; background: var(--green); color: white; font: 600 16px/1 var(--serif); letter-spacing: 0; }
.call { border-color: var(--green); border-radius: 4px; padding: 11px 15px; }
.eyebrow { color: #6b7559; }
.shell:not(.guide-library) { max-width: 1000px; }
.shell:not(.guide-library) > h1 { max-width: 820px; letter-spacing: -.035em; }
.shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return):not(.direct) { max-width: 690px; font-size: 20px; line-height: 1.72; }
.shell:not(.guide-library) > h2 { max-width: 710px; border-top: 1px solid #d5ded1; padding-top: 32px; margin-top: 64px; letter-spacing: -.025em; }
.shell:not(.guide-library) > h2::before { content: ''; display: block; width: 38px; height: 4px; margin: -35px 0 27px; background: var(--accent); }
.direct { max-width: 760px; background: var(--sage); border-left: 5px solid var(--green); border-radius: 0 8px 8px 0; padding: 22px 26px; margin-block: 30px 34px; }
.shell:not(.guide-library) > ul { max-width: 710px; background: var(--paper); border-radius: 8px; padding: 24px 32px 24px 50px; }
.shell:not(.guide-library) > ul li { padding-left: 5px; }
.shell:not(.guide-library) > ul li::marker { color: var(--accent); }
.post-photo { margin-block: 44px; }
.post-photo img { border-radius: 10px 10px 0 0; }
.post-photo figcaption { background: #f0eee6; border-radius: 0 0 10px 10px; color: #4b5148; font-size: 16px; line-height: 1.55; margin: 0; padding: 14px 18px; }
.lead-photo { margin-block: 38px 42px; }
.share-bar { max-width: 710px; }
.share-bar a, .share-bar button { border-radius: 4px; }
.cta { background: #244d3d; border-radius: 10px; }
.article-at-a-glance { background: var(--paper); border: 1px solid #e6d9c8; border-radius: 10px; margin: 46px 0 52px; max-width: 850px; padding: 28px 30px 30px; }
.article-at-a-glance .eyebrow { margin-bottom: 8px; }
.article-at-a-glance h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 24px; }
.glance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glance-grid p { background: #fffdfa; border-top: 3px solid var(--accent); border-radius: 4px; margin: 0; padding: 16px; }
.glance-grid strong, .glance-grid span { display: block; }
.glance-grid strong { color: var(--ink); font: 600 24px/1.2 var(--serif); margin-bottom: 8px; }
.glance-grid span { font-size: 16px; line-height: 1.55; }

.guide-library { max-width: 1180px; }
.library-hero { background: var(--sage); border-radius: 12px; padding: clamp(22px, 4vw, 42px); }
.library-hero img { height: 300px; border-radius: 8px; }
.topic-nav a { background: #fffdf8; border-radius: 99px; }
.topic-nav a:hover { background: var(--sage); }
.guide-section { border-color: #cbd5c8; }
.guide-section-heading img { border-radius: 8px; }
.guide-grid { gap: 20px; }
.guide-card { min-height: 0; padding: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 7px 24px rgba(28, 42, 30, .055); transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 11px 28px rgba(28, 42, 30, .11); }
.guide-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card > div { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.guide-card h3 { font-size: clamp(25px, 2.6vw, 31px); }
.guide-card p { margin: 14px 0 24px; }
.guide-card span { margin-top: auto; }

@media (max-width: 700px) {
  .shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return):not(.direct) { font-size: 19px; line-height: 1.72; }
  .shell:not(.guide-library) > h2 { margin-top: 56px; padding-top: 28px; }
  .shell:not(.guide-library) > h2::before { margin-top: -31px; margin-bottom: 22px; }
  .direct { padding: 19px 20px; font-size: 21px; }
  .shell:not(.guide-library) > ul { padding: 20px 22px 20px 40px; }
  .post-photo { margin-block: 34px; }
  .post-photo figcaption { font-size: 15px; }
  .article-at-a-glance { padding: 22px; margin-block: 34px 42px; }
  .glance-grid { grid-template-columns: 1fr; gap: 10px; }
  .glance-grid p { padding: 13px 16px; }
  .glance-grid strong { font-size: 22px; }
  .library-hero { padding: 22px; }
  .library-hero img { height: 180px; }
  .guide-section-heading img { display: none; }
  .guide-card > img { aspect-ratio: 16 / 10; }
}

/* The article is a reading surface: generous type and a calm, narrow line. */
.shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return):not(.direct),
.shell:not(.guide-library) > ul li { color: #303a32; font-size: 20px; line-height: 1.75; }
.shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return):not(.direct) { max-width: 670px; margin-block: 24px; }
.shell:not(.guide-library) > h2 { max-width: 670px; }
.post-photo { max-width: 840px; }
.post-photo figcaption { color: #39483b; font-size: 16px; }
.related-guides a { border-radius: 8px; padding: 19px 20px; }
@media (max-width: 700px) {
  .shell:not(.guide-library) > p:not(.eyebrow):not(.article-breadcrumb):not(.article-return):not(.direct),
  .shell:not(.guide-library) > ul li { font-size: 20px; line-height: 1.72; }
  .shell { padding-inline: 24px; }
  .post-photo figcaption { font-size: 16px; }
}
