/* taureports.com — modern marketing styles. Tau blue and green, editorial serif headlines, airy layout. */

:root {
  --ink: #0e1720;
  --ink-2: #33414d;
  --muted: #5b6876;
  --line: #e6eaf0;
  --line-2: #d5dce5;
  --paper: #ffffff;
  --ground: #f6f8fb;
  --tint-blue: #e8f1fb;
  --tint-green: #e3f3ec;
  --blue: #0b67b2;
  --blue-deep: #1f4e79;
  --green: #178a6b;
  --green-deep: #145e4f;
  --green-soft: #d8eee5;
  --amber: #f59b23;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: Consolas, "Cascadia Mono", Menlo, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14,23,32,.04), 0 12px 32px -16px rgba(14,23,32,.18);
  --shadow-lg: 0 2px 4px rgba(14,23,32,.05), 0 40px 80px -40px rgba(31,78,121,.35);
  --measure: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
  /* aliases used by the inner pages' inline styles */
  --cr-chrome: var(--ground); --cr-chrome-dark: #eef2f6; --cr-line: var(--line); --cr-line-soft: var(--line); --cr-line-strong: var(--line-2);
  --cr-title: var(--blue-deep); --cr-title-deep: var(--blue-deep); --cr-blue: var(--blue); --cr-blue-soft: var(--tint-blue); --cr-ink: var(--ink); --cr-muted: var(--muted);
  --cr-worktop: #838c96; --cr-paper: #fff; --cr-select: var(--blue); --cr-focus: var(--blue); --cr-amber: var(--amber); --cr-radius: 10px;
  --tau-green: var(--green-deep); --tau-green-soft: var(--green-soft); --font-ui: var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; height: auto; display: block; }
pre { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.02; }
h3, h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.hero-grid > *, .split > *, .grid > *, .video-list > *, .req > *, .bento > * { min-width: 0; }

/* ---------- Nav (class kept as .titlebar so every page shares it) ---------- */
.titlebar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 0 24px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.titlebar .mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--green-soft); color: var(--green-deep); font-family: "Cambria", Georgia, serif; font-weight: 700; font-size: 19px; line-height: 1; margin-right: 4px;
}
.titlebar .product { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); margin-right: 22px; white-space: nowrap; }
.titlebar .product small { display: none; }
.titlebar nav { display: flex; gap: 2px; }
.titlebar nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.titlebar nav a:hover { background: var(--ground); color: var(--ink); text-decoration: none; }
.titlebar .spacer { flex: 1; }
.tb-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px;
  font: 700 14px var(--font-body); color: var(--ink); border: 1px solid var(--line-2); background: #fff; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.tb-btn:hover { text-decoration: none; background: var(--ground); }
