:root {
    color-scheme: light;
    --page-background: #e8edf0;
    --text: #0b1d35;
    --muted: #3b5873;
    --blue: #0755a3;
    --line: rgba(20, 61, 99, 0.17);
    --dust-color: rgba(20, 61, 99, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--page-background); min-height: 100%; scroll-behavior: smooth; overscroll-behavior-y: none; }
body { margin: 0; min-width: 0; overflow-x: clip; background: var(--page-background); color: var(--text); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, [tabindex] { touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 110px; }
.page-width { width: min(calc(100% - 80px), 1360px); margin-inline: auto; }
.icon-library { position: absolute; overflow: hidden; pointer-events: none; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#dust-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .site-footer { position: relative; z-index: 1; }
.skip-link { position: fixed; left: 16px; top: 12px; padding: 12px 18px; background: #fff; color: #000; border-radius: 8px; transform: translateY(-150%); z-index: 2100; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(232, 237, 240, 0.76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
.site-header.is-scroll-hidden { transform: translateY(-100%); pointer-events: none; }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: 128px; height: 64px; flex: 0 0 auto; }
.brand img { width: 128px; height: 64px; object-fit: contain; filter: none; }
.site-header .brand img { filter: none; opacity: 1; transform: scale(1.1); }
.header-brands { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.northmesa-home { display: inline-flex; align-items: center; min-height: 44px; }
.northmesa-home img { width: 88px; height: 40px; transform: scale(1.584); object-fit: contain; filter: none; opacity: 1; }
.northmesa-home:hover img, .northmesa-credit:hover img { opacity: 1; }
.primary-nav { display: flex; gap: 34px; align-items: center; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--muted); transition: color 180ms ease; }
.primary-nav a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 24px; border-radius: 50px; background: #143d63; color: #f7f8fa; font-size: 13px; font-weight: 600; transition: background 180ms ease, transform 180ms ease; white-space: nowrap; }
.button--small { min-height: 44px; padding: 0 20px; }
.button .icon { width: 17px; height: 17px; }
.button:hover { background: #0b2c4b; transform: translateY(-2px); }

.hero { position: relative; isolation: isolate; min-height: 720px; display: flex; align-items: center; overflow: hidden; border-radius: 26px; margin-top: 18px; }
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 44%; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.83) 0%, rgba(0, 0, 0, 0.35) 39%, transparent 65%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.2) 18%, transparent 35%); }
.hero-ui { position: absolute; z-index: 3; top: 88px; right: 4%; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; width: min(31%, 430px); pointer-events: none; user-select: none; }
.hero-ui img { width: 78.2%; height: auto; }
.hero-ui .hero-ui-map { width: 75.6%; margin-right: 3%; }
.hero-ui .hero-ui-sent { width: 63.31072%; }
.hero-ui .hero-ui-received { width: 71.944%; margin-right: 7%; }
.hero-copy { position: relative; z-index: 1; width: 57%; padding: 50px 0 96px 40px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 10px; font-weight: 600; letter-spacing: 0.17em; line-height: 1.6; }
.hero h1 { margin-top: 24px; font-size: clamp(60px, 6.2vw, 89px); font-weight: 600; line-height: 1.06; letter-spacing: -0.065em; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 400px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 11px; min-height: 52px; padding: 8px 17px; border: 1px solid #e0e7ef; border-radius: 12px; background: #f7f9fc; color: #09111c; transition: opacity 180ms ease, transform 180ms ease; }
.store-link img { width: 29px; height: 29px; object-fit: contain; }
.store-copy { display: grid; gap: 2px; text-align: left; }
.store-copy small { font-size: 9px; font-weight: 500; line-height: 1.2; }
.store-copy strong { font-size: 18px; font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; }
.store-link:hover { opacity: 0.85; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link .icon { width: 18px; height: 18px; transition: transform 180ms ease; }
.text-link:hover .icon { transform: translateX(4px); }
.hero-bottom { position: absolute; z-index: 1; bottom: 28px; left: 40px; right: 40px; display: flex; justify-content: flex-end; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.025em; }
.hero-bottom a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; }
.hero-bottom a span { color: inherit; font-size: 17px; }

.content-shell { --content-scale: 1.06; max-width: 1160px; }
.intro { text-align: center; padding: 112px 0 20px; }
.intro .eyebrow { justify-content: center; color: var(--blue); font-size: calc(10px * var(--content-scale)); }
.intro h2 { margin-top: 22px; font-size: calc(clamp(34px, 3.8vw, 48px) * var(--content-scale)); font-weight: 500; line-height: 1.16; letter-spacing: -0.05em; }
.intro > p:last-child { margin-top: 22px; color: var(--muted); font-size: calc(15px * var(--content-scale)); line-height: 1.7; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 86px; margin-block: 108px; }
.feature-copy { max-width: 440px; }
.feature--reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature--reverse .preview-set { grid-column: 1; grid-row: 1; }
.section-label { display: flex; align-items: center; gap: 16px; font-size: calc(10px * var(--content-scale)); font-weight: 600; line-height: 1.6; letter-spacing: 0.14em; color: var(--blue); }
.section-label > span { color: var(--muted); font-size: calc(10px * var(--content-scale)); font-weight: 400; letter-spacing: 0; }
.feature h2 { margin-top: 22px; font-size: calc(clamp(35px, 3.8vw, 51px) * var(--content-scale)); font-weight: 500; line-height: 1.14; letter-spacing: -0.055em; }
.feature-copy > p:not(.section-label) { max-width: 400px; margin-top: 24px; color: var(--muted); font-size: calc(15px * var(--content-scale)); line-height: 1.8; }
.feature-copy > .text-link { margin-top: 25px; font-size: calc(13px * var(--content-scale)); }
.map-place-preview { width: min(100%, 360px); margin: 26px 0 0; transform: scale(0.95); transform-origin: top left; }
.map-place-preview > img { width: 100%; height: auto; object-fit: contain; border-radius: 20px; box-shadow: 0 12px 30px -14px rgba(20, 61, 99, 0.22); }
.map-place-preview figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; color: var(--text); }
.map-place-preview strong { display: block; font-size: calc(18px * var(--content-scale)); font-weight: 600; line-height: 1.25; letter-spacing: -0.035em; }
.map-place-preview figcaption > div > span { display: block; margin-top: 5px; color: var(--muted); font-size: calc(11px * var(--content-scale)); line-height: 1.5; }
.map-place-arrow { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: rgba(7, 85, 163, 0.08); color: var(--blue); }
.map-place-arrow .icon { width: 21px; height: 21px; }
.feature-details { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feature-details li { position: relative; padding-left: 17px; color: var(--muted); font-size: calc(12px * var(--content-scale)); line-height: 1.65; }
.feature-details li::before { content: ''; position: absolute; width: 4px; height: 4px; left: 0; top: 8px; border-radius: 50%; background: var(--blue); }
.privacy-note { display: flex; gap: 11px; align-items: center; max-width: 350px; border-left: 1px solid var(--blue); padding: 4px 0 4px 14px; margin-top: 24px; color: var(--muted); font-size: calc(12px * var(--content-scale)); line-height: 1.7; }
.privacy-note .icon { color: var(--blue); width: 20px; height: 20px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feature-tags span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: calc(10px * var(--content-scale)); line-height: 1.6; }
.preview-set { min-width: 0; }
.preview-gallery { display: flex; justify-content: center; align-items: flex-start; width: 116.6%; margin-inline: -8.3%; gap: calc(22px * var(--content-scale)); padding: calc(5px * var(--content-scale)) calc(3px * var(--content-scale)) calc(12px * var(--content-scale)); }
.preview-card { display: block; flex: 1 1 0; min-width: 0; max-width: calc(257.4px * var(--content-scale)); padding: calc(5px * var(--content-scale)); margin: 0; overflow: hidden; border: 1px solid rgba(180, 201, 224, 0.19); border-radius: 26px; background: #06080c; box-shadow: 0 16px 48px -30px rgba(117, 162, 215, 0.3); }
.preview-card img { width: 100%; height: auto; border-radius: 20px; background: #000; }
.preview-card--offset { margin-top: 64px; }
.gallery-controls { display: none; }
.feature--moments { padding-block: 78px; }

.download-section { padding: 106px 0 116px; text-align: center; }
.download-section .eyebrow { justify-content: center; color: var(--blue); font-size: calc(10px * var(--content-scale)); }
.download-section h2 { margin-top: 26px; font-size: calc(clamp(40px, 5.2vw, 66px) * var(--content-scale)); font-weight: 500; line-height: 1.1; letter-spacing: -0.06em; }
.download-section > p:not(.eyebrow) { color: var(--muted); margin-top: 24px; font-size: calc(14px * var(--content-scale)); line-height: 1.7; }
.download-section .store-link { margin-top: 32px; }
.download-section .store-copy small { font-size: calc(9px * var(--content-scale)); }
.download-section .store-copy strong { font-size: calc(18px * var(--content-scale)); }
.site-footer { --footer-content-scale: 1.15; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
.footer-top { min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding-block: 20px; text-align: center; }
.footer-top > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-bottom { min-height: 75px; padding-top: 10px; display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; }
.footer-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; width: 100%; color: var(--muted); font-size: calc(10.92px * var(--footer-content-scale)); }
.northmesa-credit { display: inline-flex; align-items: center; gap: 5px; }
.northmesa-credit img { width: calc(96.096px * var(--footer-content-scale)); height: calc(43.68px * var(--footer-content-scale)); object-fit: contain; opacity: 1; filter: none; }
.footer-bottom nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 calc(24px * var(--footer-content-scale)); width: 100%; text-align: center; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: calc(10.92px * var(--footer-content-scale)); }
.footer-bottom nav a:hover { color: var(--blue); }

.has-motion .animate-on-scroll { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 500ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1); }
.has-motion .animate-on-scroll.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (min-width: 761px) and (min-height: 601px), (min-width: 1101px) {
    .home-page .content-shell, .home-page > .site-footer { zoom: 1.1; }
    .hero.page-width { width: min(calc(100% - 48px), 1560px); border-radius: 32px; background: #292b2a; }
    .hero-copy { color: #f6f7f9; }
    .hero h1 span { color: #8bc7ff; }
    .hero-image > img { filter: saturate(0.72) contrast(0.86) brightness(1.2); }
    .hero-image::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(244, 221, 196, 0.08); }
    .hero-image::after { z-index: 2; background: linear-gradient(90deg, rgba(19, 25, 27, 0.64) 0%, rgba(19, 25, 27, 0.34) 38%, transparent 65%), linear-gradient(0deg, rgba(19, 25, 27, 0.46) 0%, rgba(19, 25, 27, 0.12) 20%, transparent 40%); }
    .hero-description { color: #e0e2e2; }
    .hero-bottom { color: #c8ced0; }
}

@media (max-width: 1100px) and (min-width: 761px) and (min-height: 601px) {
    .page-width { width: calc(100% - 48px); }
    .header-inner { height: 76px; gap: 18px; }
    .brand, .brand img { width: 112px; height: 56px; }
    .primary-nav { gap: 23px; }
    .primary-nav a { font-size: 12px; }
    .hero { min-height: 635px; }
    .hero-ui { top: auto; bottom: 11%; right: 3%; gap: 14px; width: 34%; }
    .hero-ui .hero-ui-map, .hero-ui .hero-ui-header { display: none; }
    .hero-copy { width: 59%; padding-left: 24px; }
    .hero h1 { font-size: clamp(53px, 6.9vw, 76px); }
    .hero-description { font-size: 14px; max-width: 340px; }
    .hero-actions { gap: 18px; }
    .hero-bottom { left: 24px; right: 24px; }
    .feature { gap: 40px; margin-block: 90px; }
    .feature h2 { font-size: calc(39px * var(--content-scale)); }
    .feature-copy > p:not(.section-label) { font-size: calc(14px * var(--content-scale)); }
    .preview-gallery { gap: calc(15.4px * var(--content-scale)); }
    .preview-card { border-radius: 22px; padding: calc(4px * var(--content-scale)); }
    .preview-card img { border-radius: 17px; }
    .preview-card--offset { margin-top: 44px; }
}

@media (max-width: 760px), (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .page-width { width: calc(100% - 40px); }
    section[id] { scroll-margin-top: 94px; }
    .site-header { transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1); }
    .header-inner { width: calc(100% - 32px); height: 72px; gap: 16px; }
    .brand, .brand img { width: 108px; height: 54px; }
    .header-brands { gap: 8px; }
    .northmesa-home img { width: 64px; height: 36px; }
    .primary-nav { display: none; }
    .button--small { min-height: 44px; padding: 0 16px; font-size: 12px; gap: 12px; }
    .hero { width: min(calc(100% - 32px), 560px); min-height: 0; aspect-ratio: 1; margin-top: 18px; border-radius: 24px; flex-direction: column; align-items: stretch; justify-content: flex-end; overflow: hidden; background: #292b2a; }
    .hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; width: 100%; padding: clamp(18px, 5.1vw, 30px); order: 1; z-index: 2; color: #fff; }
    .hero h1 { font-size: clamp(32px, 10.7vw, 60px); margin-top: 0; line-height: 1.06; letter-spacing: -0.063em; }
    .hero h1 span { color: #8bc7ff; }
    .hero-description { margin-top: 14px; max-width: 360px; color: #f3f5f7; font-size: clamp(12px, 3.15vw, 14px); line-height: 1.65; }
    .hero-actions { gap: 12px; margin-top: auto; flex-wrap: nowrap; }
    .hero-actions .store-link { min-height: 44px; gap: 8px; padding: 7px 11px; }
    .hero-actions .store-link img { width: 25px; height: 25px; }
    .hero-actions .store-copy small { font-size: 8px; }
    .hero-actions .store-copy strong { font-size: 16px; }
    .store-link { min-height: 48px; gap: 9px; padding: 7px 14px; }
    .store-link img { width: 27px; height: 27px; }
    .store-copy strong { font-size: 17px; }
    .hero-actions .text-link { font-size: clamp(10.5px, 2.7vw, 12px); gap: 6px; }
    .hero-actions .text-link .icon { width: 16px; height: 16px; }
    .hero-image { position: absolute; inset: 0; width: 100%; z-index: 0; margin-top: 0; }
    .hero-image > img { object-position: 52% 40%; }
    .hero-image::after { background: rgba(0, 0, 0, 0.28); }
    .hero-ui, .hero-bottom { display: none; }
    .intro { padding: 76px 0 0; }
    .intro .eyebrow { font-size: calc(9px * var(--content-scale)); }
    .intro h2 { font-size: calc(clamp(29px, 8.3vw, 43px) * var(--content-scale)); margin-top: 18px; }
    .intro > p:last-child { margin-top: 17px; font-size: calc(12px * var(--content-scale)); }
    .feature { display: flex; flex-direction: column; align-items: stretch; gap: 30px; margin-block: 80px; }
    .feature-copy { width: 100%; max-width: 550px; margin-inline: auto; }
    .map-place-preview { margin-inline: auto; transform: scale(0.9025); transform-origin: top center; }
    .map-place-preview figcaption { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; }
    .map-place-preview figcaption > div { grid-column: 2; text-align: center; }
    .map-place-preview .map-place-arrow { grid-column: 3; }
    .section-label { font-size: calc(9px * var(--content-scale)); gap: 13px; }
    .feature h2 { font-size: calc(clamp(33px, 9.1vw, 47px) * var(--content-scale)); margin-top: 18px; }
    .feature-copy > p:not(.section-label) { max-width: 500px; font-size: calc(13px * var(--content-scale)); line-height: 1.8; margin-top: 21px; }
    .feature-details { margin-top: 19px; gap: 9px; }
    .feature-details li { font-size: calc(11px * var(--content-scale)); }
    .feature-copy > .text-link { font-size: calc(12px * var(--content-scale)); margin-top: 18px; }
    .privacy-note { font-size: calc(11px * var(--content-scale)); margin-top: 20px; }
    .feature-tags { margin-top: 20px; }
    .feature-tags span { font-size: calc(9px * var(--content-scale)); }
    .preview-gallery { justify-content: flex-start; gap: 19px; width: calc(100% + 40px); margin-inline: -20px; overflow-x: auto; padding: 8px max(20px, calc((100vw - min(72vw, 270px) * var(--content-scale)) / 2)) 22px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
    .preview-gallery::-webkit-scrollbar { display: none; }
    .preview-card { flex: 0 0 calc(min(72vw, 270px) * var(--content-scale)); max-width: calc(270px * var(--content-scale)); margin-top: 0; scroll-snap-align: center; border-radius: 26px; }
    .gallery-controls { display: flex; justify-content: center; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: -3px; }
    .gallery-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px; border: none; border-radius: 8px; background: transparent; cursor: pointer; }
    .gallery-tab.is-active { background: rgba(7, 85, 163, 0.1); }
    .gallery-tab::before { content: ''; width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: rgba(20, 61, 99, 0.4); }
    .gallery-tab.is-active::before { background: var(--blue); }
    .feature--moments { padding-block: 54px; }
    .download-section { padding: 76px 0 80px; }
    .download-section .eyebrow { font-size: calc(8px * var(--content-scale)); }
    .download-section h2 { margin-top: 22px; font-size: calc(clamp(35px, 9.7vw, 54px) * var(--content-scale)); }
    .download-section > p:not(.eyebrow) { margin-top: 20px; font-size: calc(11px * var(--content-scale)); }
    .download-section .store-link { margin-top: 26px; }
    .download-section .store-copy strong { font-size: calc(17px * var(--content-scale)); }
    .footer-top { gap: 6px; min-height: 0; padding: 21px 0; }
    .footer-top > p { font-size: 10px; }
    .footer-bottom { padding-top: 13px; }
    .footer-bottom nav { column-gap: calc(17px * var(--footer-content-scale)); }
    .footer-bottom nav a { font-size: calc(9.828px * var(--footer-content-scale)); }
    .footer-credit { font-size: calc(9.828px * var(--footer-content-scale)); }
    .northmesa-credit img { width: calc(82.992px * var(--footer-content-scale)); height: calc(38.22px * var(--footer-content-scale)); }
}
@media (max-width: 380px) {
    .header-inner { gap: 10px; }
    .header-brands .brand, .header-brands .brand img { width: 88px; }
    .header-inner .button--small { padding-inline: 12px; gap: 6px; }
}

@media (max-width: 359px) {
    .hero-actions { gap: 10px; }
    .footer-bottom nav { column-gap: calc(13px * var(--footer-content-scale)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .has-motion .animate-on-scroll, .has-motion .animate-on-scroll.is-visible { opacity: 1; transform: none; transition: none; }
    .site-header, .button, .store-link, .text-link .icon, .primary-nav a { transition: none; }
    .button:hover, .store-link:hover, .text-link:hover .icon { transform: none; }
}
