@charset "UTF-8";
:root {
    color-scheme:dark;
    --bg:#10161b;
    --panel:#192229;
    --nav:#141c22;
    --border:#2b383f;
    --gold:#cbb47b;
    --ivory:#ede1c8;
    --text:#e9e5dd;
    --muted:#bdc4c6;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:24px;
}

body {
    margin:0;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    background:var(--bg);
    color:var(--text);
    font-family:"Segoe UI",system-ui,sans-serif;
    font-size:15px;
    line-height:1.6;
}

a {
    color:inherit;
    text-decoration:none;
}

a:hover {
    color:var(--gold);
}

a:focus-visible,summary:focus-visible {
    outline:2px solid var(--gold);
    outline-offset:6px;
}

img {
    max-width:100%;
    display:block;
}

p {
    margin:0 0 1rem;
}

h1,h2,h3 {
    line-height:1.25;
    color:var(--ivory);
    margin:0 0 1rem;
}

h1 {
    font-size:clamp(2.2rem,4vw,3.5rem);
    letter-spacing:-.035em;
}

h2 {
    font-size:1.25rem;
}

h3 {
    font-size:1.05rem;
}

em {
    font-style:normal;
    color:var(--gold);
}

.wrap {
    width:min(1120px,calc(100% - 64px));
    margin-inline:auto;
}

.site-header {
    border-bottom:1px solid var(--border);
    background:var(--bg);
}

.header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:88px;
    gap:24px;
}

.brand {
    display:inline-flex;
    align-items:center;
    gap:18px;
    color:var(--ivory);
    font-size:13px;
    font-weight:650;
    letter-spacing:.28em;
}

.brand.small {
    font-size:10px;
    gap:12px;
}

.site-header nav {
    display:flex;
    align-items:stretch;
    gap:32px;
    align-self:stretch;
}

.site-header nav a {
    display:flex;
    align-items:center;
    font-size:14px;
    border-bottom:2px solid transparent;
    padding-top:2px;
}

.site-header nav a[aria-current=page] {
    border-color:var(--gold);
    color:var(--gold);
}

main {
    flex:1;
}

.hero {
    position:relative;
    padding:76px 24px 44px;
    text-align:center;
    overflow:hidden;
}

.eyebrow {
    color:var(--gold);
    font-size:11px;
    letter-spacing:.21em;
    font-weight:600;
    margin-bottom:18px;
}

.lead {
    font-size:clamp(1rem,1.6vw,1.2rem);
    color:var(--muted);
    line-height:1.65;
}

.hero .watermark {
    position:absolute;
    right:-36px;
    top:30px;
    width:310px;
    opacity:.035;
    z-index:-1;
}

.actions {
    display:flex;
    justify-content:center;
    gap:14px;
    margin-top:28px;
    flex-wrap:wrap;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    min-height:46px;
    padding:10px 23px;
    border:1px solid #53616a;
    border-radius:4px;
    font-weight:600;
    font-size:14px;
    background:transparent;
    color:var(--text);
}

.button:hover {
    background:var(--panel);
    color:var(--ivory);
    border-color:var(--gold);
}

.button.primary {
    background:var(--gold);
    border-color:var(--gold);
    color:#171b1c;
}

.button.primary:hover {
    background:#e4cfa0;
}

.app-preview {
    border:1px solid #42515a;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 16px 60px #0003;
    background:var(--nav);
}

.preview-bar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 18px;
    color:var(--muted);
    font-size:11px;
    border-bottom:1px solid var(--border);
}

.mini-brand {
    color:var(--ivory);
    font-size:10px;
}

.preview-content {
    display:grid;
    grid-template-columns:145px minmax(0,1fr) 230px;
    height:316px;
}

.preview-sidebar {
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:20px 12px;
    font-size:12px;
    color:var(--muted);
}

.preview-sidebar>img {
    margin-bottom:4px;
}

.preview-sidebar span {
    padding:4px 10px;
}

.preview-sidebar .selected {
    background:#cbb47b12;
    color:var(--gold);
    border-left:2px solid var(--gold);
}

.preview-map {
    position:relative;
    overflow:hidden;
    background:#354033;
}

.tiles {
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    position:absolute;
    top:-90px;
}

.tiles img {
    width:100%;
}

