/* ============================================================
   CONCORDIA MATERIAE — public site (landing, terms, privacy)
   Industrial marketing schema: display font + mono eyebrows,
   banded sections — in the house teal grades. 2026-10-18 (owner, from
   the web designer's patch, then "lighten it up — a mix between the
   two"): sentence-case display type, the image lockup in a three-column
   bar, soft corners + the house shadows on cards, one chamfer on the
   primary button, the harmony diagram and the numbers strip under the
   hero. The logged-in app keeps style.css untouched.
   ============================================================ */

:root {
    --p-bg: #FFFFFF;
    --p-surface: #F7F8FA;
    --p-ink: #1A1D23;
    --p-muted: #5A6070;
    --p-border: #DDE0E6;

    /* teal scale (from the app accent #0F7B6C) */
    --teal-50: #E6F5F2;
    --teal-100: #C7EAE3;
    --teal-200: #9AD7CC;
    --teal-300: #6CC0B1;
    --teal-500: #12907E;
    --teal-600: #0F7B6C;
    --teal-700: #0A5F53;
    --teal-800: #084A41;
    --teal-900: #063A33;
    /* muted deep teal — the "copper role": eyebrows, card top-bars */
    --pine: #4E7E76;

    --shadow-card: 0 1px 3px rgba(26, 29, 35, 0.06);
    --shadow-md: 0 4px 10px rgba(26, 29, 35, 0.10);
    --shadow-lg: 0 10px 28px rgba(26, 29, 35, 0.14);

    --font-body: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Chakra Petch', 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body.public {
    font-family: var(--font-body);
    background: var(--p-surface);
    color: var(--p-ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* ---------------- layout primitives ---------------- */

.pub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.pub-wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.pub-section { padding: 84px 0; }
.pub-band { background: var(--p-bg); border-top: 1px solid var(--p-border); border-bottom: 1px solid var(--p-border); }
.pub-anchor { scroll-margin-top: 72px; }

/* ---------------- type ---------------- */

.pub-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pine);
}

.pub-h1 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    text-wrap: balance;
}

.pub-h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.005em;
    text-wrap: balance;
    font-size: clamp(26px, 3.4vw, 34px);
    line-height: 1.2;
    margin-top: 12px;
}

.pub-h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 17px;
    line-height: 1.3;
}

.pub-sub { margin-top: 16px; font-size: 18px; color: var(--p-muted); }
.pub-center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---------------- buttons (sharp corners everywhere) ---------------- */

.pub-btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-800));
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 30px;
    border: none;
    box-shadow: var(--shadow-md);
    transition: filter 0.15s ease;
    cursor: pointer;
}
.pub-btn-primary:hover { filter: brightness(1.12); }

.pub-btn-primary-sm { padding: 9px 18px; font-size: 14px; box-shadow: var(--shadow-card); }

.pub-btn-outline {
    display: inline-block;
    border: 1px solid var(--p-border);
    color: var(--p-ink);
    font-weight: 500;
    font-size: 15px;
    padding: 13px 30px;
    background: transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.pub-btn-outline:hover { border-color: var(--teal-300); color: var(--teal-700); }

.pub-btn-inverse {
    display: inline-block;
    background: #fff;
    color: var(--teal-800);
    font-weight: 600;
    font-size: 15px;
    padding: 15px 38px;
    box-shadow: var(--shadow-md);
    transition: background 0.15s ease;
}
.pub-btn-inverse:hover { background: var(--teal-50); }

/* ---------------- nav ---------------- */

.pub-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--p-border);
}
.pub-nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; gap: 16px; }
.pub-nav-center { justify-self: center; }
.pub-nav-right { justify-self: end; gap: 18px; }
.pub-nav-links .pub-nav-anchor { position: relative; padding: 6px 0; font-weight: 500; color: var(--p-ink); }
.pub-nav-links .pub-nav-anchor::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--teal-600); transition: right 0.18s ease; }
.pub-nav-links .pub-nav-anchor:hover::after { right: 0; }
@media (max-width: 900px) { .pub-nav-inner { display: flex; justify-content: space-between; } .pub-nav-center { display: none; } }

