/* NEVRR homepage: the App Store art direction, adapted for the web.
   Kept separate from styles.css so interior pages retain their existing layout. */
:root {
  --paper: #fafaf8;
  --white: #fff;
  --ink: #121315;
  --muted: #636568;
  --line: #dededa;
  --soft: #f0f0ec;
  --green: #287343;
  --dark: #101113;
  --dark-muted: #a7a8ac;
  --blue: #244acd;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: "Nunito", ui-rounded, system-ui, sans-serif;
  --max-width: 1180px;
  --nav-height: 84px;
  --primary-bright: #244acd;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 22px; height: 22px; flex: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 4px; }
::selection { background: #d9e7cb; color: var(--ink); }
.container { width: min(100% - 80px, var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section { padding: 112px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.7vw, 62px); }
h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.12; }
.muted-heading { color: #777976; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 12px 22px; border-radius: 100px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 14px; transition: background .2s, transform .2s; }
.button:hover { background: #34363a; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: 14px; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; color: white; background: #050505; border: 1px solid #454545; border-radius: 12px; padding: 11px 19px; min-height: 60px; text-align: left; transition: transform .2s, box-shadow .2s; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #0002; }
.store-badge img { width: 27px; height: 32px; object-fit: contain; }
.store-badge span { display: flex; flex-direction: column; line-height: 1; }
.store-badge small, .sb-top { font-size: 10px; font-weight: 400; margin-bottom: 4px; }
.store-badge strong, .sb-main { font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.site-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-height); background: #fafaf8ef; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { font: 1000 29px/1 var(--font-brand); letter-spacing: -.07em; }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.nav-links a, .signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; color: #505251; }
.nav-links a:hover, .signin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-toggle, .nav-links .mobile-signin { display: none; }
.home-hero { position: relative; overflow: hidden; padding-top: 68px; }
.hero-intro { text-align: center; position: relative; z-index: 2; }
.hero-intro .eyebrow { justify-content: center; margin-bottom: 24px; }
.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px #28734310; }
h1 { font-size: clamp(55px, 7.4vw, 104px); line-height: .98; letter-spacing: -.072em; font-weight: 900; }
h1 span { color: #757770; }
.hero-description { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 450px; margin: 24px auto; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 26px; }
.download-note { margin-top: 15px; font-size: 11px; color: var(--muted); }
.download-note span { margin: 0 8px; }
.phone-stage { position: relative; overflow: hidden; width: min(100%, 1100px); height: 670px; margin: 55px auto 0; isolation: isolate; background: var(--paper); }
.phone-stage::after { content: ""; position: absolute; z-index: 4; bottom: 0; left: 0; right: 0; height: 125px; background: linear-gradient(transparent, var(--paper) 91%); pointer-events: none; }
.stage-phone { position: absolute; filter: drop-shadow(0 22px 22px #0002); }
.stage-main { width: 330px; top: 0; left: calc(50% - 165px); z-index: 3; }
.stage-left, .stage-right { width: 265px; top: 108px; z-index: 2; }
.stage-left { left: calc(50% - 374px); transform: rotate(-10deg); }
.stage-right { left: calc(50% + 109px); transform: rotate(10deg); }
.stage-ring { position: absolute; width: 1000px; height: 550px; border: 1px solid #dfdfd8; border-radius: 50%; bottom: -170px; left: calc(50% - 500px); z-index: 0; }
.stage-ring::after { content: ""; position: absolute; inset: 40px; border: 1px solid #e5e5df; border-radius: inherit; }
.stage-caption { position: absolute; font-size: 11px; color: var(--muted); z-index: 4; display: flex; align-items: center; gap: 15px; }
.caption-left { top: 29px; left: 80px; }
.caption-right { top: 62px; right: 5px; }
.caption-line { height: 1px; width: 32px; background: #b6b9b0; }
.hero-principles { border-top: 1px solid var(--line); padding: 28px 0; display: flex; align-items: center; justify-content: center; gap: 74px; }
.hero-principles > span { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; }
.hero-principles svg { width: 18px; height: 18px; color: var(--green); }
.principle-mark { color: var(--green); font-size: 20px; line-height: 1; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-heading .eyebrow, .split-copy .eyebrow, .centered-heading .eyebrow { margin-bottom: 20px; }
.section-heading > p { max-width: 295px; color: var(--muted); font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { position: relative; border-radius: 22px; overflow: hidden; height: 710px; border: 1px solid #00000006; }
.protection-card { background: #e9ede5; }
.progress-card { background: #e9edf3; }
.feature-copy { padding: 40px 42px 0; position: relative; z-index: 2; }
.feature-number { display: block; color: #646862; font-size: 10px; letter-spacing: .14em; font-weight: 700; margin-bottom: 20px; }
.feature-copy p { font-size: 14px; color: #555b55; line-height: 1.7; max-width: 350px; margin-top: 18px; }
.card-phone { width: 270px; margin: 36px auto 0; filter: drop-shadow(0 12px 16px #0002); }
.card-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 90px 20px 23px; text-align: center; font-size: 11px; font-weight: 600; background: linear-gradient(transparent, #e9ede5 65%); }
.progress-card .card-caption { background: linear-gradient(transparent, #e9edf3 65%); }
.dark-section { background: var(--dark); color: white; }
.dark-section .eyebrow { color: #bac0b7; }
.dark-section .muted-heading { color: #9da09c; }
.split-section { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.split-copy > p:not(.eyebrow) { margin: 25px 0; max-width: 450px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.dark-section .split-copy > p:not(.eyebrow) { color: var(--dark-muted); }
.urge-section { overflow: hidden; }
.urge-section .split-section { min-height: 760px; }
.urge-section h2 { font-size: clamp(35px, 4.2vw, 55px); }
.check-list { padding: 0; margin: 28px 0; list-style: none; font-size: 13px; color: #d0d2d0; }
.check-list li { display: flex; gap: 12px; margin-top: 12px; }
.check-list li::before { content: "✓"; color: #aaca99; }
.urge-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 700px; }
.urge-visual img { position: relative; width: 290px; z-index: 2; transform: rotate(7deg); filter: drop-shadow(0 30px 35px #0006); }
.orbit { position: absolute; width: 520px; height: 520px; border: 1px solid #ffffff14; border-radius: 50%; }
.orbit-two { width: 660px; height: 660px; }
.visual-note { position: absolute; bottom: 50px; z-index: 3; color: #b6bcb0; font-size: 11px; letter-spacing: .04em; }
.centered-heading { text-align: center; max-width: 700px; margin-inline: auto; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading > p:not(.eyebrow) { color: var(--muted); max-width: 470px; margin: 24px auto 0; font-size: 15px; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 60px; gap: 24px; }
.gem-display { display: grid; place-items: center; background: #eff0eb; aspect-ratio: 1; border-radius: 50%; }
.cosmic-orb { display: block; width: 77%; height: auto; max-width: 230px; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 15px 14px #0002); transition: transform .3s; }
.milestone-grid figure:hover .cosmic-orb { transform: translateY(-7px); }
/* Match MilestoneArtwork.swift: stable sphere, independent swirls and breathing light. */
.orb-layer { transform-box: view-box; transform-origin: 256px 256px; animation-play-state: paused !important; }
.cosmic-orb.is-animating .orb-layer { animation-play-state: running !important; }
.orb-swirlPrimary { animation: orb-turn 24s linear infinite; }
.orb-swirlSecondary, .orb-orbitsBack, .orb-orbitsFront { animation: orb-turn 48s linear infinite reverse; }
.orb-corona { animation: orb-turn 96s linear infinite; }
.orb-aura, .orb-nucleus { animation: orb-breathe 4s ease-in-out infinite; }
@keyframes orb-turn { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .8; } }
.milestone-grid figcaption { text-align: center; margin-top: 25px; }
.milestone-grid figcaption > span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.milestone-grid h3 { font-size: 24px; margin-top: 8px; }
.milestone-grid figcaption p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.section-footnote { text-align: center; margin-top: 45px; color: var(--muted); font-size: 11px; }
.community-section { background: #eeefea; padding-top: 65px; overflow: hidden; }
.community-section .split-section { grid-template-columns: .95fr 1.05fr; }
.community-visual { height: 665px; position: relative; display: flex; justify-content: center; align-items: flex-start; }
.community-visual img { width: 325px; transform: rotate(-5deg); margin-top: 24px; filter: drop-shadow(0 18px 20px #0002); }
.community-section .split-copy { padding-bottom: 65px; }
.community-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 27px 0; }
.community-values span { font-size: 11px; border: 1px solid #c8cec4; border-radius: 50px; padding: 7px 12px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.guide-card { display: block; }
.guide-image { border-radius: 14px; overflow: hidden; aspect-ratio: 1.5; background: var(--soft); }
.guide-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .35s; }
.guide-card:hover img { transform: scale(1.035); }
.guide-meta { margin: 24px 0 12px; text-transform: uppercase; font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.guide-card h3 { font-size: 24px; line-height: 1.2; }
.guide-card .text-link { margin-top: 15px; font-size: 12px; }
.faq-section { padding-top: 25px; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.faq-layout .eyebrow { margin-bottom: 20px; }
.faq-layout h2 { font-size: clamp(34px, 4vw, 49px); }
.faq-layout > div > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 25px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; padding: 23px 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { font-size: 25px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary > span { transform: rotate(45deg); }
.faq-answer { font-size: 14px; line-height: 1.8; color: var(--muted); padding: 0 24px 24px 0; }
.faq-answer a { text-decoration: underline; }
.final-cta { text-align: center; padding: 110px 0; }
.final-cta .eyebrow { justify-content: center; margin-bottom: 26px; }
.final-cta h2 { font-size: clamp(45px, 6.5vw, 84px); }
.final-cta h2 + p { color: var(--dark-muted); margin: 24px 0 30px; }
.final-cta .download-note { color: var(--dark-muted); margin-top: 18px; }
.footer { padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand .brand { display: inline-block; }
.footer-brand p { font-size: 12px; max-width: 245px; margin: 18px 0; color: var(--muted); }
.footer-col h5 { font-size: 12px; font-weight: 700; margin: 0 0 13px; }
.footer-col a { display: block; width: fit-content; font-size: 11px; padding: 8px 0; color: var(--muted); }
.footer-col a:hover { text-decoration: underline; color: var(--ink); }
.footer-disclaimer { font-size: 11px; line-height: 1.85; color: var(--muted); max-width: 920px; margin-top: 42px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; font-size: 11px; color: var(--muted); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.footer-socials img { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; }
@media (max-width: 1100px) {
 .container { width: calc(100% - 56px); }
 .nav-inner { gap: 20px; }
 .nav-links { gap: 18px; }
 .nav-actions { gap: 18px; }
 .signin { display: none; }
 .stage-caption { display: none; }
 .split-section { gap: 40px; }
 .feature-copy { padding: 32px 30px 0; }
 .faq-layout { gap: 50px; }
 .footer-grid { gap: 22px; }
}
@media (max-width: 800px) {
 :root { --nav-height: 74px; }
 .container { width: calc(100% - 40px); }
 .section { padding-block: 76px; }
 .nav-toggle { width: 44px; height: 44px; display: block; border: 1px solid var(--line); background: transparent; border-radius: 50%; position: relative; }
 .nav-toggle span { position: absolute; width: 17px; height: 1.5px; background: var(--ink); top: 17px; left: 12px; transition: transform .2s; }
 .nav-toggle span + span { top: 23px; }
 .nav-toggle[aria-expanded="true"] span { top: 20px; transform: rotate(45deg); }
 .nav-toggle[aria-expanded="true"] span + span { transform: rotate(-45deg); }
 .nav-links { display: none; position: absolute; top: calc(var(--nav-height) - 1px); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; box-shadow: 0 18px 20px #00000008; }
 .menu-open .nav-links { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
 .nav-links a, .nav-links .mobile-signin { display: flex; padding: 13px 10px; font-size: 16px; }
 .nav-actions { gap: 10px; }
 .home-hero { padding-top: 55px; }
 .hero-description { font-size: 16px; max-width: 415px; }
 .phone-stage { height: 575px; margin-top: 45px; }
 .stage-main { width: 285px; left: calc(50% - 142.5px); }
 .stage-left, .stage-right { width: 220px; top: 100px; }
 .stage-left { left: calc(50% - 302px); }
 .stage-right { left: calc(50% + 82px); }
 .hero-principles { gap: 24px; }
 .hero-principles > span { font-size: 10px; }
 .section-heading { gap: 26px; flex-direction: column; align-items: flex-start; }
 .section-heading > p { max-width: 500px; }
 .feature-grid { gap: 16px; }
 .feature-card { height: 670px; }
 .feature-copy { padding: 28px 24px 0; }
 .feature-copy h3 { font-size: 29px; }
 .feature-copy p { font-size: 13px; }
 .card-phone { width: 235px; }
 .split-section { gap: 24px; }
 .urge-section .split-section { min-height: 650px; }
 .urge-section h2 { font-size: 36px; }
 .urge-visual { min-height: 640px; }
 .urge-visual img { width: 245px; }
 .split-copy > p:not(.eyebrow) { font-size: 14px; }
 .milestone-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
 .gem-display { max-width: 230px; margin-inline: auto; }
 .community-section .split-section { grid-template-columns: .85fr 1.15fr; }
 .community-visual { height: 610px; }
 .community-visual img { width: 275px; }
 .guide-grid { gap: 20px; }
 .guide-card h3 { font-size: 20px; }
 .faq-layout { grid-template-columns: 1fr; gap: 36px; }
 .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .footer-brand { grid-column: 1 / -1; padding-bottom: 15px; }
 .footer-brand p { max-width: 360px; }
}
@media (max-width: 580px) {
 .brand { font-size: 26px; }
 .button-small { min-height: 44px; font-size: 12px; padding: 10px 15px; gap: 15px; }
 .home-hero { padding-top: 44px; }
 .eyebrow { font-size: 10px; letter-spacing: .11em; }
 h1 { font-size: clamp(45px, 10.8vw, 62px); }
 h2 { font-size: 38px; }
 .hero-intro .eyebrow { margin-bottom: 23px; }
 .hero-description { font-size: 14px; max-width: 330px; margin: 22px auto; }
 .hero-actions { flex-direction: column; gap: 8px; }
 .hero-actions .text-link { font-size: 12px; }
 .download-note { margin-top: 8px; font-size: 10px; }
 .phone-stage { height: 470px; margin-top: 38px; }
 .stage-main { width: 234px; left: calc(50% - 117px); }
 .stage-left, .stage-right { width: 169px; top: 85px; }
 .stage-left { left: calc(50% - 241px); transform: rotate(-12deg); }
 .stage-right { left: calc(50% + 72px); transform: rotate(12deg); }
 .phone-stage::after { height: 75px; }
 .hero-principles { padding-block: 20px; gap: 12px; flex-direction: column; align-items: flex-start; width: fit-content; border-top: 0; }
 .hero-principles > span { font-size: 12px; }
 .section { padding-block: 64px; }
 .section-heading { margin-bottom: 30px; }
 .feature-grid { grid-template-columns: 1fr; gap: 20px; }
 .feature-card { height: 650px; }
 .feature-copy { padding: 30px; }
 .feature-copy h3 { font-size: 34px; }
 .feature-copy p { font-size: 14px; }
 .card-phone { width: 245px; margin-top: 0; }
 .split-section, .community-section .split-section { grid-template-columns: 1fr; gap: 30px; }
 .urge-section { padding-top: 65px; }
 .urge-section h2 { font-size: 38px; }
 .urge-visual { min-height: 575px; }
 .urge-visual img { width: 250px; }
 .visual-note { bottom: 17px; }
 .orbit { width: 420px; height: 420px; }
 .orbit-two { width: 520px; height: 520px; }
 .milestone-grid { margin-top: 35px; gap: 30px 15px; }
 .milestone-grid h3 { font-size: 22px; }
 .milestone-grid figcaption p { font-size: 11px; }
 .milestone-grid figcaption { margin-top: 17px; }
 .community-section { padding-top: 60px; }
 .community-section .split-copy { grid-row: 1; padding-bottom: 0; }
 .community-visual { height: 580px; }
 .community-visual img { width: 290px; }
 .guide-grid { grid-template-columns: 1fr; gap: 36px; }
 .guide-card h3 { font-size: 27px; }
 .guide-meta { margin-top: 19px; }
 .guide-card .text-link { margin-top: 10px; }
 .faq-section { padding-top: 5px; }
 .faq-item summary { font-size: 14px; padding-block: 21px; }
 .faq-answer { font-size: 13px; }
 .final-cta { padding-block: 75px; }
 .final-cta h2 { font-size: clamp(39px, 10vw, 56px); }
 .final-cta h2 + p { font-size: 14px; max-width: 260px; margin-inline: auto; }
 .footer { padding-top: 50px; }
 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
 .footer-col a { font-size: 12px; min-height: 44px; }
 .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