.tb-btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.tb-btn.primary:hover { background: var(--green-deep); }
.tb-btn svg { width: 14px; height: 14px; }
.menu-toggle { display: none; }
.ruler { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-2); cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-block; font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow.green { color: var(--green); }
.h-display { font-size: clamp(44px, 7.2vw, 88px); }
.h-section { font-size: clamp(34px, 4.4vw, 56px); }
.h-sub { font-size: clamp(26px, 3vw, 36px); }
h2 { margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.lede strong { color: var(--ink); font-weight: 700; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.tight { padding: 64px 0; }
section.block.ground { background: var(--ground); }
section.block.ink { background: var(--ink); color: #fff; }
section.block.ink .lede, section.block.ink .muted { color: #b9c4cf; }
section.block.ink .eyebrow { color: #7fc7ad; }
.band { display: contents; }         /* legacy layout classes from the earlier version keep working on inner pages */
.band > .gutter { display: none; }
.band > .body { padding: 72px 24px; max-width: var(--measure); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 70%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(11,103,178,.16), transparent 70%),
    radial-gradient(50% 55% at 80% 20%, rgba(23,138,107,.16), transparent 70%),
    radial-gradient(40% 40% at 55% 70%, rgba(245,155,35,.08), transparent 70%);
  filter: blur(20px);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; margin: 0 auto 22px; }
.hero h1 em { font-style: italic; color: var(--blue-deep); }
.hero .lede { margin: 0 auto 30px; }
.hero .btn-row { justify-content: center; margin-bottom: 34px; }

/* The ask bar: looks like Tau's Ask input, links to the demo */
.askbar {
  display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto 56px; padding: 8px 8px 8px 22px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow-lg); text-align: left;
}
.askbar span { flex: 1; font-size: 16px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.askbar span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 12px; vertical-align: middle; }
.askbar .go { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.askbar .go svg { width: 16px; height: 16px; }
.askbar:hover { text-decoration: none; }

/* Floating collage of report shots */
.collage { position: relative; height: clamp(320px, 42vw, 620px); margin: 0 -24px; }
.collage .shotcard {
  position: absolute; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transition: transform .6s var(--ease);
}
.collage .shotcard img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.collage .shotcard.a { left: 50%; top: 0; width: 56%; transform: translateX(-50%); z-index: 3; aspect-ratio: 16 / 9.4; }
.collage .shotcard.b { left: 2%; top: 14%; width: 30%; transform: rotate(-4deg); z-index: 2; aspect-ratio: 4 / 3; }
.collage .shotcard.c { right: 2%; top: 10%; width: 30%; transform: rotate(3.5deg); z-index: 2; aspect-ratio: 4 / 3.2; }
.collage .shotcard.d { left: 6%; bottom: 4%; width: 17%; transform: rotate(-2deg); z-index: 4; aspect-ratio: 3 / 3.4; }
.collage .shotcard .tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(14,23,32,.78); color: #fff; font: 700 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.collage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, #fff); pointer-events: none; z-index: 5; }

/* ---------- Logo strip ---------- */
.logos { padding: 8px 0 56px; text-align: center; }
.logos p { font: 600 13px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; gap: 12px; width: max-content; padding: 0; margin: 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); background: #fff; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Numbered steps ---------- */
.steps { display: grid; gap: 28px; margin-top: 44px; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.step:nth-child(even) > .copy { order: 2; }
.step .num { font: 700 13px var(--font-mono); color: var(--green); letter-spacing: .1em; margin-bottom: 10px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
.step ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.step li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); }
.step li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }
.shot .bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--ground); border-bottom: 1px solid var(--line); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); font-style: normal; }
.shot .bar i:nth-child(2) { background: var(--amber); } .shot .bar i:nth-child(3) { background: var(--green); }
.chatcard { border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.chatcard .q { align-self: end; justify-self: end; max-width: 80%; background: var(--tint-blue); color: var(--blue-deep); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-weight: 600; font-size: 15px; }
.chatcard .a { max-width: 92%; background: var(--ground); padding: 14px 16px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; color: var(--ink-2); }
.chatcard .a b { color: var(--ink); }
.chatcard .a small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.chatcard .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chatcard .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.chatcard .kpi small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chatcard .kpi b { font-size: 20px; letter-spacing: -0.01em; }
.chatcard .kpi b.down { color: #b3471c; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; position: relative; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-blue); color: var(--blue); margin-bottom: 16px; }
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .tags span { font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.card.visual { padding: 0; overflow: hidden; }
.card.visual .head { padding: 12px 16px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--line); }
.card.visual .foot { padding: 10px 16px; font-size: 12.5px; color: var(--muted); background: var(--ground); border-top: 1px solid var(--line); display: flex; justify-content: space-between; }

/* ---------- Bento gallery ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 18px; margin-top: 44px; }
.bento figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.bento figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.bento figure:hover img { transform: scale(1.02); }
.bento figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(14,23,32,.78)); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.bento figcaption small { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.bento .w4 { grid-column: span 4; } .bento .w3 { grid-column: span 3; } .bento .w2 { grid-column: span 2; }
.bento .h2 { grid-row: span 2; }

/* ---------- Videos ---------- */
.video-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; margin-top: 40px; }
.video-hero video { width: 100%; aspect-ratio: 16/9; }
.video-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vcard video { width: 100%; aspect-ratio: 16/9; background: #000; }
.vcard .meta { padding: 14px 16px 16px; }
.vcard .meta b { display: block; font-size: 15px; margin-bottom: 4px; }
.vcard .meta span { font-size: 14px; color: var(--muted); }
.vcard .meta small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---------- Integrations ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.logo-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.logo-group b { flex-basis: 100%; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.logo-group span { display: inline-block; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--ground); color: var(--ink-2); white-space: nowrap; }

/* ---------- Split / IT ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .copy ul { padding: 0; list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.split .copy li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15.5px; }
.split .copy li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.split .copy li b { font-weight: 700; }
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.req div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.req b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--blue-deep), #0b67b2 55%, var(--green)); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 28px; }
.cta .btn { background: #fff; color: var(--blue-deep); border-color: #fff; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer (class kept as .statusbar for inner pages) ---------- */
.statusbar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 24px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.statusbar .dot { display: none; }
.statusbar .right { margin-left: auto; display: flex; gap: 18px; }
.statusbar a { color: var(--ink-2); font-weight: 600; }
.statusbar a:hover { color: var(--ink); }

/* ---------- Inner-page cards (contact, demo gate, 404) ---------- */
.form-card, .gate-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card .bar, .gate-card .bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; background: var(--ground); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.form-card .bar .mark, .gate-card .bar .mark { width: 22px; height: 22px; font-size: 14px; border-radius: 6px; margin: 0; }
.rh, .ph, .gh, .d, .gf, .pf, .rf { background: transparent; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .bento .w4, .bento .w3, .bento .w2 { grid-column: span 1; } .bento .h2 { grid-row: span 1; }
}
@media (max-width: 900px) {
  section.block { padding: 64px 0; }
  .split, .split.reverse, .step { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .step:nth-child(even) > .copy { order: 0; }
  .grid.two, .grid.three, .video-list, .req, .logo-grid { grid-template-columns: 1fr; }
  .titlebar nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 10px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .titlebar nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .tb-btn.ghost-mobile { display: none; }
  .collage { height: auto; margin: 0; display: grid; gap: 14px; }
  .collage .shotcard { position: static; width: 100% !important; transform: none !important; aspect-ratio: 16/9; }
  .collage .shotcard.d { display: none; }
  .collage::after { display: none; }
  .step { padding: 22px; }
  .cta { padding: 44px 22px; border-radius: 20px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .askbar { border-radius: 20px; padding: 10px 10px 10px 16px; }
  .askbar span { white-space: normal; font-size: 14px; }
}