.pub-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 18px;
    color: var(--p-ink);
}
.pub-wordmark .accent { color: var(--teal-600); }
/* the designer's lockup (2026-10-18): one image, identical everywhere */
.pub-brand { display: flex; align-items: center; justify-self: start; }
.pub-logo { height: 34px; width: auto; display: block; }
.pub-logo-foot { height: 28px; }
@media (max-width: 1100px) { .pub-logo { height: 30px; } }
@media (max-width: 560px) { .pub-logo { height: 22px; } }

.pub-nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--p-muted); }
.pub-nav-links a { transition: color 0.15s ease; }
.pub-nav-links a:hover { color: var(--p-ink); }

@media (max-width: 720px) { .pub-nav-links .pub-nav-anchor { display: none; } }
@media (max-width: 560px) { .pub-nav-right > a:not(.pub-btn-primary) { display: none; } }

/* ---------------- hero ---------------- */

.pub-hero { position: relative; overflow: hidden; text-align: left; padding: 72px 0 64px; }
.pub-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pub-hero-steel { position: absolute; inset: 0; background: linear-gradient(180deg, #EDF2F1 0%, #F5F8F7 40%, #EAF0EE 100%); }
.pub-hero-brush {
    position: absolute; inset: 0; opacity: 0.5;
    background: repeating-linear-gradient(92deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 3px);
}
.pub-hero-circuit {
    position: absolute; inset: 0; width: 100%; height: 100%;
    -webkit-mask-image: radial-gradient(70% 90% at 50% 8%, #000 30%, transparent 82%);
    mask-image: radial-gradient(70% 90% at 50% 8%, #000 30%, transparent 82%);
}
.pub-hero-inner { position: relative; }

.pub-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(78, 126, 118, 0.4);
    background: rgba(78, 126, 118, 0.08);
    padding: 7px 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pine);
    margin-bottom: 22px;
}

.pub-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pub-trust { margin-top: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--p-muted); }

/* fake browser chrome + graph-paper screenshot slot */
.pub-tour { max-width: 880px; margin: 56px auto 0; text-align: left; }
.pub-tour-chrome {
    border: 1px solid var(--p-border); border-bottom: none;
    background: #EDF0F3; padding: 10px 14px; display: flex; gap: 6px;
}
.pub-tour-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #C6CCD4; }
.pub-tour-body {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--p-border);
    background-color: #FAFBFC;
    background-image:
        linear-gradient(rgba(26,29,35,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,29,35,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-muted);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------------- feature cards ---------------- */

.pub-grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 52px; }
@media (max-width: 960px) { .pub-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pub-grid-3 { grid-template-columns: 1fr; } }

.pub-feature {
    border: 1px solid var(--p-border);
    border-top: 2px solid var(--pine);
    background: rgba(247, 248, 250, 0.6);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.15s ease;
}
.pub-feature:hover { box-shadow: var(--shadow-md); }

.pub-feature-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-50);
    color: var(--teal-600);
}
.pub-feature-icon svg { width: 24px; height: 24px; }
.pub-feature h3 { margin-top: 16px; }
.pub-feature p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--p-muted); }

/* ---------------- how it works ---------------- */

.pub-steps { display: grid; gap: 38px; grid-template-columns: repeat(3, 1fr); margin-top: 52px; }
@media (max-width: 820px) { .pub-steps { grid-template-columns: 1fr; } }

.pub-step-n {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-800));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.pub-step h3 { margin-top: 16px; }
.pub-step p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--p-muted); }

.pub-highlights { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 60px; }
@media (max-width: 820px) { .pub-highlights { grid-template-columns: 1fr; } }

.pub-highlight {
    border: 1px solid var(--p-border);
    background: var(--p-bg);
    padding: 36px;
    text-align: center;
    box-shadow: var(--shadow-card);
}
.pub-highlight svg { width: 40px; height: 40px; color: var(--teal-600); }
.pub-highlight h3 { margin-top: 14px; font-size: 19px; }
.pub-highlight p { margin: 10px auto 0; max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--p-muted); }

/* ---------------- pricing (single tier) ---------------- */

.pub-price-card {
    max-width: 520px;
    margin: 44px auto 0;
    border: 2px solid var(--teal-600);
    background: var(--p-bg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}
.pub-price-head { display: flex; align-items: center; justify-content: space-between; }
.pub-price-chip {
    background: rgba(78, 126, 118, 0.1);
    color: var(--pine);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
}
.pub-price-amount { margin-top: 18px; font-size: 44px; font-weight: 600; letter-spacing: -0.02em; }
.pub-price-amount span { font-size: 16px; font-weight: 400; color: var(--p-muted); }
.pub-price-seats { margin-top: 4px; font-size: 14px; color: var(--p-muted); }

.pub-price-list { list-style: none; margin-top: 24px; display: grid; gap: 11px; font-size: 14.5px; }
.pub-price-list li { display: flex; gap: 10px; align-items: flex-start; }
.pub-price-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--teal-600); }

