
:root { --heading: Georgia, "Times New Roman", serif; }

.hero--commercial { background: radial-gradient(ellipse at 96% 24%, color-mix(in srgb,var(--hero-tint),#46566f 40%), transparent 60%), var(--hero-tint); }
.hero--commercial::after { content: none; }
.hero--commercial .hero__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: clamp(2rem, 4.2vw, 4.1rem); }
.hero--commercial.hero--flat .hero__content { grid-template-columns: minmax(0, 1fr); }
.hero--commercial .hero__image { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid color-mix(in srgb,var(--gold),transparent 65%); border-radius: 1.1rem; box-shadow: 0 28px 95px #0006; }
.hero--commercial h1, main h2, .page-intro h1, .product-detail h1 { font-family: var(--heading); font-weight: 500; }
.hero--commercial h1 { line-height: 1.02; }
.hero--commercial h1 .hero-accent { display: block; color: var(--band-accent); }
.product-card:has(.plan-demo-action) { display: flex; flex-direction: column; }
.product-card:has(.plan-demo-action) .product-card__link { height: auto; flex: 1; }
.plan-demo-action { padding: 0 clamp(1.2rem, 2.3vw, 1.85rem) 1.3rem; }
.plan-price { color: var(--blue); font-size: 1rem; }
.platform-preview { margin-block-end: clamp(1.5rem, 4vw, 3rem); }
.platform-preview .editor-demo { max-width: 42rem; }
.editor-demo, .checkout { --panel: var(--surface-card); --navy-deep: var(--paper); --corner: 1.1rem; --gold-bright: var(--blue); }
.checkout .close { min-height: 2.75rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); background: var(--panel); }
.checkout .actions { margin: 0; }
.checkout .eyebrow { color: var(--blue); }
.editor-demo { align-self: center; min-width: 0; border: 1px solid var(--line); background: var(--panel); border-radius: var(--corner); box-shadow: 0 20px 60px #0004; overflow: hidden; }
.editor-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .8rem; align-items: center; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.editor-header span { color: var(--gold); font-size: .86rem; }
.editor-layout { display: grid; grid-template-columns: minmax(8rem, .77fr) minmax(0, 1.3fr); gap: .8rem; padding: .85rem; }
.editor-controls { min-width: 0; }
.editor-controls label, .palette legend { display: block; color: var(--muted); font-size: .875rem; margin-bottom: .4rem; }
.editor-controls input { width: 100%; min-height: 2.7rem; background: var(--navy-deep); border: 1px solid var(--line); color: var(--ink); padding: .45rem .62rem; border-radius: .45rem; }
.palette { min-width: 0; display: flex; flex-wrap: wrap; gap: .3rem; border: 0; padding: 0; margin: .9rem 0 0; }
.swatch { width: 2.65rem; height: 2.65rem; border: 2px solid transparent; border-radius: 50%; }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.swatch[data-theme="original"] { background: linear-gradient(135deg, #1d2b44 50%, #e8bf78 50%); }
.swatch[data-theme="verde"] { background: linear-gradient(135deg, #234435 50%, #e7cd9b 50%); }
.swatch[data-theme="vinho"] { background: linear-gradient(135deg, #522637 50%, #eaa782 50%); }
.demo-preview {
    --demo-bg: #182740; --demo-accent: #e8bf78;
    min-width: 0; min-height: 14rem; border-radius: .54rem; background: var(--demo-bg); padding: .9rem;
    color: #fff9ed; display: grid; grid-template-rows: auto 1fr; gap: .85rem;
}
.demo-preview[data-theme="verde"] { --demo-bg: #234435; --demo-accent: #e7cd9b; }
.demo-preview[data-theme="vinho"] { --demo-bg: #522637; --demo-accent: #eaa782; }
.demo-preview > span { border-bottom: 1px solid #fff5; font-weight: 700; padding-bottom: .52rem; overflow-wrap: anywhere; }
.demo-preview > div { align-self: center; display: grid; justify-items: start; gap: .8rem; }
.demo-preview strong { font: 500 clamp(1.65rem, 3.4vw, 2.4rem)/1.02 var(--heading); }
.demo-cta { background: var(--demo-accent); color: #171514; padding: .35rem .54rem; border-radius: .3rem; font-size: .86rem; font-weight: 690; }

.checkout {
    width: min(36rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
    border: 1px solid #9a8258; border-radius: var(--corner); margin: auto;
    padding: clamp(1.05rem, 4vw, 1.8rem); background: var(--panel); color: var(--ink); box-shadow: 0 20px 90px #000a;
}
.checkout::backdrop { background: #050a15d9; }
.checkout-head { display: flex; justify-content: space-between; align-items: start; gap: .65rem; margin-bottom: .9rem; }
.checkout-head .eyebrow { margin-bottom: .45rem; font-size: .78rem; }
.checkout h2 { font-size: clamp(1.85rem, 5vw, 2.7rem); }
.close { flex: none; width: 2.75rem; font-size: 1.3rem; padding: .15rem; }
.steps { display: flex; flex-wrap: wrap; align-items: center; column-gap: .55rem; row-gap: .3rem; margin: 1rem 0; padding: 0; list-style: none; font-size: .86rem; }
.steps li { border: 1px solid var(--line); border-radius: .4rem; padding: .25rem .45rem; color: var(--muted); }
.steps li[aria-current] { color: var(--gold-bright); border-color: var(--gold); }
.checkout-stage { min-height: 6.4rem; border: 1px solid var(--line); background: var(--navy-deep); border-radius: .55rem; padding: .72rem .8rem; margin-bottom: 1rem; }
.checkout-stage strong, .checkout-stage span { display: block; overflow-wrap: anywhere; }
.checkout-stage span { color: var(--muted); }


@media (max-width: 850px) {
    .hero--commercial .hero__content { grid-template-columns: minmax(0, 1fr); }
    .hero--commercial .hero__image { aspect-ratio: 16 / 10; }
}
@media (max-width: 420px) {
    .editor-layout { grid-template-columns: minmax(0, 1fr); }
    .checkout .actions > * { width: 100%; }
}
