:root {
  --ink: #16362d;
  --ink-2: #3f5b50;
  --muted: #6a7c73;
  --green: #719c22;
  --green-dark: #4d751d;
  --pale: #f6f8f1;
  --line: #dfe8dc;
  --mint: #dcebd8;
  --blue: #dcebf2;
  --cream: #f3efd9;
  --lilac: #e8e6f0;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--pale);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--pale); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #e9b84f; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.055em; }
h1, h2 { font-weight: 750; }
em { color: var(--green); font-style: normal; }

.download-skip { position: fixed; left: 1rem; top: -5rem; z-index: 40; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; }
.download-skip:focus { top: 1rem; }
.download-container { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }
.download-header { position: sticky; z-index: 20; top: 0; background: rgba(246,248,241,.88); border-bottom: 1px solid rgba(223,232,220,.9); backdrop-filter: blur(18px); }
.download-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.download-brand { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
.download-brand img:first-child { width: 32px; height: 32px; object-fit: contain; }
.download-brand img:last-child { width: 100px; height: auto; object-fit: contain; }

.download-hero { overflow: hidden; background: linear-gradient(125deg, #f7f9f2 0%, #e9f2e3 100%); }
.download-hero__grid { min-height: min(800px, calc(100svh - 78px)); display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 3.8rem; padding: 4.4rem 0 4.8rem; }
.download-hero__copy { position: relative; z-index: 3; }
.download-eyebrow { display: flex; align-items: center; gap: .55rem; color: var(--green); font-size: .68rem; font-weight: 850; letter-spacing: .18em; }
.download-eyebrow span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); }
.download-hero h1 { margin-top: 1.25rem; font-size: clamp(3.9rem, 6.5vw, 6.7rem); }
.download-hero__lede { max-width: 32rem; margin-top: 1.6rem; color: var(--muted); font-size: 1.02rem; line-height: 1.82; }
.download-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; width: max-content; max-width: 100%; margin-top: 1.95rem; scroll-margin-top: 6rem; }
.download-store-badge { position: relative; display: inline-flex; width: 13.25rem; height: 4.35rem; flex: 0 0 13.25rem; overflow: hidden; align-items: center; border: 0; border-radius: .6rem; background: #050505; box-shadow: none; transition: transform .2s ease, filter .2s ease; }
.download-store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.download-store-badge:focus-visible { outline-color: #86d8bb; outline-offset: 4px; }
.download-store-badge > img { position: absolute; left: 50%; top: 50%; width: 100% !important; height: 100% !important; max-width: none; object-fit: fill; object-position: center; transform: translate(-50%, -50%) scale(1.045) !important; }
.download-store-badge--google > img { width: 116% !important; height: 150% !important; }
.download-hero__actions .download-hero__google-mask, .download-footer__stores .download-hero__google-mask { position: absolute; z-index: 2; left: 0; top: 0; width: 26%; height: 100%; background: #050505; pointer-events: none; }
.download-hero__actions .download-hero__google-icon, .download-footer__stores .download-hero__google-icon { position: absolute; z-index: 3; left: 5%; top: 13%; width: 18%; height: 74%; display: grid; place-items: center; overflow: hidden; background: #050505; pointer-events: none; }
.download-hero__actions .download-hero__google-icon img, .download-footer__stores .download-hero__google-icon img { position: static !important; width: 100% !important; height: 100% !important; max-width: none; transform: none !important; object-fit: contain; }
.download-hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1rem; color: var(--muted); font-size: .7rem; }
.download-hero__meta span:not(:last-child)::after { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 0 .16rem .95rem; border-radius: 50%; background: #a4b3a3; }
.download-hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 32rem; margin-top: 2.05rem; border-top: 1px solid rgba(87,121,87,.24); }
.download-hero__proof div { display: grid; gap: .05rem; padding: .9rem .9rem 0 0; }
.download-hero__proof div + div { padding-left: .9rem; border-left: 1px solid rgba(87,121,87,.24); }
.download-hero__proof strong { color: var(--green-dark); font-size: 1.23rem; letter-spacing: -.045em; }
.download-hero__proof span { color: var(--muted); font-size: .66rem; line-height: 1.35; }
.download-hero__visual { position: relative; min-height: 620px; }
.download-hero__visual-glow { position: absolute; inset: 5% 3% 7% 1%; border-radius: 42% 50% 44% 52%; background: #d2e4cf; transform: rotate(-4deg); }
.download-hero__app-collage { position: absolute; inset: 5% 0 7% 4%; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 32px; background: #f9faf5; box-shadow: 0 24px 70px rgba(49,79,52,.12); }
.download-hero__app-collage img { content: url("assets/birdnee-app-intro-cropped.png");content: image-set(url("assets/birdnee-app-intro-cropped.webp") type("image/webp"), url("assets/birdnee-app-intro-cropped.png") type("image/png")); width: 122%; max-width: none; height: auto; transform: translateX(0); }
.download-hero__alert-card { position: absolute; z-index: 4; right: -1.2rem; bottom: 5%; width: 11.5rem; padding: .65rem; border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(51,82,56,.2); transform: rotate(4deg); }
.download-hero__alert-card img { width: 100%; height: 7.2rem; object-fit: cover; object-position: 50% 18%; border-radius: 11px; }
.download-hero__alert-card span { display: grid; gap: .08rem; padding: .55rem .2rem .05rem; }
.download-hero__alert-card b { font-size: .78rem; }
.download-hero__alert-card small { color: var(--muted); font-size: .57rem; }
.download-hero__species-card { position: absolute; z-index: 4; left: -1rem; bottom: 8%; display: grid; gap: .08rem; width: 8.4rem; padding: .9rem; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(23,53,43,.18); transform: rotate(-5deg); }
.download-hero__species-card span { color: #b9d86d; font-size: .53rem; font-weight: 800; letter-spacing: .13em; }
.download-hero__species-card strong { font-size: 1.7rem; letter-spacing: -.06em; }
.download-hero__species-card small { color: #bdd0c4; font-size: .59rem; }

.download-intro { background: #fff; }
.download-intro__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; padding: 6.4rem 0 6.2rem; }
.download-intro h2, .download-section__heading h2, .download-section__copy h2, .download-faq h2, .download-final-cta h2 { margin-top: 1.1rem; font-size: clamp(2.7rem, 4.8vw, 4.7rem); }
.download-intro__inner > p { max-width: 28rem; color: var(--muted); font-size: 1rem; line-height: 1.85; }

.download-section { padding: 7.4rem 0; }
.download-features { background: var(--pale); }
.download-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.download-section__heading > p { max-width: 21rem; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.download-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.download-feature-card { position: relative; min-height: 505px; overflow: hidden; border-radius: 25px; padding: 1.55rem; }
.download-feature-card--green { background: var(--mint); }
.download-feature-card--blue { background: var(--blue); }
.download-feature-card--cream { background: var(--cream); }
.download-feature-card--lilac { background: var(--lilac); }
.feature-card__copy { position: relative; z-index: 2; }
.feature-number { color: rgba(42,83,57,.58); font-size: .62rem; font-weight: 850; letter-spacing: .1em; }
.download-feature-card h3 { margin-top: .85rem; font-size: clamp(1.75rem, 2.4vw, 2.35rem); }
.download-feature-card p { max-width: 15rem; margin-top: .9rem; color: rgba(23,53,43,.72); font-size: .77rem; line-height: 1.65; }
.feature-card__screen { position: absolute; top: 48%; left: 22%; right: 7%; overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 10px 35px rgba(20,49,38,.16); transform: rotate(6deg); }
.download-feature-card--blue .feature-card__screen { left: 28%; right: 1%; transform: rotate(-6deg); }
.download-feature-card--cream .feature-card__screen { top: 51%; left: 19%; right: -4%; transform: rotate(5deg); }
.download-feature-card--lilac .feature-card__screen { top: 48%; left: 26%; right: -2%; transform: rotate(-5deg); }
.feature-card__screen img { width: 100%; height: auto; }

.download-showcase { background: #fff; }
.download-showcase__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 6rem; }
.download-showcase__grid--reverse { grid-template-columns: .88fr 1.12fr; }
.download-showcase__media { position: relative; min-height: 490px; display: grid; place-items: center; overflow: hidden; border-radius: 32px; background: #eef4e9; }
.download-showcase__media > img { position: relative; z-index: 1; width: 126%; max-width: none; height: auto; }
.download-showcase--light .download-showcase__media > img { content: url("assets/birdnee-app-intro-cropped.png");content: image-set(url("assets/birdnee-app-intro-cropped.webp") type("image/webp"), url("assets/birdnee-app-intro-cropped.png") type("image/png")); }
.showcase-orbit { position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid rgba(113,156,34,.24); border-radius: 50%; box-shadow: 0 0 0 35px rgba(113,156,34,.06), 0 0 0 70px rgba(113,156,34,.04); }
.download-section__copy > p:not(.download-eyebrow) { margin-top: 1.55rem; color: var(--muted); font-size: .96rem; line-height: 1.85; }
.download-check-list { display: grid; gap: 1.1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.download-check-list li { display: flex; gap: .85rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.download-check-list li > span { color: var(--green); font-size: .63rem; font-weight: 850; letter-spacing: .1em; }
.download-check-list strong, .download-check-list small { display: block; }
.download-check-list strong { font-size: .88rem; }
.download-check-list small { max-width: 26rem; margin-top: .2rem; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.download-showcase--dark { background: var(--ink); color: #f5f8f0; }
.download-showcase--dark .download-eyebrow { color: #b6d15f; }
.download-showcase--dark .download-section__copy > p:not(.download-eyebrow) { color: #b7c8bd; }
.download-showcase__media--phone { min-height: 575px; justify-content: center; background: #244c3d; }
.download-showcase__media--phone > img { width: 42%; max-width: 18rem; border: 7px solid #132e26; border-radius: 26px; box-shadow: 0 28px 60px rgba(0,0,0,.22); transform: rotate(5deg); }
.showcase-badge { position: absolute; z-index: 2; top: 1.6rem; left: 1.7rem; padding: .5rem .75rem; border: 1px solid rgba(226,241,198,.5); border-radius: 999px; color: #d8eaa0; font-size: .55rem; font-weight: 800; letter-spacing: .15em; }
.download-storage-list { display: grid; gap: .85rem; margin-top: 1.7rem; }
.download-storage-list div { display: flex; align-items: baseline; gap: .8rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.download-storage-list strong { min-width: 5rem; color: #e4efbd; font-size: .85rem; }
.download-storage-list span { color: #b7c8bd; font-size: .76rem; }
.download-inline-link { display: inline-flex; align-items: center; gap: 1.8rem; margin-top: 1.7rem; padding-bottom: .45rem; border-bottom: 1px solid #9fca45; color: #c7df7e; font-size: .78rem; font-weight: 750; }

.download-steps { background: #fff; padding-top: 6.8rem; }
.download-section__heading--center { justify-content: center; text-align: center; }
.download-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.download-steps__grid article { min-height: 190px; padding: 1.45rem; border: 1px solid var(--line); border-radius: 20px; }
.download-steps__grid article > span { display: inline-grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .68rem; font-weight: 800; }
.download-steps__grid h3 { margin-top: 1.25rem; font-size: 1.3rem; letter-spacing: -.035em; }
.download-steps__grid p { margin-top: .55rem; color: var(--muted); font-size: .79rem; line-height: 1.7; }

.download-faq { background: #eef4e9; padding: 7.3rem 0; }
.download-faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6rem; align-items: start; }
.download-faq__list { border-top: 1px solid rgba(78,111,77,.25); }
.download-faq details { border-bottom: 1px solid rgba(78,111,77,.25); }
.download-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.18rem 0; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 700; }
.download-faq summary::-webkit-details-marker { display: none; }
.download-faq summary::after { content: "+"; color: var(--green); font-size: 1.25rem; font-weight: 400; }
.download-faq details[open] summary::after { content: "–"; }
.download-faq details p { max-width: 38rem; padding: 0 2rem 1.25rem 0; color: var(--muted); font-size: .82rem; line-height: 1.75; }

.download-final-cta { background: #dcebd8; }
.download-final-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem; padding: 6rem 0; }
.download-final-cta__inner .download-eyebrow, .download-final-cta__inner h2, .download-final-cta__inner > p:not(.download-eyebrow) { grid-column: 1; }
.download-final-cta__inner > p:not(.download-eyebrow) { margin-top: 1rem; color: var(--muted); }
.download-final-cta__inner .download-hero__actions { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }

.download-footer { background: #0c3029; color: #f1f5ee; padding: 3.1rem 0 1.35rem; }
.download-footer__top { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.9fr) auto; align-items: start; gap: clamp(2rem, 5vw, 5.2rem); padding-bottom: 2.25rem; }
.download-footer__brand { min-width: 0; }
.download-brand--footer { gap: .7rem; color: #f1f5ee; }
.download-brand--footer .download-brand__mark { display: block; width: 3.55rem; height: 3.55rem; flex: 0 0 3.55rem; overflow: hidden; }
.download-brand--footer .download-brand__mark img { width: 4.85rem; max-width: none; height: 4.85rem; transform: translate(-.65rem, -.65rem); object-fit: contain; }
.download-brand--footer .download-brand__wordmark { width: 9.3rem; height: auto; object-fit: contain; }
.download-footer__brand > p { margin: .95rem 0 0; color: #b8c9bc; font-size: .95rem; }
.download-footer__stores { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.download-footer__stores .download-store-badge { width: 12.1rem; height: 4rem; flex-basis: 12.1rem; }
.download-footer__stores .download-store-badge--google > img { width: 116% !important; height: 150% !important; }
.download-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 1.75rem clamp(1.3rem, 3vw, 3rem); }
.download-footer__group { display: grid; align-content: start; gap: .62rem; }
.download-footer__group h2 { margin: 0 0 .15rem; color: #f1f5ee; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.download-footer__group a { color: #b8c9bc; font-size: .95rem; font-weight: 600; line-height: 1.3; transition: color .18s ease; }
.download-footer__group a:hover { color: #86d8bb; }
.download-footer__toplink { color: #86d8bb; font-size: .95rem; font-weight: 700; white-space: nowrap; }
.download-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.05rem; border-top: 1px solid rgba(255,255,255,.16); color: #b8c9bc; font-size: .75rem; }

@media (max-width: 1120px) {
  .download-hero__grid { grid-template-columns: 1fr 1.05fr; gap: 2.4rem; }
  .download-hero h1 { font-size: clamp(3.4rem, 6vw, 5.3rem); }
  .download-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-feature-card { min-height: 470px; }
  .download-showcase__grid, .download-showcase__grid--reverse { gap: 3.5rem; }
}

@media (max-width: 820px) {
  .download-container { width: min(calc(100% - 48px), 680px); }
  .download-hero__grid { grid-template-columns: 1fr; gap: 1.4rem; padding: 3.8rem 0 3.5rem; }
  .download-hero__copy { max-width: 42rem; }
  .download-hero__visual { min-height: 520px; width: min(100%, 650px); margin: 0 auto; }
  .download-intro__inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 4.8rem 0; }
  .download-showcase__grid, .download-showcase__grid--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .download-showcase__grid--reverse .download-showcase__media { grid-row: 1; }
  .download-showcase__media { min-height: 430px; }
  .download-faq__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .download-final-cta__inner { grid-template-columns: 1fr; padding: 4.8rem 0; }
  .download-final-cta__inner .download-eyebrow, .download-final-cta__inner h2, .download-final-cta__inner > p:not(.download-eyebrow), .download-final-cta__inner .download-hero__actions { grid-column: 1; grid-row: auto; }
  .download-final-cta__inner .download-hero__actions { margin-top: 1.4rem; }
  .download-footer__top { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.8fr); gap: 2.2rem 2.5rem; }
  .download-footer__toplink { grid-column: 1 / -1; justify-self: end; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 4.5rem; }
  .download-container { width: calc(100% - 32px); }
  .download-header__inner { min-height: 68px; gap: .55rem; }
  .download-brand img:first-child { width: 28px; height: 28px; }
  .download-brand img:last-child { width: 88px; }
  .download-hero__grid { padding: 3rem 0 2.8rem; }
  .download-hero h1 { margin-top: .95rem; font-size: clamp(2.75rem, 14vw, 4.35rem); }
  .download-hero__lede { margin-top: 1.05rem; font-size: .9rem; line-height: 1.72; }
  .download-hero__actions { gap: .55rem; margin-top: 1.35rem; }
  .download-store-badge { width: 8.6rem; height: 2.85rem; flex-basis: 8.6rem; border-radius: .45rem; }
  .download-hero__meta { gap: .4rem .65rem; font-size: .62rem; }
  .download-hero__meta span:not(:last-child)::after { margin-left: .55rem; }
  .download-hero__proof { margin-top: 1.5rem; }
  .download-hero__proof div { padding-top: .7rem; }
  .download-hero__proof div + div { padding-left: .55rem; }
  .download-hero__proof strong { font-size: 1rem; }
  .download-hero__proof span { font-size: .57rem; }
  .download-hero__visual { min-height: 355px; margin-top: .4rem; }
  .download-hero__app-collage { inset: 5% -7% 7% 0; border-radius: 23px; }
  .download-hero__app-collage img { width: 137%; transform: translateX(0); }
  .download-hero__alert-card { right: -.75rem; bottom: 3%; width: 8.9rem; padding: .45rem; border-radius: 12px; }
  .download-hero__alert-card img { height: 5.2rem; border-radius: 8px; }
  .download-hero__alert-card span { padding: .38rem .12rem .02rem; }
  .download-hero__alert-card b { font-size: .64rem; }
  .download-hero__alert-card small { font-size: .48rem; }
  .download-hero__species-card { left: -.5rem; bottom: 5%; width: 6.3rem; padding: .65rem; border-radius: 12px; }
  .download-hero__species-card strong { font-size: 1.25rem; }
  .download-hero__species-card span, .download-hero__species-card small { font-size: .45rem; }
  .download-intro__inner { padding: 4rem 0; }
  .download-intro h2, .download-section__heading h2, .download-section__copy h2, .download-faq h2, .download-final-cta h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .download-intro__inner > p { font-size: .88rem; }
  .download-section { padding: 4.4rem 0; }
  .download-section__heading { display: block; margin-bottom: 1.7rem; }
  .download-section__heading > p { margin-top: 1rem; font-size: .8rem; }
  .download-feature-grid { grid-template-columns: 1fr; gap: .8rem; }
  .download-feature-card { min-height: 430px; border-radius: 21px; padding: 1.3rem; }
  .download-feature-card h3 { font-size: 2rem; }
  .feature-card__screen { top: 46%; left: 28%; right: 7%; }
  .download-showcase__media { min-height: 310px; border-radius: 23px; }
  .download-showcase__media--phone { min-height: 430px; }
  .download-showcase__media--phone > img { width: 48%; }
  .showcase-badge { top: 1rem; left: 1rem; font-size: .48rem; }
  .download-section__copy > p:not(.download-eyebrow) { font-size: .88rem; }
  .download-check-list { margin-top: 1.45rem; }
  .download-steps { padding-top: 4.4rem; }
  .download-steps__grid { grid-template-columns: 1fr; gap: .7rem; }
  .download-steps__grid article { min-height: auto; padding: 1.15rem; }
  .download-steps__grid h3 { margin-top: .85rem; }
  .download-faq { padding: 4.5rem 0; }
  .download-faq summary { padding: 1rem 0; font-size: .83rem; }
  .download-faq details p { font-size: .76rem; }
  .download-footer { padding: 2.6rem 0 1.2rem; }
  .download-footer__top { grid-template-columns: 1fr auto; gap: 2rem 1.2rem; padding-bottom: 2rem; }
  .download-footer__brand { grid-column: 1 / -1; }
  .download-footer__nav { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.1rem; }
  .download-footer__group:last-child { grid-column: 1 / -1; }
  .download-footer__toplink { grid-column: 1 / -1; justify-self: start; }
  .download-footer__stores { gap: .4rem; margin-top: 1rem; }
  .download-footer__stores .download-store-badge { width: 8.6rem; height: 2.85rem; flex-basis: 8.6rem; }
  .download-footer__group h2, .download-footer__group a, .download-footer__toplink { font-size: .82rem; }
  .download-brand--footer .download-brand__mark { width: 2.65rem; height: 2.65rem; flex-basis: 2.65rem; }
  .download-brand--footer .download-brand__mark img { width: 3.35rem; height: 3.35rem; transform: translate(-.35rem, -.35rem); }
  .download-brand--footer .download-brand__wordmark { width: 6.55rem; }
  .download-footer__brand > p { margin-top: .75rem; font-size: .82rem; }
  .download-footer__bottom { flex-direction: column; gap: .4rem; font-size: .68rem; }
}

@media (max-width: 380px) {
  .download-store-badge { width: 7.7rem; height: 2.55rem; flex-basis: 7.7rem; }
  .download-hero__actions { gap: .45rem; }
  .download-hero__visual { min-height: 325px; }
  .download-feature-card { min-height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@supports (padding: env(safe-area-inset-top)) {
  .download-header__inner { padding-top: env(safe-area-inset-top); }
  .download-footer__bottom { padding-bottom: calc(.2rem + env(safe-area-inset-bottom)); }
}

/* The simplified download page keeps only the hero, feature story and footer. */
.download-hero__product-frame { position: absolute; z-index: 1; inset: 5% 0 7% 4%; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 32px; background: rgba(255,255,255,.84); box-shadow: 0 24px 70px rgba(49,79,52,.12); }
.download-hero__product-frame img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.download-hero__product-note { position: absolute; z-index: 3; right: 1.2rem; bottom: 4.5%; display: grid; width: 5.4rem; height: 5.4rem; place-content: center; gap: .1rem; border-radius: 50%; background: var(--green); color: #fff; text-align: center; transform: rotate(8deg); box-shadow: 0 16px 30px rgba(55,86,45,.18); }
.download-hero__product-note span { font-size: .43rem; font-weight: 800; letter-spacing: .12em; }
.download-hero__product-note strong { font-size: .63rem; letter-spacing: .08em; }
.feature-card__screen { top: 43%; left: 7%; right: 7%; bottom: -2%; display: grid; place-items: center; overflow: visible; border-radius: 0; box-shadow: none; transform: none; }
.download-feature-card--blue .feature-card__screen, .download-feature-card--cream .feature-card__screen, .download-feature-card--lilac .feature-card__screen { top: 43%; left: 7%; right: 7%; bottom: -2%; transform: none; }
.feature-card__screen img { width: 100%; height: 100%; max-width: none; object-fit: contain; }

@media (max-width: 560px) {
  .download-hero__product-frame { inset: 5% -7% 7% 0; border-radius: 23px; }
  .download-hero__product-note { right: .3rem; bottom: 3%; width: 4.2rem; height: 4.2rem; }
  .download-hero__product-note span { font-size: .34rem; }
  .download-hero__product-note strong { font-size: .5rem; }
  /* Keep feature artwork fully inside the colored card on phones. The earlier
     layout let the square artwork extend below the card and get clipped. */
  .feature-card__screen, .download-feature-card--blue .feature-card__screen, .download-feature-card--cream .feature-card__screen, .download-feature-card--lilac .feature-card__screen {
    top: 47%;
    left: 13%;
    right: 13%;
    bottom: 8%;
  }
  .feature-card__screen img { width: 92%; height: 92%; object-fit: contain; }

  /* The four transparent PNGs have different built-in bottom padding. Offset
     each one inside the shared frame so the visible artwork has one baseline. */
  .download-feature-card--green .feature-card__screen img,
  .download-feature-card--cream .feature-card__screen img { transform: translateY(0); }
  .download-feature-card--blue .feature-card__screen img { transform: translateY(8%); }
  .download-feature-card--lilac .feature-card__screen img { transform: translateY(3.5%); }
}

@media (max-width: 380px) {
  .download-hero__product-frame { inset: 5% -10% 7% -2%; }
  .download-feature-card { min-height: 415px; }
}

/* Keep the download page on the same type scale and footer system as the official homepage. */
:root {
  --bn-forest: #123f34;
  --bn-forest-deep: #0c3029;
  --bn-forest-soft: #285548;
  --bn-mint: #86d8bb;
  --bn-mint-pale: #e4f2ea;
  --bn-nav-hover: #b6dfcc;
  --bn-cream: #f7f6f1;
  --bn-paper: #fffefa;
  --bn-ink: #173d34;
  --bn-body: #526861;
  --bn-muted: #526861;
  --bn-subtle: #74857e;
  --bn-accent: #6d8c31;
  --bn-link: #285548;
  --bn-on-forest: #f1f5ee;
  --bn-on-forest-muted: #b8c9bc;
  --bn-focus: #6d8c31;
  --bn-line: rgba(18, 63, 52, .16);
  --bn-serif: "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", "Segoe UI", Arial, sans-serif;
  --bn-sans: "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", "Segoe UI", Arial, sans-serif;
  --bn-header-height: 82px;
  --bn-title-hero: clamp(3.5rem, 5.45vw, 6.75rem);
  --bn-title-section: clamp(2.75rem, 4.15vw, 4.25rem);
  font-family: var(--bn-sans);
  --ink: var(--bn-forest);
  --ink-2: var(--bn-muted);
  --muted: var(--bn-muted);
  --green: var(--bn-accent);
  --green-dark: var(--bn-forest-deep);
  --pale: var(--bn-cream);
  --line: var(--bn-line);
}

body {
  background: var(--bn-paper);
  color: var(--bn-ink);
  font-family: var(--bn-sans);
  -webkit-font-smoothing: antialiased;
}

.download-header {
  min-height: var(--bn-header-height);
  background: rgba(255, 254, 250, .95);
  border-bottom-color: rgba(18, 63, 52, .09);
}
.download-header__inner { min-height: var(--bn-header-height); }
.download-brand { gap: 9px; }
.download-brand img:first-child { width: 42px; height: 42px; }
.download-brand img:last-child { width: 104px; }

.download-eyebrow {
  color: var(--bn-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.45;
  text-transform: uppercase;
}
.download-hero h1 {
  margin-top: 0;
  font-family: var(--bn-serif);
  font-size: var(--bn-title-hero);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .99;
}
.download-hero__lede { color: var(--bn-muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }
.download-hero__meta { font-size: 12px; }
.download-hero__proof strong { font-size: 20px; }
.download-hero__proof span { font-size: 12px; }
.download-section__heading h2 {
  margin-top: 0;
  font-family: var(--bn-serif);
  font-size: var(--bn-title-section);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.04;
}
.download-section__heading > div { width: 100%; }
.download-section__heading > p { color: var(--bn-muted); font-size: 16px; line-height: 1.65; }
.download-feature-card h3 {
  font-family: var(--bn-sans);
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.22;
}
.download-feature-card p { color: var(--bn-muted); font-size: 15px; line-height: 1.6; }

.download-footer { padding: 47px 0 22px; background: var(--bn-forest-deep); color: var(--bn-on-forest); }
.download-footer__top { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.9fr) auto; gap: clamp(34px, 5vw, 80px); padding-bottom: 34px; }
.download-brand--footer { gap: 9px; color: var(--bn-forest); }
.download-brand--footer .download-brand__mark { width: 42px; height: 42px; flex-basis: 42px; }
.download-brand--footer .download-brand__mark img { width: 58px; height: 58px; transform: translate(-8px, -8px); }
.download-brand--footer .download-brand__wordmark { width: 104px; filter: none; }
.download-footer__brand > p { margin: 13px 0 0; color: var(--bn-on-forest-muted); font-size: 14px; }
.download-footer__stores { gap: 8px; margin-top: 20px; }
.download-footer__group { gap: 10px; }
.download-footer__group h2 { margin: 0 0 4px; color: var(--bn-on-forest); font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.25; }
.download-footer__group a { color: var(--bn-on-forest-muted); font-size: 14px; font-weight: 600; line-height: 1.3; }
.download-footer__group a:hover { color: var(--bn-mint); }
.download-footer__toplink { color: var(--bn-mint); font-size: 14px; font-weight: 600; }
.download-footer__bottom { padding-top: 17px; color: var(--bn-on-forest-muted); font-size: 12px; }

@media (max-width: 820px) {
  .download-header__inner { min-height: var(--bn-header-height); }
}

@media (max-width: 760px) {
  .download-footer__top { grid-template-columns: 1fr auto; gap: 28px 18px; }
  .download-footer__brand { grid-column: 1 / -1; }
  .download-footer__nav { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  .download-footer__toplink { grid-column: auto; justify-self: start; }
  .download-footer__stores { gap: 8px; margin-top: 18px; }
  .download-brand--footer { gap: 6px; }
  .download-brand--footer .download-brand__mark { width: 35px; height: 35px; flex-basis: 35px; }
  .download-brand--footer .download-brand__mark img { width: 48px; height: 48px; transform: translate(-6.5px, -6.5px); }
  .download-brand--footer .download-brand__wordmark { width: 82px; }
  .download-footer__bottom { gap: 10px; font-size: 11px; }
}

@media (max-width: 560px) {
  .download-header__inner { min-height: 70px; }
  .download-brand img:first-child { width: 35px; height: 35px; }
  .download-brand img:last-child { width: 82px; }
  .download-hero h1 { font-size: clamp(42px, 11vw, 68px); }
  .download-hero__lede { font-size: 17px; }
  .download-section__heading h2 { font-size: clamp(42px, 10vw, 58px); }
  .download-section__heading > p { font-size: 16px; }
  .download-feature-card h3 { font-size: 18px; }
  .download-feature-card p { font-size: 14px; }
  .download-footer { padding-top: 38px; }
  .download-footer__top { grid-template-columns: 1fr; gap: 26px; }
  .download-footer__brand { grid-column: auto; }
  .download-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .download-footer__group:last-child { grid-column: 1 / -1; }
  .download-footer__toplink { justify-self: start; }
  .download-footer__bottom { flex-direction: column; gap: 8px; }
}

/* Make the primary App Store and Google Play buttons easier to tap on phones
   without changing the compact footer badges. */
@media (max-width: 560px) {
  .download-hero__actions {
    width: 100%;
    justify-content: flex-start;
    gap: .6rem;
  }

  .download-hero__actions .download-store-badge {
    width: calc((100% - .6rem) / 2);
    height: clamp(3rem, 15vw, 3.75rem);
    flex-basis: calc((100% - .6rem) / 2);
    border-radius: .65rem;
  }
}

/* Match the Download hero title to the Products hero title at every
   responsive breakpoint. */
.download-hero h1 {
  font-size: clamp(38px, 4vw, 72px);
  letter-spacing: -.06em;
  line-height: .98;
}

@media (max-width: 720px) {
  .download-hero h1 {
    font-size: clamp(43px, 12vw, 64px);
  }
}

@media (min-width: 1600px) {
  .download-hero h1 {
    font-size: clamp(48px, 4vw, 82px);
  }
}
