:root {
    --red: #e03c31;
    --action: #bd2c23;
    --ink: #1c1c1c;
    --muted: #63605c;
    --paper: #faf7f2;
    --line: #ddd7cf;
    --white: #fff;
    --radius: 14px;
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
    scrollbar-color: #a9a199 var(--paper);
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Libre Franklin", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
::selection {
    color: white;
    background: var(--action);
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
}
button,
a,
summary {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 5px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.13;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
h2 {
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 750;
}
h3 {
    font-size: 1.3rem;
    letter-spacing: -0.025em;
}
p {
    color: var(--muted);
}
.container {
    width: min(1224px, calc(100% - 96px));
    margin-inline: auto;
}
.section {
    padding: 112px 0;
}
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.nav {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: block;
    width: 227px;
    flex: none;
}
.brand img {
    display: block;
    width: 100%;
    height: auto;
}
nav {
    display: flex;
    gap: 28px;
    font-size: 0.875rem;
    font-weight: 500;
}
nav a {
    position: relative;
}
nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.25s;
}
nav a:hover:after {
    width: 100%;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 15px 24px;
    border: 0;
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 650;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:after {
    content: "↗";
    font-size: 1.2rem;
}
.button:hover {
    transform: translateY(-2px);
}
.primary {
    background: var(--action);
    color: white;
}
.primary:hover {
    background: #a3241c;
}
.outline {
    border: 1px solid var(--ink);
    background: transparent;
}
.outline:hover {
    background: var(--ink);
    color: white;
}
.button.small {
    min-height: 44px;
    font-size: 0.8125rem;
    padding: 10px 18px;
}
.hero {
    padding: 62px 0 0;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 94px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(3rem, 4.7vw, 4.3rem);
    line-height: 1.04;
    font-weight: 750;
    letter-spacing: -0.04em;
    max-width: 670px;
    text-wrap: initial;
}
.hero h1 em {
    font-style: normal;
    color: var(--red);
}
.hero-subtitle {
    font-size: 1.13rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 600;
    margin-top: 25px;
    max-width: 510px;
}
.hero-description {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 570px;
    margin-top: 17px;
}
.signup-card {
    background: white;
    padding: 29px 32px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    scroll-margin-top: 122px;
}
.signup-card h2 {
    font-size: 1.23rem;
    letter-spacing: -0.02em;
    font-weight: 650;
    margin-bottom: 16px;
    line-height: 1.4;
}
.signup-card h2::first-letter {
    color: var(--red);
}
#signup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 14px;
}
label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 9px;
}
label[for="name"] {
    grid-column: 1;
}
label[for="email"] {
    grid-column: 1;
    grid-row: 3;
}
label[for="phone"] {
    grid-column: 2;
    grid-row: 3;
}
label[for="specialty"] {
    grid-column: 1;
    grid-row: 5;
}
input {
    min-width: 0;
    width: 100%;
    height: 47px;
    border: 1px solid #c8c3bd;
    background: #fff;
    color: var(--ink);
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 1rem;
    caret-color: var(--red);
}
#name {
    grid-row: 2;
    grid-column: 1/-1;
}
#email {
    grid-row: 4;
    grid-column: 1;
}
#phone {
    grid-row: 4;
    grid-column: 2;
}
#specialty {
    grid-row: 6;
    grid-column: 1/-1;
}
.submit {
    grid-column: 1/-1;
    width: 100%;
    margin-top: 16px;
}
.hero-media {
    height: 385px;
    position: relative;
    margin-top: 53px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: center;
}
.physician-frame {
    height: 100%;
    width: 75%;
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--ink);
    overflow: hidden;
    border-radius: var(--radius);
}
.physician-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 38%;
}
.platform-frame {
    display: block;
    position: relative;
    grid-column: 2;
    width: 100%;
    background: white;
    padding: 7px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 50px #1c1c1c33;
    transform: rotate(-3deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: reveal-image 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.platform-frame:hover {
    transform: rotate(0) translateY(-5px);
}
.platform-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.expand-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: var(--ink);
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}
.strategy-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: start;
}
.strategy h2 > span {
    display: block;
}
.strategy h2 > span:last-child {
    font-family: "Merriweather", serif;
    font-style: italic;
    color: var(--action);
    font-size: 1.09em;
    font-weight: 500;
    line-height: 1.28;
    margin-top: 14px;
}
.muted-heading {
    font-size: 1.9rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 650;
}
.copy-stack p + p {
    margin-top: 16px;
}
.strategy .copy-stack p:nth-child(-n + 2) {
    color: var(--ink);
    font-weight: 600;
}
.strategy .copy-stack p:nth-child(2) {
    margin-top: 2px;
}
.workflow {
    background: white;
}
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.workflow-visual {
    position: sticky;
    top: 138px;
}
.workflow-visual h2 {
    margin-bottom: 36px;
}
.workflow-screen {
    position: relative;
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    overflow: hidden;
}
.workflow-screen img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.69;
    object-fit: contain;
    display: block;
    background: white;
}
.screen-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.screen-selector button {
    background: none;
    border: 1px solid var(--line);
    color: var(--muted);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.875rem;
}
.screen-selector button[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}
.workflow-content > .button {
    margin-top: 30px;
}
details {
    border-bottom: 1px solid var(--line);
}
details:first-child {
    border-top: 1px solid var(--line);
}
summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    padding: 24px 0;
}
summary::-webkit-details-marker {
    display: none;
}
.toggle {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    color: var(--action);
}
.toggle:before,
.toggle:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 3px;
    width: 14px;
    height: 2px;
    background: currentColor;
}
.toggle:after {
    transform: rotate(90deg);
    transition: transform 0.2s;
}
details[open] .toggle:after {
    transform: rotate(0);
}
details[open] summary {
    color: var(--action);
}
.step-body {
    padding: 0 28px 25px 0;
}
.step-body p + p {
    margin-top: 13px;
}
.step-body ul {
    padding-left: 21px;
    margin: 0 0 18px;
    color: var(--muted);
}
.step-body p + ul {
    margin-top: 15px;
}
.step-body li {
    padding: 3px 0;
}
.step-body li::marker {
    color: var(--action);
}
.difference {
    background: var(--paper);
}
.difference h2 {
    max-width: 760px;
}
.difference-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    margin-top: 40px;
}
.difference-statement p {
    font-size: 1.55rem;
    line-height: 1.35;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--ink);
}
.difference-statement p + p {
    color: var(--action);
    margin-top: 12px;
}
.difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    margin-top: 48px;
}
.difference-grid p {
    border-top: 1px solid #bcb3a8;
    padding-top: 24px;
    color: var(--ink);
    font-size: 1rem;
}
.audience {
    background: white;
}
.audience-grid {
    display: grid;
    grid-template-columns: 1.07fr 1fr;
    gap: 80px;
    align-items: center;
}
.audience-photo {
    height: 540px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
}
.audience-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}
.audience h2 {
    margin-bottom: 22px;
}
.specialties ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    list-style: none;
    padding: 0;
    margin: 22px 0;
}
.specialties li {
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    font-size: 1rem;
}
.audience .button {
    margin-top: 26px;
}
.benefits h2 {
    margin-bottom: 43px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 56px;
}
.benefits-grid article {
    border-top: 1px solid #bcb3a8;
    padding-top: 24px;
}
.benefits h3 {
    margin-bottom: 12px;
    color: var(--action);
}
.benefits p {
    font-size: 1rem;
}
.closing {
    background: var(--ink);
    padding: 100px 0;
    color: white;
}
.closing-inner {
    max-width: 970px;
    text-align: center;
}
.closing h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
}
.closing-note {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin: 32px 0;
}
.closing-note p {
    color: #e9ddd7;
    font-size: 1rem;
}
.closing .primary {
    background: var(--red);
    color: white;
    font-size: 1.125rem;
    font-weight: 750;
}
.closing .primary:hover {
    background: var(--action);
}
.faq {
    background: white;
}
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 100px;
}
.faq h2 {
    max-width: 350px;
    padding-top: 18px;
}
footer {
    border-top: 1px solid var(--line);
    padding: 38px 0;
}
.footer-inner {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 0.875rem;
}
.footer-inner .brand {
    margin-right: auto;
}
.footer-inner > a:hover {
    color: var(--action);
}
.contact-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,0);
    color: white;
    box-shadow: 0 5px 18px #0003;
    transition:
        background 0.2s,
        transform 0.2s;
}
.contact-float:hover {
    background: rgba(0,0,0,0);
    transform: translateY(-3px);
}
.contact-float svg {
    width: 40px;
    height: 40px;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--ink);
    color: white;
    padding: 12px 20px;
}
.skip-link:focus {
    top: 12px;
}
dialog {
    border: 0;
    border-radius: 12px;
    padding: 44px 16px 16px;
    width: min(1200px, 94vw);
    max-height: 92dvh;
    background: var(--paper);
    overflow: auto;
}
dialog::backdrop {
    background: #111c;
}
dialog img {
    width: 100%;
    height: auto;
    display: block;
}
.dialog-close {
    position: absolute;
    right: 10px;
    top: 4px;
    border: 0;
    background: none;
    font-size: 2rem;
    line-height: 1;
    width: 40px;
    height: 36px;
    color: var(--ink);
}
@keyframes reveal-image {
    from {
        transform: translateY(22px) rotate(-3deg);
        clip-path: inset(5% 0 0 0);
    }
    to {
        transform: translateY(0) rotate(-3deg);
        clip-path: inset(0);
    }
}
@media (min-width: 1500px) {
    .hero h1 {
        font-size: 4.6rem;
    }
    .hero-grid {
        gap: 100px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 56px);
    }
    .nav {
        gap: 18px;
    }
    .brand {
        width: 195px;
    }
    nav {
        gap: 20px;
    }
    .hero-grid {
        gap: 42px;
        grid-template-columns: 1.15fr 1fr;
    }
    .hero h1 {
        font-size: 3.4rem;
    }
    .signup-card {
        padding: 26px;
    }
    .strategy-grid,
    .difference-intro {
        gap: 52px;
    }
    .workflow-grid,
    .audience-grid,
    .faq-grid {
        gap: 45px;
    }
    .hero-media {
        height: 330px;
    }
    .section {
        padding: 85px 0;
    }
    .audience-photo {
        height: 490px;
    }
}
@media (max-width: 800px) {
    html {
        scroll-padding-top: 90px;
    }
    .container {
        width: calc(100% - 40px);
    }
    .nav {
        min-height: 80px;
    }
    .brand {
        width: 180px;
    }
    nav {
        display: none;
    }
    .button.small {
        font-size: 0.75rem;
        padding: 10px 12px;
        gap: 8px;
    }
    .hero {
        padding-top: 38px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero h1 {
        font-size: clamp(2.8rem, 8vw, 4.3rem);
        max-width: 650px;
    }
    .hero-subtitle {
        margin-top: 22px;
    }
    .hero-description {
        max-width: 650px;
    }
    .signup-card {
        max-width: none;
        padding: 25px;
    }
    .hero-media {
        height: 300px;
        margin-top: 30px;
        grid-template-columns: 0.35fr 1fr;
        align-items: end;
        padding-bottom: 14px;
    }
    .physician-frame {
        width: 100%;
        height: 100%;
    }
    .physician-frame img {
        object-position: 50% 30%;
    }
    .platform-frame {
        width: 82%;
        justify-self: end;
        transform: rotate(-3deg);
        margin-right: 12px;
    }
    .section {
        padding: 64px 0;
    }
    .strategy-grid,
    .workflow-grid,
    .difference-intro,
    .audience-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .strategy h2 {
        max-width: 580px;
    }
    .muted-heading {
        font-size: 1.65rem;
    }
    .strategy h2 > span:last-child {
        max-width: 650px;
    }
    .workflow-visual {
        position: static;
    }
    .workflow-visual h2 {
        margin-bottom: 25px;
    }
    .workflow-screen {
        max-width: 600px;
    }
    .workflow-content > .button {
        margin-top: 24px;
    }
    .difference-intro {
        margin-top: 28px;
    }
    .difference-grid {
        grid-template-columns: 1fr;
        gap: 21px;
        margin-top: 32px;
    }
    .difference-grid p {
        padding-top: 19px;
    }
    .audience-photo {
        height: 420px;
    }
    .audience-photo img {
        object-position: 65% 38%;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 26px;
    }
    .benefits h2 {
        margin-bottom: 30px;
    }
    .closing {
        padding: 64px 0;
    }
    .closing-note {
        gap: 12px 20px;
        flex-wrap: wrap;
        margin: 25px 0;
    }
    .faq h2 {
        padding: 0;
    }
    .footer-inner {
        flex-wrap: wrap;
        gap: 20px;
        font-size: 0.875rem;
    }
    .footer-inner .brand {
        width: 100%;
        margin-bottom: 8px;
    }
    .footer-inner .brand img {
        width: 190px;
    }
    .contact-float {
        width: 50px;
        height: 50px;
        right: 16px;
        bottom: 16px;
    }
}
@media (max-width: 420px) {
    .nav .brand {
        width: 155px;
    }
    .nav .button.small {
        max-width: 150px;
    }
    .nav .button:after {
        display: none;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero-media {
        height: 265px;
    }
    .signup-card {
        padding: 22px;
    }
    #signup-form {
        grid-template-columns: 1fr;
    }
    #signup-form label,
    #signup-form input {
        grid-column: 1;
        grid-row: auto;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .audience-photo {
        height: 340px;
    }
    .closing-note {
        flex-direction: column;
        gap: 5px;
    }
    .specialties ul {
        gap: 0 14px;
    }
    .screen-selector {
        gap: 6px;
    }
    .screen-selector button {
        font-size: 0.8125rem;
        padding: 9px;
    }
}
.physician-frame {
    width: 65%;
}
.physician-frame img {
    object-position: 70% 18%;
}
.button:after,
.expand-icon:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    flex: none;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center/contain no-repeat;
}
.expand-icon {
    font-size: 0;
}
.closing .primary {
    background: var(--action);
}
@media (max-width: 800px) {
    .physician-frame {
        width: 100%;
    }
    .physician-frame img {
        object-position: 70% 0;
    }
    .hero-media .platform-frame {
        width: 66%;
        margin-bottom: 0;
    }
    .hero-media {
        height: 340px;
    }
}
@media (max-width: 420px) {
    .hero-media {
        height: 300px;
    }
}
.button,
.closing .primary {
    background: #e03c31;
    color: #fff;
    border-color: #e03c31;
}
.button:hover,
.closing .primary:hover {
    background: #e03c31;
    color: #fff;
    border-color: #e03c31;
}
.button:after {
    content: none;
    display: none;
}
.strategy h2 > span:last-child {
    font-weight: 700;
}
.expand-icon:after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15 15 5 5M7 10h6M10 7v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
}

