/*
  The only stylesheet for the site: public pages, the customer area and the studio (admin).
  The site's Content-Security-Policy allows no inline styles, so everything visual lives here.

  Built on the design "BrandFrog Screens" (direction 1c: ink and paper, Young Serif and Instrument Sans).
  Green means done or posted, amber means waiting on you, persimmon is the button that moves things on.

  1  Fonts and tokens          8  Tables               16  The shell: head, tabs, account menu, foot
  2  Base                      9  Progress             17  Drawings: the sample post, the phone
  3  Layout: head, nav, foot  10  Posts and media      18  Home page
  4  Text and structure       12  Legal and contact    19  The trial: reading, then three posts
  5  Buttons                  13  Flow                 20  The customer's posts (dashboard)
  6  Forms                    14  Motion and print     21  One post
  7  Feedback                 15  Writer, photos       22  Brand profile    23  Choosing a plan
*/

/* ---------- 1. Fonts and tokens ---------- */

/* Both families are self-hosted under the SIL Open Font License (fonts/OFL-*.txt). Young Serif has one weight. */
@font-face {
    font-family: "Young Serif";
    src: url("fonts/young-serif-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Sans";
    src: url("fonts/instrument-sans-latin-var.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;

    /* Paper and ink. Colour pairs used for text all pass WCAG AA (4.5:1). */
    --paper: #f6f1e7;
    --paper-2: #ece4d4;
    --tint: #efe7d8;
    --surface: #fffdf8;
    --ink: #1c1915;
    --ink-2: #4a443b;
    --muted: #5c554b;
    --line: #e1d8c7;
    --line-soft: #ece4d4;
    --line-strong: #8c8272;
    --drop: #c9bfae;

    /* On the dark bands: the ink, a step up from it, its rules and its quiet text. */
    --ink-2-dark: #2b2620;
    --ink-line: #3a342c;
    --on-ink: #d9d0c0;

    /* One accent: persimmon, for the button that moves things on. --accent-dark is for hover and small text. */
    --accent: #c23c18;
    --accent-dark: #9f2f10;
    --accent-soft: #f6dccf;

    /* Green is done or posted; amber is waiting on you. */
    --green: #5fa35a;
    --green-on-ink: #8fcf88;
    --green-ink: #2f6a2c;
    --green-soft: #e3ecd9;
    --amber: #f2b33d;
    --amber-dot: #e0a020;
    --amber-soft: #fdf3dc;
    --amber-line: #efd08a;
    --amber-ink: #5e3d00;
    --amber-mark: #fbe6b8;
    --amber-under: #c98a12;

    /* The mark: the frog's face (wwwroot/img/frog-face.svg, inlined so the logo needs no extra request). */
    --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cg fill='%235fa35a'%3E%3Ccircle cx='19' cy='17' r='13'/%3E%3Ccircle cx='45' cy='17' r='13'/%3E%3Cellipse cx='32' cy='35' rx='29' ry='20'/%3E%3C/g%3E%3Cg fill='%23fffdf8'%3E%3Ccircle cx='19' cy='16' r='8'/%3E%3Ccircle cx='45' cy='16' r='8'/%3E%3C/g%3E%3Cg fill='%231c1915'%3E%3Ccircle cx='20.5' cy='17' r='4.4'/%3E%3Ccircle cx='46.5' cy='17' r='4.4'/%3E%3C/g%3E%3Cg fill='%23fffdf8'%3E%3Ccircle cx='22' cy='15.3' r='1.4'/%3E%3Ccircle cx='48' cy='15.3' r='1.4'/%3E%3C/g%3E%3Cg fill='%23ee8d7a'%3E%3Cellipse cx='13' cy='38' rx='5' ry='3.2'/%3E%3Cellipse cx='51' cy='38' rx='5' ry='3.2'/%3E%3C/g%3E%3Cpath d='M24 37.5 Q32 45 40 37.5' fill='none' stroke='%231c1915' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");

    --ok: #2f6a2c;
    --ok-soft: #e3ecd9;
    --warn: #5e3d00;
    --warn-soft: #fdf3dc;
    --bad: #a3271f;
    --bad-soft: #f9dcd7;
    --wait: #2d4f73;
    --wait-soft: #dde8f3;

    --serif: "Young Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --pad: clamp(1.25rem, 4vw, 2rem);
    --section: clamp(3.5rem, 2rem + 6vw, 7rem);
    --radius: 10px;
    --radius-card: 16px;
    --focus: var(--ink);
}

/* ---------- 2. Base ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 1.5rem;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
.sr-only {
    /* Read out, not shown: the words that stand in for a drawing. */
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
::selection { background: #f1c4ae; color: var(--ink); }
button, input, select, textarea { font: inherit; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.12;
}
h1 { font-size: clamp(2rem, 1.6rem + 1.9vw, 2.75rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem); margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin: 1.5rem 0 0.4rem; }
h2:first-child, h3:first-child { margin-top: 0; }
:is(h1, h2) > .muted, .card-title > .muted {
    /* a count or a note beside a heading, as in "Waiting for you 3" */
    margin-left: 0.2em;
    font-family: var(--sans);
    font-size: max(0.5em, 0.875rem);
    font-weight: 500;
    letter-spacing: 0;
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li + li { margin-top: 0.35rem; }
dl { margin: 0 0 1rem; }
dt { font-weight: 600; }
dd { margin: 0 0 0.75rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
small, .small { font-size: 0.875rem; }
strong, b { font-weight: 600; }
img, video, svg { max-width: 100%; }
code {
    font-family: var(--mono);
    font-size: 0.875em;
    padding: 0.1em 0.35em;
    border-radius: 5px;
    background: var(--paper-2);
    overflow-wrap: anywhere;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.2em;
    transition: color 0.15s;
}
a:hover { color: var(--accent-dark); }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}

details { border-block: 1px solid var(--line); }
details + details { border-top: 0; }
summary {
    position: relative;
    padding: 0.9rem 2.25rem 0.9rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    /* A plus that becomes a minus. */
    content: "";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    width: 0.875rem;
    height: 0.875rem;
    margin-top: -0.4375rem;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
    transition: transform 0.2s;
}
details[open] > summary::after {
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
    transform: rotate(180deg);
}
summary:hover { color: var(--accent-dark); }
details > :not(summary):last-child { margin-bottom: 1.1rem; }

/* ---------- 3. Layout: head, nav, foot ---------- */

.wrap {
    width: 100%;
    max-width: calc(66rem + 2 * var(--pad));
    margin-inline: auto;
    padding-inline: var(--pad);
}
.wrap.narrow { max-width: calc(45rem + 2 * var(--pad)); }
.narrow { max-width: 45rem; margin-inline: auto; }

main { flex: 1 0 auto; }
main.full { width: 100%; }
main.page { padding-block: clamp(2rem, 1.2rem + 3.5vw, 4rem) clamp(3rem, 2rem + 4vw, 5.5rem); }

/* The head is dark on every page, as on the home page's hero. */
.site-head { background: var(--ink); color: var(--paper); --focus: var(--paper); }
.site-head-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 1.5rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    margin-block: 0.625rem; /* with the margin, the head is 4rem tall, and stays so when the phone menu opens under it */
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.brand::before {
    /* The frog, beside the name. */
    content: "";
    flex: none;
    width: 2.1rem;
    aspect-ratio: 64 / 56;
    background: var(--mark) center / contain no-repeat;
}
.brand:hover { color: inherit; }
body.home .brand { font-size: 1.5rem; }
body.home .brand::before { width: 2.4rem; }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0 1.6rem;
    min-width: 0;
    font-size: 0.9375rem;
}
@media (min-width: 56em) {
    /* The name and the links share one row; if the links ever outgrow it they wrap among themselves. */
    .site-head-in { flex-wrap: nowrap; }
}
@media (min-width: 56em) and (max-width: 68.99em) {
    /* The customer area has eight links: closer together here, so they stay on one line. */
    .site-nav { gap: 0 1.1rem; }
}
.site-nav form { display: contents; }
.site-nav a:not(.btn), .site-nav button.link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: inherit;
    font-weight: 500;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 transparent;
    transition: box-shadow 0.15s, color 0.15s;
}
.site-nav a:not(.btn):hover, .site-nav button.link:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--ink-line); }
.site-nav a.on { font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }
.site-nav a.login { min-height: 2.6rem; padding: 0 1.1rem; border: 1.5px solid var(--paper); border-radius: 999px; box-shadow: none; }
.site-nav a.login:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
.nav-toggle { display: none; }

@media (max-width: 55.99em) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        min-height: 2.75rem;
        margin-block: 0.625rem;
        margin-right: -0.4rem;
        padding: 0 0.4rem;
        border: 0;
        background: none;
        color: inherit;
        font: 600 0.9375rem/1 var(--sans);
        cursor: pointer;
    }
    .nav-toggle::after {
        /* Two bars that become a cross. */
        content: "";
        width: 1.1rem;
        height: 0.6rem;
        background:
            linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
            linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
    }
    .nav-toggle[aria-expanded="true"]::after {
        height: 1.1rem;
        background:
            linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)),
            linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
    }
    .site-nav {
        display: none;
        flex-basis: 100%;
        flex-flow: column nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding-bottom: 1.25rem;
        font-size: 1.0625rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn), .site-nav button.link {
        min-height: 3rem;
        width: 100%;
        border-top: 1px solid var(--ink-line);
        box-shadow: none;
        text-align: left;
    }
    .site-nav a:not(.btn):hover, .site-nav button.link:hover { box-shadow: none; color: #fff; }
    .site-nav a.on { box-shadow: inset 3px 0 0 var(--green); padding-left: 0.8rem; }
    .site-nav a.login { justify-content: center; margin-top: 1rem; border-top: 1.5px solid var(--paper); }
    .site-nav .btn, .site-nav .btn.small { margin-top: 1rem; min-height: 2.75rem; font-size: 1rem; }

    /* With scripts off the button can't open anything, so the menu just shows. */
    @media (scripting: none) {
        .nav-toggle { display: none; }
        .site-nav { display: flex; }
    }
}

