:root {
    --cfm-bg: #0d0d0f;
    --cfm-surface: #151518;
    --cfm-surface-2: #1b1b1f;
    --cfm-paper: #f3f0ea;
    --cfm-paper-text: #1c1a18;
    --cfm-text: #f8f7f4;
    --cfm-muted: #b8b4ad;
    --cfm-orange: #ff6a24;
    --cfm-orange-text: #b63a00;
    --cfm-line: rgba(255, 255, 255, .11);
    --cfm-radius: 22px;
    --cfm-shadow: 0 24px 64px rgba(0, 0, 0, .26);
}

body.crowdflow-marketing-page {
    background: var(--cfm-bg);
    color: var(--cfm-text);
}

.crowdflow-marketing-page #content,
.crowdflow-marketing-page .ast-container,
.crowdflow-marketing-page .site-content .ast-container,
.crowdflow-marketing-page .entry-content,
.crowdflow-marketing-page .site-main,
.crowdflow-marketing-page article.page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.crowdflow-marketing-page .entry-header,
.crowdflow-marketing-page .entry-footer {
    display: none;
}

.cfm-page,
.cfm-page * {
    box-sizing: border-box;
}

.cfm-page {
    overflow-x: hidden;
    overflow: clip;
    background:
        radial-gradient(circle at 12% 5%, rgba(255, 106, 36, .13), transparent 28rem),
        var(--cfm-bg);
    color: var(--cfm-text);
    font-family: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cfm-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.cfm-skip {
    position: fixed;
    z-index: 99999;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-180%);
    border-radius: 10px;
    background: #fff;
    color: #111;
}

.cfm-skip:focus {
    transform: translateY(0);
}

#cfm-main:focus {
    outline: none;
}

.cfm-shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.cfm-hero {
    position: relative;
    min-height: min(720px, 78vh);
    display: grid;
    place-items: center;
    padding: clamp(96px, 13vw, 168px) 0 clamp(76px, 9vw, 120px);
    border-bottom: 1px solid var(--cfm-line);
}

.cfm-hero::after {
    content: "";
    position: absolute;
    right: max(-14rem, -12vw);
    bottom: -18rem;
    width: 42rem;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 106, 36, .28);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 106, 36, .025), 0 0 0 10rem rgba(255, 106, 36, .018);
    pointer-events: none;
}

.cfm-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.cfm-breadcrumbs {
    margin: 0 0 24px;
    color: var(--cfm-muted);
    font-size: .92rem;
}

.cfm-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfm-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cfm-breadcrumbs li + li::before {
    content: "/";
    color: #8f8b85;
}

