/* Starship CEO — the site wears the game's UI. Palette and metrics are lifted straight from
   StarTrader/Assets/Scripts/UI/Styles/UI.uss so the page and the game read as one thing. */

:root
{
    --void:        #05070f;
    --panel:       rgba(20, 20, 20, 0.92);
    --panel-solid: #18181c;
    --line:        #3a3a3a;
    --line-soft:   rgba(255, 255, 255, 0.08);

    --blue:        #4a90e2;
    --blue-dark:   #357abd;
    --blue-glow:   rgba(74, 144, 226, 0.35);
    --amber:       #f39c12;
    --red:         #e74c3c;
    --green:       #27ae60;

    --text:        #d2d2d2;
    --text-strong: #ffffff;
    --text-dim:    #8ba0b8;
    --text-faint:  #626e6f;

    --frame: 14px;
    --radius: 4px;
    --mono: ui-monospace, "Cascadia Mono", "Consolas", "SF Mono", "Menlo", monospace;
    --sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html
{
    background: var(--void);
    /* The starfield sits behind everything and the page scrolls over it. */
    scroll-behavior: smooth;
    /* The shell is fixed and its contents are not: on a narrow screen the drawer would otherwise
       widen the page rather than being clipped by it, and the whole layout centres itself on a box
       nobody can see. */
    overflow-x: hidden;
}

body
{
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* The canvas the stars are drawn on, and the wash that keeps text off them. */

#starfield
{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, #0b1120 0%, #05070f 55%, #03040a 100%);
}

#starfield-fallback
{
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, #0b1120 0%, #05070f 55%, #03040a 100%);
}

.vignette
{
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(90% 65% at 50% 45%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------------------------------------------------------------- the shell

   Every frame passes clicks through and its contents do not, the same way the game's
   ShellTools, log drawer and HUD column do. */

.shell
{
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
}

.shell > * { pointer-events: none; }
.shell button, .shell a, .shell .log-drawer { pointer-events: auto; }

.shell-tools
{
    position: absolute;
    top: var(--frame);
    left: var(--frame);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wordmark
{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 7px 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-strong);
}

.wordmark .glyph
{
    width: 16px;
    height: 16px;
    border: 2px solid var(--blue);
    border-radius: 2px;
    position: relative;
    flex: 0 0 auto;
}

.wordmark .glyph::after
{
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--blue);
    opacity: 0.55;
}

.wordmark .name
{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.alerts
{
    display: flex;
    gap: 6px;
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.alert-light
{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #1c1c1c;
}

.alert-light.lit { box-shadow: 0 0 8px currentColor; background: currentColor; }
.alert-light.blue  { color: var(--blue); }
.alert-light.amber { color: var(--amber); }
.alert-light.red   { color: var(--red); }
.alert-light.black { color: #000; border-color: rgba(255, 255, 255, 0.4); }

/* The HUD column, top right: no minimap, because there is nothing to draw on one. */

.hud
{
    position: absolute;
    top: var(--frame);
    right: var(--frame);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hud-box
{
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    text-align: right;
    min-width: 132px;
}

.hud-box .clock
{
    font-size: 16px;
    color: var(--text-strong);
    letter-spacing: 0.06em;
    display: block;
}

.hud-box .build { display: block; margin-top: 2px; letter-spacing: 0.08em; }

.minimap
{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
}

/* The log drawer, top centre: the newest line and nothing else. */

.log-drawer
{
    position: absolute;
    top: var(--frame);
    left: 50%;
    transform: translateX(-50%);
    max-width: min(460px, calc(100vw - 480px));
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: var(--radius);
    padding: 9px 14px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 400ms ease;
}

/* The bottom drawer is what you build with — here it is what you navigate with. */

.drawer
{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px var(--frame) calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(5, 7, 15, 0.95), rgba(5, 7, 15, 0));
}

.tool
{
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    background: rgba(40, 40, 40, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 18px;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool:hover, .tool:focus-visible
{
    background: rgba(60, 60, 60, 0.95);
    border-color: var(--blue);
    color: var(--text-strong);
    outline: none;
}

.tool.armed
{
    background: var(--blue-dark);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 0 1px var(--blue-glow);
}

.tool.hazard { color: var(--amber); border-color: rgba(243, 156, 18, 0.5); }
.tool.hazard:hover { border-color: var(--amber); color: #ffd98a; }

/* ------------------------------------------------------------------ content */

.page
{
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

/* Explicit, because these all centre themselves with `margin: 0 auto` and an auto cross-axis
   margin switches a flex item off stretching: without this the sections size to max-content and a
   three-column grid of panels hangs off the side of a phone. */
.page > * { width: 100%; }

/* A short page still puts its footer at the foot rather than halfway up the stars. */
.site-foot { margin-top: auto; }

/* A page you read rather than look at dims the field behind it: a paragraph of body copy over
   moving stars is pretty for one line and hard work for twenty. */
body.reading::after
{
    content: "";
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: rgba(3, 4, 10, 0.62);
}

.hero
{
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 140px;
}

.hero .status
{
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 22px;
}

.hero h1
{
    margin: 0;
    font-size: clamp(2.6rem, 9vw, 5.6rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    text-shadow: 0 0 60px rgba(74, 144, 226, 0.25);
}

.hero .tagline
{
    max-width: 34ch;
    margin: 22px auto 0;
    font-size: clamp(1.18rem, 2.8vw, 1.55rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-strong);
}

.hero .pitch
{
    max-width: 58ch;
    margin: 20px auto 0;
    font-size: clamp(0.98rem, 1.8vw, 1.1rem);
    color: var(--text);
}

.hero .pitch strong { color: var(--text-strong); font-weight: 600; }

.cta-row
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 36px;
}

.btn
{
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.btn-primary
{
    background: var(--blue);
    border-color: var(--blue);
    color: #06121f;
}

.btn-primary:hover, .btn-primary:focus-visible
{
    background: #6aa6ea;
    border-color: #6aa6ea;
    outline: none;
}

.btn-ghost
{
    background: rgba(20, 20, 20, 0.75);
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover, .btn-ghost:focus-visible
{
    border-color: var(--blue);
    color: var(--text-strong);
    outline: none;
}

.btn:active { transform: translateY(1px); }

.scroll-hint
{
    margin-top: 54px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* A panel is about one thing — here, one idea. */

.panels
{
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 120px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel
{
    background: var(--panel);
    border: 1px solid var(--line);
    border-top: 2px solid var(--blue);
    border-radius: var(--radius);
    padding: 22px 24px 26px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.panel h2
{
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
}

.panel p { margin: 0 0 12px; font-size: 15px; }
.panel p:last-child { margin-bottom: 0; }
.panel strong { color: var(--text-strong); font-weight: 600; }

.panel ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.panel li { margin: 0 0 12px; padding-left: 14px; border-left: 1px solid var(--line); }
.panel li:last-child { margin-bottom: 0; }

/* The wide section under the panels. */

.section
{
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 120px;
}

.section h2
{
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.15;
    color: var(--text-strong);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.section p { margin: 0 0 16px; }

.rule
{
    border: 0;
    border-top: 1px solid var(--line-soft);
    margin: 0 auto 80px;
    max-width: 780px;
}

/* ------------------------------------------------------------- the dev blog */

.blog
{
    max-width: 780px;
    margin: 0 auto;
    padding: 140px 20px 160px;
}

.blog-head { margin-bottom: 48px; }

.blog-head .status
{
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 12px;
}

.blog-head h1
{
    margin: 0 0 10px;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.05;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}

.blog-head p { margin: 0; color: var(--text-dim); max-width: 56ch; }

.post-list { list-style: none; margin: 0; padding: 0; }

.post-list li { border-top: 1px solid var(--line-soft); }
.post-list li:last-child { border-bottom: 1px solid var(--line-soft); }

.post-list a
{
    display: block;
    padding: 26px 4px;
    text-decoration: none;
    color: inherit;
    transition: background 140ms ease, padding 140ms ease;
}

.post-list a:hover, .post-list a:focus-visible
{
    background: rgba(74, 144, 226, 0.06);
    padding-left: 12px;
    padding-right: 12px;
    outline: none;
}

.post-meta
{
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.post-list h2
{
    margin: 6px 0 8px;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--text-strong);
    font-weight: 600;
}

.post-list a:hover h2 { color: var(--blue); }
.post-list .excerpt { margin: 0; color: var(--text-dim); font-size: 15px; }

.empty
{
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-faint);
    font-family: var(--mono);
    font-size: 13px;
}

/* One post. */

.post-head { margin-bottom: 40px; }

.post-head h1
{
    margin: 8px 0 0;
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    line-height: 1.1;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}

.prose { font-size: 17px; line-height: 1.72; }

.prose h2
{
    margin: 44px 0 14px;
    font-size: 1.35rem;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}

.prose h3 { margin: 32px 0 10px; font-size: 1.1rem; color: var(--text-strong); }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(74, 144, 226, 0.4); }
.prose a:hover { color: #6aa6ea; border-bottom-color: #6aa6ea; }
.prose strong { color: var(--text-strong); font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); cursor: zoom-in; }
.prose img:hover { border-color: var(--blue); }

/* `![alt](x.png "left")` puts the image beside the text rather than between two paragraphs. A float
   is the only thing that makes prose run past an image, so this is one. */
.prose img.align-left  { float: left;  max-width: 46%; margin: 4px 26px 18px 0; }
.prose img.align-right { float: right; max-width: 46%; margin: 4px 0 18px 26px; }

/* A heading never sits beside a floated image, and the column closes over its own floats. */
.prose h2, .prose h3, .prose hr, .prose .table-scroll { clear: both; }
.prose::after { content: ""; display: block; clear: both; }

@media (max-width: 640px)
{
    .prose img.align-left,
    .prose img.align-right { float: none; max-width: 100%; margin: 0 0 20px; }
}

/* An image in a post opens over the whole viewport. The overlay is built once, on the first click,
   and reused after that. */
.lightbox
{
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 5vmin;
    background: rgba(5, 7, 15, 0.95);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 140ms ease;
}

/* `display: flex` above beats the `hidden` attribute's own `display: none`, so a closed overlay
   would stay in the page at opacity 0 and swallow every click behind it. */
.lightbox[hidden] { display: none; }

.lightbox.open { opacity: 1; }

.lightbox img
{
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.85);
}

.lightbox figcaption
{
    max-width: 720px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    text-align: center;
}

.lightbox-close
{
    position: absolute;
    top: var(--frame);
    right: var(--frame);
    padding: 6px 12px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.lightbox-close:hover { color: var(--text-strong); border-color: var(--blue); }

body.lightbox-open { overflow: hidden; }

.prose blockquote
{
    margin: 0 0 20px;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--blue);
    color: var(--text-dim);
    font-style: italic;
}

.prose code
{
    font-family: var(--mono);
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    padding: 1px 5px;
}

.prose pre
{
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    overflow-x: auto;
    margin: 0 0 20px;
}

.prose pre code { background: none; border: 0; padding: 0; font-size: 13px; }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 36px 0; }
.prose del { color: var(--text-faint); }

/* A table wider than the column scrolls inside its own box; the page never scrolls sideways. */
.prose .table-scroll
{
    overflow-x: auto;
    margin: 0 0 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.35);
}

.prose table
{
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: var(--mono);
}

.prose th
{
    text-align: left;
    padding: 10px 14px;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.prose td
{
    padding: 8px 14px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    white-space: nowrap;
}

.prose tr:last-child td { border-bottom: 0; }
.prose th[align="right"], .prose td[align="right"] { text-align: right; }
.prose th[align="center"], .prose td[align="center"] { text-align: center; }
.prose tbody tr:hover td { background: rgba(74, 144, 226, 0.06); }

/* A picture in a post gets room to breathe and its alt text as a caption. */
.prose figure { margin: 0 0 28px; }
.prose figure img { display: block; width: 100%; }

.prose figcaption
{
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.5;
}

.post-foot
{
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.post-nav { display: flex; gap: 18px; flex-wrap: wrap; }

.post-nav a
{
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
}

.post-nav a:hover { color: var(--blue); }

/* --------------------------------------------------------------- the footer */

.site-foot
{
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 120px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}

.site-foot a { color: var(--text-dim); text-decoration: none; }
.site-foot a:hover { color: var(--blue); }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ----------------------------------------------------------- the hail popup

   The incoming-transmission panel, the way an encounter would open one. It never blocks
   first paint: it is asked for after the hero has been scrolled past. */

/* The hail comes in over the corner of the page and is ignorable: it takes no focus, covers
   nothing, and the page reads and scrolls behind it. The slot passes clicks straight through;
   only the panel itself catches them. */
.hail-slot
{
    position: fixed;
    right: var(--frame);
    bottom: 84px;
    z-index: 60;
    pointer-events: none;
    opacity: 0;
    transition: opacity 260ms ease;
}

.hail-slot[hidden] { display: none; }
.hail-slot.shown { opacity: 1; }

.hail
{
    pointer-events: auto;
    width: min(400px, calc(100vw - var(--frame) * 2));
    background: var(--panel-solid);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--blue-glow);
    transform: translateY(14px) scale(0.98);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.3, 1);
    overflow: hidden;
}

.hail-slot.shown .hail { transform: none; }

@media (max-width: 640px)
{
    .hail-slot { left: var(--frame); right: var(--frame); bottom: 108px; }
    .hail { width: 100%; }
}

.hail-title
{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(74, 144, 226, 0.14);
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

.hail-title .pip
{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: pip 1.6s ease-in-out infinite;
}

@keyframes pip { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hail-body { padding: 26px 24px 8px; }

.hail-body .from
{
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin: 0 0 10px;
}

.hail-body p
{
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--text-strong);
    line-height: 1.5;
}

.hail-body .sub { font-size: 14px; color: var(--text-dim); margin-bottom: 0; }

.hail-options
{
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 20px 24px 24px;
}

.hail-option
{
    font-family: var(--sans);
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    padding: 14px 16px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.hail-option:last-child { margin-bottom: 0; }

.hail-option:hover, .hail-option:focus-visible
{
    background: rgba(74, 144, 226, 0.12);
    border-color: var(--blue);
    color: var(--text-strong);
    outline: none;
}

.hail-option.primary
{
    background: var(--blue);
    border-color: var(--blue);
    color: #06121f;
    font-weight: 600;
}

.hail-option.primary:hover, .hail-option.primary:focus-visible
{
    background: #6aa6ea;
    border-color: #6aa6ea;
    color: #06121f;
}

.hail-option .hint
{
    display: block;
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 3px;
}

.hail-option.primary .hint { color: rgba(6, 18, 31, 0.7); }

/* ------------------------------------------------------------------ narrow

   The chrome is the first thing to go: a phone gets the wordmark, the drawer and the page. */

@media (max-width: 900px)
{
    .log-drawer, .minimap { display: none; }
    .hud-box { min-width: 0; }
    .alerts { display: none; }
}

@media (max-width: 620px)
{
    :root { --frame: 10px; }
    .hud { display: none; }
    .drawer { gap: 6px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
    .tool { padding: 9px 12px; font-size: 11px; letter-spacing: 0.06em; }
    .hero { padding: 90px 18px 120px; min-height: 92svh; }
    .hero .status { letter-spacing: 0.12em; font-size: 11px; }
    .btn { width: 100%; justify-content: center; }
    .cta-row { width: min(340px, 100%); }
    .blog { padding-top: 96px; }
    .prose { font-size: 16px; }
}

.visually-hidden
{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