/* Four visible steps, matching the approved reference layout. */
.workflow-title {
    text-align: center;
    margin-bottom: 48px;
}
.flow-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.flow-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.flow-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    color: var(--action);
    display: grid;
    place-items: center;
}
.flow-icon svg {
    width: 24px;
    height: 24px;
}
.flow-number {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--action);
    font-variant-numeric: tabular-nums;
}
.flow-card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
    letter-spacing: -0.025em;
    margin-bottom: 17px;
    text-wrap: initial;
    min-height: 0;
}
.flow-copy {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
}
.flow-copy p + p {
    margin-top: 15px;
}
.flow-copy ul {
    padding-left: 18px;
    margin: 14px 0;
    color: var(--muted);
}
.flow-copy li {
    padding: 2px 0;
}
.flow-copy li::marker {
    color: var(--action);
}
.flow-figure {
    margin: auto 0 0;
}
.flow-figure figcaption {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 10px;
    text-align: center;
}
.flow-shot,
.flow-demo {
    position: relative;
    width: 100%;
    height: 225px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    overflow: hidden;
}
.flow-shot {
    display: block;
    padding: 0;
    transition: border-color 0.2s;
}
.flow-shot:hover {
    border-color: var(--red);
}
.flow-shot img {
    position: absolute;
    max-width: none;
    height: auto;
    top: 0;
}
.profile-shot img {
    width: 205%;
    left: -100%;
}
.plan-shot img {
    width: 152%;
    left: -24%;
}
.flow-demo {
    padding: 13px;
}
.demo-toolbar {
    display: flex;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.demo-toolbar span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c7c8ca;
}
.demo-toolbar span:first-child {
    background: var(--red);
}
.review-row {
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #eee9e3;
    padding: 14px 0;
}
.review-row i {
    width: 22px;
    height: 24px;
    border: 1px solid #c7c8ca;
    border-radius: 4px;
    background: var(--paper);
    flex: none;
}
.demo-lines {
    flex: 1;
}
.demo-lines b,
.content-lines b {
    display: block;
    height: 5px;
    background: #dedad5;
    border-radius: 3px;
}
.demo-lines b + b {
    margin-top: 6px;
    width: 67%;
    background: #eee9e3;
}
.review-row svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--action);
    stroke-width: 2;
}
.demo-action {
    margin-top: 12px;
    background: var(--red);
    color: white;
    text-align: center;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 0;
}
.content-demo > img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    object-position: 70% 27%;
    margin-top: 10px;
    border-radius: 5px;
    display: block;
}
.content-lines {
    margin-top: 11px;
}
.content-lines b + b {
    margin-top: 6px;
}
.content-lines b:last-child {
    width: 65%;
}
.demo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 11px;
}
.demo-tags span {
    font-size: 0.62rem;
    color: var(--action);
    background: var(--paper);
    padding: 3px 5px;
    border-radius: 3px;
}
.workflow-cta {
    text-align: center;
    margin-top: 38px;
}
.review-row {
    padding: 9px 0;
}
@media (max-width: 1100px) {
    .flow-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .flow-card h3 {
        min-height: 0;
    }
    .flow-copy {
        margin-bottom: 25px;
    }
    .flow-shot,
    .flow-demo {
        height: 235px;
    }
    .content-demo > img {
        height: 100px;
    }
}
@media (max-width: 600px) {
    .workflow-title {
        text-align: left;
        margin-bottom: 30px;
    }
    .flow-cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .flow-card {
        padding: 24px;
    }
    .flow-card h3 {
        font-size: 1.25rem;
    }
    .flow-card-top {
        margin-bottom: 18px;
    }
    .flow-copy {
        margin-bottom: 24px;
    }
    .flow-shot,
    .flow-demo {
        height: 240px;
    }
    .workflow-cta .button {
        width: 100%;
    }
    .content-demo > img {
        height: 105px;
    }
}

