/* Brickventra marketing site. Colours are taken from the logo. */
:root {
  --blue: #0b63ce;
  --blue-light: #1e90ff;
  --yellow: #ffc20e;
  --red: #e5261e;
  --green: #1e8a4c;
  --navy: #0e1726;
  --ink: #1c2536;
  --muted: #5b6678;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(14, 23, 38, 0.12);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.container.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 700 15px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11, 99, 206, 0.28); }
.btn-primary:hover { background: #0955b3; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.wordmark.small { font-size: 18px; }
.wm-brick { color: var(--navy); }
.wm-ventra { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 32px; background:
  radial-gradient(900px 400px at 85% 10%, rgba(30, 144, 255, 0.10), transparent 60%),
  radial-gradient(700px 360px at 5% 90%, rgba(255, 194, 14, 0.12), transparent 60%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.yellow, .q-num.yellow, .step-num.yellow { background: var(--yellow); }
.dot.red, .q-num.red, .step-num.red { background: var(--red); }
.dot.blue, .q-num.blue, .step-num.blue { background: var(--blue); }
.dot.green, .q-num.green, .step-num.green { background: var(--green); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -1.5px; }
.hl { color: var(--blue); }
.lede { font-size: 18px; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Hero: a screenshot of the app in a browser window */
.hero-visual { position: relative; }
.mock { margin: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-url { flex: 1; min-width: 0; margin-left: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-shot { display: block; width: 100%; height: auto; }
.mock-bar span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d5dce6; }
.mock-bar span:nth-child(1) { background: var(--red); } .mock-bar span:nth-child(2) { background: var(--yellow); } .mock-bar span:nth-child(3) { background: var(--green); }
.float-mark { position: absolute; width: 96px; right: -44px; bottom: -58px; filter: drop-shadow(0 12px 24px rgba(14, 23, 38, 0.22)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }

/* Sections */
section { padding: 88px 0; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -1px; text-align: center; max-width: 760px; margin: 0 auto; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 640px; margin: 18px auto 0; }

/* Questions */
.questions { background: var(--navy); }
.questions .section-title { color: #fff; }
.questions .section-sub { color: rgba(255, 255, 255, 0.7); }
.q-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-weight: 700; font-size: 17px; }
.q-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.q-num.yellow { color: var(--navy); }

/* Features */
/* Three across so the nine cards fill three whole rows. */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.f-icon.blue { background: var(--blue); } .f-icon.yellow { background: var(--yellow); color: var(--navy); } .f-icon.red { background: var(--red); } .f-icon.green { background: var(--green); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.credit-mark { color: var(--blue); font-size: 13px; margin-left: 2px; }
.feature-credit { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }
.feature-credit a { color: var(--blue); font-weight: 600; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.step-num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.step-num.yellow { color: var(--navy); }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; margin-top: 48px; align-items: stretch; max-width: 900px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price { font-size: 36px; font-weight: 800; color: var(--navy); margin: 18px 0; }
.price .per { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.price-alt { margin: -10px 0 22px; color: var(--muted); font-size: 15px; }
.price-alt strong { color: var(--navy); }
.plan-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 4px; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.plan li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-radius: 1px; background: rgba(255, 255, 255, 0.55); }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq .section-title { margin-bottom: 36px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; font-weight: 500; color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 20px; }

/* Waitlist */

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-nav { display: flex; gap: 24px; justify-content: flex-end; }
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.footer-nav a:hover { color: var(--blue); }
.credits { grid-column: 1 / -1; font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 0 4px; max-width: 78ch; }
.credits strong { color: var(--ink); }
.credits a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--blue); }
.legal { grid-column: 1 / -1; font-size: 12px; color: #8a94a6; }

/* Journey: buy to profit, the product in one line */
.journey { padding-top: 64px; }
.journey-steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: none; }
.journey-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.journey-steps li strong { color: var(--navy); font-size: 16px; }
.journey-steps li span:not(.j-num) { color: var(--muted); font-size: 14px; }
.journey-steps li:not(:nth-child(4n))::after { content: '→'; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 800; z-index: 1; }
.j-num { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: 8px; font-size: 14px; }
.j-num.yellow { background: var(--yellow); color: var(--navy); } .j-num.red { background: var(--red); } .j-num.blue { background: var(--blue); } .j-num.green { background: var(--green); }

/* Questions: each with its answer underneath */
.q-grid li div { display: flex; flex-direction: column; gap: 2px; }
.q-grid li div span { font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Workflows */
.workflows { background: var(--bg-soft); }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.wf { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.wf h3 { font-size: 20px; margin-bottom: 10px; }
.wf p { color: var(--muted); font-size: 15px; }
.wf p + p { margin-top: 12px; }
.wf .small { font-size: 14px; }
.wf-restock { grid-column: 1 / -1; border: 2px solid var(--green); }
.loop { list-style: none; padding: 0; margin: 18px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.loop li { padding: 6px 14px; border-radius: 999px; background: #e8f5ee; color: var(--green); font-weight: 700; font-size: 14px; }
.loop li:not(:last-child)::after { content: ' →'; }

/* Features, grouped */
.feature ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.feature li { color: var(--muted); font-size: 15px; }
.feature li strong { color: var(--ink); }

/* Tables: copies and the comparison */
.table-wrap { overflow-x: auto; margin-top: 40px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.copy-table, .beyond-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.copy-table th, .beyond-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.copy-table td, .beyond-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.copy-table tr:last-child td, .beyond-table tr:last-child td { border-bottom: none; }
.copy-table .num { text-align: right; white-space: nowrap; }
.copy-table .up { color: var(--green); font-weight: 700; }
.copy-table td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.copies .table-wrap { max-width: 860px; margin-inline: auto; }
.beyond { background: var(--bg-soft); }
.beyond-table td:first-child { color: var(--muted); }
.beyond-table td:last-child { font-weight: 700; color: var(--navy); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; max-width: 900px; margin-inline: auto; }
.trust-grid article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--blue); background: #fff; }
.trust-grid h3 { font-size: 17px; margin-bottom: 8px; }
.trust-grid p { color: var(--muted); font-size: 15px; }

/* Outgrown spreadsheets */
.outgrown { background: var(--navy); }
.outgrown .section-title { color: #fff; }
.outgrown .section-sub { color: rgba(255, 255, 255, 0.75); max-width: 680px; }
.outgrown-line { text-align: center; margin-top: 22px; font-size: 20px; font-weight: 800; color: var(--yellow); }

/* Which plan suits me */
.chooser { max-width: 900px; margin: 28px auto 0; padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-soft); }
.chooser h3 { font-size: 20px; margin-bottom: 14px; text-align: center; }
.chooser-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chooser-rows div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: center; }
.chooser-rows span { color: var(--muted); font-size: 14px; }
.chooser-rows strong { color: var(--navy); font-size: 16px; }

/* Final call */
.final-cta { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero-cta.center { justify-content: center; margin-top: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-mark { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .journey-steps li::after { display: none; }
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding-top: 44px; }
  .feature-grid, .steps, .q-grid, .journey-steps, .trust-grid, .wf-grid, .chooser-rows { grid-template-columns: 1fr; }
  .float-mark { width: 80px; right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .copy-table, .beyond-table { font-size: 13px; }
  .copy-table th, .copy-table td, .beyond-table th, .beyond-table td { padding: 10px 8px; }
  .copy-table th { letter-spacing: 0; white-space: normal; }
  .copy-table td:first-child { white-space: normal; }
}
