/*
 * TrendSeam marketing pages: the homepage (TS-2559) and the pricing page (TS-2629), plus the content pages in
 * _Layout (TS-2741: docs, legal pages, Register, error pages). The uCommerce-framed pages keep custard-monster.css.
 *
 * Design brief
 * - Subject: a customer-list tool for busy retailers. The page should feel like the account site they will use:
 *   a custard-yellow bar, white cards, grey text. Yellow bookends the page (hero and final call to action);
 *   everything between is quiet white and paper so the copy does the work.
 * - Palette: custard #fc0 (hero, final CTA, highlights), lemon #f7db2a (highlighter marks), mustard #fac927
 *   (Growth column rule, hover), ink #333 (body text), graphite #444 (secondary text), black #000 (headings,
 *   buttons), paper #fafafa and white #fff (surfaces). Buttons are black with custard text on yellow, and
 *   text on #fc0 is always #000 (contrast 13:1+).
 * - Type: one family, the brand stack "Helvetica Neue", Arial, sans-serif. Base 17px/1.6; modular scale 1.25
 *   (14, 17, 21, 26.5, 33, 41.5, 52px). Headings 700 with slight negative tracking; body measure <= 38em.
 * - Spacing: 4px base (4, 8, 12, 16, 24, 32, 48, 64, 96). Sections 64px (phone) to 96px (desktop) vertical.
 * - Rhythm: hero (custard) / problem (white) / solution (paper) / how it works (white) / proof (ink band) /
 *   pricing (paper) / FAQ (white) / final CTA (custard). Left aligned, 72rem container, 16px phone gutter.
 * - Memorable element: the problem quotes, where the bold phrases are marked with a lemon highlighter stroke,
 *   the way an owner would mark up a printout of their orders. Everything else stays disciplined.
 * - Components: skip link, header with logo, button, product visual (dashboard + customer groups), quote card,
 *   feature with inline SVG icon, numbered steps, proof band, pricing table (scrolls in its own container),
 *   FAQ accordion (details/summary, no JS), placeholder (dashed outline + "Placeholder:" label), footer.
 */

:root {
    --custard: #fc0;
    --lemon: #f7db2a;
    --mustard: #fac927;
    --ink: #333;
    --graphite: #444;
    --black: #000;
    --paper: #fafafa;
    --white: #fff;
    --rule: #ddd;
    --font: "Helvetica Neue", Arial, Helvetica, sans-serif;
    --step--1: 0.8125rem;
    --step-0: 1.0625rem;
    --step-1: 1.3125rem;
    --step-2: 1.65rem;
    --step-3: 2.0625rem;
    --step-4: 2.6rem;
    --step-5: 3.25rem;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --radius-s: 4px;
    --radius-m: 10px;
    --radius-l: 16px;
    --gutter: 16px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 var(--step-0) / 1.6 var(--font);
    overflow-wrap: break-word;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--black);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

p {
    margin: 0;
}

a {
    color: var(--black);
    text-underline-offset: 0.15em;
}

:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--white);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    z-index: 10;
    padding: var(--space-2) var(--space-4);
    background: var(--black);
    color: var(--custard);
    font-weight: 700;
    border-radius: var(--radius-s);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

main:focus {
    outline: none;
}

.container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header: the account site's yellow bar, run straight into the hero. */

.site-header {
    background: var(--custard);
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.site-header__logo {
    display: inline-block;
    padding: var(--space-1);
    border-radius: var(--radius-s);
}

.site-header__logo img {
    height: auto;
    max-height: 40px;
    width: auto;
}

/* Header nav (TS-2721): Pricing, Docs and Log in text links on the yellow bar, pushed to the right, plus a compact
   Shopify install button (TS-2720) from about 601px up. CSS only: no menu script. Below 600px the logo shrinks so
   the three links fit at 320px without horizontal scroll. */

.site-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-1);
    margin-left: auto;
}

.site-header__link {
    display: inline-block;
    padding: var(--space-2);
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-s);
    transition: background-color 0.15s ease;
}

.site-header__link:hover {
    text-decoration: underline;
}

.site-header__login {
    border-color: var(--black);
}

.site-header__login:hover {
    background: var(--black);
    color: var(--custard);
    text-decoration: none;
}

.site-header__link:focus-visible {
    box-shadow: 0 0 0 6px var(--custard);
}

.site-header .site-header__install {
    margin-left: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--step-0);
}

@media (max-width: 37.5em) {
    .site-header__logo img {
        max-height: 28px;
    }

    .site-header__link {
        padding: var(--space-1) var(--space-2);
        font-size: var(--step--1);
    }

    .site-header .site-header__install {
        display: none;
    }
}

