/* ===========================================================================
   vermarkty — public marketing site
   Riso / retro-print design system.  Purple-dominant, orange accents,
   warm-paper base, ink-black borders.  Flat color blocks (no gradient fills);
   texture comes from SVG grain + halftone dot overlays.  Headlines use the
   "Bitcount Single" mono brand face with an off-register overprint effect.

   Everything is prefixed .pub-* and lives only on the logged-out site.
   No inline styles / no inline scripts (CSP script-src 'self').
   =========================================================================== */

:root {
    /* Ink palette ------------------------------------------------------- */
    --pub-purple:       #7c4fd6;
    --pub-purple-deep:  #4f2a92;
    --pub-purple-ink:   #2c1656;
    --pub-orange:       #e8772e;
    --pub-orange-deep:  #c2410c;
    --pub-paper:        #f4ecd8;   /* warm cream base */
    --pub-paper-2:      #efe5cd;   /* alt cream for banding */
    --pub-ink:          #1a1320;   /* near-black, purple-tinted */
    --pub-cream-text:   #fbf6ea;   /* light type on dark blocks */

    /* Structure --------------------------------------------------------- */
    --pub-border:       3px solid var(--pub-ink);
    --pub-border-thick: 4px solid var(--pub-ink);
    --pub-shadow:       7px 7px 0 var(--pub-ink);
    --pub-shadow-sm:    4px 4px 0 var(--pub-ink);
    --pub-shadow-purple:7px 7px 0 var(--pub-purple-ink);

    /* Type -------------------------------------------------------------- */
    --pub-display: "Bitcount Single", "Plus Jakarta Sans", monospace;
    --pub-sans:    "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, sans-serif;
    --pub-body:    "DM Sans", system-ui, -apple-system, sans-serif;

    /* SVG halftone dot — used as a repeating texture, not a gradient.    */
    --pub-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='3' cy='3' r='2' fill='%231a1320'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body.pub-body {
    margin: 0;
    font-family: var(--pub-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--pub-ink);
    background: var(--pub-paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- Full-page film grain ------------------------------------------------- */
.pub-grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Layout helpers ------------------------------------------------------- */
.pub-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.pub-section { position: relative; padding: 96px 0; }
.pub-section--paper  { background: var(--pub-paper); }
.pub-section--paper2 { background: var(--pub-paper-2); }
.pub-section--purple { background: var(--pub-purple);      color: var(--pub-cream-text); }
.pub-section--ink    { background: var(--pub-ink);         color: var(--pub-cream-text); }
.pub-section--orange { background: var(--pub-orange);      color: var(--pub-ink); }

/* heavy ink rule between bands */
.pub-rule-top    { border-top: var(--pub-border-thick); }
.pub-rule-bottom { border-bottom: var(--pub-border-thick); }

/* --- Typography ----------------------------------------------------------- */
.pub-display {
    font-family: var(--pub-display);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0;
}

.pub-h1 { font-size: clamp(2.6rem, 8vw, 6rem); }
.pub-h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
.pub-h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

.pub-tag {
    display: inline-block;
    font-family: var(--pub-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    padding: 6px 14px;
    background: var(--pub-ink);
    color: var(--pub-cream-text);
    border-radius: 999px;
}
.pub-tag--orange { background: var(--pub-orange); color: var(--pub-ink); }
.pub-tag--paper  { background: var(--pub-paper); color: var(--pub-ink); border: var(--pub-border); }

.pub-lede {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    max-width: 38ch;
    margin: 22px 0 0;
}

.pub-eyebrow {
    font-family: var(--pub-display);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1rem;
    color: var(--pub-orange);
    margin: 0 0 14px;
}
.pub-eyebrow--ink { color: var(--pub-ink); }

/* Off-register overprint headline.
   The ::before ghost is the same text offset behind the main type — read as a
   hard print-registration shadow (matches the offset shadows used elsewhere),
   not a second line of text. */
.pub-overprint { position: relative; color: var(--pub-purple); isolation: isolate; }
.pub-overprint::before {
    content: attr(data-text);
    position: absolute;
    left: 0.07em; top: 0.07em;   /* scales with the type so it never looks like a second word */
    color: var(--pub-ink);
    z-index: -1;
}
/* On dark/purple blocks: cream main type, deep-ink shadow behind it. */
.pub-overprint--light { color: var(--pub-cream-text); }
.pub-overprint--light::before { color: var(--pub-purple-ink); }

/* --- Buttons -------------------------------------------------------------- */
.pub-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pub-sans);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    padding: 15px 26px;
    border: var(--pub-border);
    border-radius: 4px;
    background: var(--pub-paper);
    color: var(--pub-ink);
    box-shadow: var(--pub-shadow-sm);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .08s ease;
}
.pub-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--pub-shadow); }
.pub-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pub-ink); }

