/* Public .app entry uses the current Member app's theme, icon and panel language. */
:root {
  color-scheme: dark;
  --ink: #03191e;
  --charcoal: #062329;
  --surface: #082a30;
  --raised: #0a3035;
  --border: #23484b;
  --border-strong: #5a8285;
  --paper: #f4faf8;
  --muted: #a6bec0;
  --brand: #12d7b4;
  --brand-strong: #0eb89b;
  --completed: #7ed957;
  --visited: #1e90ff;
  --gutter: 42px;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); }
main { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3, p, dt, dd, strong, small { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: 2.75rem; font-weight: 850; }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: 1.7rem; font-weight: 800; }
h3 { font-size: 1rem; font-weight: 750; }
.container { width: min(100% - var(--gutter)*2, 1280px); margin-inline: auto; min-width: 0; }
.app-icon { width: 24px; height: 24px; flex-shrink: 0; }
.eyebrow { color: var(--brand); font-size: .6875rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
a:focus-visible, button:focus-visible, summary:focus-visible, .preview-track:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 20px; padding: 12px 18px; min-height: 48px; background: var(--raised); border: 1px solid var(--brand); border-radius: 13px; }
.skip-link:focus { top: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; font-size: .9375rem; font-weight: 750; line-height: 1.45; }
.button .app-icon { width: 19px; height: 19px; }
.button-primary { background: var(--brand); color: var(--ink); }
.button-primary:hover { background: var(--brand-strong); }
.button-quiet { background: var(--surface); border-color: var(--border-strong); color: var(--paper); }
.button-quiet:hover { background: var(--raised); border-color: var(--brand); }
.brand { display: inline-flex; flex-shrink: 0; max-width: 100%; }
.brand img { width: 224px; height: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.site-header nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.site-header nav a { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; }
.site-header .nav-signin { color: var(--paper); }
.nav-signin .app-icon { width: 17px; height: 17px; color: var(--brand); }
.hero { padding-top: 44px; padding-bottom: 36px; }
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero-content { padding-block: 12px; }
.beta-marker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); margin-bottom: 18px; }
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--brand); }
.hero-intro { max-width: 430px; margin-top: 20px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-beta-note { max-width: 430px; margin-top: 18px; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.atlas-illustration { position: relative; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface); box-shadow: 0 16px 44px #00000020; }
.atlas-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 14px 18px; color: var(--paper); border-bottom: 1px solid var(--border); font-size: .8125rem; font-weight: 650; }
.atlas-top>span:first-child { display: flex; align-items: center; gap: 10px; }
.atlas-top .app-icon { color: var(--brand); width: 20px; height: 20px; }
.preview-flag { color: var(--muted); background: var(--charcoal); border: 1px solid var(--border); border-radius: 999px; font-size: .625rem; font-weight: 600; padding: 3px 8px; }
.map-window { height: 292px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 52% 45%, #123c40, var(--charcoal) 76%); }
.map-window>svg { position: absolute; inset: -16%; width: 132%; height: 132%; }
.map-cell { fill: #0e353b; stroke: #315458; stroke-width: 1.2; }
.map-cell--explored { fill: #134750; }
.map-cell--selected { stroke: var(--completed); stroke-width: 3; }
.map-window image { opacity: .9; }
.map-window [data-outline=true] { fill: none; stroke: #72988a; stroke-width: 1.2; }
.map-window .map-cell--selected[data-outline=true] { stroke: var(--completed); stroke-width: 3; }
.atlas-illustration figcaption { padding: 13px 18px; border-top: 1px solid var(--border); background: var(--surface); }
.atlas-illustration figcaption>span { display: flex; align-items: center; gap: 9px; font-size: .8125rem; font-weight: 650; }
.atlas-illustration figcaption .app-icon { color: var(--brand); width: 17px; height: 17px; }
.atlas-illustration figcaption p { margin-top: 4px; font-size: .6875rem; color: var(--muted); }
.idea, .app-preview, .beta-stats { padding-block: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px 28px; margin-bottom: 20px; }
.section-heading h2 { margin-top: 6px; }
.section-heading>p { color: var(--muted); font-size: .8125rem; max-width: 310px; }
.exploration-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.exploration-steps li { position: relative; min-width: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 20px; }
.loop-icon { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--raised); border: 1px solid var(--border); color: var(--brand); margin-bottom: 15px; }
.step-number { position: absolute; right: 18px; top: 20px; color: var(--muted); font-size: .6875rem; font-weight: 650; }
.exploration-steps h3 { margin-bottom: 7px; }
.exploration-steps p { color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.preview-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 2px; border-radius: 20px; min-width: 0; }
.preview-card { min-width: 0; padding: 9px 9px 0; border: 1px solid var(--border); background: var(--surface); border-radius: 20px; }
.preview-screen { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--ink); }
.preview-screen img { width: 100%; height: auto; aspect-ratio: 390/844; object-fit: contain; }
.preview-card figcaption { padding: 15px 4px 18px; }
.preview-card h3 { font-size: .9375rem; color: var(--paper); }
.preview-card p { color: var(--muted); font-size: .75rem; line-height: 1.6; margin-top: 4px; }
.preview-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: .6875rem; }
.preview-scroll-hint { display: none; }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stats-grid>div { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-width: 0; padding: 18px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.stat-icon { grid-column: 1; grid-row: 1/3; display: inline-flex; color: var(--brand); }
.stat-icon .app-icon { width: 28px; height: 28px; }
.stats-grid dd { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 1.65rem; line-height: 1.15; letter-spacing: -.035em; font-variant-numeric: tabular-nums; max-width: 100%; }
.stats-grid dt { grid-column: 2; grid-row: 2; margin-top: 5px; color: var(--muted); font-size: .6875rem; line-height: 1.5; }
.stats-caption { color: var(--muted); }
.stats-status { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.stats-definitions { margin-top: 2px; font-size: .75rem; color: var(--muted); max-width: 920px; }
.stats-definitions summary { cursor: pointer; width: fit-content; padding: 12px 0; min-height: 48px; display: list-item; align-content: center; color: var(--paper); }
.stats-definitions p { padding-bottom: 8px; }
.stats-noscript { font-size: .75rem; color: var(--muted); margin-top: 8px; }
.availability { padding-top: 24px; padding-bottom: 42px; }
.beta-panel { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; }
.beta-panel-icon { width: 44px; height: 44px; flex-shrink: 0; align-self: start; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 13px; color: var(--brand); background: var(--raised); }
.beta-panel>div { flex: 1; min-width: 0; }
.beta-panel h2 { font-size: 1.25rem; margin-top: 5px; }
.beta-panel>div>p:not(.eyebrow) { color: var(--muted); margin-top: 8px; font-size: .8125rem; max-width: 670px; }
.beta-panel>div>.beta-access { font-size: .75rem; }
.beta-panel .button { flex-shrink: 0; }
.platform-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 18px 0; }
.platform-panel>div:first-child { max-width: 370px; }
.platform-panel .eyebrow { color: var(--muted); }
#store-note { font-size: .6875rem; color: var(--muted); margin-top: 8px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; align-items: center; text-align: left; min-width: 190px; min-height: 72px; padding: 12px 16px; border-radius: 13px; border: 1px solid var(--border); background: var(--charcoal); color: var(--muted); opacity: 1; }
.device-icon { width: 20px; height: 28px; grid-column: 1; grid-row: 1/3; fill: none; stroke: currentColor; stroke-width: 1.4; }
.store-badge>span:nth-child(2) { min-width: 0; }
.store-badge small { display: block; font-size: .75rem; line-height: 1.4; }
.store-badge strong { display: block; font-size: .875rem; font-weight: 650; line-height: 1.4; }
.store-status { grid-column: 2; justify-self: start; font-size: .75rem; color: var(--muted); line-height: 1.4; }
.site-footer { padding-top: 26px; padding-bottom: max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; }
.footer-heading .brand img { width: 192px; }
.footer-heading>p { color: var(--muted); font-size: .75rem; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; }
.footer-intro { max-width: 270px; margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; min-width: 0; }
.footer-main nav a { display: flex; align-items: center; gap: 12px; min-height: 52px; min-width: 0; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); font-size: .8125rem; font-weight: 650; }
.footer-main nav a>span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.footer-link-icon { color: var(--muted); display: inline-flex; }
.footer-link-icon .app-icon { width: 20px; height: 20px; }
.footer-main nav a>.app-icon { width: 16px; height: 16px; color: var(--muted); }
.footer-main nav a:hover { border-color: var(--brand); background: var(--raised); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .6875rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.footer-bottom .app-icon { width: 14px; height: 14px; color: var(--brand); }
@media (max-width: 1179px) {
  :root { --gutter: 32px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  h1 { font-size: 2.5rem; }
  .map-window { height: 274px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .beta-panel { flex-wrap: wrap; }
  .beta-panel .button { margin-left: 64px; }
  .platform-panel { align-items: start; }
}
@media (max-width: 899px) {
  :root { --gutter: 20px; }
  .site-header nav { gap: 18px; }
  .hero { padding-top: 30px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-content { padding: 0; }
  .hero-intro, .hero-beta-note { max-width: 560px; }
  .atlas-illustration { width: 100%; }
  .map-window { height: 320px; }
  .exploration-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 228px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 12px; scrollbar-color: var(--border-strong) var(--ink); scrollbar-width: thin; }
  .preview-card { scroll-snap-align: start; }
  .preview-scroll-hint { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
  .preview-scroll-hint .app-icon { width: 14px; height: 14px; }
  .preview-caption { flex-wrap: wrap; }
  .section-heading { align-items: start; }
  .section-heading>p { max-width: 220px; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; }
  .footer-intro { max-width: 600px; }
}
@media (max-width: 599px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.4rem; }
  .site-header { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px; }
  .brand img { width: 192px; }
  .site-header nav { gap: 12px; font-size: .8125rem; }
  .nav-idea, .nav-app { display: none !important; }
  .hero { padding-top: 26px; padding-bottom: 22px; }
  .hero-intro { font-size: .9375rem; margin-top: 16px; }
  .hero-actions { gap: 10px; margin-top: 20px; }
  .hero-actions .button { font-size: .875rem; padding-inline: 17px; }
  .hero-beta-note { font-size: .6875rem; margin-top: 14px; }
  .beta-marker { font-size: .625rem; margin-bottom: 16px; }
  .atlas-top, .atlas-illustration figcaption { padding-inline: 14px; }
  .atlas-top { font-size: .75rem; }
  .atlas-illustration figcaption>span { font-size: .75rem; }
  .atlas-illustration figcaption p { font-size: .625rem; }
  .map-window { height: 244px; }
  .map-window>svg { inset: -24%; width: 148%; height: 148%; }
  .idea, .app-preview, .beta-stats { padding-block: 20px; }
  .section-heading { display: block; margin-bottom: 16px; }
  .section-heading>p { max-width: none; margin-top: 9px; font-size: .75rem; }
  .exploration-steps { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
  .exploration-steps li { padding: 16px 13px; }
  .loop-icon { width: 36px; height: 36px; border-radius: 13px; margin-bottom: 12px; }
  .loop-icon .app-icon { width: 21px; height: 21px; }
  .step-number { top: 15px; right: 12px; font-size: .625rem; }
  .exploration-steps h3 { font-size: .875rem; }
  .exploration-steps p { font-size: .75rem; }
  .preview-track { gap: 12px; grid-auto-columns: 228px; }
  .preview-caption { font-size: .625rem; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 10px; }
  .stats-grid>div { grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; padding: 15px 12px; }
  .stat-icon .app-icon { width: 22px; height: 22px; }
  .stats-grid>div:last-child { grid-column: 1/-1; }
  .stats-grid dd { font-size: 1.45rem; }
  .stats-grid dt { font-size: .625rem; }
  .stats-status, .stats-definitions, .stats-noscript { font-size: .6875rem; }
  .availability { padding-top: 18px; padding-bottom: 28px; }
  .beta-panel { gap: 14px; padding: 18px; align-items: start; }
  .beta-panel-icon { width: 36px; height: 36px; }
  .beta-panel-icon .app-icon { width: 21px; height: 21px; }
  .beta-panel h2 { font-size: 1.1rem; }
  .beta-panel>div>p:not(.eyebrow) { font-size: .75rem; }
  .beta-panel>div>.beta-access { font-size: .6875rem; }
  .beta-panel .button { margin-left: 0; width: 100%; font-size: .875rem; }
  .platform-panel { display: block; margin-top: 16px; padding-top: 0; }
  .platform-panel>div:first-child { max-width: none; }
  .store-badges { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 10px; }
  .store-badge { min-width: 0; column-gap: 8px; padding: 12px 10px; grid-template-columns: 18px minmax(0, 1fr); }
  .device-icon { width: 17px; }
  .store-badge strong { font-size: .75rem; }
  .store-badge small, .store-status { font-size: .6875rem; }
  .footer-heading { align-items: start; flex-direction: column; gap: 10px; padding-bottom: 20px; }
  .footer-heading .brand img { width: 176px; }
  .footer-heading>p { font-size: .6875rem; }
  .footer-main nav { grid-template-columns: 1fr; gap: 8px; }
  .footer-main nav a { font-size: .8125rem; }
  .footer-bottom { display: block; margin-top: 20px; }
  .footer-bottom p { margin-top: 8px; }
  .footer-bottom a { margin-top: 4px; }
}
@media (max-width: 359px) {
  h1 { font-size: 2rem; }
  .brand img { width: 176px; }
  .site-header nav { font-size: .75rem; }
  .map-window { height: 222px; }
  .hero-actions .button { padding-inline: 14px; }
  .exploration-steps li { padding: 14px 11px; }
  .exploration-steps h3 { font-size: .8125rem; }
  .exploration-steps p { font-size: .6875rem; }
  .stats-grid>div { padding-inline: 10px; }
  .store-badge { grid-template-columns: 15px minmax(0, 1fr); padding-inline: 8px; column-gap: 7px; }
  .device-icon { width: 15px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