.cfm-breadcrumbs a {
    color: #efede8;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.cfm-breadcrumbs a:hover,
.cfm-breadcrumbs a:focus-visible {
    color: #ff9b6b;
}

.cfm-breadcrumbs [aria-current="page"] {
    color: var(--cfm-muted);
}

.cfm-eyebrow {
    margin: 0 0 18px;
    color: #ff8a50;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cfm-hero h1,
.cfm-section-head h2,
.cfm-split > div > h2,
.cfm-final h2 {
    margin: 0;
    color: inherit;
    font-weight: 720;
    letter-spacing: -.04em;
    line-height: 1.04;
    overflow-wrap: break-word;
    hyphens: auto;
}

.cfm-hero h1 {
    max-width: 920px;
    font-size: clamp(2.45rem, 4.4vw, 4rem);
}

.cfm-guide-hero h1,
.cfm-page--guide-archive .cfm-hero h1,
.cfm-page--contact .cfm-hero h1,
.cfm-page--templates .cfm-hero h1,
.cfm-page--about .cfm-hero h1 {
    font-size: clamp(2.15rem, 3.6vw, 3.25rem);
}

.cfm-hero h1 em,
.cfm-final h2 em {
    color: var(--cfm-orange);
    font-style: normal;
}

.cfm-hero__copy {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--cfm-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.55;
}

.cfm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.cfm-button,
.cfm-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.cfm-button {
    padding: 0 22px;
    cursor: pointer;
}

.cfm-button svg,
.cfm-text-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cfm-button:hover,
.cfm-button:focus-visible,
.cfm-text-link:hover,
.cfm-text-link:focus-visible {
    transform: translateY(-2px);
}

.cfm-page :where(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #6f2300;
}

.cfm-button--primary {
    background: var(--cfm-orange);
    color: #160a04;
}

.cfm-button--primary:hover,
.cfm-button--primary:focus-visible {
    background: #ff8248;
    color: #0d0805;
}

.cfm-button--quiet,
.cfm-button--outline {
    border-color: #70707a;
    background: rgba(255,255,255,.04);
    color: var(--cfm-text);
}

.cfm-price .cfm-button--outline {
    border-color: #665f58;
    background: transparent;
    color: var(--cfm-paper-text);
}

.cfm-price .cfm-button--outline:hover,
.cfm-price .cfm-button--outline:focus-visible {
    border-color: var(--cfm-paper-text);
    background: var(--cfm-paper-text);
    color: #fff;
}

.cfm-button--quiet:hover,
.cfm-button--outline:hover {
    border-color: #ff8a50;
    color: #fff;
}

.cfm-section {
    padding: clamp(72px, 9vw, 120px) 0;
    border-bottom: 1px solid var(--cfm-line);
}

.cfm-section--paper {
    background: var(--cfm-paper);
    color: var(--cfm-paper-text);
}

.cfm-section--paper .cfm-eyebrow,
.cfm-section--paper .cfm-text-link {
    color: var(--cfm-orange-text);
}

.cfm-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.cfm-section-head h2,
.cfm-split > div > h2 {
    font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.cfm-final h2 {
    font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.cfm-section-head > p:not(.cfm-eyebrow),
.cfm-section p,
.cfm-final p {
    font-size: 1.05rem;
    line-height: 1.65;
}

.cfm-feature-grid,
.cfm-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cfm-card {
    min-width: 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--cfm-line);
    border-radius: var(--cfm-radius);
    background: var(--cfm-surface);
    color: var(--cfm-text);
    box-shadow: var(--cfm-shadow);
    text-decoration: none;
}

.cfm-section--paper .cfm-card {
    border-color: rgba(27, 25, 23, .14);
    background: #fff;
    color: var(--cfm-paper-text);
    box-shadow: 0 18px 50px rgba(56, 45, 36, .08);
}

.cfm-link-grid .cfm-card {
    transition: border-color .18s ease, transform .18s ease;
}

.cfm-link-grid .cfm-card:hover,
.cfm-link-grid .cfm-card:focus-visible {
    border-color: rgba(255,106,36,.65);
    transform: translateY(-3px);
}

.cfm-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    border-radius: 14px;
    background: rgba(255,106,36,.13);
    color: #ff874f;
}

.cfm-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.cfm-card h2,
.cfm-card h3,
.cfm-steps h3 {
    margin: 0 0 10px;
    color: inherit;
    font-size: clamp(1.18rem, 1.7vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.cfm-card p,
.cfm-steps p {
    margin: 0;
    color: inherit;
    opacity: .76;
}

.cfm-card > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    color: #ff8a50;
    font-weight: 750;
}

.cfm-section--paper .cfm-card > span:last-child {
    color: var(--cfm-orange-text);
}

.cfm-card > span:last-child svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
}

.cfm-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfm-steps li {
    min-width: 0;
    padding: 28px 28px 28px 0;
    border-top: 1px solid var(--cfm-line);
}

.cfm-steps li + li {
    padding-left: 28px;
    border-left: 1px solid var(--cfm-line);
}

.cfm-steps > li > span {
    display: block;
    margin-bottom: 42px;
    color: #ff8a50;
    font-size: .86rem;
    font-weight: 800;
}

.cfm-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(32px, 7vw, 92px);
    align-items: center;
}

.cfm-proof {
    padding: 30px;
    border: 1px solid rgba(255,106,36,.33);
    border-radius: var(--cfm-radius);
    background: linear-gradient(145deg, rgba(255,106,36,.13), rgba(255,255,255,.025));
}

.cfm-proof strong {
    color: #ff8a50;
    font-size: .82rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.cfm-text-link {
    margin-top: 18px;
    color: #ff8a50;
}

.cfm-faq {
    border-top: 1px solid var(--cfm-line);
}

.cfm-faq details {
    border-bottom: 1px solid var(--cfm-line);
}

.cfm-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 730;
    list-style: none;
}

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

.cfm-faq summary span {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-3px, 3px);
    transition: transform .18s ease;
}

.cfm-faq details[open] summary span {
    transform: rotate(225deg) translate(-3px, 3px);
}

.cfm-faq details p {
    max-width: 780px;
    margin: -8px 0 25px;
    opacity: .76;
}