.map-caption {
    position:absolute;
    top:16px;
    left:16px;
    background:#141c22e8;
    border:1px solid #ffffff12;
    border-radius:4px;
    padding:11px 15px;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.map-caption small {
    font-size:9px;
    letter-spacing:.12em;
    color:var(--gold);
}

.map-caption strong {
    font-size:19px;
}

.map-caption span {
    font-size:11px;
    color:var(--muted);
}

.map-controls {
    position:absolute;
    top:16px;
    right:16px;
    background:#141c22e8;
    border-radius:3px;
    padding:4px 9px;
}

.map-marker {
    position:absolute;
    width:25px;
    filter:drop-shadow(0 1px 2px #000);
}

.map-marker.waypoint {
    left:42%;
    top:62%;
}

.map-marker.heart {
    left:74%;
    top:34%;
    width:28px;
}

.map-marker.vista {
    left:63%;
    top:76%;
}

.preview-info {
    padding:25px 22px;
    background:var(--panel);
}

.preview-info .eyebrow {
    font-size:9px;
    margin-bottom:8px;
}

.preview-info>p:not(.eyebrow) {
    font-size:12px;
    color:var(--muted);
}

.legend {
    display:grid;
    gap:8px;
    font-size:12px;
    color:var(--muted);
    margin-top:19px;
}

.legend span {
    display:flex;
    align-items:center;
    gap:10px;
}

.legend img {
    width:19px;
    height:19px;
    object-fit:contain;
}

.preview-note {
    font-size:10px;
    color:var(--muted);
    margin:0;
    padding:6px 15px;
    border-top:1px solid var(--border);
}

.features {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    padding:38px 0 40px;
    border-bottom:1px solid var(--border);
}

.features article {
    display:flex;
    gap:16px;
}

.feature-icon {
    font-size:34px;
    line-height:1.15;
    color:var(--gold);
}

.features h2 {
    font-size:15px;
    margin-bottom:7px;
}

.features p {
    color:var(--muted);
    font-size:13px;
    margin:0;
}

.patch-preview {
    padding:30px 0 55px;
}

.section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.section-heading h2 {
    margin:0;
}

.section-heading a {
    font-size:12px;
    color:var(--muted);
}

.updates {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.updates article {
    padding:20px;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:4px;
}

.updates .eyebrow {
    font-size:9px;
    margin-bottom:9px;
}

.updates p:last-child {
    font-size:13px;
    color:var(--muted);
    margin:0;
}

.site-footer {
    border-top:1px solid var(--border);
    margin-top:auto;
}

.footer-inner {
    display:flex;
    align-items:center;
    gap:24px;
    min-height:82px;
    color:var(--muted);
    font-size:12px;
}

.footer-inner>p {
    margin:0 auto;
    font-size:11px;
}

.state-page {
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:calc(100svh - 172px);
    padding-block:48px;
}

.state-content {
    text-align:center;
    max-width:900px;
    position:relative;
    width:100%;
}

.state-content h1 {
    font-size:clamp(2rem,3.2vw,2.8rem);
}

.state-content .button {
    margin-top:14px;
}

.coming-mark {
    margin:0 auto 32px;
    opacity:.095;
    width:clamp(140px,20vw,260px);
    height:auto;
}

.state-detail {
    color:var(--muted);
    font-size:14px;
}

.state-mark {
    margin:0 auto 28px;
    opacity:.75;
}

.reference {
    font-size:11px;
    color:var(--muted);
    margin:26px 0 0;
}

.lost-path {
    width:min(500px,90%);
    height:140px;
    fill:none;
    stroke:#81929c;
    stroke-width:1.5;
    stroke-dasharray:7 7;
    margin:0 auto 6px;
    display:block;
}

.lost-path .cross {
    stroke-dasharray:none;
}

.path-mark {
    position:absolute;
    top:40px;
    left:calc(50% + 5px);
    transform:translateX(-50%);
    background:var(--bg);
    padding:8px;
}

.error-code {
    font-size:clamp(5rem,10vw,8rem);
    line-height:1.1;
    font-weight:700;
    color:var(--ivory);
    letter-spacing:-.04em;
    margin:8px 0 16px;
}

.error-content h1 {
    font-size:clamp(1.5rem,2.4vw,2.1rem);
}

.reading-page {
    max-width:850px;
    padding-block:65px 80px;
}

.reading-page>h1 {
    margin-bottom:20px;
}

.reading-page>h2 {
    margin-top:40px;
}

.faq-list {
    margin-top:38px;
    border-top:1px solid var(--border);
}

details {
    border-bottom:1px solid var(--border);
    padding:20px 0;
}

summary {
    cursor:pointer;
    font-weight:600;
    color:var(--ivory);
}

details p {
    padding-top:14px;
    color:var(--muted);
    max-width:730px;
    margin-bottom:3px;
}

.release {
    margin-top:40px;
    border-top:1px solid var(--border);
    padding-top:30px;
}

.release time {
    color:var(--muted);
    font-size:12px;
}

.tag {
    display:inline-block;
    color:var(--gold);
    font-size:10px;
    letter-spacing:.1em;
    margin-left:20px;
}

.release h2 {
    margin-top:16px;
}

.release p,.release li,.reading-page>p:not(.eyebrow):not(.lead) {
    color:var(--muted);
}

.notice {
    border:1px solid var(--border);
    background:var(--panel);
    padding:24px;
    border-radius:4px;
    margin-top:36px;
}

.notice p {
    margin-bottom:0;
    color:var(--muted);
}

.skip {
    position:fixed;
    top:8px;
    left:8px;
    z-index:10;
    background:var(--gold);
    color:#10161b;
    padding:10px 18px;
    transform:translateY(-150%);
}

.skip:focus {
    transform:none;
}

@media(max-width:800px) {
    .wrap {
        width:calc(100% - 40px);
    }
    .preview-content {
        grid-template-columns:110px minmax(0,1fr);
    }
    .preview-info {
        display:none;
    }
    .features {
        gap:20px;
    }
    .feature-icon {
        display:none;
    }
    .footer-inner {
        flex-wrap:wrap;
        justify-content:space-between;
        padding-block:18px;
        gap:14px;
    }
    .footer-inner>p {
        order:3;
        width:100%;
    }
    .hero {
        padding-top:56px;
    }
    .header-inner {
        min-height:78px;
    }
    .site-header nav {
        gap:22px;
    }
}

@media(max-width:520px) {
    .wrap {
        width:calc(100% - 32px);
    }
    .header-inner {
        flex-wrap:wrap;
        justify-content:center;
        gap:0;
        padding-top:18px;
    }
    .brand {
        gap:12px;
        font-size:12px;
    }
    .site-header nav {
        justify-content:center;
        width:100%;
        gap:32px;
        height:50px;
    }
    .hero {
        padding:40px 0 30px;
    }
    .hero .eyebrow {
        font-size:9px;
        letter-spacing:.13em;
    }
    .hero .lead br {
        display:none;
    }
    .actions .button {
        width:100%;
    }
    .preview-content {
        grid-template-columns:74px minmax(0,1fr);
        height:270px;
    }
    .preview-sidebar {
        font-size:9px;
        padding:14px 5px;
        gap:10px;
    }
    .preview-sidebar span {
        padding:4px;
    }
    .preview-bar {
        font-size:9px;
        padding:9px;
    }
    .mini-brand {
        font-size:8px;
    }
    .map-controls {
        display:none;
    }
    .map-caption {
        left:10px;
        top:10px;
        padding:9px 10px;
    }
    .map-caption strong {
        font-size:16px;
    }
    .map-caption span {
        font-size:9px;
    }
    .tiles {
        width:140%;
        top:-20px;
        left:-40px;
    }
    .features,.updates {
        grid-template-columns:1fr;
        gap:22px;
    }
    .features {
        padding-block:30px;
    }
    .feature-icon {
        display:block;
    }
    .features article {
        gap:20px;
    }
    .state-page {
        padding-block:40px;
        min-height:calc(100svh - 230px);
    }
    .state-content .lead {
        font-size:16px;
    }
    .state-detail {
        font-size:13px;
    }
    .reading-page {
        padding-top:42px;
    }
    .tag {
        display:block;
        margin:10px 0;
    }
    .footer-inner>p {
        font-size:10px;
    }
    .section-heading {
        align-items:start;
    }
    .section-heading h2 {
        font-size:18px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
}

@media(max-height:800px) and (min-width:521px) {
    .state-page {
        padding-block:26px;
    }
    .coming-mark {
        width:180px;
        margin-bottom:24px;
    }
    .state-content h1 {
        font-size:2.3rem;
    }
    .state-content .eyebrow {
        margin-bottom:12px;
    }
    .state-content .lead {
        margin-bottom:12px;
    }
}


.account-page {
    max-width: 680px;
    padding-block: 64px 80px;
}
.account-page h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.account-page .lead {
    font-size: 17px;
}
.auth-form, .account-section {
    margin-top: 28px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 5px;
}
.account-page label {
    display: block;
    margin: 18px 0 8px;
    color: var(--ivory);
    font-weight: 600;
    font-size: 14px;
}
.account-page label:first-of-type {
    margin-top: 0;
}
.account-page input:not([type=hidden]) {
    display: block;
    width: 100%;
    border: 1px solid #51616b;
    background: var(--bg);
    border-radius: 4px;
    color: var(--text);
    padding: 12px 14px;
    min-height: 46px;
    font: inherit;
}
.account-page input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.account-page small {
    display: block;
    margin: 8px 0 16px;
    font-size: 12px;
    color: var(--muted);
}
.account-page button {
    margin-top: 24px;
    cursor: pointer;
    font-family: inherit;
}
.account-section p {
    color: var(--muted);
    font-size: 14px;
}
.account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 28px 0;
    font-size: 13px;
    color: var(--gold);
}
.account-footnote {
    color: var(--muted);
    font-size: 12px;
    margin-top: 28px;
}
.form-message {
    border: 1px solid #55725d;
    background: #17271d;
    padding: 18px 22px;
    border-radius: 4px;
    margin: 24px 0;
}
.error-message {
    border-color: #a66c63;
    background: #30201e;
}
.revoke-form {
    margin-top: 28px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
@media (max-width: 520px) {
    .account-page { padding-top: 40px; }
    .auth-form, .account-section { padding: 20px; }
    .account-page button { width: 100%; }
    .site-header nav { gap: 22px; }
}

.account-page button:disabled {
    opacity: 0.55;
    cursor: default;
}

.language-links { font-size: .8rem; gap: .8rem; }
.language-links [aria-current="true"] { color: var(--gold, #cbb47b); text-decoration: underline; text-underline-offset: .3em; }

.account-section .license-name { color: #cbb47b; font-size: 1.1rem; font-weight: 600; }
