:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --text: #1D1D1F; --subtle: #494949; --subtlest: #6E6E73;
  --accent: #0C66E4; --accent-hover: #0055CC;
  --surface: #fff; --sunken: #F5F6F7; --border: #E4E6EA; --hairline: #D8DADF;
  --ok: #1F7A4D;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.018em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
code { font-family: var(--mono); font-size: .88em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.subtle { color: var(--subtle); } .small { font-size: 14px; }

/* buttons — pills, one accent */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 980px; font-weight: 500; font-size: 17px; border: 0; cursor: pointer; text-decoration: none !important; transition: background .15s ease; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--hairline); }
.btn.secondary:hover { background: var(--sunken); }
.morelink { font-size: 17px; font-weight: 500; white-space: nowrap; }
.morelink::after { content: " ›"; }

/* header */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(0,0,0,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--subtle); font-weight: 400; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.nav ul a:hover { color: var(--text); text-decoration: none; }
.nav ul a.current { color: var(--text); font-weight: 500; }
.nav ul a.btn { color: #fff; font-size: 14px; font-weight: 500; min-height: 36px; padding: 0 16px; }
@media (max-width: 760px) {
  .brand { font-size: 16px; gap: 7px; } .brand img { width: 24px; height: 24px; }
  .nav { gap: 12px; } .nav ul { gap: 14px; } .nav ul a { font-size: 14px; }
  .nav ul li:first-child, .nav ul li:last-child { display: none; }
}

/* hero */
.hero { padding: 104px 0 72px; }
.hero .grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 72px 0 56px; } }
.hero .lead { font-size: 21px; line-height: 1.45; color: var(--subtle); margin: 22px 0 32px; max-width: 540px; letter-spacing: -0.005em; }
.hero .ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 88px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; } }
.fact b { display: block; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.fact span { color: var(--subtlest); font-size: 15px; line-height: 1.5; display: block; }

/* hero visual: Jira -> BigQuery flow */
.hero-visual { padding: 8px 0; }
.flow { display: flex; align-items: center; gap: 18px; }
.tile { flex: none; width: 116px; display: grid; justify-items: center; gap: 12px; padding: 24px 8px 18px; background: var(--surface); border-radius: 22px; box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 44px rgba(9,30,66,.10); }
.tile b { font-size: 13px; font-weight: 500; color: var(--subtlest); letter-spacing: 0; }
.pipe { position: relative; flex: 1; height: 1.5px; background: var(--hairline); min-width: 32px; }
.hub { flex: none; display: grid; justify-items: center; gap: 8px; text-align: center; }
.hub span { font-size: 11.5px; line-height: 1.35; color: var(--subtlest); }
.pipe i { position: absolute; top: -2.75px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0; animation: flowdot 2.6s linear infinite; }
@keyframes flowdot { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pipe i { animation: none; opacity: 0; } }
.flow-note { margin: 34px 0 0; text-align: center; font-size: 14px; color: var(--subtlest); }
@media (max-width: 700px) {
  .flow { flex-direction: column; gap: 0; align-items: center; }
  .tile { width: 150px; }
  .pipe { width: 1.5px; height: 44px; flex: none; min-width: 0; }
  .pipe i { left: -2.75px; top: 0; animation-name: flowdotv; }
  .hub { padding: 10px 0; }
  .flow-note { margin-top: 24px; }
}
@keyframes flowdotv { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }

/* product screenshot */
.shot { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 28px 64px rgba(9,30,66,.14); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot .bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--sunken); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); display: block; }
.shot-center { max-width: 900px; margin: 0 auto; }

/* sections — space does the separating */
section { padding: 104px 0; scroll-margin-top: 64px; }
@media (max-width: 700px) { section { padding: 72px 0; } }
section.alt { background: var(--sunken); }
.sec-h { max-width: 620px; margin-bottom: 56px; }
.sec-h p { color: var(--subtle); font-size: 19px; line-height: 1.5; margin: 14px 0 0; }
.sub-h { font-size: 22px; font-weight: 600; letter-spacing: -0.012em; margin: 0 0 24px; }

/* feature grids — no boxes, typography only */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 800px) { .cols3, .cols2 { grid-template-columns: 1fr; gap: 32px; } }
.card { background: none; border: 0; border-radius: 0; padding: 0; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--subtlest); font-size: 15.5px; line-height: 1.55; margin: 0; }
.card p a { color: var(--accent); }

/* steps — big quiet numerals */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 36px; } }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--hairline); line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--subtlest); font-size: 15.5px; line-height: 1.55; margin: 0; }
.step p code { color: var(--subtle); }