.cfm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.cfm-price {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    padding: 26px;
    border: 1px solid rgba(27,25,23,.14);
    border-radius: var(--cfm-radius);
    background: #fff;
    color: var(--cfm-paper-text);
    box-shadow: 0 18px 50px rgba(56,45,36,.08);
}

.cfm-price::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: var(--cfm-radius) var(--cfm-radius) 0 0;
    background: rgba(28,26,24,.14);
}

.cfm-price.is-featured {
    border-color: var(--cfm-orange-text);
    background: linear-gradient(180deg, #fff8f3 0, #fff 145px);
    box-shadow: 0 20px 55px rgba(182,58,0,.16);
}

.cfm-price.is-featured::before {
    background: var(--cfm-orange-text);
}

.cfm-price__intro {
    min-width: 0;
    min-height: 7rem;
}

.cfm-price__name {
    margin: 0;
    color: var(--cfm-paper-text);
    font-size: 1.35rem;
    font-weight: 780;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.cfm-price__description {
    margin: 9px 0 0 !important;
    color: #5f5a55;
    font-size: .9rem !important;
    line-height: 1.5 !important;
}

.cfm-price__billing {
    min-height: 4.6rem;
    margin: 22px 0 20px;
}

.cfm-price__billing .cfm-price__amount {
    margin: 0 !important;
    font-size: clamp(1.9rem, 2.7vw, 2.35rem) !important;
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
}

.cfm-page--pricing .cfm-price :where(p, li, a, span) {
    overflow-wrap: anywhere;
}

.cfm-price.has-unverified-price .cfm-price__amount {
    font-size: clamp(1.45rem, 2.1vw, 1.8rem) !important;
    letter-spacing: -.03em;
    line-height: 1.12 !important;
}

.cfm-price__interval {
    margin: 7px 0 0 !important;
    color: #665f58;
    font-size: .8rem !important;
    line-height: 1.4 !important;
}

.cfm-price > .cfm-button {
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    line-height: 1.2;
    white-space: normal;
}

.cfm-price > .cfm-button svg {
    flex: 0 0 auto;
}

.cfm-page--pricing .cfm-hero .cfm-button > svg,
.cfm-page--pricing .cfm-text-link > svg,
.cfm-page--pricing .cfm-card > span:last-child > svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    max-width: 14px;
    min-height: 14px;
    max-height: 14px;
}

.cfm-page--pricing .cfm-price > .cfm-button > svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    max-width: 14px;
    min-height: 14px;
    max-height: 14px;
    flex: 0 0 14px;
}

.cfm-price__features {
    flex: 1;
    min-width: 0;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(28,26,24,.12);
}

.cfm-price__features-title {
    margin: 0 0 12px;
    color: #514c47;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cfm-price ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfm-price li {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    margin: 9px 0;
    padding: 0;
    color: #393531;
    font-size: .84rem;
    line-height: 1.45;
}

.cfm-price__check {
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin-top: .17em;
    flex: 0 0 14px;
    overflow: hidden;
    border-radius: 50%;
    background: #f7e4da;
    color: var(--cfm-orange-text);
}

.cfm-page--pricing .cfm-price__check > svg {
    display: block;
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
    max-width: 9px;
    max-height: 9px;
    flex: 0 0 9px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.cfm-pricing-note {
    max-width: 760px;
    margin: 24px auto 0 !important;
    color: var(--cfm-muted);
    font-size: .82rem !important;
    line-height: 1.5 !important;
    text-align: center;
}

.cfm-page--pricing .cfm-hero {
    min-height: auto;
    padding: clamp(104px, 10vw, 140px) 0 clamp(64px, 7vw, 92px);
}

.cfm-page--pricing .cfm-hero h1 {
    max-width: 820px;
    font-size: clamp(2.35rem, 4.3vw, 3.75rem);
}

.cfm-pricing-section {
    padding: clamp(54px, 6vw, 78px) 0;
}

.cfm-pricing-details {
    padding: clamp(58px, 7vw, 88px) 0;
}

.cfm-demo {
    border: 1px solid var(--cfm-line);
    border-radius: calc(var(--cfm-radius) + 6px);
    background: var(--cfm-surface);
    box-shadow: var(--cfm-shadow);
    overflow: hidden;
}

.cfm-demo__tabs,
.cfm-demo__chooser {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--cfm-line);
}