.pub-price-foot { margin-top: 22px; border-top: 1px solid var(--p-border); padding-top: 16px; font-size: 12.5px; color: var(--p-muted); }
.pub-price-cta { display: block; text-align: center; margin-top: 22px; }

/* ---------------- FAQ ---------------- */

.pub-faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 12px; }
.pub-faq details {
    border: 1px solid var(--p-border);
    background: var(--p-bg);
    padding: 16px 22px;
    box-shadow: var(--shadow-card);
}
.pub-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15.5px;
    font-weight: 500;
}
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::after { content: '+'; font-size: 20px; color: var(--p-muted); transition: transform 0.15s ease; }
.pub-faq details[open] summary::after { transform: rotate(45deg); }
.pub-faq details p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--p-muted); }

/* ---------------- final CTA panel ---------------- */

.pub-cta-panel {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
    padding: 64px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.pub-cta-dots {
    pointer-events: none;
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, black 0%, transparent 100%);
    mask-image: radial-gradient(60% 80% at 50% 0%, black 0%, transparent 100%);
}
.pub-cta-panel h2 { position: relative; font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.pub-cta-panel p { position: relative; margin: 12px auto 0; max-width: 560px; font-size: 15px; color: var(--teal-100); }
.pub-cta-panel .pub-btn-inverse { position: relative; margin-top: 30px; }

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

.pub-footer { border-top: 1px solid var(--p-border); background: var(--p-bg); padding: 40px 0 0; }
.pub-footer-inner {
    display: flex; flex-direction: column; gap: 22px; align-items: center;
}
@media (min-width: 720px) { .pub-footer-inner { flex-direction: row; justify-content: space-between; } }
.pub-footer-brand p:last-child { font-size: 12px; color: var(--p-muted); }
.pub-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14px; color: var(--p-muted); }
.pub-footer-links a { transition: color 0.15s ease; }
.pub-footer-links a:hover { color: var(--p-ink); }
.pub-copyright { margin-top: 30px; padding: 0 0 26px; text-align: center; font-size: 12px; color: var(--p-muted); }

/* ---------------- legal prose pages ---------------- */

.pub-prose-page { background: var(--p-bg); min-height: 100vh; }
.pub-prose { padding: 48px 0 72px; }
.pub-prose-nav { font-size: 14px; color: var(--p-muted); margin-bottom: 32px; }
.pub-prose-nav a:hover { text-decoration: underline; }
.pub-prose-nav .sep { margin: 0 8px; }
.pub-prose h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.pub-prose .effective { margin: 6px 0 32px; font-size: 14px; color: var(--p-muted); }
.pub-prose h2 { font-size: 20px; font-weight: 600; margin-top: 30px; }
.pub-prose p, .pub-prose li { font-size: 14.5px; line-height: 1.7; margin-top: 12px; }
.pub-prose ul { margin-top: 4px; padding-left: 26px; }
.pub-prose li { margin-top: 6px; }
/* The EULA is stored as plain text in a setting, so it renders preformatted.
   pre-wrap keeps the author's paragraph breaks without forcing a sideways
   scroll on a phone. */
.pub-prose .eula-text {
    margin-top: 20px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    font: inherit;
    font-size: 14px;
    line-height: 1.7;
}
.pub-prose a.inline { color: var(--teal-700); }
.pub-prose a.inline:hover { text-decoration: underline; }
.pub-prose .callout {
    margin-top: 16px;
    border: 1px solid var(--teal-200);
    border-left: 3px solid var(--teal-600);
    background: var(--teal-50);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.65;
}

/* ---------------- "the AI question" rebuttal section ---------------- */

