:root {
    color-scheme: light;
    --page-background: #fafaf7;
    --text: #101d3a;
    --muted: #586174;
    --blue: #1555ed;
    --sky: #c8ebfc;
    --line: #e1e3df;
    --radius: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--page-background); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; color: var(--text); background: var(--page-background); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
section[id], article[id], [id="flow"], [id="nearby"] { scroll-margin-top: 100px; }
.page-width { width: min(calc(100% - 112px), 1256px); margin-inline: auto; }
.wide-width { width: min(calc(100% - 48px), 1488px); margin-inline: auto; }
.section-space { margin-top: 144px; }
.icon-library { position: absolute; overflow: hidden; pointer-events: none; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 14px 20px; color: #fff; background: var(--text); border-radius: 10px; transform: translateY(-170%); }
.skip-link:focus { transform: none; }

/* Navigation */
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(29, 43, 64, 0.76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #f5f8fc; transition: transform 260ms ease; }
.site-header.is-scroll-hidden { transform: translateY(-100%); pointer-events: none; }
.site-header.is-menu-open { transform: none; pointer-events: auto; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.header-brands { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 119px; height: 40px; object-fit: contain; filter: none; opacity: 1; }
.site-header .brand img { width: 143px; height: 48px; filter: none; opacity: 1; }
.brand-divider { width: 1px; height: 19px; background: #d7dcd9; }
.northmesa-home { display: inline-flex; align-items: center; min-height: 44px; }
.northmesa-home img, .northmesa-credit img { width: 76px; height: 32px; object-fit: contain; filter: none; opacity: 1; }
.primary-nav { display: flex; align-items: center; gap: 31px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d9e4ef; font-size: 14.4px; font-weight: 500; }
.primary-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 0 25px; background: var(--text); color: #fff; border-radius: 28px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background 180ms ease, transform 180ms ease; }
.button--small { min-height: 42px; padding: 0 19px; font-size: 13.2px; }
.button--small .icon { width: 18px; height: 18px; }
.button:hover { background: var(--blue); transform: translateY(-2px); }
.site-header .button { background: #edf4fc; color: #1d2b40; }
.site-header .button:hover { background: #d4e4f6; }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: #b6d8ff; }
.nav-toggle { display: none; }

/* Live headings and actions stay separate from the hero illustration. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 52% 48%; min-height: 690px; margin-top: 10px; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 60px 0 105px clamp(36px, 5.2vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { margin-top: 31px; font-size: clamp(62px, 6.05vw, 94px); font-weight: 600; line-height: 1.04; letter-spacing: -0.073em; white-space: nowrap; }
.hero h1 span { color: var(--blue); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 32px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; min-height: 53px; padding: 9px 18px 9px 15px; border: 1px solid var(--text); border-radius: 12px; background: var(--text); color: #fff; transition: transform 180ms ease, background 180ms ease; }
.store-link > img { width: 28px; height: 28px; object-fit: contain; }
.store-copy { display: grid; gap: 2px; text-align: left; }
.store-copy small { font-size: 9px; font-weight: 400; line-height: 1.2; }
.store-copy strong { font-size: 18px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.store-link:hover { background: #23406d; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 16px; width: fit-content; min-height: 44px; font-size: 12px; font-weight: 500; }
.text-link .icon { width: 18px; height: 18px; transition: transform 180ms ease; }
.text-link:hover .icon { transform: translateX(4px); }
.illustration-window { position: relative; overflow: hidden; }
.hero-art { min-width: 0; margin-top: 10px; margin-bottom: 38px; }
.hero-art img { position: absolute; top: 50%; right: -1%; width: 227%; max-width: none; height: auto; transform: translateY(-50%); }
.hero-art::before, .community-art::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 12%; content: ''; pointer-events: none; background: linear-gradient(90deg, var(--sky), transparent); }

/* A short narrative, with application previews only in the sharing section. */
h2 { font-size: clamp(44px, 4.5vw, 65px); font-weight: 500; line-height: 1.08; letter-spacing: -0.064em; }
h2 span { color: #7e8795; }
.discovery, .sharing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(50px, 7vw, 110px); }
.discovery-art { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.discovery-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.section-copy { min-width: 0; }
.section-copy h2 { margin-top: 26px; }
.section-copy > p:not(.eyebrow) { max-width: 370px; margin-top: 26px; color: var(--muted); font-size: 14px; line-height: 1.85; letter-spacing: -0.018em; }
.section-copy > .text-link { margin-top: 24px; }
.section-footnotes { display: grid; gap: 10px; margin-top: 42px; padding-top: 21px; border-top: 1px solid var(--line); color: #757e89; font-size: 10px; line-height: 1.6; }
.section-footnotes span { display: flex; align-items: center; gap: 8px; }
.section-footnotes span::before { content: ''; flex: 0 0 auto; width: 3px; height: 3px; border-radius: 50%; background: #83938e; }
.community-section { position: relative; display: grid; grid-template-columns: 44% 56%; overflow: hidden; padding: 72px 72px 0; border-radius: var(--radius); background: #edf2eb; }
.community-heading { align-self: center; position: relative; z-index: 2; padding-bottom: 45px; }
.community-heading h2 { margin-top: 27px; font-size: clamp(39px, 4vw, 60px); }
.community-heading h2 span { color: #638471; }
.community-heading > p:last-child { margin-top: 24px; font-size: 14px; line-height: 1.8; color: #53675b; }
.community-art { aspect-ratio: 1.1; min-width: 0; margin-left: -15px; border-radius: 24px 24px 0 0; }
.community-art img { position: absolute; top: 50%; right: -2%; width: 175%; max-width: none; transform: translateY(-50%); }
.community-art::before { background: linear-gradient(90deg, #edf2eb, transparent); width: 7%; }
.community-art::after { position: absolute; inset: 0; content: ''; background: #edf2eb; mix-blend-mode: multiply; pointer-events: none; }
.community-details { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 45px; padding: 33px 0 36px; border-top: 1px solid #d5dfd3; }
.community-details > div { display: grid; grid-template-columns: 22px 1fr; gap: 8px 13px; }
.community-details > div > .icon { grid-row: 1 / 3; margin-top: 1px; color: #46674c; }
.community-details h3 { font-size: 12px; font-weight: 600; line-height: 1.7; }
.community-details p { grid-column: 2; max-width: 290px; color: #617164; font-size: 11px; line-height: 1.8; }
.community-details > .text-link { font-size: 11px; }

.product-composition { position: relative; isolation: isolate; height: 610px; min-width: 0; overflow: hidden; border-radius: var(--radius); background: #f2eae1; }
.composition-orbit { position: absolute; z-index: -1; top: 125px; left: 5%; width: 95%; aspect-ratio: 1; border: 1px solid #dccabb; border-radius: 50%; }
.product-screen { position: absolute; width: 40%; padding: 4px; overflow: hidden; border: 1px solid #2a3039; border-radius: 26px; background: #131722; box-shadow: 0 22px 38px -21px #6b5b4b80; }
.product-screen img { width: 100%; height: auto; border-radius: 21px; }
.product-screen--feed { z-index: 1; top: 48px; left: 9%; transform: rotate(-7deg); }
.product-screen--moment { z-index: 2; top: 113px; right: 8%; transform: rotate(7deg); }

.everyday-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.everyday-card { position: relative; min-width: 0; overflow: hidden; padding: 32px 40px 35px; border-radius: 28px; }
.everyday-card--events { color: #17314f; background: #e6f1ff; }
.everyday-card--market { color: #17314f; background: #c7e1ff; }
.everyday-card-top { display: flex; align-items: center; gap: 12px; }
.category-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; }
.category-icon .icon { width: 16px; height: 16px; }
.everyday-card-top .eyebrow { font-size: 9px; }
.event-art, .market-art { position: relative; height: 245px; display: flex; align-items: center; justify-content: center; margin-block: 5px 10px; }
.event-orbit { position: absolute; width: 240px; height: 186px; border: 1px solid #cfb09b; border-radius: 50%; transform: rotate(-20deg); }
.calendar-tile { position: relative; width: 156px; padding: 17px 12px; background: #faf8ef; border-top: 19px solid #ca7450; border-radius: 12px; text-align: center; color: #aa593a; box-shadow: 0 14px 0 -7px #c68e6c45; transform: rotate(-9deg); }
.calendar-tile > span { display: block; font-size: 6px; font-weight: 700; line-height: 1.8; letter-spacing: 0.12em; }
.calendar-tile > svg { width: 100%; height: 80px; }
.event-spark { position: absolute; color: #bc7855; }
.event-spark--one { top: 40px; right: 23%; font-size: 39px; }
.event-spark--two { bottom: 35px; left: 20%; font-size: 24px; }
.market-disc { position: absolute; width: 205px; height: 205px; border-radius: 50%; background: #d0dec4; }
.market-bag { position: relative; width: 160px; height: 180px; color: #87a673; transform: rotate(10deg); }
.market-star { position: absolute; left: 23%; top: 55px; font-size: 50px; color: #416b50; }
.everyday-card h3 { font-size: clamp(29px, 2.7vw, 41px); font-weight: 500; line-height: 1.12; letter-spacing: -0.055em; }
.everyday-card > p { max-width: 350px; margin-top: 19px; font-size: 13px; line-height: 1.85; opacity: 0.8; }
.everyday-card > .text-link { margin-top: 20px; }

.privacy-section { display: grid; grid-template-columns: 90px 1fr 1fr; align-items: center; gap: 45px; padding-block: 45px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-symbol { display: grid; place-items: center; width: 83px; height: 101px; border-radius: 50% 50% 47% 47%; background: #edf0e7; color: #66806a; transform: rotate(-8deg); }
.privacy-symbol .icon { width: 35px; height: 35px; stroke-width: 1.2; }
.privacy-section .eyebrow { font-size: 9px; }
.privacy-section h2 { margin-top: 15px; font-size: 43px; }
.privacy-copy p { max-width: 370px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.privacy-copy .text-link { margin-top: 15px; }
.download-section { display: block; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.download-art { width: 100%; height: auto; aspect-ratio: 5244 / 2950; margin: 0; }
.download-art picture { display: block; }
.download-art img { position: static; display: block; width: 100%; max-width: 100%; height: auto; transform: none; }
@media (min-width: 761px) {
    /* Match the artwork gradient around the smaller desktop composition. */
    .download-art { aspect-ratio: 5244 / 2400; background: linear-gradient(144.85deg, #203b60 6%, #2e5887 81.87%); }
    .download-art picture { transform: scale(0.88); }
}

.site-footer { --footer-content-scale: 1.15; margin-top: 0; padding: 36px var(--section-inset) 27px; color: #d9e4ef; background: #14243a; }
.footer-top, .footer-bottom { width: min(100%, 1256px); margin-inline: auto; }
.footer-top { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 90px; padding-bottom: 24px; border-bottom: 1px solid rgba(190, 205, 224, 0.2); }
.footer-top .brand img { width: 132px; height: 44px; filter: none; opacity: 1; }
.footer-top p { font-size: 11px; color: var(--muted); }
.footer-bottom { display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; padding-top: 17px; }
.footer-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; width: 100%; font-size: calc(12px * var(--footer-content-scale)); color: #becde0; }
.northmesa-credit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: calc(10.8px * var(--footer-content-scale)); }
.site-footer .northmesa-credit img { width: calc(91.2px * var(--footer-content-scale)); height: calc(38.4px * var(--footer-content-scale)); filter: none; opacity: 1; }
.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: #becde0; font-size: calc(12px * var(--footer-content-scale)); }
.footer-bottom nav a:hover { color: #fff; }
.site-footer a:focus-visible { outline-color: #b6d8ff; }

/* Progressive enhancement: content remains visible without JavaScript. */
.has-motion .animate-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 750ms cubic-bezier(0.2, 0.65, 0.3, 1); }
.has-motion .animate-on-scroll.is-visible { opacity: 1; transform: none; }

@media (min-width: 1600px) {
    .hero { min-height: 760px; }
}

@media (max-width: 1100px) {
    .page-width { width: calc(100% - 72px); }
    .wide-width { width: calc(100% - 36px); }
    .header-inner { gap: 20px; min-height: 80px; }
    .header-brands { gap: 12px; }
    .brand img { width: 103px; }
    .site-header .brand img { width: 124px; }
    .northmesa-home img { width: 63px; }
    .primary-nav { gap: 22px; }
    .primary-nav a { font-size: 13.2px; }
    .hero { min-height: 600px; }
    .hero-copy { padding-left: 40px; }
    .hero h1 { font-size: 6.1vw; }
    .hero-actions { gap: 18px; }
    .hero-art img { width: 238%; }
    .section-space { margin-top: 112px; }
    .discovery, .sharing { gap: 44px; }
    h2 { font-size: 4.7vw; }
    .section-copy > p:not(.eyebrow) { font-size: 13px; }
    .section-footnotes { margin-top: 25px; }
    .community-section { padding: 48px 42px 0; }
    .community-heading h2 { font-size: 4vw; }
    .community-heading > p:last-child { font-size: 12px; }
    .community-details { gap: 25px; grid-template-columns: 1fr 1fr; }
    .community-details > .text-link { grid-column: 2; margin-top: -7px; }
    .product-composition { height: 510px; }
    .product-screen--feed { top: 48px; }
    .product-screen--moment { top: 103px; }
    .everyday-card { padding: 25px 28px 27px; }
    .privacy-section { grid-template-columns: 65px 1fr 1fr; gap: 30px; }
    .privacy-symbol { width: 62px; height: 78px; }
    .privacy-section h2 { font-size: 36px; }
    .privacy-section .eyebrow { font-size: 8px; }
    .privacy-copy p { font-size: 12px; }
}

@media (max-width: 760px) {
    :root { --radius: 25px; }
    html { scroll-padding-top: 88px; }
    html, body { scrollbar-width: none; }
    html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .page-width { width: calc(100% - 40px); }
    .wide-width { width: calc(100% - 24px); }
    .section-space { margin-top: 82px; }
    .header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 44px minmax(0, 1fr); min-height: 73px; padding-block: 14px 15px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); gap: 0 12px; }
    .has-js .header-inner { grid-template-rows: 44px minmax(0, 0fr); transition: grid-template-rows 300ms cubic-bezier(0.22, 1, 0.36, 1); }
    .has-js .site-header.is-menu-open .header-inner { grid-template-rows: 44px minmax(0, 1fr); }
    .header-brands { gap: 10px; }
    .brand img { width: 96px; height: 37px; }
    .site-header .brand img { width: 115px; height: 44px; }
    .brand-divider { height: 16px; }
    .northmesa-home img { width: 58px; height: 27px; }
    .header-actions { gap: 9px; }
    .button--small { min-height: 39px; padding: 0 14px; gap: 10px; font-size: 12px; }
    .button--small .icon { width: 14.4px; height: 14.4px; }
    .primary-nav { grid-row: 2; grid-column: 1 / -1; align-self: stretch; min-height: 0; overflow: hidden; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 8px 0 0; }
    .primary-nav a { min-height: 44px; font-size: 14.4px; }
    .primary-nav a:focus-visible { outline-offset: -3px; }
    .has-js .primary-nav { padding-block: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: padding 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 300ms; }
    .has-js .primary-nav.is-open { padding-block: 8px 0; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
    .has-js .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 40px; height: 44px; padding: 8px; border: none; background: transparent; color: inherit; cursor: pointer; }
    .nav-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform 180ms ease; }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 3px; }
    .hero-copy { padding: 39px 26px 0; }
    .hero .eyebrow { font-size: 8px; }
    .hero h1 { margin-top: 24px; font-size: clamp(40px, 10.9vw, 79px); letter-spacing: -0.075em; }
    .hero-actions { gap: 23px; margin-top: 25px; }
    .store-link { min-height: 50px; padding: 8px 15px 8px 12px; gap: 9px; }
    .store-link > img { width: 25px; height: 25px; }
    .store-copy small { font-size: 8px; }
    .store-copy strong { font-size: 17px; }
    .hero-actions .text-link { gap: 10px; font-size: 11px; }
    .hero-art { width: 100%; height: clamp(270px, 78vw, 490px); margin-block: 0 30px; }
    .hero-art img { top: 51%; right: -2%; width: 204%; }
    .hero-art::before { display: none; }
    h2 { font-size: clamp(37px, 9.6vw, 58px); }
    .discovery, .sharing { grid-template-columns: 1fr; gap: 34px; }
    .discovery .section-copy { grid-row: 1; }
    .eyebrow { font-size: 8px; }
    .section-copy { padding-inline: 7px; }
    .section-copy h2 { margin-top: 21px; }
    .section-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 22px; font-size: 13px; }
    .section-copy > .text-link { margin-top: 18px; }
    .section-footnotes { gap: 7px; padding-top: 18px; margin-top: 24px; font-size: 9px; }
    .community-section { grid-template-columns: 1fr; padding: 38px 26px 0; }
    .community-heading { padding-bottom: 0; }
    .community-heading h2 { margin-top: 21px; font-size: clamp(32px, 8.4vw, 53px); }
    .community-heading > p:last-child { font-size: 12px; margin-top: 21px; }
    .community-art { aspect-ratio: 1.07; margin: 24px -26px 0; border-radius: 0; }
    .community-details { grid-template-columns: 1fr; gap: 23px; padding-block: 27px; }
    .community-details > div { gap: 4px 12px; }
    .community-details h3 { font-size: 12px; }
    .community-details p { max-width: 350px; font-size: 11px; }
    .community-details > .text-link { grid-column: 1; margin-top: -5px; }
    .product-composition { height: clamp(400px, 127vw, 660px); }
    .product-screen { width: 39%; }
    .product-screen--feed { top: 38px; left: 10%; }
    .product-screen--moment { top: 87px; right: 10%; }
    .everyday-grid { grid-template-columns: 1fr; gap: 18px; }
    .everyday-card { padding: 25px 27px 30px; }
    .event-art, .market-art { height: 220px; }
    .everyday-card h3 { font-size: clamp(32px, 8.5vw, 43px); }
    .everyday-card > p { max-width: 440px; font-size: 12px; margin-top: 18px; }
    .everyday-card > .text-link { margin-top: 17px; }
    .privacy-section { grid-template-columns: 55px 1fr; gap: 24px; padding: 30px 7px; }
    .privacy-symbol { width: 51px; height: 65px; }
    .privacy-symbol .icon { width: 26px; height: 26px; }
    .privacy-section h2 { margin-top: 12px; font-size: 36px; }
    .privacy-copy { grid-column: 1 / -1; }
    .privacy-copy p { max-width: 450px; font-size: 12px; }
    .privacy-copy .text-link { margin-top: 11px; }
    .site-footer { padding-top: 28px; padding-bottom: 20px; }
    .footer-top { flex-wrap: wrap; gap: 0 20px; min-height: 0; padding-bottom: 19px; }
    .footer-top .brand img { width: 120px; height: 40px; }
    .footer-top p { order: 3; flex-basis: 100%; margin-top: 3px; font-size: 10px; }
    .footer-bottom { gap: 5px; padding-top: 8px; }
    .footer-bottom nav { column-gap: calc(21px * var(--footer-content-scale)); }
    .footer-bottom nav a { font-size: calc(10.8px * var(--footer-content-scale)); }
    .footer-credit { font-size: calc(10.8px * var(--footer-content-scale)); }
    .site-footer .northmesa-credit img { width: calc(82.8px * var(--footer-content-scale)); }
}

@media (max-width: 380px) {
    .header-inner { width: calc(100% - 30px); gap: 0 6px; }
    .header-brands { gap: 7px; }
    .brand img { width: 83px; }
    .site-header .brand img { width: 100px; }
    .northmesa-home img { width: 47px; }
    .header-actions { gap: 3px; }
    .button--small { padding-inline: 11px; gap: 6px; font-size: 10.8px; }
    .has-js .nav-toggle { width: 34px; }
    .hero-copy { padding-inline: 22px; }
    .hero h1 { font-size: 10.7vw; }
    .hero-actions { gap: 16px; }
    .hero-actions .text-link { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; }
    .has-motion .animate-on-scroll, .has-motion .animate-on-scroll.is-visible { opacity: 1; transform: none; transition: none; }
    .site-header, .has-js .header-inner, .has-js .primary-nav, .button, .store-link, .text-link .icon, .nav-toggle span { transition: none; }
    .button:hover, .store-link:hover, .text-link:hover .icon { transform: none; }
}

/* Keep headings aligned after removing decorative copy. */
.hero h1:first-child, .privacy-section h2:first-child { margin-top: 0; }

.discovery { position: relative; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.discovery-place-card { position: absolute; z-index: 2; left: -20px; bottom: -32px; width: 41.4%; max-width: 483px; height: auto; pointer-events: none; }
.discovery .section-copy { text-align: center; }
.discovery .section-copy h2 { margin-top: 0; }
.discovery-logo { display: block; flex-shrink: 0; width: clamp(160px, 24vw, 320px); max-height: 42%; object-fit: contain; height: auto; margin-bottom: 12px; pointer-events: none; }
.discovery .section-copy > p { max-width: 640px; margin: 18px auto 0; }
.discovery-video { pointer-events: none; user-select: none; filter: blur(5px); transform: scale(1.025); }
.discovery-art::after { content: ''; position: absolute; inset: 0; background: rgba(240, 246, 252, 0.56); pointer-events: none; }
.discovery .discovery-overlay { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(22px, 5vw, 72px); pointer-events: none; }
.discovery .discovery-overlay > p { color: #263c54; }
@media (max-width: 760px) {
    .discovery-place-card { left: -8px; bottom: -24px; width: 59.8%; max-width: 322px; }
    .discovery-video { min-height: 330px; object-fit: cover; }
    .discovery .discovery-overlay h2 { font-size: clamp(30px, 8vw, 48px); }
}

.moments-visual { min-width: 0; overflow: hidden; border-radius: var(--radius); }
.moments-visual img { display: block; width: 100%; height: auto; }

/* Full-width pale blue band behind the Moments copy and illustration. */
.sharing { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 80px); }
.sharing::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #d7e4f3; box-shadow: 0 0 0 100vmax #d7e4f3; clip-path: inset(0 -100vmax); pointer-events: none; }

.community-section { display: block; padding: 0; }
.community-art { aspect-ratio: auto; margin: 0; border-radius: 0; }
.community-art img { position: static; display: block; width: 100%; max-width: 100%; height: auto; transform: none; }
.community-art::before, .community-art::after { display: none; }

/* Separate compositions keep the group clear of live copy and conversation cards. */
.hero { grid-template-columns: 1fr; min-height: clamp(620px, 48vw, 820px); background: #d7e4f3; }
.hero-visual { position: absolute; z-index: -1; inset: 0; container-type: size; pointer-events: none; }
.hero-background { position: absolute; inset: 0; display: block; }
.hero-background img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; }
/* Match the artwork crop while keeping individual people sharp and fully visible. */
.hero-people {
    --people-ratio: 1.45778;
    --scene-width: max(100cqw, calc(100cqh * 1672 / 941));
    --scene-height: max(100cqh, calc(100cqw * 941 / 1672));
    --people-height: min(calc(var(--scene-height) * 399 / 941), 60cqh, calc(50cqw / var(--people-ratio)));
    position: absolute;
    left: calc(70cqw + var(--scene-width) * 10.6 / 1672);
    top: max(20px, calc(25cqh - var(--scene-height) * 38.25 / 941));
    display: flex;
    align-items: flex-end;
    gap: calc(var(--people-height) * 0.018);
    width: calc(var(--people-height) * var(--people-ratio));
    height: var(--people-height);
    transform: translateX(-50%);
}
.hero-person { display: block; flex: 0 0 auto; width: auto; max-width: none; height: 92%; }
.hero-person--talking { height: 96%; margin-bottom: calc(var(--people-height) * 0.04); }
.hero-person--curly { height: 88%; margin-bottom: calc(var(--people-height) * 0.04); }
.hero-person--glasses { height: 94%; margin-bottom: calc(var(--people-height) * 0.03); }
.hero-copy { position: static; align-self: start; width: min(44%, 740px); padding-block: 48px; color: var(--text); }
.hero h1 { margin-top: 0; white-space: normal; max-width: 640px; font-size: clamp(40px, 4.8vw, 72px); line-height: 1.08; }
.hero-logo { width: clamp(200px, 22vw, 320px); height: auto; margin-top: 20px; }
.hero-chatroom { position: absolute; right: clamp(36px, 5.2vw, 88px); bottom: 24px; display: flex; flex-direction: column; gap: 9px; width: 26%; max-width: 300px; margin: 0; filter: drop-shadow(0 12px 20px rgba(16, 29, 58, 0.18)); pointer-events: none; }
.hero-chatroom img { display: block; height: auto; }
.hero-chatroom-header { width: 100%; }
.hero-chatroom-sent { width: 88%; align-self: flex-end; }
.hero-chatroom-received { width: 96%; align-self: flex-start; }
.hero-actions { position: absolute; z-index: 3; top: auto; right: auto; bottom: 32px; left: clamp(36px, 5.2vw, 88px); margin-top: 0; }
.hero .hero-download:focus-visible { outline-color: var(--text); }
@media (min-width: 761px) {
    /* Keep the image full bleed and anchor the crop below the characters' heads. */
    .hero-background img { object-position: 70% 25%; }
    /* Keep feet on the path when wide screens cap the character height. */
    .hero-people {
        top: clamp(20px, calc(25cqh + var(--scene-height) * 360.75 / 941 - var(--people-height)), calc(100cqh - var(--people-height) - 24px));
    }
}
@media (max-width: 760px) {
    .hero { min-height: clamp(680px, 140vw, 900px); }
    .hero-background img { object-position: center 62%; }
    .hero-people {
        --scene-width: max(100cqw, calc(100cqh * 941 / 1672));
        --scene-height: max(100cqh, calc(100cqw * 1672 / 941));
        --people-height: min(calc(var(--scene-height) * 468 / 1672), 44cqh, calc(86cqw / var(--people-ratio)));
        left: calc(50cqw - var(--scene-width) * 10 / 941);
        top: calc(62cqh - var(--scene-height) * 298.64 / 1672);
    }
    .hero-copy { width: 100%; padding: 36px clamp(22px, 5.2vw, 40px) 0; }
    .hero h1 { max-width: 420px; font-size: clamp(34px, 8vw, 52px); }
    .hero-logo { width: clamp(180px, 36vw, 200px); margin-top: 16px; }
    .hero-chatroom { right: 16px; bottom: 16px; width: 50%; max-width: 220px; gap: 6px; }
    .hero-actions { bottom: 16px; left: 16px; }
    .hero-download { transform: scale(0.6); transform-origin: bottom left; }
}

/* Continuous visual sections, with space retained around readable content. */
.home-page { --section-inset: clamp(24px, 5.2vw, 88px); }
.home-page main > section { width: 100%; max-width: none; margin: 0; border-radius: 0; }
.home-page main > section + section, .everyday-card + .everyday-card {
    border-top: 5px solid #1d2b40;
    border-image: linear-gradient(90deg, #14243a, #3d5875 50%, #14243a) 1;
    box-shadow: 0 -2px 8px rgba(16, 29, 58, 0.18);
}
@media (min-width: 761px) {
    .everyday-card + .everyday-card {
        border-top-width: 0;
        border-left: 5px solid #1d2b40;
        border-image-source: linear-gradient(180deg, #14243a, #3d5875 50%, #14243a);
        box-shadow: -2px 0 8px rgba(16, 29, 58, 0.18);
    }
}
.discovery-art, .moments-visual, .download-art, .everyday-card { border-radius: 0; }
.discovery { gap: 0; overflow: hidden; }
.discovery-video { min-height: 520px; object-fit: cover; }
.discovery-place-card { left: 50%; bottom: 32px; width: 60%; max-width: 760px; transform: translateX(-50%); }
.discovery .discovery-overlay { padding-bottom: clamp(240px, 28vw, 340px); }
@media (min-width: 761px) {
    .discovery .discovery-overlay { transform: translateY(-48px); }
    .moments-visual { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1; }
    .moments-visual img { width: 88%; }
}
.sharing { gap: 0; padding: 0; background: #d7e4f3; }
.sharing::before { content: none; }
.sharing > .section-copy { padding: clamp(48px, 6vw, 96px) var(--section-inset); text-align: center; }
.sharing .eyebrow { justify-content: center; font-size: clamp(12px, 1vw, 16px); }
.sharing .section-copy h2 { max-width: 12ch; margin-inline: auto; font-size: clamp(46px, 5.2vw, 80px); }
.sharing .section-copy > p:not(.eyebrow) { max-width: 32ch; margin-inline: auto; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.65; }
.everyday-grid { gap: 0; }
.everyday-card { padding: clamp(32px, 4vw, 64px) var(--section-inset); }
.download-art { margin: 0; }

/* Individual Moment cards retain the original gallery coordinates on a flat blue canvas. */
.place-section { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 430px; aspect-ratio: 1672 / 941; overflow: hidden; color: var(--text); background: #c6defc; }
.place-visual { position: absolute; inset: 0 0 0 auto; width: 55.5024%; pointer-events: none; }
.place-gallery { position: absolute; inset: 4.6759% 3.125% 5.525% 3.6638%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 285fr 258fr 276fr; column-gap: 1.4%; row-gap: 1.54%; }
.place-card { min-width: 0; min-height: 0; overflow: hidden; border-radius: 8%; background: #bdd6f4; box-shadow: 0 6px 16px rgba(29, 43, 64, 0.08); }
.place-card img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; }
.has-motion .place-card { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.975); transition: none; }
.has-motion .place-card.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms); }
.place-section .section-copy { position: relative; z-index: 1; width: 38%; margin-left: var(--section-inset); padding-block: clamp(40px, 4vw, 72px); text-align: left; }
.place-section .section-copy h2 { max-width: 9ch; margin: 0; font-size: clamp(44px, 4.8vw, 76px); }
.place-section .section-copy > p { max-width: 32ch; margin: 24px 0 0; color: #3d5673; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.65; }

@media (max-width: 760px) {
    .discovery-video { min-height: clamp(460px, 70vw, 540px); }
    .discovery .discovery-overlay { padding-bottom: clamp(180px, 30vw, 228px); }
    .discovery-place-card { left: 50%; bottom: 24px; width: 80%; max-width: 384px; transform: translateX(-50%); }
    .sharing { gap: 0; }
    .sharing > .section-copy { padding: 48px var(--section-inset); }
    .moments-visual img { width: 135%; max-width: none; margin-left: -17.5%; }
    .place-section { display: flex; flex-direction: column; align-items: stretch; min-height: 0; aspect-ratio: auto; }
    .place-section .section-copy { width: auto; margin: 0; padding: 44px var(--section-inset) 16px; }
    .place-section .section-copy h2 { max-width: none; font-size: clamp(38px, 9vw, 56px); }
    .place-section .section-copy > p { margin-top: 20px; font-size: clamp(17px, 4.5vw, 21px); }
    .place-visual { position: relative; inset: auto; order: 2; width: 100%; aspect-ratio: 928 / 917; }
    .place-gallery { top: 3.4896%; bottom: 4.3621%; }
}

@media (prefers-reduced-motion: reduce) {
    .has-motion .place-card, .has-motion .place-card.is-visible { opacity: 1; transform: none; transition: none; }
}

/* From Uiverse.io by vinodjangid07; shared by the App Store links. */
.appstore-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 3px solid rgb(189, 189, 189);
    background-color: rgb(15, 15, 15);
    border-radius: 15px;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 0px 100px -30px rgb(255, 255, 255);
}
.appstore-button svg { flex: 0 0 auto; width: 45px; height: 45px; }
.appstore-button svg path { fill: white; transition: all 0.3s; }
.appstore-button .button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}
.appstore-button .top-text { font-size: 13px; font-weight: 600; }
.appstore-button .bottom-text { font-size: 24px; font-weight: 600; }
.appstore-button:hover { background-color: rgb(236, 236, 236); border-color: rgb(138, 138, 138); }
.appstore-button:hover .button-text { color: black; }
.appstore-button:hover svg path { fill: black; }
.appstore-button:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }

.download-art .appstore-button { position: absolute; left: 17.88%; bottom: clamp(24px, 4.5vw, 64px); }
@media (max-width: 760px) {
    .download-art .appstore-button { left: 4.4%; bottom: 4%; }
}
@media (max-width: 480px) {
    .download-art .appstore-button { transform: scale(0.72); transform-origin: bottom left; }
}

@media (prefers-reduced-motion: reduce) {
    .appstore-button, .appstore-button svg path, .appstore-button .button-text { transition: none; }
}