.cfm-demo__tabs button,
.cfm-demo__chooser button,
.cfm-demo__moderation button {
    border: 1px solid #70707a;
    border-radius: 999px;
    background: transparent;
    color: var(--cfm-text);
    cursor: pointer;
}

.cfm-demo__tabs button,
.cfm-demo__chooser button {
    min-height: 42px;
    padding: 0 18px;
}

.cfm-demo__tabs button.is-active,
.cfm-demo__chooser button.is-active {
    border-color: var(--cfm-orange);
    background: var(--cfm-orange);
    color: #160a04;
}

.cfm-demo__stage {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}

.cfm-demo__phone,
.cfm-demo__control {
    min-width: 0;
    padding: clamp(24px, 4vw, 44px);
}

.cfm-demo__phone {
    border-right: 1px solid var(--cfm-line);
    background: #111114;
}

.cfm-demo label,
.cfm-template-controls label {
    display: grid;
    gap: 7px;
    margin-bottom: 15px;
    font-size: .84rem;
    font-weight: 700;
}

.cfm-demo input,
.cfm-demo textarea,
.cfm-template-controls input,
.cfm-template-controls select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #70707a;
    border-radius: 12px;
    background: #202025;
    color: #fff;
    font: inherit;
}

.cfm-demo textarea {
    min-height: 96px;
    resize: vertical;
}

.cfm-demo__counter,
.cfm-demo__privacy,
.cfm-demo__label {
    color: var(--cfm-muted);
    font-size: .82rem;
}

.cfm-demo__counter {
    display: block;
    margin: -8px 0 14px;
    text-align: right;
}

.cfm-demo__result,
.cfm-demo__empty,
.cfm-demo__display {
    padding: 22px;
    border: 1px solid var(--cfm-line);
    border-radius: 16px;
    background: var(--cfm-surface-2);
}

.cfm-demo__result > div:first-child {
    display: grid;
    gap: 5px;
}

.cfm-demo__result span,
.cfm-demo__result small {
    color: var(--cfm-muted);
}

.cfm-demo__moderation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.cfm-demo__moderation button {
    min-height: 42px;
    padding: 0 14px;
}

.cfm-demo__display {
    margin-top: 16px;
    border-color: rgba(255,106,36,.35);
    font-size: clamp(1.25rem, 3vw, 2.4rem);
    font-weight: 730;
    text-align: center;
}

.cfm-demo__privacy {
    margin: 0;
    padding: 14px 18px 18px;
    text-align: center;
}

body.crowdflow-marketing-page--templates #primary article.page { padding: 0; margin: 0; }

.cfm-page--templates .cfm-hero { overflow: clip; }

.cfm-template-tools {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.cfm-template-controls {
    min-width: 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--cfm-line);
    border-radius: var(--cfm-radius);
    background: var(--cfm-surface);
}

.cfm-template-controls h2 {
    margin: 0 0 24px;
    color: var(--cfm-text);
    font-size: 1.4rem;
}

.cfm-page--templates .cfm-template-controls label {
    color: #e8e5df;
    font-size: .94rem;
    font-weight: 500;
}

.cfm-page--templates .cfm-template-controls :is(input, select) {
    min-width: 0;
    background: #242429;
    color: #f8f7f4;
    font-size: 16px;
    line-height: 1.4;
    color-scheme: dark;
}

.cfm-page--templates .cfm-template-controls :is(input, select):focus {
    background: #29292f;
    color: #fff;
    border-color: #ff9b6b;
    outline: 2px solid #ff9b6b;
    outline-offset: 2px;
}

.cfm-template-controls .cfm-button {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    white-space: normal;
    line-height: 1.4;
}

.cfm-template-sheet {
    container-type: inline-size;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    margin: 0 auto;
}

.cfm-template-sheet[data-size="a5"] { max-width: 420px; }
.cfm-template-sheet[data-size="a6"] { max-width: 360px; }

.cfm-template-preview {
    --cfm-paper: #f7f3ec;
    --cfm-ink: #171411;
    --cfm-accent: #a63b0c;
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 210 / 297;
    display: grid;
    grid-template-rows: auto minmax(0, .85fr) minmax(0, 1.6fr) minmax(0, .7fr);
    justify-items: center;
    align-items: center;
    gap: 4cqw;
    padding: 8cqw;
    border: 1px solid #ded7cc;
    border-radius: 8px;
    background: var(--cfm-paper);
    color: var(--cfm-ink);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center;
}