/* Consistent illustrated workflow and compact editorial spacing. */
.keep-together {
    white-space: nowrap;
}
.flow-card h3 {
    margin-bottom: 16px;
}
.flow-copy {
    line-height: 1.55;
    margin-bottom: 24px;
}
.flow-copy p + p {
    margin-top: 12px;
}
.flow-copy ul {
    margin: 12px 0;
}
.profile-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}
.profile-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--paper);
    color: var(--red);
}
.profile-avatar svg {
    width: 24px;
    height: 24px;
}
.profile-field {
    margin-top: 10px;
    border: 1px solid #eee9e3;
    border-radius: 5px;
    padding: 8px;
}
.profile-field > span {
    display: block;
    font-size: 0.65rem;
    color: var(--muted);
    margin-bottom: 7px;
}
.profile-field .demo-lines {
    width: 75%;
}
.profile-chips {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}
.profile-chips span {
    font-size: 0.65rem;
    color: var(--action);
    background: var(--paper);
    padding: 4px 6px;
    border-radius: 4px;
}
.profile-chips i {
    width: 25px;
    height: 7px;
    border-radius: 4px;
    background: #eee9e3;
}
.calendar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.calendar-heading span {
    color: var(--red);
    letter-spacing: 2px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-grid i {
    height: 23px;
    border: 1px solid #eee9e3;
    border-radius: 4px;
    background: var(--paper);
}
.calendar-grid .planned {
    background: var(--red);
    border-color: var(--red);
    position: relative;
}
.calendar-grid .planned:after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 10px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.calendar-key {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.64rem;
    color: var(--muted);
}
.calendar-key span {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 2px;
}

/* Form remains visible only within the introductory section. */
.hero {
    overflow: visible;
}
.hero-grid {
    align-items: start;
}
.hero-story {
    min-width: 0;
}
.hero-art {
    margin-top: 34px;
}
.hero-art img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-grid > .signup-card {
    position: sticky;
    top: 122px;
    align-self: start;
}
.audience-photo img {
    object-position: center center;
}
@media (max-width: 800px), (max-height: 650px) {
    .hero-grid > .signup-card {
        position: static;
    }
}
