/* Orbsen site template — design tokens stamped at scaffold time.
   The agent customizes from here; keep the custom properties as the source
   of truth for brand colours and fonts. */

:root {
    --primary: #334155;
    --nav-bg: #334155;
    --ink: #1b0847;
    --bg: #f8f7fb;
    --font: system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
}

/* --- nav ------------------------------------------------------------- */
header.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    flex-wrap: wrap;
}

header.nav .brand {
    font-weight: 700;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

header.nav .brand img { max-height: 38px; }
header.nav .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
header.nav .bt { font-weight: 700; }
header.nav .bs { font-size: .7rem; opacity: .85; font-weight: 400; }

header.nav .links { display: flex; gap: 4px; flex-wrap: wrap; }
header.nav .item { position: relative; }

header.nav .item > a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    opacity: .85;
    font-size: .95rem;
    padding: 6px 8px;
}

header.nav .item > a:hover { opacity: 1; }

header.nav .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--nav-bg);
    padding: 8px;
    border-radius: 0 0 8px 8px;
    min-width: 170px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    z-index: 20;
}

header.nav .item:hover .sub,
header.nav .item:focus-within .sub { display: flex; }

header.nav .sub a {
    color: #fff;
    opacity: .85;
    text-decoration: none;
    font-size: .9rem;
    padding: 4px 6px;
}

header.nav .sub a:hover { opacity: 1; }

.nt { display: none; }

.hamb {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    user-select: none;
}

@media (max-width: 768px) {
    .hamb { display: block; }
    header.nav .links { display: none; flex-basis: 100%; flex-direction: column; gap: 6px; }
    .nt:checked ~ .links { display: flex; }
    header.nav .sub { position: static; display: flex; padding: 2px 0 2px 16px; box-shadow: none; background: transparent; }
}

/* --- hero + pages ----------------------------------------------------- */
.hero {
    background: var(--primary);
    color: #fff;
    padding: 88px 24px;
    text-align: center;
}

.hero h1 { font-size: 2.6rem; margin: 0 0 .4rem; }
.hero p { opacity: .9; font-size: 1.2rem; margin: 0; }

.page-head {
    background: var(--primary);
    color: #fff;
    padding: 48px 24px;
    text-align: center;
}

.page-head h1 { margin: 0; font-size: 2rem; }

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px;
}

.prose h2 { margin-top: 0; }
.prose a { color: var(--primary); }

/* --- footer ------------------------------------------------------------ */
footer.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    opacity: .65;
    font-size: .85rem;
    flex-wrap: wrap;
}