/* Buttons */

.button {
    display: inline-block;
    padding: var(--space-4) var(--space-6);
    background: var(--black);
    color: var(--custard);
    font-weight: 700;
    font-size: var(--step-1);
    line-height: 1.2;
    text-decoration: none;
    border-radius: var(--radius-s);
    box-shadow: 0 3px 0 rgb(0 0 0 / 25%);
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.button:hover {
    background: var(--ink);
}

.button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgb(0 0 0 / 25%);
}

.button:focus-visible {
    outline-color: var(--black);
    box-shadow: 0 0 0 6px var(--custard);
}

/* Hero */

.hero {
    background: var(--custard);
    color: var(--black);
    padding: var(--space-6) 0 var(--space-8);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 1.4rem + 3.6vw, var(--step-5));
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 14em;
}

.hero__sub {
    margin-top: var(--space-5);
    font-size: var(--step-1);
    line-height: 1.45;
    max-width: 30em;
}

.hero__action,
.cta__action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-5);
    margin-top: var(--space-6);
}

/* The secondary call to action (TS-2720): other platforms go to the docs. A plain underlined link beside the button. */

.cta-secondary {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-secondary:hover {
    text-decoration-thickness: 2px;
}

.hero--compact {
    padding-bottom: var(--space-7);
}

.hero--compact h1 {
    max-width: none;
}

.hero__proof {
    margin-top: var(--space-5);
    padding-left: var(--space-4);
    border-left: 3px solid var(--black);
    max-width: 32em;
    font-size: var(--step-0);
}

/* Product visual: a stylised account-site screen, built from HTML so it stays sharp and light. */

.visual {
    margin: 0;
    background: var(--paper);
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow:
        0 1px 0 rgb(0 0 0 / 10%),
        0 24px 48px -24px rgb(0 0 0 / 45%);
    font-size: var(--step--1);
    color: var(--graphite);
}

.visual__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--custard);
    border-bottom: 1px solid rgb(0 0 0 / 15%);
    color: var(--black);
}

.visual__brand {
    font-weight: 700;
    font-size: var(--step-0);
    letter-spacing: -0.02em;
}

.visual__nav {
    display: flex;
    gap: var(--space-3);
    white-space: nowrap;
    overflow: hidden;
}

.visual__nav span:not(.is-current) {
    display: none;
}

.visual__nav .is-current {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.visual__body {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-4);
}

.visual__card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-m);
    padding: var(--space-4);
}

.visual__title {
    color: var(--graphite);
    font-weight: 700;
}

.visual__figure {
    margin-top: var(--space-1);
    color: var(--black);
    font-size: var(--step-2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.visual__delta {
    font-size: var(--step--1);
    color: #1d6b2f;
    vertical-align: middle;
}

.visual__chart {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-2);
    align-items: end;
    height: 88px;
    margin-top: var(--space-3);
    border-bottom: 1px solid var(--rule);
}

.visual__chart span {
    position: relative;
    height: 100%;
}

.visual__chart span::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--this);
    background: var(--custard);
    border-radius: 3px 3px 0 0;
}

/* Last year: a dark tick at the same scale, so each day reads as this year against last. */
.visual__chart span::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: var(--last);
    border-top: 2px solid var(--ink);
}

.visual__axis {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-1);
    text-align: center;
    font-size: 0.6875rem;
}

.visual__groups {
    margin: var(--space-3) 0 0;
    padding: 0;
    list-style: none;
}

.visual__groups li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-2) var(--space-2);
    border-top: 1px solid var(--rule);
}

.visual__groups li.is-active {
    background: #fff7cc;
    border-radius: var(--radius-s);
    border-top-color: transparent;
}

.visual__group {
    color: var(--black);
    font-weight: 700;
}

.visual__count {
    text-align: right;
}

.visual__worth {
    display: none;
    text-align: right;
}

.visual__action {
    padding: 2px var(--space-2);
    background: var(--black);
    color: var(--custard);
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 0.6875rem;
}

/* Sections */

.section {
    padding: var(--space-8) 0;
}

.section--white {
    background: var(--white);
}

.section--paper {
    background: var(--paper);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.section--ink {
    background: var(--ink);
    color: var(--white);
}

.section__heading {
    font-size: clamp(var(--step-2), 1.2rem + 1.8vw, var(--step-4));
    max-width: 22em;
}

.section__lead {
    margin-top: var(--space-4);
    font-size: var(--step-1);
}

/* Login and account picker (TS-2733): one white card on paper. */

.login__card {
    max-width: 28rem;
    margin: 0 auto;
    padding: var(--space-6) var(--space-5);
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-m);
}