.cfm-template-preview[data-size="a5"] { aspect-ratio: 148 / 210; }
.cfm-template-preview[data-size="a6"] { aspect-ratio: 105 / 148; }

.cfm-template-preview > * {
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    margin: 0;
}

.cfm-template-preview__brand {
    color: var(--cfm-ink);
    font-size: 3.6cqw;
    font-weight: 750;
    line-height: 1.2;
}

.cfm-template-preview__brand em { color: var(--cfm-accent); font-style: normal; }

.cfm-page--templates .cfm-template-preview h2,
.cfm-page--templates .cfm-template-preview p {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    margin: 0;
    color: var(--cfm-ink);
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.cfm-page--templates .cfm-template-preview h2 {
    font-size: calc(8cqw * var(--cfm-title-scale, 1));
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.cfm-page--templates .cfm-template-preview p {
    font-size: calc(4.2cqw * var(--cfm-copy-scale, 1));
    line-height: 1.4;
}

/* Theme colors are inherited by every cloned print card. QR codes retain their white quiet zone. */
.cfm-template-preview[data-theme="dark"] {
    --cfm-paper: #202126;
    --cfm-ink: #faf4e9;
    --cfm-accent: #efb792;
    border-color: #55545a;
}

.cfm-template-preview[data-theme="wedding"] {
    --cfm-paper: #fbf8f1;
    --cfm-ink: #464b3e;
    --cfm-accent: #796642;
    border-color: #d9d4c3;
}

.cfm-page--templates .cfm-template-preview[data-theme="wedding"] h2,
.cfm-page--templates .cfm-template-preview[data-theme="wedding"] p {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-weight: 400;
    letter-spacing: .005em;
}

.cfm-template-preview[data-theme="wedding"]::before,
.cfm-template-preview[data-theme="wedding"]::after {
    content: "";
    position: absolute;
    width: 26cqw;
    height: 26cqw;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20fill%3D%22none%22%20stroke%3D%22%239c977d%22%20stroke-width%3D%22.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2092V30Q8%208%2030%208H92M13%2066Q15%2025%2053%2014%22%2F%3E%3Cpath%20d%3D%22M14%2052Q5%2042%2012%2036Q21%2041%2014%2052ZM20%2037Q18%2024%2027%2023Q31%2033%2020%2037ZM31%2025Q33%2012%2042%2015Q42%2024%2031%2025ZM44%2017Q50%207%2058%2012Q54%2020%2044%2017M13%2061Q22%2049%2026%2054Q25%2061%2013%2061M23%2034Q36%2030%2035%2038Q28%2042%2023%2034%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    pointer-events: none;
    z-index: -1;
}
.cfm-template-preview[data-theme="wedding"]::before { top: 2cqw; left: 2cqw; }
.cfm-template-preview[data-theme="wedding"]::after { bottom: 2cqw; right: 2cqw; transform: rotate(180deg); }

.cfm-template-preview__qr {
    height: 100%;
    width: auto;
    max-height: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 3cqw;
    border: 2px dashed #6c6359;
    background: #fff;
    color: #51483f;
    font-size: 4cqw;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

.cfm-template-preview__qr.has-code { padding: 0; border: 0; background: #fff; }
.cfm-template-preview__qr img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.cfm-page--templates .cfm-template-qr-help { margin: -4px 0 16px; color: #c9c4bb; font-size: .85rem; line-height: 1.5; }
.cfm-template-qr-help:empty { display: none; }
.cfm-page--templates .cfm-template-qr-login { margin: 4px 0 20px; color: #c9c4bb; font-size: .85rem; line-height: 1.5; }
.cfm-page--templates .cfm-template-qr-login a { color: #f2c4a8; text-decoration: underline; text-underline-offset: .15em; }
.cfm-page--templates .cfm-template-qr-login a:hover { color: #fff; }
.cfm-template-qr-controls [hidden],
.cfm-page--templates [data-cfm-template-placeholder-note][hidden] { display: none !important; }
.cfm-template-qr-refresh { padding: 8px 12px; margin-bottom: 16px; border: 1px solid #898177; border-radius: 8px; background: transparent; color: #f8f7f4; font: inherit; cursor: pointer; }
.cfm-template-controls .cfm-button:disabled { opacity: .55; cursor: wait; }
.cfm-page--templates .cfm-template-print-error { padding: 20mm; color: #171411; font-size: 16pt; }

.cfm-template-sheet figcaption {
    padding-top: 16px;
    color: var(--cfm-muted);
    font-size: .9rem;
    text-align: center;
}

.cfm-page--templates .cfm-section--paper h3 {
    color: var(--cfm-paper-text);
}

.cfm-template-note {
    max-width: 760px;
    margin: 28px 0 0;
    color: var(--cfm-muted);
    font-size: .9rem;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .cfm-template-tools { grid-template-columns: minmax(0, 1fr); }
}

.cfm-final {
    padding: clamp(80px, 11vw, 150px) 0;
    background: linear-gradient(145deg, #161112, #0d0d0f 62%);
    text-align: center;
}

.cfm-final .cfm-shell { max-width: 850px; }
.cfm-final .cfm-hero__actions { justify-content: center; }
.cfm-final p { color: var(--cfm-muted); }

/* Guide templates sit directly inside Astra's flex container. Give them the
   full available width instead of a content-dependent flex-item width. */
.crowdflow-marketing-page.single-crowdflow_guide #content > .ast-container,
.crowdflow-marketing-page.post-type-archive-crowdflow_guide #content > .ast-container {
    padding-inline: 0;
}

.cfm-page--guide-single,
.cfm-page--guide-archive {
    width: 100%;
    min-width: 0;
}

.cfm-guide-hero .cfm-hero__inner {
    max-width: 800px;
}

.cfm-page--guide-single :where(h1, h2, h3, p, li) {
    hyphens: auto;
}

.cfm-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cfm-guide-card h2 a {
    color: inherit;
    text-decoration: none;
}

.cfm-guide-card h2 a:hover,
.cfm-guide-card h2 a:focus-visible {
    color: #ff8a50;
}

.cfm-guide-content {
    max-width: 800px;
}

.cfm-guide-content > * + * {
    margin-top: 1.25em;
}

.cfm-guide-content h2,
.cfm-guide-content h3 {
    margin-top: 2em;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.cfm-guide-content h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.cfm-guide-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.cfm-guide-content a {
    color: #ff8a50;
}

.cfm-guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 28px;
    color: #a9a49d;
    font-size: .88rem;
    line-height: 1.5;
}

.cfm-guide-meta strong {
    color: #f2efe9;
    font-weight: 720;
}

.cfm-guide-note {
    margin-top: 2rem !important;
    padding: 18px 20px;
    border-left: 3px solid var(--cfm-orange);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 106, 36, .1);
}

.cfm-about-story,
.cfm-about-founder {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(36px, 8vw, 100px);
    align-items: start;
}

.cfm-about-story h2,
.cfm-about-founder h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.cfm-about-story__copy p,
.cfm-about-founder > div:last-child p {
    margin: 0;
    color: var(--cfm-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.cfm-about-story__copy p + p,
.cfm-about-founder > div:last-child p + p {
    margin-top: 1.25rem;
}

.cfm-about-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cfm-about-timeline article {
    min-width: 0;
    padding: clamp(24px, 3.5vw, 36px);
    border: 1px solid rgba(27, 25, 23, .14);
    border-radius: var(--cfm-radius);
    background: #fff;
    box-shadow: 0 18px 50px rgba(56, 45, 36, .08);
}

.cfm-about-timeline article > span {
    display: block;
    margin-bottom: 36px;
    color: var(--cfm-orange-text);
    font-size: .78rem;
    font-weight: 850;
}

.cfm-about-timeline h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.cfm-about-timeline p {
    margin: 0;
    color: #655f59;
    font-size: .98rem;
    line-height: 1.65;
}

.cfm-about-founder__role {
    margin: 12px 0 0;
    color: #ff8a50;
    font-weight: 720;
}

.cfm-page :where(p, li, h1, h2, h3, a, button, label, input, textarea, select) {
    min-width: 0;
    overflow-wrap: break-word;
}

.cfm-page--guide-archive .navigation.pagination {
    width: min(1160px, calc(100% - 40px));
    margin: 36px auto 0;
}

.cfm-page--guide-archive .navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cfm-page--guide-archive .navigation.pagination .page-numbers {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #70707a;
    border-radius: 999px;
    color: var(--cfm-text);
    text-decoration: none;
}

.cfm-page--guide-archive .navigation.pagination .page-numbers.current {
    border-color: var(--cfm-orange);
    background: var(--cfm-orange);
    color: #160a04;
}

@media (max-width: 1160px) {
    .cfm-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cfm-price__intro { min-height: 5.75rem; }
}

@media (max-width: 680px) {
    .cfm-pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .cfm-price { padding: 22px; }
    .cfm-price__intro,
    .cfm-price__billing { min-height: 0; }
}

@media (max-width: 760px) {
    .cfm-shell { width: min(100% - 28px, 1160px); }
    .cfm-hero { min-height: auto; }
    .cfm-hero h1 { font-size: clamp(2.2rem, 10vw, 2.7rem); }
    .cfm-section-head h2,
    .cfm-split > div > h2 { font-size: clamp(1.75rem, 7.7vw, 2.15rem); }
    .cfm-final h2 { font-size: clamp(1.9rem, 8.2vw, 2.35rem); }
    .cfm-feature-grid,
    .cfm-link-grid,
    .cfm-split,
    .cfm-demo__stage,
    .cfm-template-tools,
    .cfm-guide-grid,
    .cfm-about-story,
    .cfm-about-founder,
    .cfm-about-timeline { grid-template-columns: 1fr; }
    .cfm-guide-hero h1,
    .cfm-page--guide-archive .cfm-hero h1,
    .cfm-page--contact .cfm-hero h1,
    .cfm-page--templates .cfm-hero h1,
    .cfm-page--about .cfm-hero h1 { font-size: clamp(2rem, 9vw, 2.45rem); }
    .cfm-steps { grid-template-columns: 1fr; }
    .cfm-steps li,
    .cfm-steps li + li { padding: 23px 0; border-left: 0; }
    .cfm-steps > li > span { margin-bottom: 18px; }
    .cfm-demo__phone { border-right: 0; border-bottom: 1px solid var(--cfm-line); }
}

@media (max-width: 520px) {
    .cfm-button { width: 100%; }
    .cfm-hero__actions { flex-direction: column; }
    .cfm-demo__chooser button { flex: 1 1 100%; }
    .cfm-demo__moderation button { flex: 1 1 0; }
    .cfm-template-controls { padding: 22px; }
}

@media (max-width: 430px) {
    .cfm-page--pricing .cfm-hero h1 { font-size: clamp(2rem, 10vw, 2.35rem); }
    .cfm-pricing-section { padding-block: 46px; }
    .cfm-price { padding: 20px 18px; }
    .cfm-price__amount { font-size: 1.9rem !important; }
    .cfm-price.has-unverified-price .cfm-price__amount { font-size: 1.55rem !important; }
}

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

/* One physical A4 print page, independent of the website layout. */
.cfm-template-print { display: none; }

@media print {
    @page { size: A4 portrait; margin: 0; }
    html:has(body.crowdflow-marketing-page--templates),
    body.crowdflow-marketing-page--templates {
        width: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    body.crowdflow-marketing-page--templates > :not(.cfm-template-print) {
        display: none !important;
    }
    body.crowdflow-marketing-page--templates > .cfm-template-print {
        display: grid !important;
        grid-template-columns: 210mm;
        grid-template-rows: 297mm;
        width: 210mm;
        height: 297mm;
        margin: 0;
        padding: 0;
        gap: 0;
        align-content: start;
        background: #fff;
        break-inside: avoid;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    body.crowdflow-marketing-page--templates > .cfm-template-print[data-size="a5"] {
        grid-template-rows: repeat(2, 148mm);
    }
    body.crowdflow-marketing-page--templates > .cfm-template-print[data-size="a6"] {
        grid-template-columns: repeat(2, 105mm);
        grid-template-rows: repeat(2, 148mm);
    }
    .cfm-template-print-slot { position: relative; min-width: 0; min-height: 0; }
    .cfm-template-print-card {
        container-type: inline-size;
        position: absolute;
        top: 0;
        left: 0;
        width: 210mm;
        height: 297mm;
    }
    .cfm-template-print[data-size="a5"] .cfm-template-print-card {
        width: 148mm;
        height: 210mm;
        transform-origin: 0 0;
        transform: translateX(210mm) rotate(90deg);
    }
    .cfm-template-print[data-size="a6"] .cfm-template-print-card { width: 105mm; height: 148mm; }
    .cfm-template-print .cfm-template-preview {
        width: 100%;
        height: 100%;
        box-shadow: none;
        border: .2mm solid #b8b0a5;
        border-radius: 0;
    }
}

.cfm-card .cfm-card__text-link { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
