/* Astrocartografia — shared interface primitives and public/application surfaces. */
:root {
  --ink:#183336; --muted:#52676a; --subtle:#657779; --canvas:#f3f6f5;
  --paper:#fff; --soft:#eaf0ee; --line:#d7e1dd; --strong-line:#a5b7b2;
  --accent:#176653; --accent-hover:#0d4b3c; --accent-soft:#e1efe8;
  --nav:#142c30; --nav-muted:#b3c9c8; --warning:#795520; --danger:#a33447;
  --violet:var(--accent); --violet-dark:var(--accent-hover); --gold:#bb8839;
  --radius:12px; --control-radius:8px; --shadow:0 12px 32px #18333612;
  --font:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}
* { box-sizing:border-box; }
html { scroll-padding-top:88px; }
body { margin:0; color:var(--ink); background:var(--canvas); font:400 15px/1.6 var(--font); }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-decoration:none; text-underline-offset:4px; }
p { margin:0 0 16px; }
h1,h2,h3,h4 { margin:0 0 12px; font-family:var(--font); line-height:1.2; letter-spacing:-.025em; text-wrap:balance; }
h1 { font-size:2rem; font-weight:650; }
h2 { font-size:1.5rem; font-weight:650; }
h3 { font-size:1.125rem; font-weight:650; }
strong,b { font-weight:650; }
img { max-width:100%; }
button { cursor:pointer; }
button:disabled { opacity:.5; cursor:not-allowed; }
[hidden] { display:none!important; }
::selection { background:#cae4d6; color:#123d32; }
input,textarea { caret-color:var(--accent); }
:focus-visible { outline:3px solid #398775; outline-offset:3px; }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline-width:2px; outline-offset:1px; }
.ui-icon { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.skip-link { position:fixed; left:16px; top:-80px; z-index:2147483647; padding:12px 20px; background:var(--nav); color:white; border-radius:8px; }
.skip-link:focus { top:12px; }
.site-shell { min-width:0; }
.site-header { min-height:76px; width:min(1240px,calc(100% - 64px)); margin:auto; display:flex; align-items:center; gap:24px; border-bottom:1px solid var(--line); position:relative; z-index:70; }
.brand { display:flex; align-items:center; gap:11px; flex-shrink:0; }
.brand>.ui-icon { width:32px; height:32px; color:var(--accent); }
.brand strong { font-size:17px; letter-spacing:-.035em; }
.brand small { display:block; font-size:11px; color:var(--muted); letter-spacing:.01em; }
.site-nav { display:flex; align-items:center; gap:24px; margin-left:auto; font-size:13px; font-weight:550; }
.site-nav>a:not(.button):hover { color:var(--accent); text-decoration:underline; }
.site-menu-toggle { display:none; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; background:white; color:var(--ink); border:1px solid var(--line); border-radius:8px; }
.site-menu-icon { display:grid; gap:4px; }
.site-menu-icon i { display:block; width:16px; height:1.5px; background:currentColor; }
.language-switcher { margin:0; }
.language-switcher select { width:148px; min-height:40px; padding:8px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); font-size:12px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:11px 20px; border:1px solid transparent; border-radius:8px; font-size:14px; font-weight:600; line-height:1.35; cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.button-primary { color:white; background:var(--accent); }
.button-primary:hover { background:var(--accent-hover); }
.button-ghost { border-color:var(--strong-line); background:transparent; color:var(--ink); }
.button-ghost:hover { background:var(--soft); border-color:var(--ink); }
.button-light { background:white; color:var(--accent); }
.button-light:hover { background:#e9f2ed; }
.button-small { min-height:40px; padding:9px 14px; font-size:13px; }
.button-large { min-height:50px; padding:14px 23px; }
.button-full { width:100%; }
.message-stack { width:min(1120px,calc(100% - 48px)); margin:20px auto; }
.message { padding:14px 18px; border-radius:8px; background:#e1eee7; color:#225442; margin-bottom:8px; }
.message-error { background:#f8e9ec; color:var(--danger); }
.message-warning { background:#fbf0db; color:var(--warning); }
.eyebrow,.section-kicker { display:none; }
/* Persistent orientation across the application. */
.app-rail { position:fixed; inset:0 auto 0 0; width:190px; z-index:80; background:var(--nav); color:#edf5f2; padding:27px 15px 20px; display:flex; flex-direction:column; }
.rail-brand { display:flex; align-items:center; gap:9px; margin:0 0 33px; font-size:14px; letter-spacing:-.035em; font-weight:650; }
.rail-brand .ui-icon { width:27px; height:27px; color:#b9d5c6; }
.rail-create { min-height:44px; border-radius:8px; background:#e1efe8; color:#1b4c3e; display:flex; align-items:center; gap:10px; padding:10px 12px; font-weight:650; font-size:13px; margin-bottom:20px; }
.rail-create:hover { background:white; }
.rail-links,.rail-secondary { display:grid; gap:4px; }
.rail-links a,.rail-secondary a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 11px; color:var(--nav-muted); border-radius:8px; font-size:12px; }
.rail-links a:hover,.rail-secondary a:hover { background:#244044; color:white; }
.rail-links [aria-current=page],.rail-secondary [aria-current=page] { color:white; background:#2b494b; font-weight:600; }
.rail-secondary { margin-top:auto; padding-top:32px; }
.rail-account { display:flex; align-items:center; gap:9px; padding:18px 3px 0; margin-top:17px; border-top:1px solid #355052; min-width:0; }
.rail-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:#d9e9e2; background:#355052; flex:none; }
.rail-account>span:last-child { min-width:0; }
.rail-account strong { display:block; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rail-account small { display:block; color:var(--nav-muted); font-size:10px; }
.has-rail .site-shell { margin-left:190px; }
.has-rail .site-header { min-height:70px; width:calc(100% - 64px); }
.has-rail .site-nav>a { display:none; }
.has-rail .brand small { display:none; }
.has-rail .brand strong { font-size:14px; font-weight:500; color:var(--muted); }
.has-rail .brand>.ui-icon { width:21px; height:21px; }
/* Public introduction: the mechanism leads. */
.hero { width:min(1240px,calc(100% - 64px)); margin:64px auto 70px; display:grid; grid-template-columns:1fr 1.08fr; align-items:center; gap:56px; }
.hero h1 { font-size:clamp(2.5rem,4.25vw,4rem); font-weight:600; line-height:1.06; letter-spacing:-.035em; max-width:650px; }
.hero h1 em { color:var(--accent); font-style:normal; }
.hero-lead { max-width:58ch; margin:24px 0; color:var(--muted); font-size:17px; line-height:1.8; }
.hero-credit { font-size:12px; color:var(--muted); margin:20px 0; max-width:55ch; }
.hero-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hero-notes { display:flex; gap:18px; flex-wrap:wrap; margin-top:23px; font-size:12px; color:var(--muted); }
.hero-visual { min-width:0; }
.atlas-demo { position:relative; background:#dfe9e7; border-radius:16px; overflow:hidden; }
.atlas-demo-head { display:flex; align-items:center; justify-content:space-between; padding:17px 20px; background:#fff; font-size:13px; border-bottom:1px solid var(--line); }
.atlas-demo-head small { color:var(--muted); font-size:11px; }
.atlas-demo canvas { display:block; width:100%; aspect-ratio:1.2; }
.atlas-demo-caption { position:absolute; left:20px; bottom:20px; right:20px; padding:16px 18px; background:white; border-radius:10px; font-size:13px; }
.atlas-demo-caption strong { display:block; margin-bottom:3px; }
.atlas-demo-caption p { margin:0; color:var(--muted); font-size:12px; }
.atlas-demo-caption .demo-line { display:inline-block; width:22px; height:3px; background:#a36536; vertical-align:middle; margin-right:8px; }
.trust-strip { display:grid; grid-template-columns:repeat(4,1fr); width:min(1240px,calc(100% - 64px)); margin:0 auto 110px; border-block:1px solid var(--line); }
.trust-strip>div { padding:24px; border-right:1px solid var(--line); }
.trust-strip>div:first-child { padding-left:0; }
.trust-strip>div:last-child { border:0; }
.trust-strip strong { display:block; font-size:16px; }
.trust-strip span { color:var(--muted); font-size:12px; }
.section { width:min(1120px,calc(100% - 64px)); margin:0 auto 110px; }
.section h2 { font-size:2.25rem; max-width:690px; }
.section-heading { max-width:700px; margin-bottom:38px; }
.section-heading p { color:var(--muted); font-size:16px; }
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.step-card { border-top:1px solid var(--strong-line); padding-top:23px; }
.step-card b { display:inline-block; color:var(--accent); font-size:13px; margin-bottom:26px; }
.step-card h3 { font-size:19px; }
.step-card p { color:var(--muted); font-size:14px; max-width:36ch; }
.feature-section { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; }
.feature-copy p { color:var(--muted); }
.check-list { padding:0; list-style:none; }
.check-list li { padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; }
.feature-panel { border-radius:16px; background:#e6efeb; overflow:hidden; }
.panel-top,.panel-legend { padding:16px 20px; background:#fff; display:flex; justify-content:space-between; gap:12px; font-size:12px; }
.panel-top i { color:var(--muted); font-style:normal; }
.mini-map { height:300px; position:relative; background:#dce8e3 url("world-land.902a71b99c21.svg") center/cover; overflow:hidden; }
.route { position:absolute; height:140%; width:140px; border:2px solid var(--accent); border-radius:50%; top:-20%; }
.route-one { left:20%; transform:rotate(28deg); }
.route-two { left:55%; border-color:#af7631; transform:rotate(-15deg); }
.route-three { left:48%; border-color:#657fa8; transform:rotate(45deg); }
.mini-map mark { position:absolute; padding:3px 8px; background:#fff; font-size:11px; border-radius:4px; }
.city-one { top:21%; left:52%; }
.city-two { top:70%; left:26%; }
.panel-legend { font-size:10px; flex-wrap:wrap; }
.plans-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.plan-card { padding:32px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.plan-label { display:inline-block; font-size:12px; margin-bottom:24px; color:var(--muted); }
.plan-card h3 { font-size:28px; }
.plan-card p { color:var(--muted); }
.plan-card ul { list-style:none; padding:0; margin:28px 0; }
.plan-card li { padding:11px 0; border-bottom:1px solid var(--line); font-size:14px; }
.plan-highlight { background:var(--nav); color:white; border:0; }
.plan-highlight .plan-label,.plan-highlight p { color:#c1d5ce; }
.plan-highlight li { border-color:#385355; }
.plan-highlight .button { background:#d8ecdf; color:#163c30; }
.final-cta { width:min(1240px,calc(100% - 64px)); margin:0 auto 80px; padding:48px; background:#dcebe3; display:flex; align-items:center; gap:48px; justify-content:space-between; border-radius:14px; }
.final-cta h2 { font-size:2rem; max-width:650px; }
.final-cta p { color:var(--muted); margin-bottom:0; }
.final-cta>a { flex:none; }
/* Library and guidance. */
.dashboard-hero { width:min(1120px,calc(100% - 64px)); margin:40px auto 24px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.dashboard-hero h1 { font-size:2rem; }
.dashboard-hero p { color:var(--muted); margin:0; font-size:14px; }
.stats-row { display:flex; gap:0; width:min(1120px,calc(100% - 64px)); margin:0 auto 36px; border-bottom:1px solid var(--line); padding-bottom:18px; flex-wrap:wrap; }
.stat-card { padding:0 24px; border-right:1px solid var(--line); display:flex; align-items:center; gap:12px; }
.stat-card:first-child { padding-left:0; }
.stat-card:last-child { border:0; }
.stat-card span { font-size:12px; color:var(--muted); }
.stat-card strong { font-size:14px; }
.dashboard-section { width:min(1120px,calc(100% - 64px)); margin:0 auto 40px; }
.dashboard-section-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.dashboard-section-head h2 { margin:0; font-size:21px; }
.dashboard-section-head>a { font-size:13px; color:var(--accent); font-weight:600; }
.library-search { display:flex; align-items:center; gap:10px; padding:0 12px; min-height:42px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.library-search input { border:0; outline:0; background:transparent; width:220px; font-size:13px; min-height:40px; color:var(--ink); }
.map-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.saved-map-card { border:1px solid var(--line); border-radius:12px; background:white; overflow:hidden; transition:border-color .18s; }
.saved-map-card:hover { border-color:var(--accent); }
.saved-map-main { padding:24px; display:flex; align-items:flex-start; gap:17px; }
.map-card-orbit { flex:none; width:46px; height:46px; border-radius:10px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-size:19px; }
.map-type { font-size:11px; color:var(--muted); }
.saved-map-card h3 { margin:5px 0; font-size:18px; overflow-wrap:anywhere; }
.saved-map-card p { margin:0 0 6px; font-size:13px; color:var(--muted); }
.saved-map-card small { color:var(--muted); font-size:11px; }
.saved-map-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 20px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
.saved-map-actions form { margin:0; }
.text-danger { min-height:36px; padding:6px 9px; border:0; background:transparent; color:var(--danger); border-radius:6px; font-size:12px; }
.text-danger:hover { background:#fae9ed; }
.empty-state { padding:40px; background:white; border:1px dashed var(--strong-line); border-radius:12px; text-align:center; }
.empty-state h3 { font-size:24px; }
.empty-state p { max-width:56ch; margin:0 auto 24px; color:var(--muted); font-size:14px; }
.empty-orbit { display:none; }
.product-card-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.product-card { display:flex; align-items:flex-start; gap:16px; border-top:1px solid var(--line); padding:22px 0; }
.product-card-visual { width:44px; height:44px; flex:none; display:grid; place-items:center; color:var(--accent); background:var(--soft); border-radius:10px; }
.product-card-visual .ui-icon { width:25px; height:25px; }
.product-card-meta { display:flex; gap:8px; font-size:10px; color:var(--muted); margin-bottom:6px; }
.product-card-meta>span { display:none; }
.product-card-meta em { font-style:normal; }
.product-card h3 { font-size:17px; margin-bottom:8px; }
.product-card p { color:var(--muted); font-size:13px; max-width:56ch; }
.product-card .button { min-height:38px; font-size:12px; padding:8px 13px; }
.activity-list { border-top:1px solid var(--line); }
.activity-list a { display:grid; grid-template-columns:9px 1fr auto; align-items:center; gap:15px; padding:16px 0; border-bottom:1px solid var(--line); }
.activity-list strong { display:block; font-size:13px; }
.activity-list small { font-size:11px; color:var(--muted); }
.activity-list i { font-style:normal; color:var(--accent); }
.activity-status { width:7px; height:7px; border-radius:50%; background:#758684; }
.activity-status.completed { background:var(--accent); }
.activity-status.failed { background:var(--danger); }
.guide-banner { display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px; background:#e4eee8; border-radius:12px; padding:25px 28px; margin-bottom:28px; }
.guide-banner h2 { font-size:19px; margin-bottom:6px; }
.guide-banner p { color:#455f53; font-size:13px; margin:0; max-width:70ch; }
.guide-details { border-top:1px solid var(--line); padding:14px 0; }
.guide-details summary { font-size:14px; font-weight:600; cursor:pointer; min-height:36px; }
.guide-details p { margin:8px 0; color:var(--muted); font-size:13px; max-width:70ch; }
/* Authentication, account and documents. */
.auth-layout { width:min(1050px,calc(100% - 64px)); margin:54px auto 70px; display:grid; grid-template-columns:1fr 1.05fr; background:#fff; border-radius:16px; overflow:hidden; border:1px solid var(--line); }
.auth-aside { padding:48px; background:var(--nav); color:#fff; display:flex; flex-direction:column; justify-content:center; }
.auth-aside h1 { font-size:2.3rem; font-weight:550; line-height:1.18; }
.auth-aside p { color:#c4d5d1; max-width:35ch; margin-top:14px; }
.auth-constellation { display:none; }
.auth-card { padding:42px 45px; min-width:0; }
.auth-card h1,.auth-card h2 { font-size:28px; margin-bottom:12px; }
.auth-intro { font-size:14px; color:var(--muted); }
.auth-intro strong { overflow-wrap:anywhere; }
.auth-form p { margin:18px 0; }
.auth-form label { display:block; color:var(--ink); font-size:13px; font-weight:550; margin-bottom:7px; }
.auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.auth-form select,.auth-form textarea {
  width:100%; min-height:46px; padding:11px 12px; border:1px solid var(--strong-line); border-radius:8px; background:#fff; color:var(--ink);
}
input::placeholder,textarea::placeholder { color:#647778; opacity:1; }
input[type=checkbox],input[type=radio] { accent-color:var(--accent); width:17px; height:17px; flex:none; vertical-align:middle; }
.helptext { display:block; font-size:12px; color:var(--muted); margin-top:7px; }
.auth-form ul:not(.errorlist) { padding-left:18px; color:var(--muted); font-size:12px; }
.errorlist { padding:12px 18px; background:#faeaed; border-radius:8px; color:var(--danger); font-size:13px; list-style:none; }
.auth-form-meta { display:flex; justify-content:space-between; align-items:center; gap:15px; font-size:12px; margin:22px 0; }
.auth-form-meta label { display:flex; align-items:center; gap:7px; margin:0; font-size:12px; font-weight:400; }
.auth-form-meta a,.auth-switch a { color:var(--accent); font-weight:600; text-decoration:underline; }
.auth-switch { margin:24px 0 0; text-align:center; font-size:13px; color:var(--muted); }
.google-button { width:100%; background:#fff; color:var(--ink); border-color:var(--strong-line); }
.google-button b { font-size:18px; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--muted); font-size:11px; }
.auth-divider:before,.auth-divider:after { content:""; height:1px; flex:1; background:var(--line); }
.auth-single { width:min(620px,calc(100% - 40px)); margin:50px auto 80px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.account-links { margin-top:28px; border-top:1px solid var(--line); }
.account-links a { padding:15px 0; display:flex; justify-content:space-between; gap:15px; border-bottom:1px solid var(--line); font-size:13px; color:var(--accent); }
.legal-document { width:min(850px,calc(100% - 48px)); margin:48px auto 70px; padding:46px 56px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.legal-document h1 { font-size:36px; }
.legal-document h2 { font-size:20px; margin-top:32px; }
.legal-document p,.legal-document li { font-size:15px; line-height:1.8; color:var(--muted); max-width:72ch; }
.legal-document a { color:var(--accent); text-decoration:underline; }
.legal-date { color:var(--muted); font-size:12px; }
/* Access and checkout. */
.complete-hero,.complete-feature-grid,.checkout-region,.complete-active-panel,.order-history { width:min(1120px,calc(100% - 64px)); margin:36px auto; }
.complete-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.complete-hero h1 { font-size:36px; }
.complete-hero p { max-width:65ch; color:var(--muted); }
.access-active-badge { display:flex; align-items:center; gap:12px; background:var(--accent-soft); padding:14px 18px; border-radius:9px; flex:none; color:var(--accent); }
.access-active-badge strong,.access-active-badge small { display:block; }
.access-active-badge i { font-style:normal; }
.access-active-badge small { font-size:11px; }
.complete-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.complete-feature-grid article { padding:20px 0; border-top:1px solid var(--line); }
.complete-feature-grid article>span { display:none; }
.complete-feature-grid strong { display:block; font-size:16px; margin-bottom:10px; }
.complete-feature-grid p { font-size:13px; color:var(--muted); }
.checkout-region { padding:32px; background:var(--nav); color:white; border-radius:14px; }
.checkout-region-head { margin-bottom:25px; }
.checkout-region-head>span { display:none; }
.checkout-region-head h2 { font-size:25px; }
.checkout-options { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.checkout-card { padding:24px; background:#213d40; border-radius:10px; }
.checkout-card-top { display:flex; align-items:center; gap:10px; color:#c8d9d3; font-size:13px; }
.country-flag { padding:2px 6px; border:1px solid #809c91; border-radius:3px; font-size:10px; }
.checkout-card h3 { font-size:32px; margin:22px 0 5px; }
.checkout-card p { font-size:13px; color:#c8d9d3; }
.checkout-card ul { padding-left:18px; font-size:14px; line-height:2; color:#e1ede7; margin:20px 0; }
.checkout-card .button { width:100%; background:#deeee4; color:#204e3b; }
.checkout-unavailable { color:#efc6c8; font-size:12px; display:block; margin-top:12px; }
.checkout-security-note { color:#b8d0c9; font-size:12px; text-align:center; margin:22px 0 0; }
.complete-active-panel { display:flex; align-items:center; justify-content:space-between; gap:25px; background:var(--accent-soft); padding:23px 28px; border-radius:12px; }
.complete-active-panel>div { display:flex; align-items:center; gap:17px; }
.complete-active-panel>div>span { display:none; }
.complete-active-panel h2 { font-size:18px; margin-bottom:5px; }
.complete-active-panel p { font-size:13px; color:var(--muted); margin:0; }
.complete-active-actions { display:flex; gap:8px; flex-wrap:wrap; }
.order-history { overflow:auto; }
.order-history table { width:100%; border-collapse:collapse; background:#fff; }
.order-history th,.order-history td { text-align:left; padding:14px 16px; border-bottom:1px solid var(--line); font-size:13px; font-variant-numeric:tabular-nums; }
.order-status { display:inline-flex; padding:3px 8px; background:var(--soft); color:var(--ink); border-radius:5px; font-size:11px; }
.order-paid { background:var(--accent-soft); color:var(--accent); }
.order-failed,.order-canceled,.order-refunded { background:#faeaed; color:var(--danger); }
.payment-result-card { width:min(640px,calc(100% - 40px)); margin:60px auto 80px; padding:45px; background:#fff; border:1px solid var(--line); border-radius:14px; text-align:center; }
.payment-result-icon { width:54px; height:54px; border-radius:50%; margin:0 auto 24px; background:var(--soft); color:var(--accent); display:grid; place-items:center; font-size:24px; }
.payment-result-icon.failed { background:#faeaed; color:var(--danger); }
.payment-result-card h1 { font-size:28px; }
.payment-result-card p { color:var(--muted); font-size:14px; }
.payment-result-card .hero-actions { justify-content:center; }
.payment-result-card>small { display:block; margin-top:25px; color:var(--muted); font-size:11px; }
.stripe-checkout-shell { width:min(1080px,calc(100% - 48px)); margin:35px auto 70px; }
.stripe-checkout-back { display:inline-flex; margin-bottom:24px; color:var(--accent); font-size:13px; }
.stripe-checkout-grid { display:grid; grid-template-columns: .8fr 1.2fr; border-radius:14px; overflow:hidden; background:#fff; border:1px solid var(--line); }
.stripe-order-summary { padding:38px; background:var(--nav); color:white; }
.stripe-order-summary h1 { font-size:28px; }
.stripe-order-summary>p,.stripe-order-summary small { color:#c5d7d0; font-size:13px; }
.stripe-order-price { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 0; margin:25px 0; border-block:1px solid #47615c; }
.stripe-order-price span { color:#c5d7d0; font-size:13px; }
.stripe-order-price strong { font-size:28px; }
.stripe-order-summary ul { padding-left:18px; line-height:2; font-size:13px; }
.stripe-payment-card { padding:38px; min-width:0; }
.stripe-payment-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.stripe-payment-head h2 { font-size:23px; }
.stripe-secure-badge { font-size:11px; color:var(--accent); padding:5px 8px; background:var(--accent-soft); border-radius:5px; white-space:nowrap; }
.stripe-payment-intro { color:var(--muted); font-size:13px; margin:15px 0 25px; }
.stripe-payment-loading { padding:22px; background:var(--soft); font-size:13px; border-radius:8px; }
.stripe-payment-element { min-height:90px; }
.stripe-billing-address { margin-top:20px; }
.stripe-payment-error { color:var(--danger); min-height:24px; font-size:13px; margin-top:13px; }
.stripe-pay-button { width:100%; }
.stripe-payment-foot { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:20px; color:var(--muted); font-size:11px; }
/* Footer retains real ownership and legal content. */
.site-footer { width:min(1240px,calc(100% - 64px)); margin:70px auto 0; padding:30px 0 28px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr auto; gap:22px; font-size:12px; color:var(--muted); }
.site-footer>div>strong { font-size:15px; color:var(--ink); }
.site-footer p { margin:5px 0 0; }
.footer-links { display:flex; align-items:flex-start; gap:22px; flex-wrap:wrap; }
.footer-links a:hover { text-decoration:underline; color:var(--accent); }
.footer-bottom { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:28px; padding-top:22px; border-top:1px solid var(--line); }
.footer-bottom>small { max-width:54ch; font-size:11px; }
.footer-credits { display:flex; align-items:center; gap:22px; }
.astrology-credit,.regulus-credit { display:flex; align-items:center; gap:9px; max-width:210px; }
.astrology-credit img { width:30px; height:30px; object-fit:cover; border-radius:50%; }
.astrology-credit strong,.regulus-credit-copy { font-size:9px; line-height:1.5; }
.regulus-credit-logo { width:32px; height:32px; flex:none; }
.regulus-credit-logo img { width:32px; height:32px; object-fit:contain; }
@media(min-width:1500px) { .has-rail .dashboard-section,.has-rail .dashboard-hero,.has-rail .stats-row { max-width:1240px; } }
@media(max-width:1100px) {
  .site-nav { gap:16px; }
  .hero { gap:32px; }
  .hero h1 { font-size:2.75rem; }
  .has-rail .site-header,.dashboard-hero,.dashboard-section,.stats-row { width:calc(100% - 48px); }
  .feature-section { gap:35px; }
  .auth-aside,.auth-card { padding:32px; }
  .footer-bottom { align-items:flex-start; flex-direction:column; }
  .complete-feature-grid { grid-template-columns:repeat(2,1fr); }
  .stripe-checkout-grid { grid-template-columns:1fr 1.2fr; }
  .stripe-payment-head { flex-wrap:wrap; }
}
@media(max-width:900px) {
  .app-rail { display:none; }
  .has-rail .site-shell { margin-left:0; }
  .site-menu-toggle { display:inline-flex; margin-left:auto; }
  .site-nav { display:none; position:absolute; top:calc(100% + 6px); right:0; width:min(340px,calc(100vw - 32px)); max-height:calc(100dvh - 100px); overflow-y:auto; padding:12px; background:white; border-radius:12px; box-shadow:0 14px 36px #142c3024; }
  .site-nav.is-open { display:grid; gap:4px; }
  .site-nav>a,.has-rail .site-nav>a { display:flex; align-items:center; min-height:44px; padding:10px 12px; border-radius:7px; }
  .site-nav>a:hover { background:var(--soft); }
  .site-nav .language-switcher { padding:10px 12px; border-top:1px solid var(--line); }
  .language-switcher select { width:100%; }
  .hero { grid-template-columns:1fr; margin-top:40px; }
  .hero-copy { max-width:700px; }
  .hero h1 { font-size:3.15rem; }
  .hero-visual { max-width:700px; width:100%; }
  .atlas-demo canvas { aspect-ratio:1.7; }
  .trust-strip { margin-bottom:70px; }
  .auth-layout { grid-template-columns:.75fr 1fr; }
  .auth-aside h1 { font-size:1.85rem; }
}
@media(max-width:620px) {
  .site-header,.has-rail .site-header { width:calc(100% - 32px); min-height:64px; gap:12px; }
  .brand small { display:none; }
  .brand strong { font-size:15px; }
  .hero,.section,.trust-strip,.final-cta,.site-footer,.dashboard-hero,.dashboard-section,.stats-row,.complete-hero,.complete-feature-grid,.checkout-region,.complete-active-panel,.order-history { width:calc(100% - 32px); }
  .hero { margin:32px auto 42px; gap:28px; }
  .hero h1 { font-size:2.35rem; }
  .hero-lead { font-size:15px; }
  .hero-actions { align-items:stretch; }
  .hero-actions .button { flex:1 1 100%; }
  .hero-notes { gap:12px; font-size:11px; }
  .atlas-demo-head { padding:12px 14px; }
  .atlas-demo-caption { left:12px; right:12px; bottom:12px; padding:12px; }
  .atlas-demo canvas { aspect-ratio:1.15; }
  .trust-strip { grid-template-columns:1fr 1fr; margin-bottom:65px; }
  .trust-strip>div { padding:18px 10px; }
  .trust-strip>div:nth-child(2) { border-right:0; }
  .trust-strip>div:nth-child(3) { padding-left:0; border-top:1px solid var(--line); }
  .trust-strip>div:nth-child(4) { border-top:1px solid var(--line); }
  .trust-strip strong { font-size:14px; }
  .trust-strip span { font-size:11px; }
  .section { margin-bottom:70px; }
  .section h2 { font-size:1.85rem; }
  .steps-grid,.feature-section,.plans-grid,.product-card-grid { grid-template-columns:1fr; }
  .steps-grid { gap:25px; }
  .step-card { display:grid; grid-template-columns:28px 1fr; column-gap:16px; }
  .step-card b { grid-row:span 2; }
  .step-card h3 { font-size:18px; }
  .step-card p { max-width:none; }
  .final-cta { padding:28px 22px; flex-direction:column; align-items:flex-start; gap:20px; }
  .final-cta h2 { font-size:25px; }
  .dashboard-hero { margin-top:28px; align-items:flex-start; flex-direction:column; gap:18px; }
  .dashboard-hero h1 { font-size:26px; }
  .dashboard-hero .button { width:100%; }
  .stats-row { gap:16px; }
  .stat-card { padding:0; border:0; gap:8px; }
  .stat-card span { font-size:11px; }
  .stat-card strong { font-size:12px; }
  .guide-banner { padding:21px; grid-template-columns:1fr; gap:17px; }
  .guide-banner h2 { font-size:18px; }
  .map-card-grid { grid-template-columns:1fr; }
  .saved-map-main { padding:20px; }
  .library-search { width:100%; }
  .library-search input { width:100%; }
  .product-card-grid { gap:0; }
  .product-card-copy { min-width:0; }
  .auth-layout { width:calc(100% - 32px); margin:24px auto 50px; grid-template-columns:1fr; }
  .auth-aside { padding:27px; }
  .auth-aside h1 { font-size:23px; }
  .auth-aside p { margin:0; font-size:13px; }
  .auth-card { padding:28px 23px; }
  .auth-single { width:calc(100% - 32px); margin-top:25px; }
  .auth-form-meta { flex-wrap:wrap; }
  .legal-document { width:calc(100% - 32px); padding:26px 22px; margin-top:24px; }
  .legal-document h1 { font-size:29px; }
  .complete-hero,.complete-active-panel { flex-direction:column; align-items:flex-start; }
  .complete-hero h1 { font-size:29px; }
  .complete-feature-grid { gap:20px; }
  .checkout-options { grid-template-columns:1fr; gap:16px; }
  .checkout-region { padding:23px 17px; }
  .checkout-card { padding:23px 19px; }
  .checkout-region-head h2 { font-size:23px; }
  .complete-active-panel { padding:23px; }
  .payment-result-card { padding:32px 22px; margin-top:30px; }
  .stripe-checkout-shell { width:calc(100% - 32px); }
  .stripe-checkout-grid { grid-template-columns:1fr; }
  .stripe-order-summary,.stripe-payment-card { padding:27px 23px; }
  .site-footer { grid-template-columns:1fr; margin-top:45px; }
  .footer-bottom { grid-column:auto; }
  .footer-links { gap:14px; font-size:11px; }
  .footer-credits { align-items:flex-start; flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
@media print {
  .app-rail,.site-header,.site-footer,.skip-link { display:none!important; }
  .has-rail .site-shell { margin:0; }
  body { background:#fff; }
}
