/* publishing.steagus.com — main site styles (Claude-owned)
   Palette source: _docs/steagus-palette-system-v1.0.md

   Consolidated out of pages/index.html, which was the de-facto main-site
   stylesheet. Shared by the site's own pages (index, contact_us, and any
   future landing page built from pages/template.html).

   NOT used by the product sections. Abisam, SCT, and Theme Skinner each
   brand themselves and carry their own stylesheet under
   software/<product>/assets/css/. The Theme Skinner app
   (sp-theme-skinner.html) and the Abisam demo are self-contained and are
   deliberately left alone.

   Page-specific layout is scoped under a body class (body.page-contact),
   so this file stays genuinely shared rather than a merge of two pages. */
:root {
    --paper: #efe7d6;
    --panel: #fffdf8;
    --panel2: #fbf6ea;
    --ink: #2c281f;
    --muted: #867c6b;
    --line: #e3dac6;
    --accent: #5e8c66;
    --accent-d: #4c7555;
    --accent-soft: #eaf1ea;
    --gold: #9a8b3c;
    --black: #0c0c0e;
    --socialdark: #1d1e24;
    --serif: 'Merriweather',Georgia,serif;
    --sans: 'Open Sans',system-ui,sans-serif;
    --radius: 15px;
    --shadow: 0 6px 26px rgba(60,48,24,.13);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    line-height: 1.5;
    background: var(--paper);
    background-image: radial-gradient(rgba(150,128,92,.07) 1px,transparent 1px);
    background-size: 5px 5px;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    color: var(--accent-d);
}

.identity {
    text-align: center;
    padding: 10px 0 30px;
}

.identity .emblem {
    display: inline-block;
    width: 88px;
    color: var(--ink);
}

.identity .emblem svg {
    width: 100%;
    height: auto;
    display: block;
}

.wordmark {
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(30px,5vw,40px);
    letter-spacing: .5px;
    line-height: 1.1;
    margin-top: 16px;
}

.division {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
}

.tagline {
    font-size: clamp(15px,2.4vw,17px);
    color: #6b6353;
    margin: 18px auto 0;
    max-width: 560px;
}

.catsec {
    padding-top: 18px;
    margin-bottom: 12px;
}

.cat {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 4px 0 18px;
}

.cat h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 23px;
    line-height: 1.1;
}

.cat .csub {
    font-size: 15px;
    color: #6f6655;
    margin-top: 5px;
    line-height: 1.35;
}

.cat .rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right,var(--line),rgba(227,218,198,0));
    border-radius: 2px;
}

.cardgrid {
    display: grid;
    gap: 20px;
}

.cardgrid.soft {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr));
}

.cardgrid.books {
    grid-template-columns: repeat(auto-fit,minmax(260px,300px));
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}

.card.soon {
    background: var(--panel2);
}

.pill {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 11px;
    color: #fff;
    text-transform: uppercase;
}

.pill.live {
    background: var(--accent);
}

.pill.free {
    background: #3a6ea5;
}

.pill.soon {
    background: var(--gold);
}

.pill.new {
    background: #4E3B8C;
}

/* Abisam indigo */
.ctitle {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 19px;
    margin: 14px 0 3px;
}

.cline {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.cdesc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #615a4c;
    margin: 12px 0 18px;
    flex: 1;
}

.btn {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 11px;
    border-radius: 9px;
    text-decoration: none;
    margin-top: 8px;
    cursor: pointer;
    transition: background .15s,color .15s;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
}

.btn.primary:hover {
    background: var(--accent-d);
}

.btn.ghost {
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
}

.btn.ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn.disabled {
    background: #e6dcc8;
    color: #a99b80;
    cursor: default;
}

.divider {
    padding: 20px 0 4px;
    text-align: center;
}

.divider svg {
    width: min(512px,74%);
    height: auto;
    display: block;
    margin: 0 auto;
}

.closing {
    padding: 30px 0 34px;
    text-align: center;
}

.closing svg {
    width: min(432px,69%);
    height: auto;
    display: block;
    margin: 0 auto;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 34px;
    margin: 22px 0;
}

.panel h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 14px;
}

.panel p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #5f5849;
}

.panel p + p {
    margin-top: 12px;
}

.revinvite {
    text-align: center;
    background: var(--accent-soft);
    border: 1px solid #d4e3d6;
    border-radius: 11px;
    padding: 20px;
    margin-bottom: 22px;
}

.revinvite .big {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--accent-d);
}

.revinvite a {
    display: inline-block;
    margin-top: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 9px;
    text-decoration: none;
}

.revinvite a:hover {
    background: var(--accent-d);
}

.aggrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.stars {
    color: #e0a92e;
    font-size: 18px;
    letter-spacing: 2px;
}

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

.glink {
    font-size: 13px;
    color: var(--accent-d);
    font-weight: 600;
    text-decoration: none;
}

.glink:hover {
    text-decoration: underline;
}

.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 14px;
}

.quote {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #6b6354;
    font-style: italic;
}

.vbadge {
    display: block;
    font-style: normal;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 10px;
    letter-spacing: .5px;
}

.spinner {
    margin: 18px auto 0;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -.32s;
}

.spinner .bounce2 {
    animation-delay: -.16s;
}

@keyframes sk-bouncedelay{
    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.social-panel {
    background: var(--socialdark);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    margin: 22px 0;
}

.social-panel .lbl {
    color: #b9bac6;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Social icons — the icons themselves are the shared cross-site brand
   system: markup from _shared/brand/social.html, styling from
   assets/css/social.css (synced from _shared/brand/social.css). This site
   was built before that system existed and carried its own copy under
   .social/.sitem/.sicon, which gave every platform the same green halo and
   used stale brand colors. That block is gone; only the panel chrome below
   is publishing's own.

   The shared file colors labels with --text-muted/--text so it can follow
   each site's palette. This site names those --muted/--ink, and the panel
   is dark whatever the palette does, so the label color is pinned here
   rather than aliasing the variables site-wide. */
.social-panel .social-icon,
.social-panel .social-icon:hover {
    color: #fff;
}

footer {
    background: var(--black);
}

.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    flex-wrap: wrap;
}

.footer-inner .femblem {
    width: 28px;
    color: #fff;
    flex: 0 0 auto;
}

.footer-inner .femblem svg {
    width: 100%;
    height: auto;
    display: block;
}

.legal {
    color: #cfcfcf;
    font-size: 11.5px;
    letter-spacing: .2px;
    text-align: center;
}
