/* Night atlas: a local art-direction study, layered over the functional site. */
:root { --ink: #101916; --surface: #17231d; --surface-2: #213127; --text: #eee9da; --muted: #bac2b7; --quiet: #acb8a7; --emerald: #e8cc98; --emerald-strong: #9fba83; --line: #3b4b3b; --line-strong: #7b8569; --display: Georgia, 'Times New Roman', serif; --wrap: min(1240px, calc(100% - 96px)); }
header { position: relative; border: 0; background: #0a1210; }
.nav { min-height: 68px; }
.brand { font: 500 14px/1 var(--mono); letter-spacing: -.05em; }
.mark { width: 24px; height: 24px; font-size: 17px; background: transparent; border: 1px solid #acb8a7; color: var(--gold); box-shadow: none; }
.nav-links a { font-size: 14px; font-weight: 400; }
.nav-links a:last-child { border: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(38px,4.6vw,68px); }
h3 { font-size: 28px; }
.hero-grid { min-height: 850px; display: block; background: #0a1727; }
.hero-content { padding-top: 34px; padding-bottom: 64px; }
.atlas-masthead { width: 100%; margin-bottom: 45px; }
.atlas-index { display: flex; justify-content: space-between; padding-bottom: 22px; font: 12px/1.4 var(--mono); letter-spacing: .16em; color: #c2cabf; }
.atlas-masthead img { width: min(100%, 710px); height: auto; }
.hero-copy { width: 44%; max-width: 490px; padding: 0; background: none; border: 0; box-shadow: none; }
.hero-copy h1 { font-family: var(--display); font-size: clamp(42px,4.5vw,64px); line-height: 1.04; text-shadow: 0 2px 0 #071018; margin-bottom: 20px; }
.hero-copy h1 em { color: var(--gold); font-weight: 400; }
.hero-copy .lead { max-width: 385px; font-size: 15px; color: #e2e6dc; line-height: 1.7; text-shadow: 0 1px 3px #000; }
.hero-copy .eyebrow { color: #e8cc98; font-size: 12px; margin-bottom: 14px; }
.hero-copy .status-strip { width: fit-content; padding: 5px 8px; background: #10201d; }
.hero-scene img { object-position: 72% center; }
.eyebrow::before,.section-eyebrow::before { width: 5px; height: 5px; box-shadow: none; }
.section-eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .12em; }
.button,.copy-button { min-height: 46px; border: 1px solid #bfa375; background: var(--gold); color: #17231d; font: 500 12px/1.3 var(--mono); box-shadow: none; gap: 20px; }
.button { padding: 0 20px; }
.button-support,.copy-button { background: #13231e; color: var(--text); border-color: #7b8569; }
.button:hover,.copy-button:hover { background: #f5dfb4; color: #101916; border-color: #f5dfb4; box-shadow: none; }
.button:active,.copy-button:active { transform: none; box-shadow: inset 0 0 0 2px #17231d; }
.hero-layout { position: relative; padding-top: 0; }
.join-panel { position: relative; margin: 0; z-index: 2; border: 1px solid #7b8569; background: #17231d; box-shadow: 8px 8px 0 #0a1210; padding: 28px 32px; }
.join-panel::before { content: ''; position: absolute; left: 12px; right: 12px; top: 12px; height: 2px; border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); pointer-events: none; }
.join-panel h2 { font-size: 34px; }
.join-panel-head { margin-bottom: 22px; }
.join-list { grid-template-columns: 1.2fr 1fr .8fr; }
.join-item { border-color: #4f5c48; }
.address { font-size: 18px; }
.copy-button { min-width: 48px; font-size: 12px; }
.hero-highlights { padding: 20px 0 32px; justify-content: flex-start; gap: 12px 30px; font-size: 12px; }
main > section:not(.hero) { padding: 76px 0; }
#features > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
#features .section-heading { max-width: 420px; margin: 0; }
#features .section-title { max-width: 440px; }
#features .grid { display: block; border-top: 1px solid #718060; }
#features .card { position: relative; background: transparent; box-shadow: none; border: 0; border-bottom: 1px solid #3b4b3b; padding: 28px 0 28px 52px; }
#features .card::before { content: '0' counter(features); counter-increment: features; position: absolute; left: 0; top: 31px; width: auto; height: auto; margin: 0; background: none; color: #aabc91; font: 12px/1 var(--mono); }
#features .card:nth-child(n)::before { background-image: none; }
#features .card h3 { font-size: 29px; }
#features .card p { max-width: 400px; }
#rules { margin: 0 auto; width: calc(100% - 48px); padding: 76px 0; background: #213127; color: var(--text); border: 0; box-shadow: 8px 8px 0 #050f0c; }
#rules .wrap { width: min(1180px, calc(100% - 72px)); }
#rules .section-eyebrow { color: #c2d4a8; }
#rules .section-lead, #rules .rules-list li, #rules .notice { color: #c9d1c4; }
#rules .rules-list li { border-color: #4f5c48; padding-top: 16px; padding-bottom: 16px; }
#rules .rules-list li::before { color: #c2d4a8; }
#rules .rules { gap: 12%; grid-template-columns: .85fr 1.15fr; }
#rules .notice { border-color: #708463; }
#guide { border-top: 0; }
.guide-panel { grid-template-columns: 1.2fr .8fr; gap: 12%; }
.guide-steps li::before { border: 0; padding: 0; box-shadow: none; background: none; text-align: left; color: #c2d4a8; }
.faq-list { padding-top: 48px; }
.faq-item h3 { font-size: 25px; }
.inline-code { box-shadow: none; background: transparent; border: 0; padding: 0; color: #c2d4a8; }
#commands { background: #0a1411; }
.commands-preview-head { margin-bottom: 40px; }
.commands-preview-head > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12%; width: 100%; }
.commands-preview-head .section-eyebrow { grid-column: 1/-1; }
.commands-preview-head .section-lead { padding-top: 10px; max-width: 380px; }
.commands-preview-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 60px; }
.command-preview-card { display: grid; grid-template-columns: 130px minmax(0, 1fr) 16px; align-items: baseline; padding: 22px 0; border: 0; border-top: 1px solid #3b4b3b; background: none; box-shadow: none; gap: 18px; }
.command-preview-card .inline-code { font: 500 14px/1.5 var(--mono); }
.command-preview-card span:last-child { grid-column: 2; }
.command-preview-card::after { grid-column: 3; color: var(--gold); }
.command-preview-card:hover { background: #18251e; box-shadow: none; border-color: var(--gold); }
#support { padding: 32px 0; background: #0a1411; }
#support .contact-panel { border: 0; }
#support .section-eyebrow { display: none; }
#support h2 { font: 500 14px/1.4 var(--mono); letter-spacing: 0; }
#contact { background: #1e3026; border-top: 0; }
#contact h2 { font-size: clamp(44px,5vw,76px); }
.contact-reasons { padding-top: 30px; }
footer { border-top: 0; background: #0a1210; }
.footer-grid .brand { color: var(--gold); }
.card,.command-group,.growth-join,.growth-join-panel { box-shadow: none; border: 1px solid #4f5c48; }
.growth-proof { border: 0; border-left: 1px solid #4f5c48; background: transparent; padding-left: 24px; }
.growth-proof img { object-position: 72% center; }
.growth-card::before { margin-bottom: 22px; }

/* Shared layout: one DOM order, progressively wider reading columns. */
.hero-grid { background: #0b192a; }
.hero-layout { padding-top: 24px; padding-bottom: 24px; }
.nav-links { gap: 8px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.status-pill { font-size: 12px; }
#features .grid { counter-reset: features; }
.rules-summary { font-size: 20px; line-height: 1.6; margin: 0 0 20px; }
.full-rules summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.full-rules summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.full-rules .rules-list { margin-top: 12px; }
#rules .notice a { color: var(--gold); }
#rules .rules { align-items: start; }
.step-text a,.faq-item a { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-grid nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1200px) {
 .hero-grid { min-height: 820px; }
}
/* Tablets reserve a separate panorama so text never meets the flag. */
@media (max-width: 1199px) {
 :root { --wrap: calc(100% - 64px); }
 .nav { flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; }
 .hero-grid { min-height: 0; padding-bottom: 0; }
 .hero-content { padding-top: 32px; padding-bottom: 32px; }
 .atlas-masthead { margin-bottom: 28px; }
 .atlas-masthead img { width: min(100%, 560px); }
 .hero-copy { width: 100%; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
 .hero-copy .eyebrow { grid-column: 1/-1; margin: 0; }
 .hero-copy h1 { grid-row: 2/5; font-size: clamp(44px,6vw,64px); margin: 0; }
 .hero-copy .lead { margin: 0; max-width: none; }
 .hero-copy .status-strip,.hero-copy .actions { grid-column: 2; margin: 0; }
 .hero-copy .actions { flex-wrap: wrap; gap: 12px; }
 .hero-scene { position: relative; inset: auto; height: 440px; }
 .hero-scene img { display: block; object-position: 72% center; }
 .join-panel { padding: 24px; }
 .join-list { grid-template-columns: 1.2fr 1fr .8fr; gap: 18px; }
 .join-item,.join-item:first-child { border: 0; padding: 0; }
 .join-label { flex-direction: column; }
 .address-row { flex-wrap: wrap; }
 .address { font-size: 16px; }
 #features > .wrap,.guide-panel,#rules .rules { gap: 40px; }
 .commands-preview-grid { gap: 0 28px; }
 .command-preview-card { grid-template-columns: 90px minmax(0, 1fr) 12px; gap: 10px; }
 .commands-preview-head > div { gap: 0 32px; }
}
/* Phones use a continuous reading column and native disclosure controls. */
@media (max-width: 699px) {
 :root { --wrap: calc(100% - 40px); }
 .nav { gap: 8px; }
 .nav-links { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 0; }
 .nav-links a { padding: 0 8px; }
 .hero-content { padding-top: 24px; padding-bottom: 24px; }
 .atlas-index { font-size: 11px; letter-spacing: 0; padding-bottom: 16px; gap: 12px; }
 .atlas-masthead { margin-bottom: 24px; }
 .hero-copy { display: block; }
 .hero-copy .eyebrow { margin-bottom: 12px; }
 .hero-copy h1 { font-size: clamp(40px,11vw,56px); margin-bottom: 18px; }
 .hero-copy .lead { font-size: 16px; }
 .hero-copy .status-strip { margin-top: 20px; }
 .hero-copy .actions { margin-top: 20px; flex-direction: column; align-items: stretch; }
 .hero-copy .actions .button { width: 100%; font-size: 13px; }
 .hero-scene { height: 320px; }
 .join-panel { padding: 24px 18px; }
 .join-panel-head { flex-direction: column; align-items: flex-start; gap: 16px; }
 .join-list { grid-template-columns: 1fr; gap: 20px; }
 .join-label { flex-direction: row; }
 .join-item,.join-item:first-child { border-bottom: 1px solid #4f5c48; padding-bottom: 20px; }
 .join-item:last-child { border-bottom: 0; padding-bottom: 0; }
 .join-panel .address-row { flex-wrap: nowrap; gap: 8px; }
 .address { font-size: 17px; }
 .copy-button { min-width: 58px; }
 main > section:not(.hero) { padding: 52px 0; }
 #features > .wrap,.guide-panel,#rules .rules { grid-template-columns: 1fr; gap: 28px; }
 #features .card { padding-left: 36px; }
 #rules { width: calc(100% - 20px); }
 #rules .wrap { width: calc(100% - 36px); }
 .faq-list { padding-top: 0; }
 .commands-preview-head > div,.commands-preview-grid { grid-template-columns: 1fr; }
 .commands-preview-head { margin-bottom: 24px; }
 .command-preview-card { grid-template-columns: 82px minmax(0, 1fr) 12px; }
 .contact-reasons { padding-top: 0; }
}