.login__heading {
    font-size: var(--step-3);
}

.login__error {
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-4);
    background: #fdecea;
    color: #8a1c13;
    font-weight: 700;
    border-left: 4px solid #b3261e;
    border-radius: var(--radius-s);
}

.login__form {
    margin-top: var(--space-5);
}

.login__field + .login__field {
    margin-top: var(--space-4);
}

.login__field label {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--black);
    font-weight: 700;
}

.login__field input {
    width: 100%;
    padding: var(--space-3);
    color: var(--black);
    font: inherit;
    background: var(--white);
    border: 1px solid #767676;
    border-radius: var(--radius-s);
}

.login__options,
.login__account {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.login__options {
    margin-top: var(--space-4);
}

.login__options input,
.login__account input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    accent-color: var(--black);
}

.login__accounts {
    margin: 0;
    padding: 0;
    border: 0;
}

.login__accounts legend {
    margin-bottom: var(--space-3);
    padding: 0;
    color: var(--black);
    font-weight: 700;
}

.login__account + .login__account {
    margin-top: var(--space-3);
}

.login__actions {
    margin-top: var(--space-5);
}

.login__actions .button {
    width: 100%;
    border: 2px solid transparent;
    font-family: inherit;
    cursor: pointer;
}

.login__alt {
    margin-top: var(--space-5);
    color: var(--graphite);
}

/* Problem: quotes with highlighter-marked phrases. */

.quotes {
    display: grid;
    gap: var(--space-5);
    margin: var(--space-7) 0 0;
    padding: 0;
    list-style: none;
}

.quote {
    padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
    background: var(--paper);
    border-left: 4px solid var(--black);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--ink);
}

.quote strong {
    color: var(--black);
    font-weight: 700;
    background-image: linear-gradient(transparent 55%, var(--lemon) 55%, var(--lemon) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.1em;
}

/* Solution */

.features {
    display: grid;
    gap: var(--space-7);
    margin-top: var(--space-7);
}

.feature__icon {
    width: 48px;
    height: 48px;
}

.feature__icon-bg {
    fill: var(--custard);
}

.feature__icon-line {
    fill: none;
    stroke: var(--black);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature__icon-line--thin {
    stroke-width: 2;
}

.feature__icon-dot {
    fill: var(--black);
}

.feature h3 {
    margin-top: var(--space-4);
    font-size: var(--step-1);
}

.feature p {
    margin-top: var(--space-3);
    max-width: 38em;
    color: var(--graphite);
}

/* How it works: a real sequence, so it is numbered. */

.steps {
    display: grid;
    gap: var(--space-6);
    margin: var(--space-7) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    padding-left: 64px;
    max-width: 40em;
    counter-increment: step;
    color: var(--graphite);
}

.step::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--custard);
    color: var(--black);
    font-weight: 700;
    font-size: var(--step-1);
    border-radius: 50%;
}

.step strong {
    display: block;
    color: var(--black);
    font-size: var(--step-1);
    margin-bottom: var(--space-1);
}

/* Proof */

.proof {
    display: grid;
    gap: var(--space-7);
}

.proof__heading {
    color: var(--white);
    font-size: var(--step-2);
    max-width: 16em;
}

.proof__figure {
    display: block;
    color: var(--custard);
    font-size: clamp(4.5rem, 3rem + 7vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.proof__result p {
    margin-top: var(--space-4);
    max-width: 36em;
    color: #eee;
}

.proof__more {
    display: grid;
    gap: var(--space-5);
    align-content: center;
}

/* Attributed quotes in the ink band (TS-2628): a custard rule, the words, then who said them. */
.proof__quote {
    margin: 0;
    padding-left: var(--space-4);
    border-left: 3px solid var(--custard);
}

.proof__quote blockquote {
    margin: 0;
    color: var(--white);
    font-size: var(--step-0);
    line-height: 1.5;
}

.proof__quote figcaption {
    margin-top: var(--space-2);
    color: #ccc;
    font-size: var(--step--1);
    font-weight: 700;
}

/* TS-2724: a reviewer's own site, linked only where confirmed */
.proof__quote figcaption a {
    color: var(--white);
}

.proof__quote figcaption a:focus-visible {
    outline-color: var(--custard);
    box-shadow: none;
}

/* TS-2723: where the case study figures come from */
.proof__result .proof__note {
    font-size: var(--step--1);
    color: #ccc;
}

/* Pricing */

.pricing__scroll {
    margin-top: var(--space-6);
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-m);
}

.pricing {
    width: 100%;
    min-width: 46rem;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: left;
}

/* Even columns: the colgroup sets the widths (20 + 5 x 16 = 100%), not the cell content. */
.pricing__col--label {
    width: 20%;
}

.pricing__col--plan {
    width: 16%;
}

.pricing th,
.pricing td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
    overflow-wrap: break-word;
}