.pub-btn-cta    { background: var(--pub-orange); color: var(--pub-ink); }
.pub-btn-purple { background: var(--pub-purple); color: var(--pub-cream-text); }
.pub-btn-ink    { background: var(--pub-ink); color: var(--pub-cream-text); }
.pub-btn-ghost  { background: transparent; }
.pub-btn-lg     { font-size: 1.15rem; padding: 18px 34px; }

.pub-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* --- Navigation ----------------------------------------------------------- */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--pub-paper);
    border-bottom: var(--pub-border-thick);
}
.pub-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.pub-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pub-display);
    font-size: 1.5rem;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--pub-ink);
}
.pub-nav-logo { width: 32px; height: 32px; border: 2px solid var(--pub-ink); border-radius: 6px; }

.pub-nav-links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pub-nav-links > li { display: flex; }
.pub-nav-links a {
    font-family: var(--pub-sans);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    color: var(--pub-ink);
    padding: 8px 14px;
    border: 3px solid transparent;
    border-radius: 4px;
}
.pub-nav-links a:hover { border-color: var(--pub-ink); }
.pub-nav-links a.active { background: var(--pub-purple); color: var(--pub-cream-text); border-color: var(--pub-ink); }
.pub-nav-cta {
    background: var(--pub-orange);
    color: var(--pub-ink) !important;
    border: 3px solid var(--pub-ink) !important;
    box-shadow: var(--pub-shadow-sm);
}
.pub-nav-cta:hover { transform: translate(-2px, -2px); }

.pub-lang-form { margin: 0; }
.pub-lang-btn {
    font-family: var(--pub-display);
    font-size: 0.85rem;
    background: transparent;
    border: 3px solid var(--pub-ink);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--pub-ink);
}
.pub-lang-btn:hover { background: var(--pub-ink); color: var(--pub-cream-text); }

.pub-nav-toggle {
    display: none;
    background: var(--pub-orange);
    border: 3px solid var(--pub-ink);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    color: var(--pub-ink);
}
.pub-nav-toggle svg { width: 26px; height: 26px; display: block; }
.pub-nav-toggle .icon-close { display: none; }
.pub-nav.is-open .pub-nav-toggle .icon-menu { display: none; }
.pub-nav.is-open .pub-nav-toggle .icon-close { display: block; }

/* --- Hero ----------------------------------------------------------------- */
.pub-hero {
    position: relative;
    background: var(--pub-purple);
    color: var(--pub-cream-text);
    border-bottom: var(--pub-border-thick);
    overflow: hidden;
    padding: 110px 0 120px;
}
/* halftone wash sitting on the purple */
.pub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--pub-dots);
    background-size: 18px 18px;
    opacity: 0.10;
    pointer-events: none;
}
.pub-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pub-hero .pub-display { font-size: clamp(2.8rem, 9vw, 7rem); }
.pub-hero .pub-lede { color: var(--pub-cream-text); font-weight: 600; max-width: 34ch; }

/* stacked headline lines so the overprint ghost aligns per line.
   Each phrase stays on one line (nowrap) so the visible text and its
   absolutely-positioned shadow never wrap out of sync. */
