@font-face { font-family: 'Barlow Semi Condensed'; src: url('/BarlowSemiCondensed-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
:root { color-scheme: dark; --ink: #f5f7ee; --muted: #c3cec4; --lime: #d8ff67; --bg: #101513; --line: #41544a; --panel: #192720; --field: #25392e; font: 100%/1.55 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(74rem, 100% - clamp(2rem, 8vw, 8rem)); margin-inline: auto; }
.site-header, .site-footer { border-bottom: 1px solid var(--line); background: #0d120f; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; min-height: 4.7rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.1rem; font-weight: 950; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand img { margin-right: .25rem; }
.brand strong, .eyebrow, h1 em { color: var(--lime); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(.7rem, 2vw, 1.65rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .9rem; font-weight: 700; }
nav [aria-current] { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 7vw, 6.15rem); letter-spacing: -.075em; margin-bottom: 1.25rem; }
h1 em { font-style: normal; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); letter-spacing: -.045em; margin-bottom: .85rem; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .55rem; }
.home { color: #17271d; background: #f4f4eb; color-scheme: light; }
.home .site-header { background: #f4f4eb; border-color: #cbd2c4; }
.home .brand strong, .home nav [aria-current], .home .eyebrow, .home h1 em { color: #2e6040; }
.home .site-header a:hover, .home .learn a:hover { color: #2e6040; }
.home .site-header a:focus-visible, .home .learn a:focus-visible { outline-color: #2e6040; }
.hero-scene { position: relative; isolation: isolate; }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); grid-template-areas: 'intro tool'; align-items: center; gap: 1.5rem clamp(1.3rem, 5vw, 4.5rem); padding-block: clamp(2.75rem, 6.2vw, 6.5rem); }
.hero-copy { grid-area: intro; min-width: 0; }
.hero h1 { max-width: 12ch; font: 800 clamp(3.3rem, 7.2vw, 7rem)/.91 'Barlow Semi Condensed', 'Arial Narrow', system-ui, sans-serif; letter-spacing: -.045em; margin-bottom: 1rem; }
.hero h1 em { white-space: nowrap; }
.hero .lede { color: #435447; margin-bottom: 0; }
.field-photo { grid-area: photo; position: relative; margin: 0; overflow: hidden; background: #233a2a; }
.field-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 59%; }
.field-photo figcaption { position: absolute; inset: auto auto .55rem .65rem; z-index: 1; max-width: calc(100% - 1.3rem); padding: .32rem .55rem; color: #f5f7ee; background: #101b14; border-radius: .2rem; font-size: .78rem; line-height: 1.4; }
@media (width > 760px) {
  .hero-scene { background: #17241b; }
  .hero { min-height: clamp(510px, 44vw, 655px); grid-template-columns: minmax(0, 1fr) minmax(0, min(49%, 27rem)); }
  .home .hero-copy { color: #f5f7ee; }
  .home .hero .eyebrow, .home .hero h1 em { color: var(--lime); }
  .hero .lede { color: #edf1e9; }
  .field-photo { position: absolute; inset: 0; z-index: -1; }
  .field-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0c160fed 0%, #0c160fd4 27%, #0c160f46 58%, #0c160f20 100%); pointer-events: none; }
  .field-photo figcaption { inset-inline-start: max(.65rem, calc((100% - 74rem) / 2)); }
}
.eyebrow { font-size: .83rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.lede { max-width: 54ch; color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.2rem); }
.scorecard { grid-area: tool; align-self: center; color: var(--ink); color-scheme: dark; border: 1px solid #40644a; border-radius: .75rem; background: #213e2b; overflow: clip; }
.scorecard form, .result { padding: clamp(1rem, 3vw, 1.75rem); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .85rem; margin: 1.1rem 0; }
.fields label { display: block; font-weight: 700; font-size: .9rem; }
.fields label span { color: var(--muted); font-weight: 400; }
input, select { display: block; margin-top: .38rem; width: 100%; min-width: 0; min-height: 48px; padding: .55rem .65rem; border: 1px solid #597165; border-radius: .5rem; background: var(--field); color: var(--ink); font: inherit; font-size: 1rem; }
select { appearance: none; padding-right: 1.7rem; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='none' stroke='%23f5f7ee' stroke-width='2' d='m2 2 5 5 5-5'/%3E%3C/svg%3E") right .55rem center no-repeat; }
input::placeholder { color: #b5c5ba; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .8rem; }
.button, .text-button, .app-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: inherit; font-weight: 800; cursor: pointer; }
.button { color: #162111; background: var(--lime); border: 1px solid transparent; border-radius: .5rem; padding: .55rem 1rem; text-decoration: none; }
.button:hover { color: #162111; background: #e8ffa7; }
.text-button { color: var(--muted); background: transparent; border: 0; padding: .45rem .4rem; text-decoration: underline; text-underline-offset: .25em; }
.text-button:hover, .app-link { color: var(--lime); }
.form-actions button:disabled { opacity: .55; cursor: default; }
.secondary { background: transparent; color: var(--ink); border-color: #809589; }
.error { color: #ffb9ac; }
.result { border-top: 1px solid var(--line); background: #132019; }
.result-time { color: var(--lime); font: 800 clamp(2.55rem, 8vw, 4.25rem)/1.1 ui-monospace, monospace; letter-spacing: -.07em; margin-bottom: .35rem; }
.result p { margin-bottom: .65rem; }
.comparison { padding-block: .8rem; border-block: 1px solid var(--line); }
.status { color: var(--muted); padding-top: .5rem; }
.learn { background: #e8ede1; border-top: 1px solid #cbd2c4; padding-block: clamp(1.6rem, 5vw, 3.3rem); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.guide-card { display: block; padding: 1.2rem 0; border-top: 1px solid #8d9f8d; text-decoration: none; }
.guide-card:hover h3 { text-decoration: underline; }
.guide-card span { display: block; color: #2e6040; font-size: .8rem; font-weight: 850; letter-spacing: .09em; margin-bottom: .6rem; }
.guide-card p { color: #435447; margin-bottom: 0; }
.site-footer { border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.article { max-width: 49rem; padding-block: clamp(2rem, 6vw, 4.75rem); }
.article h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.article section { margin-top: 2.2rem; }
.article p, .article li { max-width: 64ch; }
.article li { margin-bottom: .45rem; }
.article a:not(.button) { color: var(--lime); }
.callout { background: var(--panel); border-left: 4px solid var(--lime); padding: 1rem; }
.ad-reservation { margin-block: 2rem; }
.ad-label { display: block; text-align: center; color: var(--muted); font-size: .8rem; margin-bottom: .35rem; }
.ad-creative {
  display: grid;
  place-items: center;
  width: var(--ad-width, 234px);
  height: var(--ad-height, 60px);
  margin-inline: auto;
  border: 1px dashed #597165;
  background: #171e1a;
  color: var(--muted);
  font-size: .9rem;
}
@media (width < 266px) { .ad-reservation { display: none; } }
@media (min-width: 352px) { .ad-creative { --ad-width: 320px; --ad-height: 100px; } }
@media (min-width: 510px) { .ad-creative { --ad-width: 468px; --ad-height: 60px; } }
@media (min-width: 800px) { .ad-creative { --ad-width: 728px; --ad-height: 90px; } }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-block: .8rem; }
caption { text-align: left; color: var(--muted); padding-bottom: .5rem; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
thead { background: var(--panel); }
td:last-child, th:last-child { text-align: right; }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'photo' 'tool'; gap: 1rem; padding-block: 1.6rem; }
  .hero h1 { max-width: 14ch; }
  .field-photo { height: clamp(145px, 36vw, 230px); border-radius: .55rem; }
  .field-photo img { object-position: center; }
}
@media (max-width: 460px) { .fields, .card-grid { grid-template-columns: 1fr; } .header-inner { align-items: flex-start; } }