.pub-vs { max-width: 880px; margin: 44px auto 0; display: grid; gap: 14px; }
.pub-vs-row {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 0;
    border: 1px solid var(--p-border); background: var(--p-bg);
    box-shadow: var(--shadow-card);
}
@media (max-width: 720px) { .pub-vs-row { grid-template-columns: 1fr; } }
.pub-vs-claim {
    padding: 18px 20px; background: var(--p-surface);
    border-right: 1px solid var(--p-border);
    font-size: 14px; line-height: 1.55; color: var(--p-muted);
}
@media (max-width: 720px) { .pub-vs-claim { border-right: none; border-bottom: 1px solid var(--p-border); } }
.pub-vs-claim .tag {
    display: block; font-family: var(--font-mono); font-size: 10.5px;
    font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: #A05A4E; margin-bottom: 6px;
}
.pub-vs-answer { padding: 18px 20px; font-size: 14px; line-height: 1.6; }
.pub-vs-answer .tag {
    display: block; font-family: var(--font-mono); font-size: 10.5px;
    font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--teal-600); margin-bottom: 6px;
}
.pub-vs-note {
    max-width: 880px; margin: 26px auto 0; text-align: center;
    font-size: 14.5px; line-height: 1.65; color: var(--p-muted);
}

/* ---------------- "See it in action" video strip (v0.24) ---------------- */
/* Horizontal scroll-snap strip: two cards today, room for more — drop the
   mp4s into static/video/ (promo.mp4 / howto.mp4) to replace placeholders. */

/* Two videos since 2026-09-08: a responsive grid (side by side when the
   wrap is wide enough, stacked otherwise) instead of the scroll-snap strip,
   which centred the first card and cut its left edge off at laptop widths. */
.pub-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 26px;
    padding: 44px 0 14px;
}
.pub-video-card {
    min-width: 0;
    border: 1px solid var(--p-border);
    background: var(--p-bg);
    box-shadow: var(--shadow-md);
}
.pub-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;   /* the encodes are 1280x800 */
    background: #0D1115;
}
.pub-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
    color: var(--teal-100);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
}
.pub-video-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid var(--teal-200);
    font-size: 20px;
    padding-left: 4px;
    opacity: 0.9;
}
.pub-video-meta { padding: 16px 20px 20px; }
.pub-video-meta h3 { font-size: 17px; }
.pub-video-meta p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--p-muted); }
.pub-video-hint {
    margin-top: 4px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--p-muted);
}
.pub-video-hint { display: none; }   /* no sideways strip any more */

/* ---------------- planned features strip under the videos (2026-09-08) ---------------- */
.pub-planned { margin-top: 44px; text-align: center; }
.pub-planned-note {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--p-muted);
}
.pub-planned-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 22px;
    text-align: left;
}
.pub-planned-item {
    padding: 18px 20px;
    border: 1px dashed var(--p-border);
    background: var(--p-bg);
}
.pub-planned-item h3 { font-size: 16px; }
.pub-planned-item p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--p-muted); }

/* ---------------- two-tier pricing grid (v0.24) ---------------- */

.pub-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 440px));
    gap: 28px;
    justify-content: center;
    margin-top: 44px;
    align-items: start;
}
.pub-price-grid .pub-price-card { margin: 0; max-width: none; }
.pub-price-card.pub-price-plain { border-color: var(--p-border); box-shadow: var(--shadow-md); }

/* three-tier pricing (v0.27): fit all cards on one row on desktop */
.pub-price-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 340px)); }
.pub-price-fit {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pine);
}

/* Button text colors: the generic `.public a { color: inherit }` rule has
   higher specificity than the single-class button rules, so anchor-styled
   buttons inherited surrounding text color (grey "Get started" on the teal
   gradient). These win over the inherit rule. */
.public a.pub-btn-primary, .public a.pub-btn-primary-sm { color: #fff; }
.public a.pub-btn-inverse { color: var(--teal-800); }
.public a.pub-btn-outline { color: var(--p-ink); }
.public a.pub-btn-outline:hover { color: var(--teal-700); }

/* public language toggle (v0.27): compact dropdown in the top nav + inline
   "try it now" links in the languages feature card */
.pub-lang { position: relative; }
.pub-lang summary {
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border: 1px solid var(--p-border);
    background: var(--p-bg);
    color: var(--p-ink);
    white-space: nowrap;
}
.pub-lang summary::-webkit-details-marker { display: none; }
.pub-lang[open] summary { border-color: var(--teal-300); }
.pub-lang-list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 150px;
    background: var(--p-bg);
    border: 1px solid var(--p-border);
    box-shadow: var(--shadow-md);
    display: grid;
    z-index: 60;
}
.pub-lang-list a { padding: 9px 14px; font-size: 13.5px; color: var(--p-ink); }
.pub-lang-list a:hover { background: var(--teal-50); }
.pub-lang-list a.active { color: var(--teal-700); font-weight: 600; }
.public a.pub-lang-try { color: var(--teal-700); font-weight: 600; text-decoration: underline; }

