/* Dialed's northern-lights world. The original preview keeps its own dark surfaces. */
:root { --sky-ink: #06101e; --sky-white: #f5f5fa; }
html { scroll-padding-top: 1.5rem; }
body { background: #0a0c13; }
.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; min-height: 6.25rem; padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem); margin: 0; gap: 2rem; }
.site-header .wordmark { justify-self: start; font-size: 1.75rem; }
.site-header .wordmark img { width: 1.75rem; height: 1.75rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); font-size: .9375rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #e6e8ee; transition: color 120ms ease-out; }
.site-nav a:hover { color: #fff; }
.nav-download { display: inline-flex; justify-self: end; align-items: center; justify-content: center; gap: 1rem; padding: .75rem 1.25rem; min-height: 2.875rem; border: 1px solid #ffffff45; border-radius: 3rem; background: #ffffff10; font-size: .875rem; backdrop-filter: blur(12px); }
.nav-download svg { width: 1.125rem; height: 1.125rem; }
.nav-download:hover { background: #ffffff20; }
.sky-hero { position: relative; display: grid; place-items: center; isolation: isolate; min-height: 46rem; min-height: max(46rem, 100svh); overflow: clip; padding: 7rem 1.5rem 8rem; background: #06101e; }
.hero-backdrop, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, #040a1652, #040a1600 30%, #040a1615 65%, #070b16ae); }
.sky-hero .hero-copy { position: relative; z-index: 2; width: min(100%, 60rem); margin: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; color: #d4e9e4; font-size: .8125rem; line-height: 1.5; letter-spacing: .025em; }
.hero-kicker > span { width: .375rem; height: .375rem; border-radius: 50%; background: #84d7b8; box-shadow: 0 0 12px #84d7b84a; }
.hero-wordmark { margin: 1.25rem 0 0 -.07em; font-size: clamp(7rem, 20vw, 16.5rem); line-height: .97; font-weight: 700; letter-spacing: -.085em; color: #f4f5ff; filter: drop-shadow(0 5px 35px #9c8cf526); }
.hero-wordmark > span { color: #c3afff; }
.sky-hero h1.sky-tagline { margin: 1.625rem 0 0; font-size: clamp(1.5rem, 3.25vw, 2.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -.04em; color: #f4f5fa; }
.sky-hero .hero-actions { margin-top: 2.75rem; }
.app-download { display: inline-flex; align-items: center; justify-content: center; min-height: 3.75rem; border-radius: 1rem; background: #f1effb; color: #13121b; transition: transform 100ms ease-out, background 100ms ease-out; }
.app-download:hover { background: #fff; }
.desktop-download-label { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 1.125rem 1.5rem; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.desktop-download-label svg { width: 1.25rem; height: 1.25rem; }
.store-badge { display: none; width: 11.25rem; height: auto; }
.platform-note { margin-top: .875rem; color: #c5cbd8; font-size: .75rem; line-height: 1.5; }
.android-note { display: none; }
.hero-preview-link { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 2.75rem; margin-top: 1rem; color: #d0c7e7; font-size: .8125rem; }
.hero-preview-link:hover { color: #fff; }
.hero-bottom { position: absolute; z-index: 2; inset: auto clamp(1.25rem, 4vw, 4.5rem) 2rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: #c5cad6; font-size: .6875rem; }
.hero-bottom > :last-child { text-align: right; }
.hero-bottom > a { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; }
.hero-bottom > a span { color: #fff; font-size: 1.25rem; }
.floating-stones { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.floating-stone { position: absolute; object-fit: contain; filter: drop-shadow(0 15px 30px #ba90ff1f); animation: stone-drift 9s ease-in-out infinite alternate; }
.stone-one { width: clamp(6rem, 11vw, 10rem); left: 5%; top: 57%; transform: rotate(-17deg); }
.stone-two { width: clamp(9rem, 17vw, 16rem); right: 1%; top: 30%; animation-delay: -4s; }
.stone-three { width: clamp(4rem, 7vw, 7rem); left: 15%; top: 18%; animation-delay: -2s; }
@keyframes stone-drift { from { translate: 0 -8px; rotate: -4deg; } to { translate: 0 8px; rotate: 4deg; } }
.browser-help { position: fixed; z-index: 100; top: calc(env(safe-area-inset-top, 0px) + 1.5rem); right: .625rem; left: auto; width: min(27rem, calc(100% - 1.25rem)); max-height: calc(100svh - 3rem); overflow: visible; margin: 0; padding: 1.25rem; border: 1px solid #e1e1e1; border-radius: 1rem; background: #fff; color: #666; text-align: left; box-shadow: 0 12px 36px #00000014; font-family: Arial, Helvetica, sans-serif; }
.browser-help[hidden] { display: none; }
.browser-help::before { content: ''; position: absolute; top: -.5rem; right: 1.375rem; width: 1rem; height: 1rem; border-top: 1px solid #e1e1e1; border-left: 1px solid #e1e1e1; background: #fff; transform: rotate(45deg); }
.browser-help .browser-help-message { margin: 0; color: #666; font-size: .9375rem; line-height: 1.5; }
.browser-help-steps { margin: 1rem 0 0; padding: .875rem .75rem; border-radius: .625rem; background: #f5f5f5; list-style: none; font-size: .9375rem; line-height: 1.55; }
.browser-help-steps li { display: flex; align-items: baseline; gap: .25rem; }
.browser-help-steps li > span { flex: 0 0 auto; }
.browser-help-steps strong { color: #111; font-weight: 700; }
.browser-help-steps .browser-help-dots { color: #666; letter-spacing: .12em; }
.browser-help-actions { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .75rem; font-size: .75rem; line-height: 1.5; }
.browser-help-fallback { min-width: 0; flex: 1; }
.browser-help-fallback summary { cursor: pointer; width: fit-content; color: #666; text-underline-offset: .15em; }
.browser-help-fallback summary:hover { color: #111; }
.browser-help-fallback p { color: #666; font-size: .75rem; }
.browser-help .browser-help-dismiss { position: static; display: inline-flex; flex: 0 0 auto; width: auto; min-height: 1.75rem; height: auto; padding: .125rem .25rem; border-radius: .25rem; background: transparent; color: #666; font-size: .75rem; font-weight: 500; line-height: 1.5; text-decoration: underline; text-underline-offset: .15em; }
.browser-help .browser-help-dismiss:hover { background: #f5f5f5; color: #111; }
.browser-help-copy { margin-top: .5rem; min-height: 2.75rem; padding: .625rem 1rem; border-radius: .5rem; background: #f0edf9; color: #30234d; font-size: .8125rem; font-weight: 600; }
.browser-help-url { display: block; width: 100%; min-width: 0; margin-top: .5rem; padding: .5rem; border: 1px solid #ccc; border-radius: .375rem; background: #fff; color: #222; font-size: .75rem; }
.browser-help-url[hidden], .browser-help-copy-status:empty { display: none; }
.browser-help :focus-visible { outline: 2px solid #6e54bd; outline-offset: 3px; }
@media (max-width: 359px) { .browser-help { padding: 1rem; } .browser-help .browser-help-message, .browser-help-steps { font-size: .875rem; } }
.app-story { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; width: min(100% - 6rem, 66rem); margin: 0 auto; padding: 7.5rem 0 6.5rem; }
.section-eyebrow { color: #a6a0b9; font-size: .6875rem; letter-spacing: .12em; font-weight: 500; line-height: 1.6; }
.app-story h2 { margin-top: 1.5rem; font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.055em; }
.story-copy { padding-top: 2.75rem; }
.story-copy > p { color: #dedce6; font-size: 1.1875rem; line-height: 1.65; letter-spacing: -.015em; }
.story-copy > .story-detail { margin-top: 1rem; color: #a7a3b3; font-size: 1rem; }
.story-download { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 2.75rem; margin-top: 1.5rem; color: #d3c2ff; font-size: .875rem; }
.experience { padding: 1.5rem 1.5rem 6rem; }
.experience .section-container { width: min(100%, 44rem); }
.experience-header { margin-bottom: 2rem; }
.experience-header h2 { margin: .875rem 0 .875rem; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 400; letter-spacing: -.05em; color: #f4f5fa; }
.experience-header > p:last-child { font-size: .9375rem; color: #a7a3b3; }
.demo-shell { background: #14151e; border-color: #30303c; }
.faq-section { padding: 3rem 1.5rem 5rem; }
.faq-section .section-container { width: min(100%, 56rem); }
.faq-layout > h2 { font-weight: 400; letter-spacing: -.04em; }
.closing-scene { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 29rem; padding: 3rem 1.5rem; background: radial-gradient(ellipse at center, #35274f55, #0a0c13 65%); }
.closing-scene > img { width: 7.5rem; height: 7.5rem; object-fit: contain; margin-bottom: .75rem; }
.closing-scene h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.closing-scene > p { margin-top: .75rem; color: #b1aabc; }
.closing-download { margin-top: 1.5rem; border-radius: .625rem; }
.closing-download img { width: 10rem; height: auto; }
footer { width: min(100% - 3rem, 75rem); padding-block: 1.75rem; flex-wrap: wrap; gap: 1.25rem; }
.footer-updates { display: inline-flex; align-items: center; min-height: 2.75rem; color: #c6bbdf; font-size: .75rem; }
.app-download:active, .nav-download:active, .closing-download:active { transform: scale(.975); }
html[data-device='ios'] .store-badge { display: block; }
html[data-device='ios'] .desktop-download-label { display: none; }
html[data-device='ios'] .app-download { background: transparent; border-radius: .75rem; }
html[data-device='android'] .iphone-note { display: none; }
html[data-device='android'] .android-note { display: inline; }
html[data-device='android'] .store-badge { display: none; }
html[data-device='android'] .desktop-download-label { display: inline-flex; }
html[data-device='android'] .app-download { background: #f1effb; border-radius: 1rem; }
@media (max-width: 800px) {
  .site-header { min-height: 5rem; grid-template-columns: 1fr auto; padding: 1rem 1.25rem; gap: 1rem; }
  .site-header .wordmark { font-size: 1.5rem; }
  .site-nav { display: none; }
  .nav-download { min-height: 2.75rem; padding: .625rem 1rem; font-size: .75rem; gap: .625rem; }
  .sky-hero { min-height: max(42rem, 100svh); padding: 7rem 1.25rem 7rem; }
  .hero-backdrop { object-position: 50% 50%; }
  .hero-wordmark { font-size: clamp(6.5rem, 24vw, 11rem); margin-top: 1.75rem; }
  .hero-kicker { font-size: .75rem; }
  .sky-hero h1.sky-tagline { margin-top: 1.5rem; font-size: clamp(1.375rem, 5.5vw, 2rem); }
  .sky-hero .hero-actions { margin-top: 2rem; }
  .store-badge { display: block; }
  .desktop-download-label { display: none; }
  .app-download { background: transparent; border-radius: .75rem; }
  .hero-bottom { bottom: 1.5rem; grid-template-columns: 1fr; text-align: center; }
  .hero-bottom > :first-child, .hero-bottom > :last-child { display: none; }
  .hero-bottom > a { justify-content: center; }
  .stone-one { width: 6rem; left: -2.25rem; top: 62%; opacity: .85; }
  .stone-two { width: 8rem; right: -3rem; top: 28%; opacity: .9; }
  .stone-three { width: 4.75rem; left: 8%; top: 15%; opacity: .8; }
  .app-story { width: calc(100% - 3rem); grid-template-columns: 1fr; gap: 1.5rem; padding: 4.5rem 0 3.5rem; }
  .app-story h2 { margin-top: 1rem; font-size: 2.75rem; }
  .story-copy { padding: 0; }
  .story-copy > p { font-size: 1.0625rem; }
  .experience { padding: 2rem 1rem 3rem; }
  .faq-section { padding: 2rem 1.5rem; }
  .closing-scene { min-height: 25rem; }
  html[data-device='android'] .nav-download { max-width: min(11rem, 46vw); }
}
@media (max-width: 359px) { .nav-download svg { display: none; } .hero-wordmark { font-size: 6.25rem; } .hero-kicker { font-size: .6875rem; } }
@media (max-height: 650px) and (min-width: 801px) { .sky-hero { min-height: 42rem; } }
@media (prefers-reduced-motion: reduce) { .floating-stone { animation: none; } html { scroll-behavior: auto; } }
html[data-reduced-motion='true'] .floating-stone { animation: none; }
@media (prefers-contrast: more) { .hero-kicker, .platform-note, .hero-preview-link, .hero-bottom, .story-copy > p, .section-eyebrow { color: #f4f5fa; } }
@media (prefers-reduced-transparency: reduce) { .nav-download { background: #141925; } }

.closing-download .store-badge { display: block; }
.closing-download-label { display: none; }
html[data-device='android'] .closing-download .store-badge { display: none; }
html[data-device='android'] .closing-download-label { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.25rem; border: 1px solid #b39cdc; border-radius: .75rem; color: #dfd1ff; font-size: .875rem; }

.hero-picture { position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.hero-picture .hero-backdrop { z-index: auto; }
