@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url("/fonts/dm-serif-text.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url("/fonts/dm-serif-text-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #182d22;
  --forest: #153f31;
  --green: #476741;
  --muted: #535c50;
  --paper: #faf9f1;
  --cream: #f1f1df;
  --rule: #d2d5c4;
  --orange: #b84c25;
  --lime: #e1f782;
  --serif: "DM Serif Text", Georgia, serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 3px solid #b75321; outline-offset: 4px; }
.wrap { width: min(84rem, 89%); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: .5rem; left: .5rem; transform: translateY(-180%); background: white; padding: .8rem; }
.skip:focus { transform: none; }
header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead { min-height: 5.2rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; font: 400 clamp(1.42rem, 2.3vw, 2.05rem)/1 var(--serif); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand i { color: var(--green); }
.brand img { width: 2.22rem; height: 2.22rem; border-radius: .5rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.6rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover, .back:hover { text-decoration: underline; }
.nav-app { padding: .68rem 1.25rem; border: 1px solid var(--forest); border-radius: 99rem; color: var(--forest); }
.nav-app:hover { background: var(--forest); color: white; text-decoration: none; }
.hero { position: relative; background: var(--cream); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.06fr; align-items: stretch; }
.hero-copy { padding: clamp(2.6rem, 4.7vw, 4.9rem) clamp(1.8rem, 3vw, 3rem) clamp(3rem, 4.7vw, 4.9rem) 0; align-self: center; }
.eyebrow, .card-meta, .article-body aside > p { text-transform: uppercase; font-size: .79rem; letter-spacing: .12em; line-height: 1.5; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: .68rem; color: var(--green); }
.eyebrow > span { display: block; width: 1.7rem; height: .18rem; background: var(--orange); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4rem, 7.15vw, 7.25rem); line-height: .96; letter-spacing: -.058em; }
.hero h1, .app-hero h1 { margin: 1.2rem 0 1.42rem; }
.hero h1 i, .app-hero h1 i { color: var(--green); }
.hero-copy > p, .lead, .calc-layout > div > p { font-size: clamp(1.06rem, 1.38vw, 1.32rem); line-height: 1.52; letter-spacing: -.012em; color: var(--muted); max-width: 28rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 99rem; color: white; background: var(--forest); text-decoration: none; font-size: .98rem; font-weight: 650; padding: .95rem 1.55rem; line-height: 1.2; }
.button:hover { background: #315945; }
.hero-copy .button, .app-hero .button { margin-top: 1.8rem; }
.hero-art { position: relative; min-height: 24rem; margin-right: calc((100vw - min(84rem, 89vw)) / -2); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 52%; }
h2 { font-size: clamp(2.55rem, 4.05vw, 4.15rem); line-height: 1.06; letter-spacing: -.047em; }
.orange { color: var(--orange); }
.guides-section { padding-block: clamp(3.1rem, 5.2vw, 5.2rem) clamp(3.4rem, 6vw, 6rem); }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.8rem; }
.section-intro h2, .how-section > h2 { margin-top: .48rem; }
.section-intro > p { color: var(--muted); line-height: 1.5; font-size: 1.02rem; }
.guide-grid, .how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.1rem, 2.2vw, 2rem); }
.guide-card a { display: block; text-decoration: none; }
.cover { overflow: hidden; border-radius: .22rem; background: var(--cream); }
.cover img { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: cover; transition: transform .3s ease; }
.guide-card a:hover h3, .guide-card a:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.guide-card a:hover img { transform: scale(1.025); }
.card-meta { display: flex; align-items: center; gap: .6rem; color: var(--green); margin: 1.1rem 0 .45rem; font-size: .755rem; }
.card-meta span + span { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-weight: 500; text-transform: none; font-size: .88rem; letter-spacing: 0; }
.card-meta span + span::before { content: ""; width: .22rem; height: .22rem; background: var(--orange); border-radius: 50%; }
.guide-card h3, .how-grid h3 { font-size: clamp(1.57rem, 2.07vw, 2.14rem); line-height: 1.13; letter-spacing: -.038em; }
.guide-card p, .how-grid p, .app-callout p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }
.calc-section { background: var(--forest); color: var(--paper); }
.calc-layout { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); padding-block: 3.6rem; }
.inverse { color: var(--lime); }
.inverse > span { background: var(--lime); }
.calc-layout h2 { margin: .8rem 0; }
.calc-layout h2 i { color: var(--lime); }
.calc-layout > div > p { color: #e2e9d9; font-size: 1.06rem; max-width: 26rem; }
.text-link { display: inline-block; font-weight: 650; font-size: 1rem; color: var(--forest); }
.text-link.pale { color: var(--paper); margin-top: 1.1rem; }
.calc-panel { color: var(--ink); background: var(--paper); padding: clamp(1.3rem, 2.7vw, 2.6rem); border-radius: .4rem; }
.calc-fields { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: .75rem; }
.calc-fields label { min-width: 0; font-size: .9rem; font-weight: 600; }
.calc-fields input { width: 100%; display: block; margin-top: .45rem; padding: .65rem .55rem; background: white; border: 1px solid #899685; border-radius: .24rem; color: var(--ink); font: inherit; font-size: 1rem; }
.calc-result { border-top: 1px dashed #97a18e; padding-top: 1.05rem; margin-top: 1.25rem; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .85rem; row-gap: .15rem; }
#calc-value { font: 400 3.2rem/1.2 var(--serif); letter-spacing: -.055em; overflow-wrap: anywhere; }
#calc-message { color: var(--muted); }
.app-callout { display: flex; align-items: center; gap: 1.4rem; padding-block: 3.7rem; }
.app-callout > img { border-radius: 1.1rem; }
.app-callout h2 { font-size: clamp(2rem, 3vw, 3rem); margin-top: .2rem; }
.app-callout .button { margin-left: auto; white-space: nowrap; }
footer { border-top: 1px solid var(--rule); }
.foot-inner { padding-block: 1.7rem; }
footer .brand { font-size: 1.47rem; }
footer .brand img { width: 1.75rem; height: 1.75rem; border-radius: .38rem; }
footer nav a { font-size: .9rem; }
footer .nav-app { padding: 0; border: 0; }
footer .nav-app:hover { color: var(--forest); background: none; text-decoration: underline; }
.back { display: inline-block; color: var(--green); font-weight: 600; margin-bottom: 1.6rem; }
.article-top { padding-block: 2.4rem 3.4rem; }
.article-hero, .app-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.article-hero h1 { font-size: clamp(3.4rem, 5.9vw, 6rem); margin: 1rem 0 1.3rem; }
.article-hero > img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; border-radius: .3rem; }
.article-hero .lead { max-width: 37rem; }
.article-body { border-top: 1px solid var(--rule); padding-block: 3.5rem; display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.65fr); gap: 3rem; }
.article-body aside > p { color: var(--green); }
.article-body aside ol { padding-left: 1.25rem; line-height: 1.5; }
.article-body aside li { padding: .25rem 0 .25rem .1rem; }
.prose { max-width: 44rem; }
.prose section { margin-bottom: 2.7rem; }
.prose h2, .read-next h2 { font-size: clamp(2rem, 2.8vw, 3rem); }
.prose p { margin: .9rem 0 0; color: #37453b; font-size: 1.125rem; line-height: 1.68; }
.sources, .read-next { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-top: 2rem; }
.sources h2 { font-size: 1.75rem; }
.sources ul { line-height: 1.55; padding-left: 1.1rem; }
.sources li + li { margin-top: .45rem; }
.read-next h2 { margin-top: .6rem; }
.app-hero { background: var(--cream); border-bottom: 1px solid var(--rule); }
.app-layout { grid-template-columns: 1.1fr 1fr; padding-block: 2.8rem; }
.app-layout h1 { font-size: clamp(3.6rem, 6.2vw, 6.35rem); }
.availability { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.phone-stage { align-self: stretch; position: relative; display: grid; place-content: center; justify-items: center; gap: .65rem; background: #d3dfc2; padding: 1.7rem 1rem 1.15rem; border-radius: .4rem; }
.phone-stage img { width: auto; height: min(31rem, 47vw); border: .29rem solid #243126; border-radius: 2.1rem; box-shadow: .8rem .9rem 1.9rem #263e332b; }
.phone-stage figcaption { font-size: .85rem; color: #314935; }
.how-section { padding-block: 3.8rem 4.3rem; }
.how-grid { margin: 2rem 0 1.6rem; }
.how-grid > div { border-top: 1px solid var(--rule); padding-top: 1.15rem; }
.missing { padding-block: 6rem; }
.missing h1 { margin: .8rem 0 2rem; }
@media (max-width: 800px) {
  .wrap { width: 90%; }
  .hero-art { min-height: 21rem; margin-right: -5vw; }
  .hero-copy { padding-right: 1rem; }
  h1 { font-size: clamp(3.5rem, 7.6vw, 4.25rem); }
  .guide-grid { gap: 1rem; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-layout > div > p { max-width: 35rem; }
  .article-body { grid-template-columns: 1fr; }
  .article-body aside { border-bottom: 1px solid var(--rule); }
  .app-callout > img { width: 3.5rem; height: 3.5rem; }
}
@media (max-width: 600px) {
  .masthead { flex-wrap: wrap; justify-content: center; gap: .8rem; padding-block: .95rem .8rem; }
  .brand { font-size: 1.72rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .masthead nav { justify-content: center; width: 100%; gap: 1.5rem; }
  .masthead nav a { font-size: .9rem; }
  .nav-app { padding: .38rem .77rem; }
  .hero-layout { display: flex; flex-direction: column; }
  .hero-copy { width: 100%; padding: 2.55rem 0 2.2rem; }
  .hero h1 { font-size: clamp(3.85rem, 13.8vw, 5.55rem); margin: .85rem 0 .95rem; }
  .hero-copy .button { margin-top: 1.25rem; }
  .hero-copy > p { max-width: 23rem; }
  .hero-art { margin-inline: -5vw; min-height: 0; aspect-ratio: 1.68; }
  .hero-photo { object-position: center 56%; }
  .guides-section, .how-section { padding-block: 2.65rem; }
  .section-intro { display: block; margin-bottom: 1.3rem; }
  .section-intro > p { margin-top: .65rem; }
  .large-only { display: none; }
  .guide-grid, .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .guide-card h3 { font-size: 1.95rem; }
  .card-meta { margin-top: .8rem; }
  .calc-layout { padding-block: 2.65rem; gap: 1.7rem; }
  .calc-fields { grid-template-columns: 1fr; gap: .8rem; }
  .calc-fields label { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .calc-fields input { margin-top: 0; }
  .app-callout { align-items: flex-start; flex-wrap: wrap; gap: .9rem; padding-block: 2.5rem; }
  .app-callout .button { margin-left: 0; }
  .app-callout > img { display: none; }
  .foot-inner { flex-direction: column; gap: 1.1rem; }
  .article-top { padding: 1.4rem 0 2rem; }
  .article-hero, .app-layout { grid-template-columns: 1fr; gap: 1.35rem; }
  .article-hero > img { aspect-ratio: 1.72; }
  .article-hero h1 { font-size: clamp(2.9rem, 10.4vw, 4.5rem); }
  .article-body { padding-block: 2rem; gap: 2rem; }
  .prose p { font-size: 1.08rem; }
  .app-layout { padding-block: 2.4rem 1.4rem; }
  .phone-stage img { height: 25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