.pub-hero-title { display: flex; flex-direction: column; align-items: flex-start; }
.pub-line { display: block; white-space: nowrap; }
.pub-line--orange { color: var(--pub-orange); }

/* Abstract flat brand shapes scattered behind the headline. */
.pub-hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pub-shape { position: absolute; display: block; }
.pub-shape svg { display: block; width: 100%; height: 100%; }
.pub-shape--a { top: 8%;  right: 6%;  width: 190px; height: 190px; }
.pub-shape--b { bottom: 6%; right: 22%; width: 130px; height: 130px; }
.pub-shape--c { top: 18%; right: 30%; width: 90px;  height: 90px; }
.pub-shape--d { bottom: 14%; left: 4%; width: 150px; height: 150px; }

/* small compact hero for inner pages */
.pub-hero--sm { padding: 76px 0 80px; }
.pub-hero--sm .pub-display { font-size: clamp(2.4rem, 7vw, 4.6rem); }

/* --- Big word strip (kinetic-feel band) ----------------------------------- */
.pub-strip {
    background: var(--pub-ink);
    color: var(--pub-cream-text);
    border-top: var(--pub-border-thick);
    border-bottom: var(--pub-border-thick);
    overflow: hidden;
    padding: 16px 0;
}
.pub-strip-row {
    display: flex;
    width: max-content;
    gap: 28px;
    align-items: center;
    white-space: nowrap;
    font-family: var(--pub-display);
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3.4vw, 2.4rem);
    letter-spacing: 0.02em;
    /* Two identical halves scrolling -50% loop seamlessly and always fill the
       band edge-to-edge, however wide the screen. */
    animation: pub-marquee 45s linear infinite;
    will-change: transform;
}
.pub-strip-row span { display: inline-flex; align-items: center; gap: 28px; }
.pub-strip-dot { color: var(--pub-orange); }

@keyframes pub-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .pub-strip { display: flex; justify-content: center; }
    .pub-strip-row { animation: none; }
}

/* --- Section heading block ------------------------------------------------ */
.pub-head { max-width: 720px; margin-bottom: 56px; }
.pub-head .pub-lede { max-width: 60ch; }

/* --- Steps (how it works) ------------------------------------------------- */
.pub-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pub-step {
    background: var(--pub-paper);
    border: var(--pub-border);
    border-radius: 8px;
    box-shadow: var(--pub-shadow);
    padding: 30px;
    position: relative;
}
.pub-step-num {
    font-family: var(--pub-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--pub-purple);
    display: inline-block;
    margin-bottom: 14px;
}
/* Step artwork sits between the number and the copy. The assets are square social
   posts, so they get the same framed treatment as .pub-shot. aspect-ratio holds the
   box before the lazy image decodes, so the card doesn't reflow on scroll. */
.pub-step-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: var(--pub-border);
    border-radius: 6px;
    background: var(--pub-paper-2);
    box-shadow: var(--pub-shadow-sm);
    margin: 0 0 22px;
}
.pub-step h3 { font-family: var(--pub-sans); font-weight: 800; font-size: 1.4rem; margin: 0 0 10px; }
.pub-step p  { margin: 0; font-size: 1rem; }
/* Credit line under the grid, in the same italic register as .pub-shot-caption. */
.pub-steps-note {
    margin: 26px 0 0;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

/* --- Feature grid --------------------------------------------------------- */
.pub-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.pub-feature {
    background: var(--pub-paper);
    color: var(--pub-ink);            /* cards are always cream — keep ink text in any section */
    border: var(--pub-border);
    border-radius: 8px;
    box-shadow: var(--pub-shadow-sm);
    padding: 28px;
    transition: transform .1s ease, box-shadow .1s ease;
}
.pub-feature:hover { transform: translate(-3px, -3px); box-shadow: var(--pub-shadow); }
.pub-feature-ico {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: var(--pub-purple);
    color: var(--pub-cream-text);
    border: var(--pub-border);
    border-radius: 8px;
    margin-bottom: 18px;
}
.pub-feature-ico svg { width: 30px; height: 30px; }
.pub-feature--alt .pub-feature-ico { background: var(--pub-orange); color: var(--pub-ink); }
.pub-feature h3 { font-family: var(--pub-sans); font-weight: 800; font-size: 1.3rem; margin: 0 0 8px; }
.pub-feature p  { margin: 0; font-size: 1rem; }

/* --- How it works: the recipe beside the finished post --------------------- */
.pub-how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: start;
}

