/* deepbriq one-pager. No external fonts or scripts: the page loads nothing from third parties. */
:root {
  --ink: #12131c;
  --ink-2: #1b1d2a;
  --ink-3: #2a2d3d;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --card: #ffffff;
  --text: #191a23;
  --muted: #5b5f6e;
  --muted-on-ink: #a9adbd;
  --line: #e5dfd4;
  --line-on-ink: rgba(255, 255, 255, .1);
  --brick: #cf5f39;
  --brick-2: #e8845b;
  --brick-soft: #fbeae2;
  --good: #2f7d5d;
  --radius: 14px;
  --wrap: 1160px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --shadow: 0 30px 60px -32px rgba(18, 19, 28, .45), 0 14px 28px -16px rgba(18, 19, 28, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -.015em; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--brick-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 28, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-on-ink);
  color: #fff;
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__mark { width: 30px; height: 30px; color: #f3efe8; }
.brand__mark .brick { fill: var(--brick); }
.brand__word { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.brand__word b { color: var(--brick-2); font-weight: 800; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav__links a { text-decoration: none; color: var(--muted-on-ink); }
.nav__links a:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brick); color: #fff; }
.btn--primary:hover { background: #bb522e; }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn--small { padding: 8px 14px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    radial-gradient(1000px 500px at 85% -10%, rgba(207, 95, 57, .22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.045'%3E%3Cpath d='M0 .5h96M0 24.5h96M.5 0v24M48.5 0v24M24.5 24v24M72.5 24v24'/%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  padding: 88px 0 0;
}
.hero__text { max-width: 860px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brick-2); margin-bottom: 18px;
}
.eyebrow--dark { color: var(--brick); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 850; letter-spacing: -.045em; }
.hero h1 span { color: var(--brick-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d6d8e2; margin-top: 26px; max-width: 760px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__shot { margin-top: 64px; }
.hero__shot .frame { margin-bottom: -120px; position: relative; z-index: 2; }
.hero__caption { color: var(--muted-on-ink); font-size: .9rem; margin-top: 14px; }

/* ---------- screenshot frames ---------- */
.frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.frame__bar { display: flex; gap: 7px; align-items: center; height: 30px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d0c2; }
.frame--dark { border-color: #33364a; }

/* ---------- stats ---------- */
.stats-band { background: var(--paper); padding: 168px 0 24px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 20px 4px 0; border-top: 2px solid var(--text); }
.stat b { display: block; font-size: 2.3rem; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.stat span { display: block; color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 780px; margin-bottom: 48px; }
.section__lead { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--brick-soft); color: var(--brick); font-weight: 800; font-size: .95rem; margin-bottom: 16px;
}
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin-top: 10px; }

/* ---------- how it works ---------- */
.step { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-top: 72px; }
.step--flip { grid-template-columns: 7fr 5fr; }
.step--flip .step__text { order: 2; }
.step__text p { color: var(--muted); margin-top: 12px; }
.step__text h3 { font-size: 1.55rem; }
.step__text q { color: var(--text); font-style: italic; }
.step__media--narrow { max-width: 470px; justify-self: center; width: 100%; }
.code {
  margin: 22px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--ink); color: #e6e7ee;
  font-size: .78rem; line-height: 1.6; overflow-x: auto;
}
.code .k { color: #f0a47f; }
.code .s { color: #b9d99b; }
.code .h { background: rgba(232, 132, 91, .22); border-radius: 4px; padding: 0 3px; }
.code-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- use cases ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  font: inherit; font-weight: 650; font-size: .98rem; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
}
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabpanel + .tabpanel { margin-top: 64px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.js .tabpanel[hidden] { display: none; }
.tabpanel__text { display: grid; grid-template-columns: 7fr 5fr; gap: 0 48px; align-items: start; margin-bottom: 30px; }
.tabpanel__text > * { grid-column: 1; }
.tabpanel__text .chain { grid-column: 2; grid-row: 1 / span 6; margin-top: 4px; }
.tabpanel__text p { color: var(--muted); margin-top: 12px; }
.tabpanel__text h3 { font-size: 1.45rem; }
.chain { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 4px; align-content: flex-start; }
.chain li {
  font-family: var(--mono); font-size: .86rem; background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--brick); border-radius: 8px; padding: 6px 10px;
}
.chain li small { color: var(--muted); font-size: .8rem; margin-left: 6px; }
.chain li { position: relative; margin-right: 18px; }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-52%); color: var(--brick); font-family: var(--sans); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-note { margin: 0 0 28px; }
.note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* ---------- why ---------- */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.why__icon svg { width: 22px; height: 22px; stroke: var(--brick-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- compare ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: .95rem; }
.compare thead th:nth-child(2) { color: var(--muted); }
.compare thead th:nth-child(3) { color: var(--brick); }
.compare tbody th { width: 17%; color: var(--muted); font-weight: 650; font-size: .95rem; }
.compare td:nth-child(2) { color: var(--muted); width: 41%; }
.compare td:nth-child(3) { font-weight: 560; }
.compare td:nth-child(3)::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 8px; }

/* ---------- closing band ---------- */
.closing { background: var(--ink); color: #fff; padding: 96px 0; }
.closing__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.closing p { color: var(--muted-on-ink); margin-top: 16px; font-size: 1.08rem; }
.closing .cta { margin-top: 0; justify-content: flex-end; }

/* ---------- footer ---------- */
.footer { background: var(--ink-2); color: var(--muted-on-ink); padding: 28px 0; font-size: .9rem; border-top: 1px solid var(--line-on-ink); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer .brand__word { font-size: 1.05rem; }
.footer .brand__mark { width: 22px; height: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trio, .grid6 { grid-template-columns: 1fr 1fr; }
  .step, .tabpanel__text, .closing__inner { grid-template-columns: 1fr; gap: 28px; }
  .tabpanel__text { gap: 0; }
  .tabpanel__text .chain { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .step--flip .step__text { order: 0; }
  .step--flip { grid-template-columns: 1fr; }
  .closing .cta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .hero__shot { margin-top: 40px; }
  .hero__shot .frame { margin-bottom: -60px; }
  .stats-band { padding-top: 100px; }
  .trio, .grid6 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .step { margin-top: 48px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .tab { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- stories (videos) ---------- */
.stories { background: var(--ink); color: #fff; }
.stories .section__lead { color: var(--muted-on-ink); }
.stories .eyebrow { color: var(--brick-2); }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.story { background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; }
.story__play, .story iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0;
  background: #000; cursor: pointer; }
.story__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.story__play:hover img, .story__play:focus-visible img { opacity: 1; }
.story__icon { position: absolute; left: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--brick); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .2s; }
.story__icon::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #fff; }
.story__play:hover .story__icon { transform: scale(1.08); }
.story__dur { position: absolute; right: 10px; bottom: 10px; background: rgba(12, 13, 19, .85); color: #fff; font-size: .82rem;
  font-weight: 650; padding: 3px 8px; border-radius: 6px; }
.story__text { padding: 20px 22px 24px; }
.story__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brick-2); margin-bottom: 8px; }
.story__text p { color: var(--muted-on-ink); margin-top: 8px; font-size: .97rem; }
.stories__note { color: var(--muted-on-ink); margin-top: 26px; }
.stories__note a { color: #fff; }
.watch { margin-top: 14px; font-weight: 650; }
.watch a { color: var(--brick); text-decoration: none; }
.watch a::before { content: "▶ "; font-size: .8em; }
@media (max-width: 980px) { .stories__grid { grid-template-columns: 1fr; max-width: 640px; } }
