/* Confluence Research — site styles */
:root {
  --ink: #13233A;
  --heading: #2B4673;
  --body: #4F5B6E;
  --muted: #5A6475;
  --blue: #1F5BA8;
  --blue-icon: #2F6FB5;
  --blue-text: #1F4E8F;
  --navy: #0F2E57;
  --navy-2: #163A68;
  --navy-deep: #0B2242;
  --mist: #EAF2FA;
  --stone: #F3F0EC;
  --bg: #FBFAF7;
  --line: #E3DED7;
  --line-soft: #EEEAE4;
  --field: #C9D3E1;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Hanken Grotesk", Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); }
.h1 { margin: 22px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.02em; color: var(--heading); }
.h2 { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.01em; color: var(--heading); }
.lede { margin: 22px 0 0; max-width: 560px; font-size: 19px; color: var(--body); }
.chip { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--mist); color: var(--blue-text); white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--blue-text); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--field); font-weight: 500; }
.btn-outline:hover { border-color: var(--blue); color: var(--ink); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--mist); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.4); font-weight: 500; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-lg { min-height: 48px; padding: 0 22px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo img { display: block; height: 40px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .nav { order: 3; width: 100%; gap: 6px 20px; } }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.rule-top { border-top: 1px solid var(--line); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; }
.hero-media > img { display: block; width: 100%; height: 580px; object-fit: cover; border-radius: 24px; }
@media (max-width: 760px) { .hero { padding-top: 40px; gap: 36px; } .hero-media > img { height: 460px; } }
.subscribe { margin-top: 32px; max-width: 520px; }
.subscribe label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field-row { display: flex; gap: 8px; flex-wrap: wrap; }
.input { flex: 1 1 240px; min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.input::placeholder { color: #7A8494; }
.btn-square { border-radius: 12px; min-height: 48px; }
.small { font-size: 14px; color: var(--muted); }

/* On the ground card */
.ground { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,0.96); border-radius: 18px; padding: 14px; display: flex; gap: 16px; align-items: center; box-shadow: 0 8px 24px rgba(15,46,87,0.14); }
.ground-img { flex: 0 0 104px; height: 104px; border-radius: 12px; background: var(--mist); object-fit: cover; display: block; }
.ground-body { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--body); }
.ground-label { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); }
.ground-city { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); margin-top: 2px; }
.ground-line { display: flex; align-items: center; gap: 6px; }

/* Cards */
.card-stone { flex: 1 1 300px; min-width: 0; background: var(--stone); border: 1px solid #E8E3DC; border-radius: 20px; padding: 28px; }
.card-white { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.icon-badge { width: 48px; height: 48px; border-radius: 999px; background: var(--blue-icon); color: #fff; display: flex; align-items: center; justify-content: center; }
.card-title { margin: 20px 0 12px; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--ink); }
.card-title-light { margin: 16px 0 10px; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--heading); }
.card-list { margin: 0; padding-left: 18px; color: var(--body); font-size: 15px; }
.card-list li + li { margin-top: 6px; }
.card-text { margin: 0; color: var(--body); font-size: 15px; }
.card-foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.ws-label { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--mist); color: var(--blue-text); }

/* Latest research */
.post-card { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: #B9C9DE; color: var(--ink); transform: translateY(-2px); }
.post-thumb { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; background: var(--mist); }
.post-body { padding: 20px; }
.post-meta { font-size: 13px; color: var(--muted); }
.post-title { margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; }

/* Platform band */
.band { background: var(--navy); color: #fff; }
.band .eyebrow { color: #9EC3EA; }
.band-h2 { margin: 10px 0 12px; font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.band-text { margin: 0; max-width: 600px; font-size: 17px; color: #C3D1E3; }
.panel { min-width: 0; background: var(--navy-2); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 26px; }
.panel-title { font-family: var(--display); font-size: 22px; font-weight: 500; }
.panel-row { display: flex; gap: 12px 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); align-items: flex-start; flex-wrap: wrap; }
.chip-dark { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(158,195,234,0.16); color: #CFE2F6; white-space: nowrap; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9FB3CC; }
.fake-search { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #B8C8DC; font-size: 14px; }

/* Credentials */
.check-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.logos { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.logos img { display: block; width: 100%; height: auto; }

/* Subscribe band */
.cta { background: var(--mist); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
@media (max-width: 760px) { .cta { padding: 28px; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C3D1E3; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-nav { display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: 15px; }
.footer-nav a { color: #fff; }
.footer-nav a:hover { color: #9EC3EA; }
.footer-note { margin: 18px 0 0; font-size: 13px; max-width: 520px; color: #9FB3CC; }
.footer-copy { margin-top: 32px; font-size: 13px; color: #8EA3BF; }

/* Platform pages */
.plat-header { background: #fff; }
.tag-platform { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--mist); color: var(--blue-text); }
.search { flex: 0 1 380px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; background: #fff; border: 1px solid var(--field); border-radius: 999px; color: var(--muted); }
.search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; font: inherit; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--blue); }
.filters { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.filter[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.feed { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.insight { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.insight:last-child { border-bottom: 0; }
.insight:hover { background: #FAFBFD; color: var(--ink); }
.insight-date { flex: 0 0 96px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.insight-main { flex: 1 1 420px; min-width: 0; }
.insight-head { font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.3; }
.insight-detail { margin-top: 4px; font-size: 14px; color: var(--body); }
.insight-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.insight-go { font-size: 14px; color: var(--blue); font-weight: 500; padding-top: 2px; }
.empty { padding: 28px 24px; color: var(--body); }
.tool-card { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.tool-card:hover { border-color: #B9C9DE; color: var(--ink); }
.tool-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.tool-title { font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; }
.tool-desc { font-size: 15px; color: var(--body); }
.tool-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.tool-foot span:last-child { color: var(--blue); font-weight: 500; }
.plat-footer { border-top: 1px solid var(--line); }
.plat-footer .wrap { padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }

[hidden] { display: none !important; }
@media (max-width: 760px) { .site-header { position: static; } }
.subscribe-label { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.bh-embed { min-height: 56px; }
.bh-embed iframe { max-width: 100%; }