/* The three steps — a stack of cream cards the reader scrolls through. */
.pub-recipe { display: grid; gap: 28px; }
.pub-recipe-step {
    background: var(--pub-paper);
    color: var(--pub-ink);
    border: var(--pub-border);
    border-radius: 8px;
    box-shadow: var(--pub-shadow);
    padding: 30px;
}
.pub-recipe-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.pub-recipe-num {
    font-family: var(--pub-display);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--pub-purple);
}
/* Badged on 01 and 02 only — 03 is unbadged because it is the step you repeat. */
.pub-recipe-tag {
    font-family: var(--pub-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
    padding: 8px 14px;
    border: 2px solid var(--pub-ink);
    border-radius: 999px;
}
.pub-recipe-tag--once { background: var(--pub-paper-2); color: var(--pub-ink); }
.pub-recipe-step h3 { font-family: var(--pub-sans); font-weight: 800; font-size: 1.4rem; margin: 0 0 8px; }
.pub-recipe-step > p { margin: 0; font-size: 1rem; }

/* Label/value pairs quoting what was actually typed into each field. */
.pub-spec { margin: 24px 0 0; }
.pub-spec-row { padding: 14px 0; border-top: 1px solid var(--pub-ink); }
.pub-spec-row:last-child { padding-bottom: 0; }
.pub-spec-label {
    font-family: var(--pub-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--pub-purple);
    margin-bottom: 4px;
}
.pub-spec-value { margin: 0; font-size: 1rem; }
.pub-spec-value--quote { font-style: italic; }
.pub-spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

/* The poster rides alongside the steps. Sized by height, not width: the asset is
   9:16, so capping the height is what keeps the whole frame inside the viewport
   while it is stuck. Offset clears the sticky nav (~64px). */
.pub-shot {
    position: sticky;
    top: 88px;
    width: fit-content;
    justify-self: center;
    background: var(--pub-paper);
    border: var(--pub-border-thick);
    border-radius: 8px;
    box-shadow: var(--pub-shadow);
    overflow: hidden;
    margin: 0;
}
.pub-shot img {
    display: block;
    height: min(62vh, 620px);
    width: auto;
}
.pub-shot-caption {
    border-top: var(--pub-border-thick);
    padding: 14px 20px;
    color: var(--pub-ink);
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
}
.pub-how-note { max-width: 60ch; margin: 56px auto 0; text-align: center; }

/* --- FAQ ------------------------------------------------------------------ */
.pub-faq {
    display: grid;
    gap: 20px;
    max-width: 820px;
}
.pub-faq-item {
    background: var(--pub-paper);
    color: var(--pub-ink);
    border: var(--pub-border);
    border-radius: 8px;
    box-shadow: var(--pub-shadow-sm);
    padding: 26px 28px;
}
.pub-faq-item h3 { font-family: var(--pub-sans); font-weight: 800; font-size: 1.2rem; margin: 0 0 8px; }
.pub-faq-item p  { margin: 0; font-size: 1rem; }

/* tilt utilities for that pasted-print feel */
.pub-tilt-l { transform: rotate(-1.5deg); }
.pub-tilt-r { transform: rotate(1.5deg); }
.pub-tilt-l:hover, .pub-tilt-r:hover { transform: rotate(0) translate(-3px, -3px); }

/* --- Big number callouts -------------------------------------------------- */
.pub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pub-stat { text-align: center; }
.pub-stat-num {
    font-family: var(--pub-display);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1;
    color: var(--pub-orange);
}
.pub-stat-label { font-weight: 700; margin-top: 8px; }

/* --- Pricing -------------------------------------------------------------- */
.pub-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: start;
}
.pub-price-card {
    background: var(--pub-paper);
    border: var(--pub-border);
    border-radius: 10px;
    box-shadow: var(--pub-shadow);
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.pub-price-card--featured { background: var(--pub-purple); color: var(--pub-cream-text); }
.pub-price-card--featured .pub-price-amt { color: var(--pub-cream-text); }
.pub-price-name { font-family: var(--pub-display); text-transform: uppercase; font-size: 1.6rem; margin: 0 0 6px; }
.pub-price-blurb { font-size: 0.98rem; margin: 0 0 18px; opacity: 0.9; }
.pub-price-amt {
    font-family: var(--pub-display);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--pub-purple);
}
.pub-price-amt small { font-family: var(--pub-body); font-size: 1rem; font-weight: 600; opacity: 0.75; }
.pub-price-list { list-style: none; margin: 22px 0; padding: 0; flex: 1; }
.pub-price-list li { padding: 9px 0 9px 30px; position: relative; border-bottom: 2px dotted currentColor; }
.pub-price-list li::before {
    content: "✓";
    position: absolute; left: 0; top: 8px;
    font-weight: 900;
    color: var(--pub-orange);
}
.pub-price-card--featured .pub-price-list li::before { color: var(--pub-cream-text); }
.pub-price-badge {
    align-self: flex-start;
    font-family: var(--pub-display);
    text-transform: uppercase;
    background: var(--pub-orange);
    color: var(--pub-ink);
    border: var(--pub-border);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

/* --- CTA band ------------------------------------------------------------- */
.pub-cta-band { text-align: center; }
.pub-cta-band .pub-display { margin-bottom: 10px; }
.pub-cta-band .pub-actions { justify-content: center; }
.pub-cta-band .pub-lede { margin-left: auto; margin-right: auto; }

/* --- Contact -------------------------------------------------------------- */
.pub-contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}
.pub-contact-info .pub-display { margin-bottom: 18px; }
.pub-contact-points { list-style: none; margin: 24px 0 0; padding: 0; }
.pub-contact-points li {
    padding: 14px 0;
    border-bottom: 2px dotted var(--pub-ink);
    font-weight: 600;
}

