/* 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%; }

/* ---------- Sign-in ---------- */
.auth-body { background: var(--bg); }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.auth-art { position: relative; background: var(--navy-deep); overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,66,0) 45%, rgba(11,34,66,0.85) 100%); }
.auth-art-caption { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 1; color: #fff; }
.auth-art-caption p { margin: 10px 0 0; max-width: 380px; font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.25; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 48px clamp(24px, 6vw, 88px); }
.auth-panel .logo img { height: 40px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); max-width: 480px; box-shadow: 0 1px 2px rgba(19,35,58,0.04), 0 12px 32px -18px rgba(19,35,58,0.18); }
.auth-title { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.01em; color: var(--heading); }
.auth-sub { margin: 10px 0 0; color: var(--body); }
.auth-sub strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.auth-label { display: block; margin: 24px 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.auth-input { width: 100%; font-size: 17px; }
.auth-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,91,168,0.15); }
.auth-code { font-family: var(--mono); font-size: 26px; letter-spacing: 0.4em; text-align: center; padding-left: 0.4em; }
.auth-btn { width: 100%; margin-top: 16px; border-radius: 12px; }
.auth-btn[disabled] { opacity: 0.65; cursor: progress; }
.auth-msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #FBEDEA; color: #8A2E21; font-size: 14px; }
.auth-msg.ok { background: var(--mist); color: var(--blue-text); }
.auth-help { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.linklike:hover { color: var(--navy); text-decoration: underline; }
.auth-foot { max-width: 480px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 180px; }
  .auth-art-caption { left: 24px; right: 24px; bottom: 20px; }
  .auth-art-caption p { font-size: 20px; }
  .auth-panel { justify-content: flex-start; padding-top: 32px; }
}
.plat-user { font-size: 14px; color: var(--muted); }
.tool-card.is-live:hover { border-color: #B9C9DE; }
a.tool-title { color: var(--ink); }
a.tool-title:hover { color: var(--blue); }
.tool-foot a { color: var(--blue); font-weight: 500; }
.tool-tour { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--mist); color: var(--blue-text); font-size: 14px; font-weight: 500; line-height: 1.4; }
.tool-tour:hover { background: #DCE9F7; color: var(--navy); }
.tool-tour-icon { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; margin-top: -1px; }
.tool-tour-meta { color: var(--muted); font-weight: 400; }
.finder { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin: 0 -12px; background: rgba(251,250,247,.94); backdrop-filter: blur(6px); border-radius: 18px; }
.finder .search { flex: 1 1 320px; }
.select-wrap select { min-height: 48px; padding: 0 40px 0 16px; border: 1px solid var(--field); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6475' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; font: inherit; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrap select:focus { outline: none; border-color: var(--blue); }
.finder-clear { font-size: 14px; padding: 0 6px; }
.empty-note { color: var(--muted); }
.insight-kind { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); border-radius: 6px; padding: 3px 8px; margin-bottom: 6px; }
.fieldlog { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.fieldlog-img { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(160deg, #CFE0F5 0%, #EAF2FA 45%, #F3F0EC 100%); background-size: cover; background-position: center; }
.fieldlog-place { margin-top: 6px; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--heading); }
.fieldlog-time { margin-top: 4px; font-size: 14px; color: var(--muted); }
.fieldlog-note { margin: 10px 0 0; color: var(--body); }
@media (max-width: 860px) { .fieldlog { grid-template-columns: 1fr; } .fieldlog-img { max-width: 260px; } .finder { top: 0; } }
.tool-foot { gap: 12px; } .tool-foot a { white-space: nowrap; }
.ground-doing { margin-top: 2px; }
.ground-doing span { color: var(--muted); }
.ground-doing strong { color: var(--ink); font-weight: 600; }
.fieldlog-doing { margin-top: 10px; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--blue-text); font-size: 14px; }
.fieldlog-doing strong { font-weight: 600; }
.fieldlog-stop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fieldlog-stop + .fieldlog-stop { margin-top: 4px; }
.fieldlog-stop-n { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-text); min-width: 34px; }
.fieldlog-purpose { font-family: var(--sans); font-size: 15px; color: var(--muted); }