/* tables list — a typographic index */
.tablelist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
@media (max-width: 800px) { .tablelist { grid-template-columns: 1fr; } }
.tablelist div { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.tablelist div:nth-child(-n+3) { border-top: 1px solid var(--border); }
@media (max-width: 800px) { .tablelist div:nth-child(-n+3) { border-top: 0; } .tablelist div:first-child { border-top: 1px solid var(--border); } }
.tablelist code { flex: none; min-width: 112px; font-weight: 600; font-size: 13.5px; color: var(--text); }
.tablelist span { color: var(--subtlest); font-size: 14px; }

/* views — clean two-column definition list */
.viewlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
@media (max-width: 800px) { .viewlist { grid-template-columns: 1fr; } }
.viewlist div { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.viewlist div:nth-child(-n+2) { border-top: 1px solid var(--border); }
@media (max-width: 800px) { .viewlist div:nth-child(2) { border-top: 0; } }
.viewlist code { display: block; font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 2px; }
.viewlist span { color: var(--subtlest); font-size: 14px; }
.viewlist span code { display: inline; margin: 0; color: var(--subtle); }

/* compare */
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
table.cmp th { font-size: 13px; color: var(--subtlest); font-weight: 500; }
table.cmp td:first-child { color: var(--subtlest); width: 28%; font-size: 15px; }
table.cmp .ok { color: var(--text); font-weight: 500; }
table.cmp .ok::before { content: "✓  "; color: var(--ok); font-weight: 600; }
table.cmp td:last-child { color: var(--subtlest); }

/* pricing */
.price-hero { text-align: center; padding-top: 96px; padding-bottom: 24px; }
.price-hero > p, .price-hero > .subtle { max-width: 480px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .price-hero { padding-top: 64px; padding-bottom: 16px; } }
.price-hero .big { font-size: clamp(48px, 7vw, 80px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-hero .big small { font-size: 19px; font-weight: 400; color: var(--subtlest); letter-spacing: -0.005em; }
.bands { max-width: 560px; margin: 40px auto 0; }
.bands table { width: 100%; border-collapse: collapse; font-size: 17px; }
.bands th, .bands td { padding: 15px 4px; text-align: left; border-bottom: 1px solid var(--border); }
.bands th { font-size: 13px; color: var(--subtlest); font-weight: 500; }
.bands td:last-child, .bands th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bands .free td { color: var(--ok); font-weight: 600; }
.calc { max-width: 560px; margin: 40px auto 0; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: var(--sunken); border-radius: 18px; padding: 22px 26px; }
.calc label { font-weight: 500; font-size: 16px; }
.calc input { width: 110px; font: inherit; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); }
.calc input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.calc output { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.faq dt { font-weight: 600; margin-top: 26px; font-size: 17px; } .faq dd { margin: 6px 0 0; color: var(--subtlest); font-size: 15.5px; line-height: 1.55; }

/* docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 64px; padding-top: 56px; padding-bottom: 88px; }
@media (max-width: 800px) { .docs { grid-template-columns: 1fr; gap: 24px; } .docs nav { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid var(--border); } .docs nav a { white-space: nowrap; } .docs nav .group { display: none; } }
.docs article, .docs nav { min-width: 0; }
.docs nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--subtle); font-size: 14px; }
.docs nav a:hover { color: var(--text); text-decoration: none; }
.docs nav a.current { background: var(--sunken); color: var(--text); font-weight: 500; }
.docs nav .group { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--subtlest); margin: 22px 0 6px 10px; }
.docs article h1 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 10px; }
.docs article h2 { font-size: 24px; letter-spacing: -0.014em; margin: 44px 0 12px; }
.docs article h3 { font-size: 17px; margin: 26px 0 6px; }
.docs article p, .docs article li { color: var(--subtle); font-size: 16px; line-height: 1.6; }
.docs article pre { background: var(--sunken); border-radius: 12px; padding: 16px 18px; overflow: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--text); }
.docs article code { background: var(--sunken); padding: 1px 5px; border-radius: 5px; }
.docs article pre code { background: none; padding: 0; }
.docs article .note { background: var(--sunken); border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-size: 15px; }
.docs article table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.docs article th, .docs article td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.docs article th { font-size: 13px; color: var(--subtlest); font-weight: 500; }
.docs article td code { white-space: normal; overflow-wrap: anywhere; }

/* support */
.support { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; padding-top: 88px; padding-bottom: 88px; align-items: start; }
@media (max-width: 800px) { .support { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; } }
.support h1 { font-size: clamp(34px, 4.4vw, 48px); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 500; font-size: 15px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #23A566; display: block; }
.chatbox { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 24px 56px rgba(9,30,66,.12); }
.chatbox .h { background: var(--accent); color: #fff; padding: 15px 18px; font-weight: 500; }
.chatbox .b { padding: 18px; min-height: 150px; font-size: 15px; color: var(--subtle); background: var(--surface); }
.chatbox .i { border-top: 1px solid var(--border); padding: 13px 18px; color: var(--subtlest); font-size: 14px; background: var(--surface); }

/* legal pages */
.legal { max-width: 720px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.012em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; color: var(--subtle); line-height: 1.6; }
.legal ul { padding-left: 22px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 13px; color: var(--subtlest); }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--subtlest); }
footer a:hover { color: var(--text); text-decoration: none; }