.pub-form {
    background: var(--pub-paper);
    border: var(--pub-border-thick);
    border-radius: 10px;
    box-shadow: var(--pub-shadow);
    padding: 30px;
}
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub-field { margin-bottom: 18px; }
.pub-field label {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 7px;
}
.pub-field input,
.pub-field select,
.pub-field textarea {
    width: 100%;
    font-family: var(--pub-body);
    font-size: 1rem;
    padding: 13px 14px;
    border: var(--pub-border);
    border-radius: 6px;
    background: #fffdf7;
    color: var(--pub-ink);
}
.pub-field input:focus,
.pub-field select:focus,
.pub-field textarea:focus {
    outline: none;
    border-color: var(--pub-purple);
    box-shadow: var(--pub-shadow-sm);
}
.pub-field textarea { resize: vertical; min-height: 130px; }

.pub-challenge { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pub-challenge-q {
    font-family: var(--pub-display);
    font-size: 1.5rem;
    background: var(--pub-purple);
    color: var(--pub-cream-text);
    border: var(--pub-border);
    border-radius: 6px;
    padding: 8px 16px;
    white-space: nowrap;
}
.pub-challenge input { max-width: 130px; }

/* visually-hidden honeypot — keep in normal flow for bots, hidden for humans */
.pub-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.pub-form-status { margin-bottom: 18px; padding: 14px 16px; border: var(--pub-border); border-radius: 6px; font-weight: 700; display: none; }
.pub-form-status.is-on { display: block; }
.pub-form-status--ok  { background: var(--pub-purple); color: var(--pub-cream-text); }
.pub-form-status--err { background: var(--pub-orange); color: var(--pub-ink); }

/* --- Prose (legal pages) -------------------------------------------------- */
.pub-prose { max-width: 800px; margin: 0 auto; }
.pub-prose h2 {
    font-family: var(--pub-sans);
    font-weight: 800;
    font-size: 1.7rem;
    margin: 44px 0 14px;
    padding-bottom: 8px;
    border-bottom: var(--pub-border);
}
.pub-prose h3 { font-family: var(--pub-sans); font-weight: 800; font-size: 1.2rem; margin: 26px 0 10px; }
.pub-prose p, .pub-prose li { font-size: 1.02rem; }
.pub-prose ul, .pub-prose ol { padding-left: 22px; }
.pub-prose li { margin: 8px 0; }
.pub-prose a { color: var(--pub-purple-deep); font-weight: 700; text-decoration: underline; }
.pub-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.pub-prose th, .pub-prose td { border: 2px solid var(--pub-ink); padding: 10px 12px; text-align: left; font-size: 0.95rem; }
.pub-prose th { background: var(--pub-purple); color: var(--pub-cream-text); }
.pub-legal-footer { margin-top: 36px; font-style: italic; opacity: 0.8; }

/* --- Footer --------------------------------------------------------------- */
.pub-footer {
    background: var(--pub-ink);
    color: var(--pub-cream-text);
    border-top: var(--pub-border-thick);
    padding: 64px 0 30px;
}
.pub-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}
.pub-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pub-display);
    font-size: 1.4rem;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--pub-cream-text);
}
.pub-footer-logo { width: 30px; height: 30px; border: 2px solid var(--pub-cream-text); border-radius: 4px; }
.pub-footer-about { margin-top: 14px; max-width: 34ch; opacity: 0.8; font-size: 0.98rem; }
.pub-footer h4 {
    font-family: var(--pub-display);
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--pub-orange);
    margin: 0 0 14px;
    letter-spacing: 0.05em;
}
.pub-footer-links { list-style: none; margin: 0; padding: 0; }
.pub-footer-links li { margin: 9px 0; }
.pub-footer-links a { text-decoration: none; opacity: 0.85; font-weight: 600; }
.pub-footer-links a:hover { opacity: 1; color: var(--pub-orange); }
.pub-footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 2px solid rgba(251, 246, 234, 0.2);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Scroll reveal -------------------------------------------------------- */
.pub-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.pub-reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
    .pub-steps,
    .pub-feature-grid,
    .pub-how-grid,
    .pub-price-grid,
    .pub-stats { grid-template-columns: 1fr; }
    .pub-contact-grid { grid-template-columns: 1fr; }
    .pub-footer-grid { grid-template-columns: 1fr 1fr; }

    /* One column, so a full-width square would swallow the card. Cap and centre it. */
    .pub-step-img { max-width: 380px; margin-inline: auto; }

    /* One column: lead with the poster, then the steps that made it. Nothing to
       stick to, so it scrolls away normally and is sized by width again. */
    .pub-shot {
        position: static;
        order: -1;
        width: auto;
        max-width: 380px;
        margin: 0 auto 8px;
    }
    .pub-shot img { height: auto; width: 100%; }
}

@media (max-width: 760px) {
    body.pub-body { font-size: 17px; }
    .pub-section { padding: 64px 0; }

    .pub-nav-toggle { display: block; }
    .pub-nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: var(--pub-paper);
        border-bottom: var(--pub-border-thick);
        padding: 16px 24px 22px;
        display: none;
    }
    .pub-nav.is-open .pub-nav-links { display: flex; }
    .pub-nav-links a { border-color: var(--pub-ink); }

    .pub-form-row { grid-template-columns: 1fr; }
    .pub-footer-grid { grid-template-columns: 1fr; }

    .pub-shape--c, .pub-shape--d { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pub-reveal { transition: none; opacity: 1; transform: none; }
}
