/* www.bizomate.com — the marketing pages (build plan step 3): Home, Pricing, the pricing explainer, How it works, Trust.
   Components match the website design boards (docs/website). Tokens come from site.css. */

.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
h1.display { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.1; text-wrap: balance; }
h2.title { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; text-wrap: balance; }
h3.sub { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.lead { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.body { margin: 0; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; align-items: center; margin-inline: auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--violet); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { height: 48px; }

/* tiles and icons */
.icon { display: block; flex-shrink: 0; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #FFFFFF; flex-shrink: 0; }
.tile-sm { width: 28px; height: 28px; border-radius: 7px; }
.soft { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.c-slate { background: #3F4252; }
.c-blue { background: #1D4ED8; }
.c-magenta { background: #9D174D; }
.c-brown { background: #7C2D12; }
.c-plum { background: #701A75; }
.s-teal { background: #E6F3F6; color: var(--teal); }
.s-violet { background: var(--violet-soft); color: var(--violet); }
.s-green { background: #ECFDF3; color: #15803D; }

/* hero */
.hero { padding: 84px 0 96px; background: var(--bg-tint); }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.hero-visual { position: relative; width: 600px; height: 520px; flex-shrink: 0; }
.hero-visual .run-record { position: absolute; left: 30px; top: 0; }
.hero-visual .failed-run { position: absolute; left: 140px; top: 392px; }

/* run record */
.run-record { display: flex; flex-direction: column; gap: 18px; width: 540px; max-width: 100%; padding: 22px; background: #FFFFFF; border: 1px solid var(--line);
              border-radius: 12px; box-shadow: 0 18px 44px rgba(20, 21, 28, .10); }
.run-head { display: flex; align-items: flex-start; gap: 12px; }
.run-head > div { display: flex; flex-direction: column; gap: 3px; flex-grow: 1; }
.run-title { font-size: 15px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.pill-green { color: #15803D; background: #ECFDF3; border-color: #C6EBD4; }
.pill-red { color: #B91C1C; background: #FEF2F2; border-color: #F5C9C9; }
.pill-violet { color: var(--violet); background: var(--violet-soft); border-color: #DDD0FA; }
.run-steps { display: flex; flex-direction: column; }
.run-step { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 12px; }
.run-step:last-child { padding-bottom: 0; }
.run-step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-violet); }
.run-step .tile-wrap { position: relative; }
.run-step .done { position: absolute; right: -4px; bottom: -4px; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 8px;
                  background: #15803D; color: #FFFFFF; box-shadow: 0 0 0 2px #FFFFFF; }
.run-step .what { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; padding-top: 1px; }
.run-step .what strong { font-size: 14px; font-weight: 600; }
.run-step .what span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-step .time { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 11.5px; color: var(--muted); padding-top: 3px; }
.failed-run { display: flex; flex-direction: column; gap: 10px; width: 460px; max-width: 100%; padding: 16px 18px; background: #FFFFFF; border: 1px solid #F5C9C9;
              border-radius: 10px; box-shadow: 0 12px 30px rgba(20, 21, 28, .10); }
.failed-run .run-head { align-items: center; gap: 9px; }
.failed-run p { margin: 0; font-size: 14px; line-height: 1.55; }
.failed-run .again { font-size: 13.5px; font-weight: 500; color: var(--violet); }

/* chips, cards, grids */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 18px; background: var(--violet-soft); color: var(--violet);
       font-size: 15px; font-weight: 700; flex-shrink: 0; }
.num-teal { background: var(--teal); color: #FFFFFF; }
.item-row { display: flex; gap: 14px; }
.item-row > div { display: flex; flex-direction: column; gap: 6px; }
.tick-row { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tick-row .icon { color: #15803D; margin-top: 2px; }

/* template cards */
.template-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.template-card h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.template-card .chain { font-size: 12.5px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; color: var(--ink-2); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 12px; background: var(--violet-soft); color: var(--violet);
          font-size: 10px; font-weight: 600; }

/* plans */
.plans-mini { display: flex; gap: 14px; flex-grow: 1; }
.plan-mini { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; padding: 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.plan-mini.is-recommended { border: 1.5px solid var(--violet); }
.price { font-size: 28px; font-weight: 700; line-height: 1.15; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; }
.plan.is-recommended { border: 2px solid var(--violet); }
.plan > .pill { position: absolute; top: -12px; left: 22px; }
.plan-name { font-size: 17px; font-weight: 600; }
.plan .price { font-size: 34px; line-height: 1.1; }
.plan .meta { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); }
.plan .runs { font-size: 15px; font-weight: 600; }
.plan .btn { width: 100%; }
.plan .features { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.currency-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.currency-line .icon { color: var(--muted); }
.currency-line a { font-weight: 500; }

/* calculator */
.calculator { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--bg-tint); border-radius: 16px; }
.calc-body { display: flex; gap: 18px; align-items: stretch; }
.calc-inputs { display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.calc-fields { display: flex; gap: 10px; }
.calc-field { display: flex; flex-direction: column; gap: 1px; flex: 1 1 0; min-width: 0; padding: 7px 12px 8px; background: #FFFFFF; border: 1px solid var(--line-violet); border-radius: 4px; }
.calc-field:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px #EDE5FD; }
.calc-field label { font-size: 11px; font-weight: 500; color: var(--muted); }
.calc-field input { width: 100%; border: 0; padding: 0; font: 600 18px var(--font); color: var(--ink); background: none; outline: none; }
.calc-formula { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12.5px; color: var(--ink-2); }
.calc-result { display: flex; flex-direction: column; gap: 12px; width: 420px; flex-shrink: 0; padding: 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; }
.calc-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.calc-line strong { font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-line b { font-size: 18px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-rule { height: 1px; background: var(--line-soft); }
.calc-fit { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.calc-fit .icon { color: #15803D; margin-top: 2px; }

/* limit rail */
.limit-rail { display: flex; gap: 10px; }
.limit-rail > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; padding: 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; }
.limit-rail strong { font-size: 15px; }
.limit-rail span { font-size: 13.5px; color: var(--ink-2); }
.limit-rail .last strong { color: var(--amber); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
table.grid th, table.grid td { padding: 13px 16px; text-align: center; }
table.grid th { font-weight: 600; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
table.grid th:first-child, table.grid td:first-child { text-align: left; }
table.grid tbody tr:nth-child(even) { background: #FAFAFB; }
table.grid td { color: var(--ink-2); }
table.grid td:first-child { color: var(--ink); }
table.grid td.yes { color: #15803D; }
table.grid.numbers td, table.grid.numbers th { text-align: right; font-variant-numeric: tabular-nums; }
table.grid.numbers td:first-child, table.grid.numbers th:first-child, table.grid.numbers td:nth-child(2), table.grid.numbers th:nth-child(2) { text-align: left; }
table.grid.numbers td:last-child { font-weight: 700; color: var(--ink); }

/* questions */
.faq-layout { display: flex; gap: 80px; }
.faq-layout > :first-child { width: 320px; flex-shrink: 0; }
.faq { display: flex; flex-direction: column; flex-grow: 1; border-top: 1px solid var(--line-violet); }
.faq details { border-bottom: 1px solid var(--line-violet); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }

/* support times */
.reply-times { display: flex; flex-direction: column; flex-grow: 1; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FFFFFF; }
.reply-times > div { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.reply-times > div:last-child { border-bottom: 0; }
.reply-times span:first-child { font-weight: 500; }
.reply-times span:last-child { color: var(--ink-2); }

/* bands */
.band { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 36px 40px; background: #FFFFFF; border: 1px solid var(--line-violet); border-radius: 16px; }
.cta-box { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px; background: #FFFFFF; border: 1px solid var(--line-violet); border-radius: 16px; text-align: center; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.split > .stack-sm { max-width: 520px; }

/* how it works flow */
.flow { display: flex; gap: 18px; }
.flow-tags { display: flex; flex-direction: column; align-items: flex-end; width: 86px; padding-top: 26px; gap: 52px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: #FFFFFF; border: 1px solid var(--line);
       font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.tag-teal { color: var(--teal); }
.tag-violet { color: var(--violet); }
.flow-steps { display: flex; flex-direction: column; }
.flow-card { display: flex; align-items: center; gap: 12px; width: 300px; padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
             box-shadow: 0 1px 2px rgba(20, 21, 28, .04), 0 6px 16px -4px rgba(20, 21, 28, .10); }
.flow-card div { display: flex; flex-direction: column; gap: 2px; }
.flow-card strong { font-size: 14px; }
.flow-card span { font-size: 12.5px; color: var(--muted); }
.flow-line { width: 2px; height: 22px; margin-left: 36px; background: #CFCDDA; }
.trigger-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trigger-chips span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 19px; font-size: 14px; }
.trigger-chips .icon { color: var(--teal); }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.four .card { flex-direction: row; gap: 16px; padding: 24px; }
.four .card > div { display: flex; flex-direction: column; gap: 8px; }

/* explainer */
.one-run { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--bg-tint); border-radius: 16px; }
.one-run .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.one-run .steps span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; font-weight: 500; }
.brace { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.brace-ours { color: var(--violet); }
.brace::before, .brace::after { content: ""; flex-grow: 1; height: 2px; border-radius: 1px; background: currentColor; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12.5px; color: var(--ink-2); }
.counters { display: flex; gap: 16px; }
.counter { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; padding: 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.counter.is-ours { border-color: #C9B8F5; box-shadow: 0 12px 30px rgba(124, 58, 237, .10); }
.counter .label { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.counter.is-ours .label { color: var(--violet); }
.counter .big { font-size: 40px; font-weight: 700; line-height: 1.1; }
.counter .big small { font-size: 16px; font-weight: 500; color: var(--muted); }
.two-col { display: flex; gap: 48px; }
.two-col > div { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; }

/* trust */
.trust-row { display: flex; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line-violet); }
.trust-row > .item-row { width: 300px; flex-shrink: 0; align-items: center; }
.trust-row .pair { display: flex; gap: 40px; flex-grow: 1; }
.trust-row .pair > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; }
.note-box { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--bg-soft); border-radius: 12px; }

/* templates (step 4) */
.template-card { position: relative; }
.card-link { color: var(--ink); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.template-card:hover { border-color: #C9C4DC; }
.template-card .byline { position: relative; z-index: 1; }
.filters { display: flex; }
.search { display: flex; align-items: center; gap: 8px; width: min(420px, 100%); height: 40px; padding: 0 12px; background: #FFFFFF; border: 1px solid var(--line-violet); border-radius: 4px; color: var(--muted); }
.search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px #EDE5FD; }
.search input { flex-grow: 1; min-width: 0; border: 0; outline: none; font: 400 14px var(--font); color: var(--ink); background: none; }
.filter-rows { display: flex; flex-direction: column; gap: 10px; }
.filter-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 16px; font-size: 13.5px; background: #FFFFFF; color: var(--ink-2); border: 1px solid var(--line); }
.filter-chip:hover { color: var(--ink); border-color: #C9C4DC; }
.filter-chip.is-on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); font-weight: 500; }
.filter-gap { width: 1px; height: 22px; margin: 0 4px; background: var(--line); }
.template-layout { display: flex; gap: 80px; align-items: flex-start; }
.template-layout > :first-child { flex: 1 1 0; }
.template-layout > :last-child { width: 380px; flex-shrink: 0; }
.avatar-lg { width: 56px; height: 56px; border-radius: 28px; font-size: 18px; }
.stats { display: flex; gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; padding: 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.stat strong { font-size: 28px; }
.stat span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 960px) {
    .template-layout, .stats { flex-direction: column; gap: 32px; }
    .template-layout > :last-child { width: 100%; }
    .section { padding: 48px 0; }
    .section-tight { padding: 40px 0; }
    h1.display { font-size: 34px; }
    h2.title { font-size: 26px; }
    .lead { font-size: 16px; }
    .hero { padding: 40px 0 48px; }
    .hero-grid, .split, .band, .faq-layout, .calc-body, .calc-fields, .counters, .limit-rail, .plans-mini, .trust-row, .trust-row .pair, .flow, .two-col { flex-direction: column; }
    .hero-visual { width: 100%; height: auto; display: flex; flex-direction: column; gap: 14px; }
    .hero-visual .run-record, .hero-visual .failed-run { position: static; width: 100%; }
    .cards-3, .cards-2, .plans, .four, .one-run .steps { grid-template-columns: 1fr; }
    .plans { gap: 22px; }
    .calc-result { width: 100%; }
    .calculator { padding: 20px; }
    .band { align-items: flex-start; padding: 28px 20px; gap: 16px; }
    .cta-box { padding: 36px 20px; }
    .faq-layout { gap: 18px; }
    .faq-layout > :first-child { width: auto; }
    .trust-row { gap: 16px; padding: 24px 0; }
    .trust-row > .item-row { width: auto; }
    .flow-tags { display: none; }
    .flow-card { width: 100%; }
    .btn-row .btn { width: 100%; }
    .two-col { gap: 28px; }
}