/* The studio's own pages say so in the head, so it's plain which side you're on. */
.area-admin .brand::after { content: "studio"; margin-left: 0.2rem; padding: 0.2rem 0.5rem; border-radius: 999px; background: var(--accent); font: 600 0.72rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }

.site-foot {
    border-top: 1px solid var(--line);
    padding-block: 1.5rem 2rem;
    font-size: 0.875rem;
    color: var(--muted);
}
.site-foot-in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
}
.site-foot-in > span { padding-block: 0.4rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-foot a { display: inline-block; padding-block: 0.4rem; text-decoration-color: var(--line-strong); }

/* ---------- 4. Text and structure ---------- */

.lede {
    font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 40rem;
}
.muted { color: var(--muted); }
.right { text-align: right; }
.row > .right { margin-left: auto; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.page-head h1 { margin-bottom: 0; }
.page-head p { margin: 0.5rem 0 0; }
.page-head .lede { margin: 0.75rem 0 0; }
.page-head .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.25rem; }
@media (min-width: 46em) {
    .page-head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; }
    .page-head > * { grid-column: 1; }
    .page-head > .actions { grid-column: 2; grid-row: 1 / span 3; justify-content: flex-end; margin-top: 0; }
}

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; }
.row.between { justify-content: space-between; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 40em) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48em) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.split { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 56em) { .split { grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: 2.5rem; } }

.card {
    --card-pad: clamp(1.1rem, 0.8rem + 1.5vw, 1.6rem);
    padding: var(--card-pad);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-title {
    margin: 0 0 0.75rem;
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 450;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.card-title a { text-decoration-thickness: 0.06em; }

/* A folded block drawn as a card: the summary is the card's face. */
details.card { padding: 0; border: 1px solid var(--line); }
details.card > summary { padding: 0.85rem 3rem 0.85rem var(--card-pad); font-weight: 500; }
details.card > summary::after { right: var(--card-pad); }
details.card > :not(summary) { margin-inline: var(--card-pad); }
details.card > :not(summary):last-child { margin-bottom: var(--card-pad); }

.empty {
    padding: clamp(1.75rem, 1rem + 4vw, 3rem) 1.25rem;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-card);
    color: var(--muted);
    text-align: center;
}
.empty > :last-child { margin-bottom: 0; }
.empty h2, .empty h3, .empty strong { color: var(--ink); }

.kv {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    border-bottom: 1px solid var(--line);
}
.kv > div { display: contents; }
.kv dt { padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.kv dd { margin: 0; padding-bottom: 0.7rem; min-width: 0; }
@media (min-width: 34em) {
    .kv { grid-template-columns: minmax(6rem, max-content) minmax(0, 1fr); }
    .kv dt, .kv dd { padding-block: 0.7rem; border-top: 1px solid var(--line); }
    .kv dt { padding-right: 1.75rem; font-size: inherit; } /* padding, not a column gap, so the rule runs unbroken */
}
.kv.card { padding-block: calc(var(--card-pad) - 0.7rem); border-bottom: 1px solid var(--line); }
.kv.card > dt:first-of-type, .kv.card > div:first-child > dt { border-top: 0; }
@media (min-width: 34em) { .kv.card > dt:first-of-type + dd, .kv.card > div:first-child > dd { border-top: 0; } }

.tabs {
    display: flex;
    gap: 0 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    box-shadow: inset 0 -1px 0 var(--line);
    scrollbar-width: thin;
}
.tabs a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.tabs a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.tabs a:focus-visible { outline-offset: -2px; }

/* ---------- 5. Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.5rem 1.3rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 600 1rem/1.2 var(--sans);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { border-radius: 999px; }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn.primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
.btn.quiet { border-color: transparent; }
.btn.quiet:hover { background: var(--paper-2); color: var(--ink); }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.danger:hover, .btn.danger.primary { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger.primary:hover { background: #821d17; border-color: #821d17; }
.btn.small { min-height: 2.25rem; padding: 0.3rem 0.95rem; font-size: 0.875rem; }
.btn.wide { display: flex; width: 100%; }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"], .btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
a.btn[aria-disabled="true"], a.btn.disabled { pointer-events: none; }
.btn:disabled:hover, .btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink); }
.btn.primary:disabled:hover, .btn.primary[aria-disabled="true"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger:disabled:hover { background: transparent; color: var(--bad); }

button.link {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.2em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
button.link:hover { color: var(--accent-dark); }

/* ---------- 6. Forms ---------- */

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend {
    float: left; /* lets the legend take part in normal flow, so spacing is the same in every browser */
    width: 100%;
    margin: 0 0 0.9rem;
    padding: 0 0 0.45rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
}
legend + * { clear: both; }

.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field > * { margin: 0; }
.field > label, .field > .label { font-size: 0.9375rem; font-weight: 600; }
.hint { margin: 0; font-size: 0.875rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.error, .field-validation-error, .validation-summary-errors { color: var(--bad); }
:is(p, span, small, div, li).error:not(.field), .field-validation-error, .validation-summary-errors { font-size: 0.875rem; font-weight: 600; }
.field-validation-valid, .validation-summary-valid { display: none; }

.field-row { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) {
    .field-row { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; align-items: start; }
}

input:where(:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"], [type="hidden"], [type="submit"], [type="button"], [type="reset"], [type="image"])),
select,
textarea {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background-color: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 1rem; /* 16px keeps iOS from zooming in on focus */
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 6.5rem; resize: vertical; }
select {
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c1915' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 0.75rem;
}
::placeholder { color: #7b7165; opacity: 1; }
input:where(:not([type="checkbox"], [type="radio"], [type="file"])):hover, select:hover, textarea:hover { border-color: var(--ink); }
input:where(:not([type="checkbox"], [type="radio"], [type="file"])):focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 1px;
    border-color: var(--ink);
    border-radius: var(--radius);
}
input:disabled, select:disabled, textarea:disabled { background-color: var(--paper-2); color: var(--muted); cursor: not-allowed; }
input[readonly], textarea[readonly] { background-color: var(--paper); }
.field.error :is(input, select, textarea),
.field:has(> .error) :is(input, select, textarea),
.input-validation-error { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad); }

input[type="file"] {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink-2);
    font: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
}
input[type="file"]:hover { border-color: var(--ink); }
input[type="file"]::file-selector-button {
    margin-right: 0.8rem;
    padding: 0.45rem 0.95rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 600 0.875rem/1.2 var(--sans);
    cursor: pointer;
}

input[type="checkbox"], input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--ink);
    cursor: pointer;
}

/* A label wrapping a checkbox or radio and its text. The box sits in the left padding, so whatever
   the label holds (text, a span, a hint) flows normally beside it. */
.check {
    position: relative;
    display: block;
    min-height: 1.6rem;
    padding-left: 1.85rem;
    font-weight: 400;
    cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] { position: absolute; left: 0; top: 0.22rem; }
.check .hint { display: block; margin-top: 0.15rem; }

.choices { display: grid; gap: 0.7rem; }
.choices.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.75rem; }
.choices.cards > .check {
    padding: 0.95rem 1rem 0.95rem 2.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.choices.cards > .check input { left: 1rem; top: 1.18rem; }
.choices.cards > .check:hover { border-color: var(--ink); }
.choices.cards > .check:has(input:checked) {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--ink);
    background: #fff;
}
.choices.cards > .check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choices.cards > .check:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }

/* ---------- 7. Feedback ---------- */