.pricing tbody tr:last-child th,
.pricing tbody tr:last-child td {
    border-bottom: 0;
    font-size: var(--step--1);
    color: var(--graphite);
}

.pricing thead th {
    color: var(--black);
    font-size: var(--step-1);
}

.pricing tbody th {
    color: var(--graphite);
    font-weight: 400;
    white-space: nowrap;
}

.pricing__price {
    color: var(--black);
    font-size: var(--step-2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing .is-highlighted {
    background: #fff7cc;
}

.pricing thead .is-highlighted {
    box-shadow: inset 0 4px 0 var(--mustard);
}

.pricing__notes {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-6);
    max-width: 44em;
}

.pricing__more {
    font-weight: 700;
}

/* Pricing page (TS-2629): the full table reuses the .pricing rules above (TS-2624 column widths). */
.pricing--full tbody th {
    white-space: normal;
}

/* A feature that is not live yet (TS-2578): an outlined label, so it never reads as available. */
.pricing__soon {
    display: inline-block;
    padding: 0 var(--space-2);
    border: 1px solid var(--graphite);
    border-radius: var(--radius-s);
    color: var(--black);
    font-size: var(--step--1);
    font-weight: 700;
    white-space: nowrap;
}

.pricing-page__contact {
    margin-top: var(--space-5);
    font-weight: 700;
}

.upgrades {
    display: grid;
    gap: var(--space-4);
    max-width: 44em;
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}

.upgrades__item {
    padding-left: var(--space-4);
    border-left: 3px solid var(--mustard);
    color: var(--graphite);
}

.upgrades__item strong {
    color: var(--black);
}

/* FAQ */

.faq {
    margin-top: var(--space-6);
    max-width: 48em;
    border-top: 1px solid var(--rule);
}

.faq__item {
    border-bottom: 1px solid var(--rule);
}

.faq__item summary {
    position: relative;
    padding: var(--space-5) var(--space-7) var(--space-5) 0;
    color: var(--black);
    font-size: var(--step-1);
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

/*
 * TS-2636: the plus/minus is drawn with two whole-pixel gradient bars rather than a text glyph, because a
 * glyph centres its line box (not the ink) and sat low in Chrome. An even 32px circle with even 14px x 2px
 * bars keeps both bars on whole pixels at DPR 1 and 2. Opening the item drops the vertical bar.
 */
.faq__item summary::after {
    content: "";
    position: absolute;
    right: var(--space-2);
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    background-color: var(--custard);
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-position: center, center;
    background-repeat: no-repeat;
    background-size:
        14px 2px,
        2px 14px;
    color: var(--black);
    border-radius: 50%;
}

.faq__item[open] summary::after {
    background-size:
        14px 2px,
        2px 0;
}

.faq__item summary:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.faq__item p {
    padding: 0 var(--space-7) var(--space-5) 0;
    max-width: 40em;
    color: var(--graphite);
}

/* Final call to action */

.cta {
    background: var(--custard);
    color: var(--black);
    padding: var(--space-8) 0;
}

.cta h2 {
    font-size: clamp(var(--step-3), 1.4rem + 2.6vw, var(--step-5));
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 14em;
}

.cta__reversal {
    margin-top: var(--space-5);
    max-width: 36em;
}

/* Placeholder: impossible to miss, so none can ship by accident. */

.placeholder {
    display: inline;
    padding: 1px var(--space-2);
    background: var(--white);
    color: var(--black);
    outline: 2px dashed #b00020;
    outline-offset: 1px;
    border-radius: var(--radius-s);
    font-size: 0.9em;
    line-height: 1.7;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.placeholder__label {
    color: #b00020;
    font-weight: 700;
}

.pricing__notes .placeholder {
    display: inline-block;
}

/* Footer */

.site-footer {
    background: var(--black);
    color: #ccc;
    padding: var(--space-6) 0;
    font-size: var(--step--1);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
    align-items: center;
    justify-content: space-between;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* TS-2732: the company details under the copyright line; each part wraps on its own at phone width */
.site-footer__company {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-2);
    margin-top: var(--space-2);
    color: #aaa;
    font-size: var(--step--1);
}

.site-footer a {
    color: var(--white);
}

.site-footer a:focus-visible {
    outline-color: var(--custard);
    box-shadow: none;
}

/* Content pages (TS-2741): the docs, legal pages, Register and error pages in _Layout, under the same header and footer as the
   homepage. Prose on white with a readable measure; wide docs tables scroll in their own box so the page never does. */

.content-page main {
    padding: var(--space-7) 0 var(--space-8);
}

.content {
    min-width: 0;
}

.content h1 {
    font-size: clamp(var(--step-3), 1.5rem + 1.8vw, var(--step-4));
    margin-bottom: var(--space-5);
}

.content h2 {
    font-size: var(--step-2);
    margin: var(--space-7) 0 var(--space-3);
}

.content h3 {
    font-size: var(--step-1);
    margin: var(--space-6) 0 var(--space-3);
}

.content p,
.content ul,
.content ol {
    max-width: 38em;
    margin: 0 0 var(--space-4);
}

.content ul,
.content ol {
    padding-left: var(--space-5);
}

.content li + li {
    margin-top: var(--space-1);
}

/* Legal pages: the article, then its own footer with the company details (TS-2732). */

.content .package h1 + h2 {
    margin-top: var(--space-5);
}

.content .package + footer {
    max-width: 38em;
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--rule);
    color: var(--graphite);
    font-size: var(--step--1);
}

.content .package + footer .site-footer__company {
    color: var(--graphite);
}

/* Error pages */

.error-page .button {
    margin-top: var(--space-4);
}

/* Docs (XSLT output from DataImport.xml): the format list, then the chosen format's files and field tables. */

.docs aside ul {
    max-width: none;
    padding: 0;
    list-style: none;
    display: grid;
    gap: var(--space-3);
}

.docs aside li + li {
    margin-top: 0;
}

.docs aside a {
    display: block;
    padding: var(--space-4) var(--space-5);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-m);
    font-weight: 700;
    text-decoration: none;
}

.docs aside a:hover {
    border-color: var(--black);
}

.docs aside a span {
    display: block;
    margin-top: var(--space-1);
    color: var(--graphite);
    font-size: var(--step--1);
    font-weight: 400;
}

.docs .fileformat {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 4px solid var(--custard);
}

.docs .fileformat > header h1 {
    margin-bottom: var(--space-3);
}

.docs .file > header h2 {
    margin-top: var(--space-7);
}

.docs table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 0 var(--space-6);
    border-collapse: collapse;
    font-size: var(--step--1);
    line-height: 1.45;
    -webkit-overflow-scrolling: touch;
}

