/* BoomPress marketing site. One stylesheet, no framework. Source pages live in marketing/site/. */

:root {
  --red: #c20026;
  --red-dark: #9a001f;
  --ink: #0b1020;
  --navy: #0d1430;
  --navy-2: #151d40;
  --text: #2a3042;
  --muted: #5d6478;
  --line: #e4e6ee;
  --bg-soft: #f5f6fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 16, 32, .06), 0 8px 24px rgba(11, 16, 32, .08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: #c9cde0; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; }
.dark .eyebrow { color: #ff5a78; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.dark .lede { color: #b8bdd4; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 52px; }

/* Buttons. .butn is kept as an alias for markup shared with the trial pages. */
.btn, .butn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover, .butn:hover { text-decoration: none; }
.btn-primary, .butn { background: var(--red); color: #fff; }
.btn-primary:hover, .butn:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.dark .btn-ghost, .hero .btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.butn:disabled, .btn:disabled { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 20, 48, .97); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: #d7dbea; font-weight: 600; font-size: .96rem; padding: .5rem .8rem; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 8px; color: #fff; padding: .55rem 1rem; }
.nav .nav-trial { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(194, 0, 38, .35), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(64, 90, 220, .25), transparent 60%), var(--navy); color: #c9cde0; padding: 88px 0 72px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #ff5a78; }
.hero .lede { color: #c2c7dc; font-size: 1.25rem; margin-bottom: 2rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-art img { width: 100%; max-width: 680px; margin-left: auto; }
.hero-note { margin-top: 1.1rem; font-size: .92rem; color: #9aa0bb; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-art img { margin: 0 auto; max-width: 440px; } }

.page-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(194, 0, 38, .3), transparent 60%), var(--navy); padding: 72px 0 64px; color: #c2c7dc; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero .lede { color: #c2c7dc; margin-bottom: 0; }

/* Client strip */
.clients { padding: 40px 0; border-bottom: 1px solid var(--line); }
.clients p { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.client-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; list-style: none; margin: 0; padding: 0; }
.client-list li { font-weight: 800; font-size: 1.1rem; color: #4b5166; letter-spacing: -.01em; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .98rem; }
.dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.dark .card p { color: #aeb3cb; }
.icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(194, 0, 38, .09); color: var(--red); margin-bottom: 18px; }
.dark .icon { background: rgba(255, 90, 120, .14); color: #ff7a93; }
.icon svg { width: 22px; height: 22px; }

.pillar { padding: 32px; }
.pillar h3 { font-size: 1.4rem; }
.pillar ul { margin: 14px 0 0; }

.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 28px; margin-bottom: .55rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.2fr 1fr; }
.split-art img { width: 100%; }
.split-art img.art-narrow { max-width: 400px; margin: 0 auto; }
.split + .split { margin-top: 96px; }
.split.flip .split-art { order: -1; }
.split-art img { border-radius: var(--radius); }
@media (max-width: 920px) { .split, .split.flip { grid-template-columns: 1fr; gap: 32px; } .split.flip .split-art { order: 0; } .split + .split { margin-top: 72px; } }

.leagues { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.leagues li { font-size: .82rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-weight: 800; font-size: 1.6rem; color: var(--red); }

/* Quote / spotlight */
.spotlight { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.spotlight img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; }
.spotlight .who { font-weight: 700; color: #fff; margin-top: 1rem; }
.spotlight .who span { display: block; font-weight: 400; color: #9aa0bb; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; text-align: center; } .spotlight img { margin: 0 auto; width: 160px; height: 160px; } }

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; }
.plan.featured { border: 2px solid var(--red); box-shadow: var(--shadow); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; margin: .4rem 0 .2rem; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan .check { margin: 1.2rem 0 1.6rem; flex: 1; }
.plan .check li { font-size: .97rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #7d0019 100%); color: #ffe3e8; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #ffdbe2; }
.cta-band .btn-primary { background: #fff; color: var(--red); }
.cta-band .btn-primary:hover { background: #ffe9ed; color: var(--red-dark); }
.cta-band .btn-ghost { color: #fff; }

/* Forms (contact + trial) */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label, .trial-field > label, .trial-legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.form-control, .field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid #cfd3df; border-radius: 9px; background: #fff; color: var(--ink); }
.form-control:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(194, 0, 38, .35); outline-offset: 1px; border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.form-status { margin: 1rem 0 0; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #1d7a3a; }
.form-status.err { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

/* Utility classes used by the trial page markup */
.h4 { font-size: 1.35rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-4 { margin-bottom: 1.5rem; }
.d-inline { display: inline !important; }
.text-primary { color: var(--red); }

/* Long-form text: privacy, news posts */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose li { margin-bottom: .4em; }
.prose { overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: .95rem; }
.post-card h3 a { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #9aa0bb; padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 28px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #c9cde0; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Trial pages: the form markup comes from trial.css; these fit it into the new layout. */
.trial-card-wrap { max-width: 680px; margin: 0 auto; }
fieldset.trial-field { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.trial-slug-suffix { border-radius: 0 9px 9px 0 !important; }

/* Pricing: pageview tiers + add-ons */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; gap: 56px; } }
.pricing-grid h2 { font-size: 1.8rem; }
.pricing-grid .eyebrow { display: block; }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.4rem; }
.tiers { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tiers th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: .8rem 1.2rem; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.tiers td { padding: .6rem 1.2rem; border-top: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; }
.tiers th:last-child, .tiers td:last-child { text-align: right; }
.tiers td:last-child { font-weight: 700; }
.tiers tbody tr:nth-child(even) td { background: var(--bg-soft); }
.tiers tbody tr:first-child td { color: var(--red); }
.addons { list-style: none; margin: 0; padding: 0; }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: .8rem 1.2rem; border-top: 1px solid var(--line); }
.addons li:first-child { border-top: 0; }
.addons .addon-name { font-weight: 600; color: var(--ink); }
.addons .addon-note { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.addons .addon-price { font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.addons .addon-price small { font-weight: 600; color: var(--muted); }