.notice {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-left: 4px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper-2);
    color: var(--ink);
}
.notice > :last-child { margin-bottom: 0; }
.notice.ok { background: var(--ok-soft); border-color: #b9dcc6; border-left-color: var(--ok); }
.notice.warn { background: var(--warn-soft); border-color: #ecd08b; border-left-color: #b97700; }
.notice.bad { background: var(--bad-soft); border-color: #efb9b1; border-left-color: var(--bad); }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 0.72rem; /* a pill on one line, a soft box if the text wraps */
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    vertical-align: 0.1em;
}
.badge.ok { background: var(--ok-soft); color: #17543a; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: #8f2019; }
.badge.wait { background: var(--wait-soft); color: var(--wait); }
.badge.quiet { background: transparent; border-color: var(--line-strong); color: var(--muted); }

/* ---------- 8. Tables ---------- */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table-wrap > .table { min-width: 34rem; }
.table th, .table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { border-bottom-color: var(--line-strong); font-size: 0.8125rem; font-weight: 600; color: var(--muted); white-space: nowrap; vertical-align: bottom; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table th.num, .table td.num, .table th.right, .table td.right { text-align: right; }
.table tbody tr:hover { background: rgba(28, 25, 21, 0.03); }
.card > .table-wrap:last-child .table tr:last-child td { border-bottom: 0; }

/* ---------- 9. Progress ---------- */

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps.card { padding: var(--card-pad); }
.steps > li {
    position: relative;
    margin: 0;
    padding: 0.2rem 0 1.5rem 2.9rem;
    counter-increment: step;
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink-2);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}
.steps > li::after {
    content: "";
    position: absolute;
    left: calc(1rem - 1px);
    top: 2.3rem;
    bottom: 0.3rem;
    width: 2px;
    background: var(--line);
}
.steps > li:last-child::after { display: none; }
.steps > li.done::before {
    content: "";
    border-color: var(--ok);
    background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.steps > li.done::after { background: var(--ok); }
.steps > li.done { color: var(--muted); }
.steps > li.todo::before { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.steps strong { display: block; color: var(--ink); }
.steps a { font-weight: 600; }
.card .steps > li::before, .steps.card > li::before { background-color: var(--surface); }
.card .steps > li.done::before, .steps.card > li.done::before { background-color: var(--ok); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.75rem; }
.stat {
    padding: 0.95rem 1.1rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.stat-n {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    font-weight: 450;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.stat-n .muted { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.stat-l { display: block; margin-top: 0.2rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- 10. Posts and media ---------- */

/* The frame holds a post's media, drawn like a phone screen, and an optional caption under it: a 9:16
   video, or the pictures of a carousel or photo post. Its width follows from the tallest a video may
   be, so the shape never breaks and videos and pictures line up in a list. */
.media-frame {
    --media-h: min(74vh, 38rem);
    width: min(100%, calc(var(--media-h) * 9 / 16));
    margin: 0;
}
.media-frame.small { --media-h: 20rem; }
.media-frame > video, .media-frame > img, .media-frame .slides {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border: 5px solid var(--ink);
    border-radius: 1.6rem;
    background: var(--ink);
}
.media-frame.small > video, .media-frame.small > img, .media-frame.small .slides { border-width: 4px; border-radius: 1.15rem; }
.media-frame > video:focus-visible, .media-frame .slides:focus-visible { outline-offset: 3px; border-radius: 1.6rem; }

/* Pictures are shown 4:5, the shape Instagram gives a photo post, at the same width as a video. */
.media-frame.images > img, .media-frame.images .slides { aspect-ratio: 4 / 5; }

/* A strip of pictures to go through sideways: one picture fills the frame, and a swipe, a two-finger
   scroll or the arrow keys (the strip takes focus) move to the next. The thin scrollbar is there for
   a mouse, and shows how far along you are. */
.media-frame .slides {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) var(--ink);
}
.media-frame .slides > img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.media-flag { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); text-align: center; }
.media-flag + .media-flag { margin-top: 0.15rem; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(8.5rem, 20vw, 13rem), 1fr));
    gap: 2rem 1.25rem;
}
.post-card { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; color: inherit; text-decoration: none; }
.post-card > * { margin: 0; }
.post-card .media-frame { width: 100%; margin-bottom: 0.4rem; }
.post-card h2, .post-card h3, .post-card > strong {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}
.post-card :is(h2, h3) a { text-decoration-color: transparent; }
.post-card :is(h2, h3) a:hover { text-decoration-color: var(--accent); }
.post-card p, .post-card small { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.post-card > .btn, .post-card > .badge { align-self: flex-start; }
.post-card > .btn { margin-top: 0.3rem; }

.review { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.review > * { min-width: 0; }
.review > :first-child .media-frame, .review > .media-frame { --media-h: min(64vh, 34rem); margin-inline: auto; }
@media (min-width: 52em) {
    .review {
        --media-h: min(74vh, 36rem);
        grid-template-columns: calc(var(--media-h) * 9 / 16) minmax(0, 1fr);
        gap: clamp(2rem, 5vw, 4rem);
    }
    .review > :first-child { position: sticky; top: 1.5rem; }
    .review > :first-child .media-frame, .review > .media-frame { width: 100%; }
}

/* ---------- 12. Legal and contact pages ---------- */

.prose > h1 { margin-bottom: 0.5rem; }
.prose > .lede { margin-bottom: 2rem; }
.prose h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose address { font-style: normal; color: var(--ink-2); margin: 0 0 1rem; }
.prose .updated { margin: 0 0 1.5rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- 13. Flow ---------- */

/* Vertical rhythm for a run of blocks. These come after every component on purpose: a component's
   own margins give way to the container it's placed in. */
.stack > *, .form > *, .row > * { margin-block: 0; }
.stack > * + *, main.page > * + * { margin-top: 1.5rem; }
.stack > * + h2, main.page > * + h2 { margin-top: 2.75rem; }
.stack > * + h3 { margin-top: 2rem; }
.stack > :is(h1, h2, h3) + * { margin-top: 0.9rem; }
main.page > section + section, main.page > * + section:has(> h2:first-child) { margin-top: 3rem; }
:is(.stack, main.page) > details:not(.card) + details:not(.card) { margin-top: 0; }
:is(.stack, main.page) > details.card + details.card { margin-top: 0.6rem; }
:is(.stack, main.page) > .notice + .notice { margin-top: 0.6rem; }
.stack.tight > * + * { margin-top: 0.6rem; }

.form > * + * { margin-top: 1.25rem; }
.form > fieldset + *, .form > * + fieldset { margin-top: 2rem; }
fieldset > * { margin-block: 0; }
fieldset > * + * { margin-top: 1.1rem; }
fieldset > legend { margin-bottom: 0.9rem; }
fieldset > legend + * { margin-top: 0; }
:is(.form, fieldset, .stack) > * + .hint { margin-top: 0.6rem; }

/* ---------- 14. Motion and print ---------- */

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

@media print {
    .site-nav, .nav-toggle, .btn, video { display: none !important; }
    body { background: #fff; }
    .band.dark, .band.accent, .plan.usual { background: #fff; color: #000; }
}


/* ---------- 15. The writer's progress, photos, colours ---------- */

.check.small { font-size: 0.875rem; }

/* The dashboard while the writer works. */
.progress { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.progress li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.progress li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45rem; width: 0.7rem; height: 0.7rem; border: 2px solid var(--line-strong); border-radius: 50%; }
.progress li.done { color: var(--ink); }
.progress li.done::before { border-color: var(--ok); background: var(--ok); }
.progress li.now { color: var(--ink); font-weight: 600; }
.progress li.now::before { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .progress li.now::before { animation: none; border-top-color: var(--accent); } }

/* The photo library. */
.photo-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.photo-grid li { display: grid; gap: 0.35rem; align-content: start; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); }
.photo-grid li.off img { opacity: 0.4; filter: grayscale(1); }
.photo-grid p { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.photo-grid form { margin: 0; }
.colours { display: flex; flex-wrap: wrap; gap: 1rem; }
.colours .field { flex: 1 1 8rem; }
.colours input[type="color"] { width: 100%; height: 2.6rem; padding: 0.2rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.logo-preview { max-width: 10rem; max-height: 5rem; object-fit: contain; }

/* ---------- 16. The shell: the dark head, the customer's tabs, the foot ---------- */

/* The customer area's head: the name, three tabs and the account menu. On a phone the tabs take a row
   of their own under the name, so nothing hides behind a menu button. */
.area-app .wrap { max-width: calc(72rem + 2 * var(--pad)); }
.flash { padding-top: 1.25rem; }
.flash .notice { margin: 0; }
.app-head-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 2rem; }
.app-head .brand { font-size: 1.2rem; }
.app-tabs {
    order: 3;
    flex: 1 1 100%;
    display: flex;
    gap: 0.25rem;
    margin: 0 calc(-1 * var(--pad));
    padding: 0 calc(var(--pad) - 0.875rem);
    overflow-x: auto;
    font-size: 0.9375rem;
    font-weight: 500;
    scrollbar-width: none;
}
.app-tabs a {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 0.875rem;
    color: var(--on-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, box-shadow 0.15s;
}
.app-tabs a:hover { color: #fff; box-shadow: inset 0 -3px 0 var(--ink-line); }
.app-tabs a.on { color: var(--paper); box-shadow: inset 0 -3px 0 var(--green); }
.app-tabs a:focus-visible { outline-offset: -3px; }
.count {
    display: inline-block;
    min-width: 1.4rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: var(--amber);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
@media (min-width: 47.5em) {
    .app-tabs { order: 0; flex: 1 1 auto; margin: 0; padding: 0; }
}

/* The account menu: everything that isn't one of the three tabs. A details element, so it opens
   without scripts; site.js closes it on a click elsewhere or Escape. */
.acct { position: relative; border: 0; }
.acct > summary {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    height: 4rem;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
}
.acct > summary::after {
    position: static;
    width: 0.55rem;
    height: 0.55rem;
    margin: -0.2rem 0 0 0.1rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    background: none;
    transform: rotate(45deg);
}
.acct[open] > summary::after { background: none; transform: rotate(-135deg); margin-top: 0.25rem; }
.acct > summary:hover { color: #fff; }
.acct-name { display: none; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 47.5em) { .acct-name { display: inline; } }
.avatar { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.avatar text { font: 400 15px Georgia, serif; }
.acct-menu {
    position: absolute;
    right: 0;
    top: calc(100% - 0.4rem);
    z-index: 30;
    width: max-content;
    min-width: 15.5rem;
    margin: 0;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 18px 40px -18px rgba(28, 25, 21, 0.45);
    list-style: none;
    --focus: var(--ink);
}
.acct-menu li { margin: 0; }
.acct-menu li.sep { margin: 0.35rem 0.4rem; border-top: 1px solid var(--line-soft); }
.acct-menu a, .acct-menu button {
    display: block;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 0;
    border-radius: 9px;
    background: none;
    color: inherit;
    font: 500 0.9375rem/1.3 var(--sans);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--tint); color: var(--ink); }
.acct-menu a.on { font-weight: 700; }
.acct-menu small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.acct-menu form { margin: 0; }

/* The head with nothing but the name, while the trial reads a site: one thing to look at. */
.site-head.minimal .site-head-in { min-height: 4rem; }
.head-note { font-size: 0.875rem; color: var(--on-ink); }

/* The public foot is dark like the head; the customer's and the studio's stay quiet. */
.area-public .site-foot { border-top: 1px solid var(--ink-line); background: var(--ink); color: var(--on-ink); --focus: var(--paper); }
.area-public .site-foot a { color: inherit; text-decoration: none; }
.area-public .site-foot a:hover { color: #fff; }
.foot-name { display: inline-flex; align-items: center; gap: 0.5rem; }
.foot-name::before { content: ""; width: 1.6rem; aspect-ratio: 64 / 56; background: var(--mark) center / contain no-repeat; }
body.home .site-foot { border-top-color: var(--ink-line); }

/* ---------- 17. Drawings shared by pages: the sample post and the phone ---------- */

/* A sample post for the made-up bakery: its photo and headline, in three of its looks. The type is the
   bakery's (Georgia), not ours, and sizes are in container units so a tile reads the same at any size. */
.tile {
    container-type: inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #24324a;
    color: #f4e9d3;
    font-family: Georgia, "Times New Roman", serif;
}
.tile img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.tile-title { display: block; font-size: 8.2cqi; line-height: 1.08; }
.tile-kicker {
    display: block;
    margin-top: 3cqi;
    font: 400 max(7px, 3.4cqi)/1.2 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.tile.navy img { flex: 1; }
.tile.navy .tile-text { padding: 5cqi 6cqi 5.5cqi; }
/* Container units measure the nearest container above an element, so the cream look's padding sits on an
   inner box, not on the tile itself. */
.tile.cream { background: #f4e9d3; color: #24324a; }
.tile-in { display: flex; flex-direction: column; gap: 4cqi; height: 100%; padding: 6cqi; }
.tile.cream .tile-kicker { order: -1; margin: 0; color: #8a5a12; }
.tile.cream .tile-title { font-size: 10cqi; line-height: 1.02; }
.tile.cream img { flex: 1; border-radius: 3cqi; }
.tile.ochre img { position: absolute; inset: 0; }
.tile.ochre .tile-text {
    position: absolute;
    left: 5cqi;
    right: 12cqi;
    bottom: 5cqi;
    padding: 4cqi 5cqi 4.5cqi;
    border-radius: 2cqi;
    background: #c98a2b;
    color: #1f2a3e;
}
.tile.ochre .tile-title { font-size: 8cqi; line-height: 1.05; }
.tile.ochre .tile-kicker { margin-top: 2.5cqi; font-size: max(7px, 3.2cqi); }

/* A phone with a chat on it, drawn the way WhatsApp or Telegram look in light mode. Colours are the
   apps' own; no logos. It's a drawing, so it's hidden from screen readers and described in words beside it. */
.phone {
    flex: none;
    width: 316px;
    height: 656px;
    padding: 8px;
    border-radius: 50px;
    background: var(--ink);
    box-shadow: 0 0 0 1.5px #3b352d inset, 0 30px 60px -20px rgba(0, 0, 0, 0.45);
    color: #111b21;
    font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.35;
    text-align: left;
}
.ph-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 42px; background: #efeae2; }
.ph-screen::before { /* the island */
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    width: 90px;
    height: 26px;
    border-radius: 20px;
    background: #000;
    transform: translateX(-50%);
}
.ph-screen::after { /* the home bar */
    content: "";
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 110px;
    height: 4px;
    border-radius: 3px;
    background: #111;
    transform: translateX(-50%);
}
.ph-status {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 4px 26px 0;
    background: #f6f6f6;
    font-size: 14px;
    font-weight: 600;
}
.ph-sig { display: flex; align-items: center; gap: 5px; }
.ph-sig .bars { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.ph-sig .bars i { width: 3px; border-radius: 1px; background: #111; }
.ph-sig .bars i:nth-child(1) { height: 4px; }
.ph-sig .bars i:nth-child(2) { height: 6px; }
.ph-sig .bars i:nth-child(3) { height: 8px; }
.ph-sig .bars i:nth-child(4) { height: 10px; }
.ph-sig .bat { display: flex; width: 21px; height: 10px; padding: 1px; border: 1.2px solid #111; border-radius: 3px; }
.ph-sig .bat::before { content: ""; flex: 1; border-radius: 1px; background: #111; }
.ph-head { flex: none; display: flex; align-items: center; gap: 9px; padding: 6px 12px 9px; border-bottom: 1px solid #dcdcdc; background: #f6f6f6; }
.ph-head .back { margin-top: -3px; font-size: 26px; font-weight: 300; line-height: 1; }
.ph-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e6f0e1; }
.ph-avatar img { width: 25px; height: 22px; }
.ph-who { display: flex; flex-direction: column; gap: 1px; }
.ph-who b { font-size: 15px; font-weight: 600; }
.ph-who small { font-size: 11.5px; color: #667781; }
.ph-chat {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 10px 10px 8px;
    overflow: hidden;
    background-color: #efeae2;
    background-image: radial-gradient(rgba(84, 72, 54, 0.07) 1px, transparent 1.3px);
    background-size: 13px 13px;
}
.phone p { margin: 0; }
.ph-day { flex: none; align-self: center; padding: 3px 9px; border-radius: 7px; background: #fff; color: #54656f; font-size: 11px; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.ph-in, .ph-out {
    flex: none;
    max-width: 236px;
    padding: 6px 8px 4px;
    border-radius: 0 9px 9px 9px;
    background: #fff;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.ph-in { align-self: flex-start; }
.ph-out { align-self: flex-end; border-radius: 9px 0 9px 9px; background: #d9fdd3; }
.ph-time { float: right; margin: 6px 0 -2px 10px; font-size: 10.5px; color: #667781; }
.ph-ticks { color: #1f8fd0; letter-spacing: -3px; }
.ph-card { flex: none; align-self: flex-start; width: 228px; overflow: hidden; border-radius: 9px; background: #fff; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.ph-pic { display: block; width: 222px; height: 184px; margin: 3px 3px 0; overflow: hidden; border-radius: 6px; }
.ph-pic .tile { height: 184px; }
.ph-pic .tile img { object-position: center 40%; }
.ph-cap { padding: 6px 8px 2px; }
.ph-when { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 3px 8px 5px; font-size: 11.5px; color: #54656f; }
.ph-when span:last-child { flex: none; font-size: 10.5px; color: #667781; }
.ph-reply { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-top: 1px solid #e9edef; color: #027eb5; font-size: 14px; font-weight: 500; }
.ph-reply::before { content: "\21A9"; font-size: 13px; }
.ph-foot { flex: none; display: flex; align-items: center; gap: 9px; padding: 7px 10px 24px; border-top: 1px solid #dcdcdc; background: #f6f6f6; }
.ph-foot .plus { font-size: 24px; font-weight: 300; line-height: 1; color: #54656f; }
.ph-foot .box { flex: 1; display: flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid #e2e2e2; border-radius: 16px; background: #fff; color: #667781; }
.ph-foot .send { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #1f9d6b; }

/* Telegram: a centred title, a green wallpaper, rounder bubbles, and the buttons under the message. */
.phone.tg .ph-head { display: grid; grid-template-columns: 70px 1fr 70px; padding: 4px 12px 8px; border-bottom-color: #d8d8d8; }
.phone.tg .ph-head .back { display: flex; align-items: center; gap: 2px; margin: 0; color: #1b72c0; font-size: 15px; }
.phone.tg .ph-head .back::before { content: "\2039"; margin-top: -3px; font-size: 24px; font-weight: 300; }
.phone.tg .ph-who { align-items: center; }
.phone.tg .ph-who small { color: #6d6d72; }
.phone.tg .ph-avatar { justify-self: end; }
.phone.tg .ph-chat { background: radial-gradient(rgba(40, 70, 30, 0.1) 1.2px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(155deg, #d4e0ae 0%, #aecb9c 48%, #d8dba3 100%); }
.phone.tg .ph-day { padding: 3px 10px; border-radius: 10px; background: rgba(36, 58, 30, 0.62); color: #fff; font-size: 11.5px; font-weight: 500; box-shadow: none; }
.phone.tg .ph-in, .phone.tg .ph-out { padding: 6px 10px 5px; border-radius: 16px 16px 16px 4px; box-shadow: none; }
.phone.tg .ph-out { border-radius: 16px 16px 4px 16px; background: #effedd; }
.phone.tg .ph-out .ph-time { color: #3f8a3e; }
.phone.tg .ph-time { color: #6d6d72; }
.phone.tg .ph-card { display: flex; flex-direction: column; gap: 4px; overflow: visible; background: none; box-shadow: none; }
.phone.tg .ph-card > div { padding: 3px; overflow: hidden; border-radius: 16px 16px 16px 4px; background: #fff; }
.phone.tg .ph-pic { margin: 0; border-radius: 13px 13px 4px 4px; }
.phone.tg .ph-cap { padding: 6px 7px 2px; }
.phone.tg .ph-when { padding: 3px 7px; color: #5b5b60; }
.phone.tg .ph-when span:last-child { color: #6d6d72; }
.tg-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tg-keys span { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; background: rgba(36, 58, 30, 0.62); color: #fff; font-size: 14px; font-weight: 600; }
.tg-keys span:first-child { grid-column: 1 / -1; }
.tg-tapped { display: block; margin-bottom: 1px; color: #2f6a2c; font-size: 12px; font-weight: 600; }
.phone.tg .ph-foot { border-top-color: #d8d8d8; }
.phone.tg .ph-foot .plus { color: #6d6d72; font-size: 22px; }
.phone.tg .ph-foot .box { border-color: #d8d8d8; color: #6d6d72; }
.phone.tg .ph-foot .send { background: #2a86d6; }

/* ---------- 18. Home page ---------- */

body.home .site-head { border-bottom: 0; }
/* On the home page the head and foot line up with its wider sections. */
body.home { --gutter: clamp(1.25rem, 5vw, 4rem); }
body.home .site-head .wrap, body.home .site-foot .wrap { max-width: calc(72rem + 2 * var(--gutter)); padding-inline: var(--gutter); }
.hm { --gutter: clamp(1.25rem, 5vw, 4rem); }
.hm .wrap { max-width: calc(72rem + 2 * var(--gutter)); padding-inline: var(--gutter); }
.hm-dark { background: var(--ink); color: var(--paper); --focus: var(--paper); }
.hm-band { padding-block: clamp(4rem, 2.5rem + 6vw, 7rem); }
.hm-ruled { padding-top: 0; }
.hm-ruled > .wrap > .hm-in { padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); border-top: 1px solid var(--line); }
.hm-eyebrow { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hm-h2 {
    max-width: 16em;
    margin: 0.6rem 0 2.5rem;
    font-size: clamp(1.875rem, 1.25rem + 2.5vw, 3.125rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
}
.hm-h2:first-child { margin-top: 0; }
.hm-lede { max-width: 36em; margin: -1.5rem 0 2.25rem; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hm-dark .hm-lede { color: var(--on-ink); }
.hm-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }

/* The hero: the pitch as three chat bubbles, the form, and a phone with a post waiting. */
.hm-hero { padding-bottom: 0; }
.hm-hero-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem; padding-top: clamp(0.75rem, 3vw, 2.5rem); }
.hm-pitch { flex: 1 1 35rem; min-width: 0; padding-top: clamp(0rem, 2vw, 1.75rem); }
.hm-pitch h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    margin: 0 0 1.75rem;
    font-size: clamp(1.6rem, 1rem + 2.75vw, 2.875rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
}
.hm-pitch h1 > span { max-width: 100%; padding: 0.28em 0.65em 0.36em; border-radius: 1.4em 1.4em 1.4em 0.35em; background: #332d26; }
.hm-pitch h1 > span:nth-child(2) { margin-left: clamp(1rem, 2.5vw, 2rem); background: var(--green); color: var(--ink); }
.hm-pitch h1 > span:nth-child(3) {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-left: clamp(0rem, 5vw, 4rem);
    border-radius: 1.4em 1.4em 0.35em 1.4em;
    background: var(--paper);
    color: var(--ink);
}
.hm-pitch h1 small { display: none; margin-bottom: 0.4em; font: 500 0.8125rem var(--sans); color: var(--muted); white-space: nowrap; }
@media (min-width: 22.5em) { .hm-pitch h1 > span { white-space: nowrap; } }
@media (min-width: 52em) { .hm-pitch h1 small { display: inline; } }
.hm-pitch .lede { max-width: 32em; margin: 0; font-size: clamp(1.03rem, 0.95rem + 0.4vw, 1.1875rem); color: var(--on-ink); text-wrap: pretty; }

/* The free-posts form: a pill on a wide screen, a stack on a phone. */
.hm-try { max-width: 42.5rem; margin-top: 2rem; }
.hm-try-box { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.375rem; border-radius: 24px; background: var(--paper); color: var(--ink); --focus: var(--ink); }
.hm-try-box label { position: relative; display: block; }
.hm-try-box input:where(:not([type="checkbox"])) {
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 0;
    border-radius: 18px;
    background: transparent;
    font-size: 1rem;
}
.hm-try-box input:where(:not([type="checkbox"])):hover { background: rgba(28, 25, 21, 0.04); }
.hm-try-box label + label { border-top: 1px solid var(--line); }
.hm-go {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0 1.6rem;
    border: 0;
    border-radius: 19px;
    background: var(--accent);
    color: #fff;
    font: 600 1.03rem/1.2 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s;
}
.hm-go:hover { background: var(--accent-dark); color: #fff; }
.hm-go::after { content: "\2192"; font-size: 1.15rem; }
@media (min-width: 52em) {
    .hm-try-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 0; border-radius: 999px; }
    .hm-try-box input:where(:not([type="checkbox"])) { padding-inline: 1.4rem; border-radius: 999px; }
    .hm-try-box label + label { border-top: 0; border-left: 1px solid var(--line); }
    .hm-go { min-height: 3.375rem; border-radius: 999px; }
}
.hm-try-terms { margin: 1rem 0 0 clamp(0.25rem, 1.7vw, 1.4rem); color: var(--on-ink); font-size: 0.9rem; }
.hm-try-terms a { color: var(--paper); text-decoration-color: var(--on-ink); }
.hm-try-terms input { accent-color: var(--green); }
.hm-try-note { margin: 0.35rem 0 0 clamp(0.25rem, 1.7vw, 1.4rem); color: var(--on-ink); font-size: 0.9rem; }

.hm-art { position: relative; flex: 0 1 25rem; display: flex; justify-content: center; min-width: 0; height: clamp(540px, 52vw, 660px); margin: 0 auto; overflow: hidden; }
.hm-art::before { content: ""; position: absolute; top: 70px; left: 50%; width: 440px; height: 440px; border-radius: 50%; background: var(--ink-2-dark); transform: translateX(-50%); }
.hm-art .phone { position: relative; margin-top: 10px; }

/* How it works: three cards, each with a small drawing. */
.hm-three { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hm-step { flex: 1 1 14.5rem; display: flex; flex-direction: column; gap: 0.875rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.hm-step h3 { margin: 0; font: 400 1.45rem/1.2 var(--serif); }
.hm-step p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.hm-pic { display: flex; align-items: center; justify-content: center; gap: 0.625rem; height: 150px; padding: 0 1.25rem; border-radius: 14px; background: var(--tint); }
.hm-url {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.1rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.9375rem;
    white-space: nowrap;
}
.hm-url::after { content: ""; width: 2px; height: 18px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .hm-url::after { animation: blink 1.1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.hm-pic .mini { width: 96px; height: 120px; overflow: hidden; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 6px 16px -8px rgba(28, 25, 21, 0.5); }
.hm-pic .mini + .mini { transform: rotate(3deg); }
.hm-pic.keys { flex-direction: column; gap: 6px; }
.hm-pic.keys span { display: flex; align-items: center; justify-content: center; width: 170px; height: 30px; border-radius: 8px; background: #fff; color: #027eb5; font-size: 0.84rem; font-weight: 600; }

/* Examples: a week of the bakery's posts. */
.hm-week { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.hm-week > li { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; }
.hm-week .post { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; }
.hm-week .meta { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.84rem; font-weight: 600; }
.hm-week .meta span:last-child { font-weight: 500; color: var(--muted); }
.hm-week p { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.from-site { align-self: flex-start; padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 0.78rem; }
.hm-made { margin-top: 1.75rem; font-size: 0.84rem; color: var(--muted); }

/* Approving from the phone: what each button does, and the two apps drawn. */
.hm-approve { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; }
.hm-approve > div:first-child { flex: 1 1 23.75rem; min-width: 0; }
.hm-approve .hm-lede { margin-top: -1.25rem; }
.hm-buttons { margin: 0; }
.hm-buttons > div { display: grid; grid-template-columns: 6.875rem 1fr; gap: 1rem; padding: 1.125rem 0; border-top: 1px solid var(--ink-line); }
.hm-buttons > div:last-child { border-bottom: 1px solid var(--ink-line); }
.hm-buttons dt { font-weight: 700; }
.hm-buttons dd { margin: 0; color: var(--on-ink); line-height: 1.5; }
.hm-buttons .yes { color: var(--green-on-ink); }
.hm-buttons .edit { color: var(--amber); }
.hm-phones { flex: 1 1 35rem; min-width: 0; display: flex; gap: 1.5rem; padding-bottom: 0.4rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ink-line) transparent; }
.hm-phones figure { flex: none; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin: 0; }
.hm-phones figcaption { font-size: 0.875rem; color: var(--on-ink); }

/* Your business, not filler: what was found, and a post with a figure flagged. */
.hm-pair { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1.25rem; }
.hm-pair > * { flex: 1 1 21.25rem; min-width: 0; }
.hm-found h3 { margin: 0 0 0.375rem; font: 600 0.84rem var(--sans); color: var(--muted); }
.hm-found dl { margin: 0; }
.hm-found dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }
.hm-found dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.hm-found dt { font-weight: 400; }
.hm-found dd { flex: none; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.hm-flagged { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hm-flagged .post { flex: 0 0 150px; height: 188px; overflow: hidden; border-radius: 8px; }
.hm-flagged > div:last-child { flex: 1 1 12.5rem; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.hm-flagged p { margin: 0; line-height: 1.5; }
mark.added { padding: 0 2px; border-bottom: 2px solid var(--amber-under); background: var(--amber-mark); color: inherit; }
.check-this {
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--amber-line);
    border-radius: 12px;
    background: var(--amber-soft);
    color: var(--amber-ink);
    font-size: 0.875rem;
    line-height: 1.45;
}
.check-this strong { display: block; margin-bottom: 2px; color: var(--ink); }

/* Pricing: the posts plan, and the video plans on dark. */
.hm-plans { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hm-plan { flex: 1 1 20rem; display: flex; flex-direction: column; gap: 1.125rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.hm-plan.dark { border-color: var(--ink); background: var(--ink); color: var(--paper); --focus: var(--paper); }
.hm-plan h3 { margin: 0; font: 400 1.625rem/1.2 var(--serif); }
.hm-price { display: flex; align-items: baseline; gap: 0.375rem; margin: 0; color: var(--muted); }
.hm-price b { font: 400 3rem/1 var(--serif); color: var(--ink); }
.hm-plan ul { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; line-height: 1.4; }
.hm-plan ul li { margin: 0; }
.hm-plan.dark p { margin: 0; color: var(--on-ink); line-height: 1.5; }
.hm-sizes { margin: 0; }
.hm-sizes > div { display: flex; justify-content: space-between; padding: 0.75rem 0; border-top: 1px solid var(--ink-line); }
.hm-sizes > div:last-child { border-bottom: 1px solid var(--ink-line); }
.hm-sizes dt { font-weight: 400; }
.hm-sizes dd { margin: 0; font: 400 1.2rem var(--serif); }
.hm-sizes dd small { font: 400 0.875rem var(--sans); color: var(--on-ink); }
.hm-plan .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.125rem;
    margin-top: auto;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}
.hm-plan .cta:hover { background: var(--ink); color: var(--paper); }
.hm-plan.dark .cta { border-color: var(--accent); background: var(--accent); color: #fff; }
.hm-plan.dark .cta:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.hm-small { margin: 1.25rem 0 0; font-size: 0.875rem; color: var(--muted); }

/* What we won't do: numbered, on dark. */
.hm-wont { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr)); column-gap: 3rem; margin: 0; padding: 0; list-style: none; counter-reset: wont; }
.hm-wont li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.75rem; margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--ink-line); counter-increment: wont; }
.hm-wont li::before { content: counter(wont, decimal-leading-zero); font: 400 1.125rem var(--serif); color: var(--green-on-ink); }
.hm-wont strong { display: block; font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.5625rem)/1.25 var(--serif); }
.hm-wont span { display: block; margin-top: 0.375rem; color: var(--on-ink); line-height: 1.5; }

/* Questions: one open at a time is fine; each is its own details. */
.hm-faq { max-width: 51.25rem; margin-inline: auto; }
.hm-faq details { border: 0; border-top: 1px solid var(--line); }
.hm-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.hm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); font-weight: 600; }
.hm-faq summary::after { position: static; flex: none; width: 1.875rem; height: 1.875rem; margin: 0; border: 1.5px solid var(--ink); border-radius: 50%; background-size: 0.75rem 1.5px, 1.5px 0.75rem; }
.hm-faq details[open] > summary::after { background-size: 0.75rem 1.5px; }
.hm-faq details p { max-width: 38em; margin: -0.25rem 0 1.4rem; font-size: 1.03rem; line-height: 1.55; color: var(--ink-2); }
.hm-faq .more { margin-top: 1.5rem; color: var(--muted); }

/* The last word: the website box again, and the frog checking a post. */
.hm-closing { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.hm-closing-in { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.hm-closing-in > div:first-child { flex: 1 1 32.5rem; min-width: 0; }
.hm-closing h2 { margin: 0 0 1rem; font-size: clamp(2.125rem, 1.25rem + 3.6vw, 4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.hm-closing p { margin: 0 0 1.75rem; font-size: 1.0625rem; color: var(--on-ink); }
.hm-again { display: flex; flex-wrap: wrap; gap: 0.25rem; max-width: 35rem; padding: 0.375rem; border-radius: 24px; background: var(--paper); color: var(--ink); --focus: var(--ink); }
.hm-again label { flex: 1 1 12.5rem; }
.hm-again input { min-height: 3.25rem; border: 0; border-radius: 19px; background: transparent; }
.hm-again .hm-go { flex: 1 1 12.5rem; }
.hm-frog { flex: 0 1 18.75rem; display: grid; place-items: center; width: 100%; max-width: 18.75rem; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--ink-2-dark); }
.hm-frog img { width: 62%; height: auto; }

/* ---------- 19. The trial: reading the website, then the three posts ---------- */

.tr-read { min-height: calc(100vh - 4rem); padding-bottom: 4rem; background: var(--ink); color: var(--paper); --focus: var(--paper); }
.tr-read .wrap { max-width: calc(42.5rem + 2 * var(--pad)); }
.tr-step { margin: 0; padding-top: clamp(1rem, 4vw, 3rem); font-size: 0.9rem; color: var(--on-ink); }
.tr-read h1 { margin: 0.625rem 0 0.75rem; font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 400; line-height: 1.1; }
.tr-host {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0.44rem 0.875rem;
    overflow: hidden;
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    background: var(--ink-2-dark);
    font-size: 0.9375rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tr-host::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tr-bar { display: flex; align-items: center; gap: 0.75rem; margin: 1.4rem 0 1.9rem; font-size: 0.875rem; color: var(--on-ink); }
.tr-bar progress { flex: 1; height: 6px; border: 0; border-radius: 3px; background: #332d26; color: var(--green); -webkit-appearance: none; appearance: none; overflow: hidden; }
.tr-bar progress::-webkit-progress-bar { background: #332d26; border-radius: 3px; }
.tr-bar progress::-webkit-progress-value { background: var(--green); border-radius: 3px; transition: width 0.6s; }
.tr-bar progress::-moz-progress-bar { background: var(--green); border-radius: 3px; }
.tr-finds { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.tr-finds > li { margin: 0; }
.tr-find {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: min(100%, 35rem);
    padding: 0.875rem 1.125rem 1rem;
    border-radius: 20px 20px 20px 6px;
    background: var(--paper);
    color: var(--ink);
}
.tr-find > b { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; color: var(--green-ink); }
.tr-find > b::before { content: "\2713"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 10px; }
.tr-find > p { margin: 0; line-height: 1.45; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.tr-chips li { margin: 0; padding: 0.25rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.84rem; }
.tr-chips li.swatch { display: flex; align-items: center; gap: 0.375rem; padding-left: 0.25rem; color: var(--ink-2); font-family: var(--mono); font-size: 0.8rem; }
.tr-chips li.swatch svg { width: 20px; height: 20px; }
.tr-thumbs { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tr-thumbs img, .tr-thumbs span { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #e9e0cf; }
.tr-thumbs span { display: grid; place-items: center; font-size: 0.78rem; font-weight: 600; }
.tr-looking { align-self: flex-start; display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.125rem; border-radius: 20px 20px 20px 6px; background: #332d26; color: var(--on-ink); font-size: 0.9375rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-ink); }
@media (prefers-reduced-motion: no-preference) {
    .dots i { animation: dot 1.2s infinite ease-in-out; }
    .dots i:nth-child(2) { animation-delay: 0.15s; }
    .dots i:nth-child(3) { animation-delay: 0.3s; }
    .tr-find.arrive { animation: arrive 0.45s ease-out both; }
}
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } }
.tr-chat { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.tr-done { align-self: flex-end; margin-top: 0.875rem; }
.tr-foot { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--on-ink); }
.tr-foot a { color: var(--paper); }
.tr-read .notice { color: var(--ink); }
.tr-describe { margin-top: 1.5rem; color: var(--ink); }

.tr-reveal .lede { max-width: 36em; margin: 0 0 2rem; }
.tr-reveal h1 { margin: clamp(0.75rem, 3vw, 2.25rem) 0 0.75rem; font-size: clamp(1.875rem, 1.25rem + 2.5vw, 3.125rem); font-weight: 400; line-height: 1.08; }
.tr-eyebrow { margin: 0; font-size: 0.875rem; color: var(--muted); }
.tr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.tr-card { display: flex; flex-direction: column; gap: 0.875rem; margin: 0; padding: 0.875rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.tr-card.dropped { opacity: 0.55; }
.tr-card.dropped:focus-within, .tr-card.dropped:hover { opacity: 1; }
.tr-card .media-frame { width: 100%; }
.tr-card .media-frame > video, .tr-card .media-frame .slides, .tr-card .media-frame > img { border-width: 0; border-radius: 10px; }
.tr-meta { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0 0.25rem; font-size: 0.84rem; }
.tr-meta b { font-weight: 600; }
.tr-meta span { color: var(--muted); }
.tr-card h2 { margin: 0; padding: 0 0.25rem; font: 600 1.03rem/1.3 var(--sans); letter-spacing: 0; }
.tr-card h2 a { text-decoration: none; }
.tr-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.tr-card > .acts, .tr-card > .said, .tr-card > .fold { margin-top: auto; }
.tr-card .cap { margin: 0; padding: 0 0.25rem; font-size: 0.97rem; line-height: 1.45; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tr-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 1.75rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px; background: var(--ink); color: var(--paper); --focus: var(--paper); }
.tr-next > div:first-child { flex: 1 1 20rem; }
.tr-next h2 { margin: 0; font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.tr-next p { margin: 0.375rem 0 0; color: var(--on-ink); line-height: 1.45; }
.tr-next .row { flex: 0 0 auto; max-width: 100%; }
.pill-light, .pill-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3.125rem;
    padding: 0 1.375rem;
    border: 1.5px solid var(--paper);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}
.pill-light { background: var(--paper); color: var(--ink); }
.pill-light:hover { background: #fff; color: var(--ink); }
.pill-line { color: var(--paper); }
.pill-line:hover { background: var(--paper); color: var(--ink); }
.pill-light.done::before, .pill-line.done::before { content: "\2713"; color: var(--green); }

/* The three decisions on a card, and what the card says after one. */
.acts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.375rem; }
.acts > *, .acts form > button { width: 100%; }
.acts form { display: contents; }
.act {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.875rem;
    padding: 0 0.875rem;
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    font: 600 0.9375rem/1.2 var(--sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.act:hover { background: var(--ink); color: var(--paper); }
.act.go { border-color: var(--accent); background: var(--accent); color: #fff; }
.act.go:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
.act.plain { border-color: transparent; color: var(--ink-2); }
.act.plain:hover { background: var(--tint); color: var(--ink); }
.act.ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.act.ink:hover { border-color: var(--accent); background: var(--accent); }
.act:disabled { opacity: 0.45; cursor: not-allowed; }
.act:disabled:hover { background: transparent; color: var(--ink); }
.act.go:disabled:hover { background: var(--accent); color: #fff; }
.fold { display: flex; flex-direction: column; gap: 0.5rem; }
.fold label { font-size: 0.84rem; font-weight: 600; }
.fold textarea { min-height: 4.75rem; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-size: 0.9375rem; }
.fold .row { gap: 0.375rem; flex-wrap: nowrap; }
.fold .row .act:first-child { flex: 1; }
.said { display: flex; align-items: flex-start; gap: 0.625rem; margin: 0; padding: 0.75rem 0.875rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; }
.said::before { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; font-size: 11px; font-weight: 700; }
.said.yes { background: var(--green-soft); }
.said.yes::before { content: "\2713"; background: var(--green); }
.said.wait { background: var(--amber-soft); }
.said.wait::before { content: "\2026"; background: var(--amber); }
.said.gone { justify-content: space-between; border: 1.5px dashed var(--drop); color: var(--ink-2); }
.said.gone::before { content: none; }
.said form { margin: 0; }
.said button.link { font-weight: 600; color: var(--ink); }
html.js .nojs-only { display: none; }

/* ---------- 20. The customer's posts (the dashboard) ---------- */

.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.dash-head h1 { margin: 0 0 0.5rem; font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.625rem); font-weight: 400; line-height: 1.1; }
.dash-head p { margin: 0; font-size: 0.97rem; line-height: 1.45; color: var(--ink-2); }
.chat-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.875rem; color: var(--ink-2); }
.chat-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-pill.off::before { background: var(--amber-dot); }
.chat-pill a { font-weight: 600; color: var(--ink); }
.dash .stats { display: flex; flex-wrap: wrap; gap: 0.375rem 1.25rem; margin: -0.75rem 0 2rem; }
.dash .stat { display: flex; align-items: baseline; gap: 0.375rem; padding: 0; border: 0; background: none; }
.dash .stat-n { font: 600 0.9375rem var(--sans); letter-spacing: 0; }
.dash .stat-n .muted { font-size: 0.9375rem; font-weight: 500; }
.dash .stat-l { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.dash-todo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 2rem; padding: 0.875rem 1.125rem; border: 1px solid var(--amber-line); border-radius: 14px; background: var(--amber-soft); }
.dash-todo p { margin: 0; color: var(--amber-ink); }
.dash-todo strong { color: var(--ink); }
.dash-sec { margin-bottom: 2.5rem; }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; margin-bottom: 0.875rem; }
.sec-head h2 { margin: 0; font: 700 1.125rem/1.3 var(--sans); letter-spacing: 0; }
.sec-head span { font-size: 0.9375rem; color: var(--muted); }
.sec-note { margin: -0.5rem 0 0.625rem; font-size: 0.84rem; color: var(--muted); }
.sdot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.sdot.waiting { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-mark); }
.sdot.ring { border: 2px solid var(--ink); }
.sdot.green { background: var(--green); }
.sdot.grey { background: var(--drop); }
.dash-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28.75rem), 1fr)); gap: 2.5rem 2rem; align-items: start; margin-bottom: 2.5rem; }
.dash-cols .dash-sec { margin: 0; }

/* A post waiting for a decision: its picture beside what it says and the three decisions. */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 31.25rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.wcard { display: flex; gap: 1rem; margin: 0; padding: 0.875rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.wcard .thumb { width: clamp(6.5rem, 12vw, 8.75rem); }
.wcard > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.wcard h3 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.wcard h3 a { text-decoration: none; }
.wcard h3 a:hover { text-decoration: underline; }
.wcard .meta { margin: 0; font-size: 0.84rem; color: var(--muted); }
.wcard .cap { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wcard .flag { margin: 0; padding: 0.44rem 0.625rem; border: 1px solid var(--amber-line); border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); font-size: 0.84rem; line-height: 1.4; }
.wcard .said { margin-top: auto; }
.wcard .acts { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: auto; }
.wcard .acts > *, .wcard .acts form > button { width: auto; }
.wcard .acts .act { min-height: 2.5rem; padding: 0 1rem; border-radius: 10px; font-size: 0.9rem; }
.wcard .row form { margin: 0; }
.wcard .act { min-height: 2.5rem; border-radius: 10px; font-size: 0.9rem; }

/* A post's picture as a thumbnail: the first picture, or a video's cover. */
.thumb { position: relative; flex: none; align-self: flex-start; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--tint); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb.video::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.thumb.sm { width: 2.75rem; border-radius: 5px; }
.thumb.sm.video::after { right: 4px; bottom: 4px; border-width: 4px 0 4px 7px; }

/* Lists of posts: scheduled and posted. */
.plist { margin: 0; padding: 0 0.875rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); list-style: none; }
.plist > li { margin: 0; border-top: 1px solid var(--line-soft); }
.plist > li:first-child { border-top: 0; }
.plist .item { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.875rem; padding: 0.75rem 0; color: inherit; text-decoration: none; }
a.item:hover .t { text-decoration: underline; text-decoration-color: var(--accent); }
.plist .what { flex: 1 1 10rem; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.plist .t { font-size: 0.9375rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist .s { font-size: 0.8125rem; color: var(--muted); }
.plist .when { flex: none; font-size: 0.84rem; line-height: 1.35; text-align: right; }
.plist .when b { display: block; font-weight: 600; }
.plist .when span { color: var(--muted); }
.plist .empty-row { padding: 1rem 0; font-size: 0.9rem; color: var(--muted); }
.nums { flex: none; display: grid; grid-template-columns: repeat(3, auto); gap: 0 1rem; text-align: right; font-size: 0.75rem; color: var(--muted); }
.nums b { font-size: 0.97rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.soon { flex: none; padding: 0.3rem 0.625rem; border-radius: 999px; background: var(--tint); font-size: 0.8125rem; color: var(--ink-2); }
.soon.bad { background: var(--bad-soft); color: #8f2019; }

/* Dropped: dashed, faded, and one link to bring each back. */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22.5rem), 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.dcard { display: flex; align-items: center; gap: 0.875rem; margin: 0; padding: 0.75rem 0.875rem; border: 1.5px dashed var(--drop); border-radius: 16px; }
.dcard .thumb { width: 2.5rem; opacity: 0.55; }
.dcard > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.dcard b { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.dcard span { font-size: 0.8125rem; color: var(--muted); }
.dcard form { flex: none; margin: 0; }
.dcard button.link { font-size: 0.875rem; font-weight: 600; text-decoration-color: var(--ink); }

/* ---------- 21. One post: how it will look, and the decision ---------- */

.pp-back { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pp-back::before { content: "\2039  "; }
.pp-back:hover { text-decoration: underline; }
.pp-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem 1rem; margin: 0.875rem 0 clamp(1.25rem, 3vw, 2rem); }
.pp-title h1 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 400; line-height: 1.1; }
.state { display: inline-flex; align-items: center; gap: 0.44rem; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.84rem; font-weight: 600; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--drop); }
.state.waiting { border-color: var(--amber-line); background: var(--amber-soft); color: var(--amber-ink); }
.state.waiting::before { background: var(--amber-dot); }
.state.going { border-color: #c9dcb8; background: var(--green-soft); color: var(--green-ink); }
.state.going::before { background: var(--green); }
.state.out::before { background: var(--green); }
.state.bad { border-color: #efb9b1; background: var(--bad-soft); color: #8f2019; }
.state.bad::before { background: var(--bad); }
.pp-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2rem; }
.pp-looks { flex: 1 1 40rem; min-width: 0; }
.pp-side { flex: 1 1 21.25rem; min-width: 0; display: flex; flex-direction: column; gap: 0.875rem; }
@media (min-width: 62em) { .pp-looks { position: sticky; top: 1.5rem; } }

/* The platforms, side by side on a wide screen; on a phone, one at a time behind tabs (site.js). */
.pv-tabs { display: none; gap: 4px; margin-bottom: 0.875rem; padding: 4px; border-radius: 12px; background: var(--tint); }
.pv-tabs button { flex: 1; height: 2.5rem; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: 600 0.9rem var(--sans); cursor: pointer; }
.pv-tabs button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.pv-row { display: flex; gap: 1rem; align-items: flex-start; justify-content: center; }
.pv { flex: 1 1 0; min-width: 0; max-width: 21.25rem; display: flex; flex-direction: column; gap: 0.5rem; margin: 0; }
.pv.tt { max-width: 18.75rem; }
.pv > figcaption { font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 56.24em) {
    html.js .pv-tabs { display: flex; }
    html.js .pv:not(.on) { display: none; }
    html.js .pv > figcaption { display: none; }
    html.js .pv { max-width: 25rem; }
    .pv-row { flex-direction: column; align-items: center; }
    html.js .pv-row { flex-direction: row; }
}
.pv-shot { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #111; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 0.78rem; line-height: 1.4; }
.pv-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.56rem 0.625rem; }
.pv-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; font-weight: 600; }
.pv-head .more { letter-spacing: 1px; }
.pv-head .who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pv-head .who small { font-size: 0.72rem; color: #65676b; }
.pv .avatar { width: 1.625rem; height: 1.625rem; }
.pv.ig .avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #c98a2b; }
.pv.fb .avatar { width: 2rem; height: 2rem; }
.pv-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.pv-media > img, .pv-media > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv.fb .pv-media { aspect-ratio: 1; }
.pv .media-frame { width: 100%; }
.pv .media-frame > video, .pv .media-frame .slides, .pv .media-frame > img { border: 0; border-radius: 0; }
.pv .media-flag { margin: 0.4rem 0.625rem 0; text-align: left; }
.pv-icons { display: flex; gap: 0.875rem; padding: 0.56rem 0.625rem 0.25rem; font-size: 1.05rem; }
.pv-cap { padding: 0.125rem 0.625rem 0.75rem; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.pv.fb .pv-cap { padding: 0.25rem 0.625rem 0.56rem; }
.pv-fbbar { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 0 0.5rem; padding: 0.5rem 0.25rem; border-top: 1px solid #e4e6eb; color: #65676b; font-size: 0.78rem; font-weight: 600; text-align: center; }
.pv-tt { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: #000; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.pv-tt .pv-media { position: absolute; inset: 12% 0 22%; height: auto; aspect-ratio: auto; }
.pv-tt.video .pv-media { inset: 0; }
.pv-tt .rail { position: absolute; right: 8px; bottom: 26%; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.pv-tt .rail i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.pv-tt .rail .avatar { width: 30px; height: 30px; box-shadow: 0 0 0 1.5px #fff; }
.pv-tt .words { position: absolute; left: 10px; right: 48px; bottom: 12px; color: #fff; font-size: 0.75rem; line-height: 1.4; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pv-tt .words b { display: block; margin-bottom: 3px; }
.pv-note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

/* The decision, as cards down the side. */
.side-card { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 1.125rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.side-card > label, .side-card > .label, .side-card > legend { float: none; margin: 0; padding: 0; border: 0; font-size: 0.875rem; font-weight: 700; }
.side-card > legend + * { clear: none; }
.side-card .hint, .side-card > p { margin: 0; font-size: 0.84rem; line-height: 1.4; color: var(--ink-2); }
.side-card textarea { min-height: 5.75rem; border: 1.5px solid #d6ccba; border-radius: 12px; background: #fff; font-size: 0.97rem; line-height: 1.45; }
.side-card textarea:hover { border-color: var(--ink); }
.side-card .flag { margin: 0; padding: 0.5rem 0.7rem; border: 1px solid var(--amber-line); border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); font-size: 0.84rem; line-height: 1.4; white-space: pre-wrap; }
.side-card .flag strong { color: var(--ink); }
.side-card .said-note { margin: 0; padding: 0.5rem 0.7rem; border-radius: 10px; background: var(--tint); font-size: 0.875rem; line-height: 1.4; }
.side-card .read { margin: 0; font-size: 0.97rem; line-height: 1.45; white-space: pre-wrap; }
.change-row { display: flex; align-items: flex-end; gap: 0.5rem; }
.change-row textarea { flex: 1; min-height: 4rem; }
.change-row .act { flex: none; min-height: 2.75rem; }
fieldset.side-card { min-width: 0; }
.side-card .missing { display: flex; align-items: center; gap: 0.44rem; margin: 0; font-size: 0.84rem; color: var(--amber-ink); }
.side-card .missing::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dot); }

/* A choice drawn as a button: a real radio or checkbox inside, so it works without scripts. */
.opt {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}
.opt:hover { border-color: var(--line-strong); }
.opt:has(input:checked) { border-color: var(--ink); background: #fff; }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt input { flex: none; margin-top: 0.1rem; }
.opt > span { display: flex; flex-direction: column; gap: 0.125rem; }
.opt b { font-size: 0.9375rem; font-weight: 600; }
.opt small { font-size: 0.84rem; line-height: 1.4; color: var(--ink-2); }
.opts { display: flex; flex-direction: column; gap: 0.5rem; }
.opts.across { flex-direction: row; flex-wrap: wrap; }
.opts.across .opt { flex: 1 1 8rem; align-items: center; }
.sub { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; padding: 0.75rem 0.875rem; border-radius: 12px; background: var(--tint); }
.sub > p { margin: 0; font-size: 0.84rem; color: var(--ink-2); }
.sub .check { font-size: 0.9rem; }
.consent { margin: 0.25rem 0.125rem 0; font-size: 0.9375rem; }
.approve { display: flex; flex-direction: column; gap: 0.875rem; }
.side-card.tiktok:has(input[name="In.TikTokMode"]:checked) .missing { display: none; }
.decide { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0.5rem; }
.decide .act { min-height: 3.25rem; font-size: 1rem; }

/* ---------- 22. The brand profile ---------- */

.bp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.bp-head > div { max-width: 40em; }
.bp-head h1 { margin: 0 0 0.5rem; font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.625rem); font-weight: 400; line-height: 1.1; }
.bp-head p { margin: 0; font-size: 0.97rem; line-height: 1.45; color: var(--ink-2); }
.bp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 27.5rem), 1fr)); gap: 1rem; align-items: start; }
.bp-cols > div { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.bp-card { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); min-width: 0; }
.bp-card > * + * { margin-top: 0.875rem; }
.bp-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; }
.bp-card-head h2 { margin: 0; font: 700 1.0625rem/1.3 var(--sans); letter-spacing: 0; }
.bp-card-head span { font-size: 0.8125rem; color: var(--muted); }
.bp-card .field > label { font-size: 0.875rem; }
.bp-card textarea { min-height: 5rem; }
.bp-card.dark { border-color: var(--ink); background: var(--ink); color: var(--paper); --focus: var(--paper); }
.bp-card.dark .bp-card-head span, .bp-card.dark p { color: var(--on-ink); }
.bp-card.dark p { margin: 0.375rem 0 0; font-size: 0.875rem; line-height: 1.45; }
.bp-card.dark textarea, .bp-card.dark input:where(:not([type="checkbox"])) { border-color: var(--ink-line); background: var(--ink-2-dark); color: var(--paper); }
.bp-card.dark textarea:hover, .bp-card.dark input:where(:not([type="checkbox"])):hover { border-color: var(--on-ink); }
.bp-card.dark ::placeholder { color: #a99e8a; }
.bp-card.dark label { color: var(--paper); }
.bp-card.dark .hint { color: var(--on-ink); }

/* Colours as swatches: the colour input is the swatch, its hex under it. */
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem; }
.swatches label { display: flex; flex-direction: column; gap: 0.5rem; cursor: pointer; }
.swatches input[type="color"] { display: block; width: 100%; height: 4.5rem; padding: 0; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.swatches input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.swatches input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 11px; }
.swatches input[type="color"]::-moz-color-swatch { border: 0; border-radius: 11px; }
.swatches b { font-size: 0.9rem; font-weight: 600; }
.swatches output { font: 0.8125rem var(--mono); color: var(--ink-2); }

/* A list of lines (facts, things to keep out): one input a line, an empty one at the end to add. */
.lines { margin: 0; padding: 0; list-style: none; }
.lines li { display: flex; align-items: center; gap: 0.5rem; margin: 0; border-bottom: 1px solid var(--line-soft); }
.lines input:where(:not([type="checkbox"])) { min-height: 2.75rem; padding: 0.5rem 0; border: 0; border-radius: 0; background: transparent; font-size: 0.97rem; font-weight: 500; }
.lines input:where(:not([type="checkbox"])):hover { background: transparent; }
.lines input:focus-visible { outline-offset: 0; }
.lines li.add input { font-weight: 400; }
.lines li.add input::placeholder { color: var(--ink); font-weight: 600; }
.lines .x { flex: none; width: 1.75rem; height: 1.75rem; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.lines .x:hover { background: var(--tint); color: var(--ink); }
html:not(.js) .lines .x { display: none; }
.bp-card.dark .lines li { border-bottom-color: var(--ink-line); }
.bp-card.dark .lines input:where(:not([type="checkbox"])) { border: 0; background: transparent; color: var(--paper); }
.bp-card.dark .lines li.add input::placeholder { color: var(--paper); }
.bp-card.dark .lines .x { color: var(--on-ink); }
.bp-card.dark .lines .x:hover { background: var(--ink-2-dark); color: var(--paper); }

/* The photo library, as a grid on the profile. */
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
.chips a.on { background: var(--ink); color: var(--paper); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 8rem), 1fr)); gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.pgrid li { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--tint); }
.pgrid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pgrid li.off img { opacity: 0.4; filter: grayscale(1); }
.pgrid .used { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 253, 248, 0.92); font-size: 0.72rem; font-weight: 600; }
.pgrid .add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem; height: 100%; padding: 0.625rem; border: 1.5px dashed #a99e8a; border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 0.875rem; font-weight: 600; text-align: center; text-decoration: none; }
.pgrid .add::before { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; }
.pgrid .add small { font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.pgrid li:has(.add) { background: none; }

/* A switch: a checkbox drawn as a sliding toggle, its words changing with it. */
.switch-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); cursor: pointer; }
.switch-row > span:first-child { flex: 1 1 18.75rem; }
.switch-row b { display: block; font-size: 0.9375rem; font-weight: 600; }
.switch-row small { display: block; margin-top: 2px; font-size: 0.84rem; line-height: 1.4; color: var(--ink-2); }
.switch-row .when-on { display: none; }
.switch-row:has(input:checked) .when-on { display: block; }
.switch-row:has(input:checked) .when-off { display: none; }
input.toggle {
    position: relative;
    flex: none;
    width: 3.125rem;
    height: 1.875rem;
    border-radius: 999px;
    background: var(--drop);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.15s;
}
input.toggle::before { content: ""; position: absolute; top: 3px; left: 3px; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
input.toggle:checked { background: var(--green); }
input.toggle:checked::before { transform: translateX(1.25rem); }

.bp-save { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; padding: 0.875rem 1.125rem; border: 1px solid var(--line); border-radius: 18px 18px 0 0; background: rgba(255, 253, 248, 0.94); box-shadow: 0 -10px 30px -20px rgba(28, 25, 21, 0.5); backdrop-filter: blur(6px); }
.bp-save p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.bp-ideas { margin-top: 2.5rem; }
.bp-ideas ul { margin: 0; padding: 0; list-style: none; }
.bp-ideas li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin: 0; padding: 0.7rem 0; border-top: 1px solid var(--line-soft); }

/* ---------- 23. Choosing a plan ---------- */

.pl { max-width: 60rem; margin-inline: auto; }
.pl-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--green-soft); font-size: 0.875rem; font-weight: 600; }
.pl-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pl-pill.soon { background: var(--tint); }
.pl-pill.soon::before { background: var(--amber-dot); }
.pl h1 { margin: 0.875rem 0 0.625rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.125rem); font-weight: 400; line-height: 1.08; }
.pl > .lede { max-width: 34em; margin: 0 0 2rem; font-size: 1.0625rem; color: var(--ink-2); }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.25rem), 1fr)); gap: 1rem; align-items: stretch; }
.pl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pl-card:hover { border-color: var(--line-strong); }
.pl-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pl-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.pl-top { display: flex; justify-content: space-between; align-items: center; }
.pl-top b { font: 400 1.5625rem/1.2 var(--serif); }
.pl-dot { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; }
.pl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: 0; }
.pl-card:has(input:checked) .pl-dot::after { opacity: 1; }
/* The whole card is the radio: it covers the card, unseen, so a tap anywhere picks the plan. */
.pl-card > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; border-radius: 20px; opacity: 0; cursor: pointer; }
.pl-price { display: flex; align-items: baseline; gap: 0.375rem; margin: 0; color: var(--ink-2); }
.pl-price b { font: 400 2.875rem/1 var(--serif); color: var(--ink); }
.pl-ticks { display: flex; flex-direction: column; gap: 0.56rem; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.4; }
.pl-ticks li { display: flex; gap: 0.56rem; margin: 0; }
.pl-ticks li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--green); font-size: 10px; font-weight: 700; }
.pl-sizes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--tint); }
.pl-sizes label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 2.75rem; border-radius: 9px; cursor: pointer; }
.pl-sizes label:has(input:checked) { background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.pl-sizes label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }
.pl-sizes input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pl-sizes b { font-size: 0.9375rem; font-weight: 700; }
.pl-sizes small { font-size: 0.75rem; color: var(--ink-2); }
/* The videos card shows the price and the line for the size that's picked (12 until one is). */
.pl-videos .p8, .pl-videos .p20 { display: none; }
.pl-videos:has(#plan-8:checked) .p8, .pl-videos:has(#plan-20:checked) .p20 { display: inline; }
.pl-videos:has(#plan-8:checked) .p12, .pl-videos:has(#plan-20:checked) .p12 { display: none; }
.pl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.875rem; margin-top: 1.25rem; padding: 1.125rem 1.125rem 1.125rem 1.5rem; border-radius: 20px; background: var(--ink); color: var(--paper); --focus: var(--paper); }
.pl-bar > div { flex: 1 1 18rem; display: flex; flex-direction: column; gap: 0.2rem; }
.pl-bar > .hm-go { flex: 0 1 auto; }
.pl-bar b { font-size: 1rem; font-weight: 600; }
.pl-bar b span { display: none; }
.pl-form:has(input[value="posts"]:checked) .pl-bar .s-posts,
.pl-form:has(#plan-8:checked) .pl-bar .s-8,
.pl-form:has(#plan-12:checked) .pl-bar .s-12,
.pl-form:has(#plan-20:checked) .pl-bar .s-20 { display: inline; }
.pl-form:not(:has(input[name="Choice"]:checked)) .pl-bar .s-none { display: inline; }
.pl-bar small { font-size: 0.84rem; color: var(--on-ink); }
.pl-bar .hm-go { min-height: 3.25rem; border-radius: 999px; }
.pl-bar .hm-go:disabled { opacity: 0.5; cursor: not-allowed; }
.pl-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); gap: 1.5rem; margin-top: 2.25rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.pl-faq h2 { margin: 0 0 0.25rem; font: 700 0.9375rem var(--sans); color: var(--ink); letter-spacing: 0; }
.pl-faq p { margin: 0; }
.pl-current { display: grid; gap: 1rem; }

@media print {
    .site-head, .site-foot, .acts, .decide, .bp-save { display: none !important; }
    .hm-dark, .tr-read, .pl-bar, .tr-next, .bp-card.dark { background: #fff; color: #000; }
}