.docs th,
.docs td {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--rule);
    text-align: left;
    vertical-align: top;
}

.docs thead th {
    background: var(--paper);
    color: var(--black);
    white-space: nowrap;
}

.docs td:last-child {
    min-width: 16em;
}

/* Register: the newsletter form; every rule is scoped to .register. */

.register form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    max-width: 32rem;
    margin-top: var(--space-5);
}

.register label {
    flex-basis: 100%;
    font-weight: 700;
}

.register input {
    flex: 1 1 14rem;
    min-width: 0;
    padding: var(--space-3) var(--space-4);
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius-s);
}

.register input:focus {
    color: var(--black);
    border-color: var(--black);
}

.register button {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.register button span {
    display: block;
    padding: var(--space-3) var(--space-5);
    background: var(--black);
    color: var(--custard);
    font-weight: 700;
    border-radius: var(--radius-s);
}

.register button:hover span,
.register button:focus span {
    background: var(--ink);
}

/* Wider screens */

@media (min-width: 40em) {
    :root {
        --gutter: 24px;
    }

    .visual__worth {
        display: block;
    }

    .visual__nav span:not(.is-current) {
        display: inline;
    }

    .visual__groups li {
        grid-template-columns: 1fr auto auto auto;
    }

    .quote {
        font-size: var(--step-2);
    }
}

@media (min-width: 56em) {
    :root {
        --gutter: 32px;
    }

    .hero {
        padding: var(--space-7) 0 var(--space-9);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: var(--space-8);
    }

    .section,
    .cta {
        padding: var(--space-9) 0;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-7) var(--space-8);
    }

    .proof {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-8);
    }
}

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

@media (forced-colors: active) {
    .placeholder {
        outline-color: CanvasText;
    }

    .button {
        border: 2px solid ButtonText;
    }

    .faq__item summary::after {
        forced-color-adjust: none;
        background-color: Canvas;
        color: CanvasText;
        border: 2px solid CanvasText;
    }
}

.pricing .placeholder {
    display: block;
    line-height: 1.45;
}

.pricing__price .placeholder {
    font-size: var(--step--1);
    font-weight: 400;
    letter-spacing: 0;
}