/* Rebrand notice (2026-09-27): one slim teal strip above the hero. */
.pub-rebrand {
    background: var(--pine, #0F7B6C); color: #fff;
    font-size: 13.5px; line-height: 1.5; text-align: center; padding: 9px 0;
}
.pub-rebrand strong { font-weight: 700; margin-right: 6px; }

/* ============================================================
   2026-10-18 — the designer direction, lightened (owner: "a mix
   between the two"). Everything below adjusts rules above; the
   sharp-corner buttons above become one chamfered primary.
   ============================================================ */

/* one chamfer, on the primary call to action only — the logo's cut corner */
.pub-chamfer { clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.pub-btn-outline { border-radius: 4px; background: var(--p-bg); }
.pub-btn-primary-sm { padding: 9px 16px; }

/* hero: copy left, the harmony diagram right */
.pub-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.pub-hero-copy .pub-sub { font-size: 18px; }
.pub-harm { max-width: 440px; width: 100%; margin-left: auto; aspect-ratio: 480 / 440; }
.pub-harm svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pub-harm text { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; fill: var(--p-ink); }
.pub-harm text.s { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--p-muted); }
.pub-harm .node { fill: var(--p-bg); stroke: var(--p-border); stroke-width: 1.2; filter: drop-shadow(0 1px 2px rgba(26, 29, 35, 0.08)); }
.pub-harm .dia { fill: var(--p-bg); stroke: var(--teal-600); }
.pub-harm .dia-in { fill: none; stroke: var(--teal-600); opacity: 0.8; }
.pub-harm .wire { fill: none; stroke: var(--teal-600); stroke-width: 1.6; stroke-linecap: round; }
.pub-harm .wire-bg { fill: none; stroke: var(--p-border); stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) {
    .pub-harm .wire { stroke-dasharray: 3 97; animation: pub-flow 5s linear infinite; }
    @keyframes pub-flow { to { stroke-dashoffset: -100; } }
}
@media (max-width: 900px) {
    .pub-hero-grid { grid-template-columns: 1fr; }
    .pub-harm { margin: 8px auto 0; max-width: 360px; }
}

/* the numbers strip */
.pub-stats { background: var(--p-bg); border-top: 1px solid var(--p-border); border-bottom: 1px solid var(--p-border); }
.pub-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
.pub-stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: 0.01em; color: var(--teal-600); font-variant-numeric: tabular-nums; }
.pub-stats span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-muted); }
@media (max-width: 720px) { .pub-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the claims strip (2026-10-18): words where the numbers were; same rhythm */
.pub-claims b { font-size: 26px; letter-spacing: 0.005em; }
.pub-claims span { text-transform: none; letter-spacing: 0.04em; font-size: 12.5px; }
/* the engine's counts, under the Features intro */
.pub-counts { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--p-muted); }
.pub-counts b { color: var(--teal-600); font-weight: 600; font-variant-numeric: tabular-nums; }

/* soft corners + the house shadows on every card-like block */
.pub-feature { border-top: 1px solid var(--p-border); background: var(--p-bg); border-radius: 8px; }
.pub-feature-icon { border-radius: 6px; }
.pub-highlight, .pub-price-card, .pub-video-card, .pub-planned-item, .pub-vs-row, .pub-faq details, .pub-step-n { border-radius: 8px; }
.pub-vs-row, .pub-video-card { overflow: hidden; }
.pub-video-card video, .pub-video-placeholder { border-radius: 8px 8px 0 0; }
.pub-planned-item { border-style: solid; box-shadow: var(--shadow-card); }
.pub-price-card { border-width: 1px; }
.pub-price-chip, .pub-vs-claim .tag, .pub-vs-answer .tag { border-radius: 999px; }
.pub-price-chip { padding: 3px 10px; }
.pub-cta-panel { border-radius: 10px; }
.pub-step-n { border-radius: 6px; }
.pub-lang summary, .pub-lang-list { border-radius: 4px; }
.pub-faq summary { font-family: var(--font-display); font-weight: 600; }
.pub-badge { border-radius: 999px; }
