:root {
  --ink: #101b2b;
  --subtle: #465a70;
  --surface: #f5f7fa;
  --rule: #ced8e3;
  --panel-dark: #101d32;
  --link: #1854ae;
}
html { scroll-padding-top: calc(var(--header) + 15px); }
body { background: var(--surface); }
body > main:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: #090f1aef; }
.nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-download { display: inline-flex; gap: 8px; min-height: 41px; background: #e9f1fd; color: #152b49; border-color: #e9f1fd; }
.nav-download:hover { background: #fff; color: #152b49; }
.code-glyph { font: 500 1em/1 var(--mono); letter-spacing: -.13em; padding-right: .12em; }
.server-glyph { display: inline-grid; gap: 3px; width: 20px; }
.server-glyph i { height: 6px; border: 1.5px solid currentColor; border-radius: 2px; }
.server-glyph i::before { content: ""; width: 2px; height: 2px; background: currentColor; display: block; margin: 1px 0 0 2px; }
.btn { min-height: 48px; padding-inline: 19px; }
.night-button { color: #e6f0ff; border: 1px solid #51627b; background: #122035; }
.night-button:hover { background: #20334d; border-color: #9aafcd; }
.light-outline { background: #fff; color: #1c3658; border: 1px solid #aabbd0; }
.light-outline:hover { background: #edf4ff; border-color: #6886aa; }
.pale-action { background: #eef5ff; color: #123768; border: 1px solid #eef5ff; }
.pale-action:hover { background: #fff; }
.intro-actions,.closing-actions,.inline-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--link); text-decoration: underline; text-decoration-color: #9dbce6; text-underline-offset: 5px; font-weight: 550; line-height: 1.6; }
.text-link:hover { text-decoration-color: currentColor; color: #103e86; }
.footer-inner { min-height: 82px; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(10px,2vw,30px); margin-left: auto; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; color: #42576d; font-size: .92rem; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-inner .top-link { margin-left: 0; }

.product-hero {
  position: relative; isolation: isolate; overflow: hidden; padding-top: var(--header);
  background: #090f1c; color: #f2f6ff; --mo-light: #427bca25;
}
.hero-ground,.product-hero.mo-cs > .hero-ground {
  position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: linear-gradient(92deg,#09101cf7 0%,#0a1320ed 31%,#0b192cc4 55%,#0d1e36b0 100%),
              url("assets/confluence.webp") center 62% / cover no-repeat;
}
.product-hero > .wrap,.product-hero.mo-cs > .wrap { position: relative; z-index: 2; }
.product-hero.mo-cs > .mo-cs__light { z-index: 1; }
.product-lead {
  display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
  align-items: center; gap: clamp(28px,4vw,65px);
  padding-block: clamp(45px,7.3vh,95px) clamp(38px,6vh,74px);
  min-height: clamp(525px,69vh,740px);
}
.product-intro h1,.source-intro h1,.title-row h1 {
  margin: 24px 0 18px; font-size: clamp(3.4rem,5.6vw,6.7rem); letter-spacing: -.055em; font-weight: 675; line-height: 1.11;
}
.product-intro h1 span,.source-intro h1 span { color: #9fc2ff; }
.intro-text,.source-intro > p:not(.eyeline,.source-meta) { max-width: 440px; margin: 0 0 27px; color: #c3cfde; font-size: clamp(1.03rem,1.25vw,1.22rem); line-height: 1.85; }
.live-stage { min-width: 0; margin: 0; }
.stage-screen {
  display: block; border: 1px solid #7e9fc77a; padding: clamp(5px,.65vw,10px); border-radius: 14px;
  background: linear-gradient(145deg,#617fa758,#1a2a416e);
  box-shadow: 0 28px 63px -24px #020916cc,0 0 62px -30px #668fe686;
}
.stage-screen img { width: 100%; height: auto; aspect-ratio: 1620/1013; border-radius: 7px; background: #e9eef5; }
.stage-screen:hover { border-color: #acc8ee; }
.stage-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.stage-caption > span { display: inline-flex; align-items: center; gap: 8px; color: #bbcbdf; font-size: .875rem; }
.stage-caption > span i { width: 3px; height: 3px; border-radius: 50%; background: #99b4db; }
.stage-switch,.period-switch { display: inline-flex; align-items: center; border-radius: 7px; padding: 3px; background: #10223b; border: 1px solid #455c79; }
.stage-switch button,.period-switch button { min-height: 34px; padding: 4px 12px; border-radius: 4px; color: #c0d2e7; font-size: .88rem; font-weight: 550; }
.stage-switch button[aria-pressed=true] { background: #334c70; color: #fff; }
.stage-switch button:hover,.period-switch button:hover { color: white; }
.product-boundary { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #829cbe4f; padding-block: 18px 22px; }
.product-boundary > a { display: flex; align-items: center; gap: clamp(12px,1.5vw,23px); padding: 10px clamp(10px,2.6vw,48px) 10px 0; }
.product-boundary > a + a { border-left: 1px solid #91a5c43e; padding: 10px 0 10px clamp(18px,3.5vw,60px); }
.boundary-symbol,.scope-mark { display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px; color: #b5d1ff; background: #16273f; border: 1px solid #3b5475; border-radius: 10px; }
.product-boundary strong,.product-boundary div span { display: block; }
.product-boundary strong { font-size: 1.05rem; font-weight: 590; }
.product-boundary div span { margin-top: 4px; color: #b2c4dc; font-size: .9rem; }
.boundary-link { flex: none; margin-left: auto; color: #c6dbff; font-size: .88rem; border-bottom: 1px solid #5879a5; padding-bottom: 2px; }
.product-boundary > a:hover .boundary-link { border-bottom-color: #c6dbff; }

.home-page .section-inner { min-height: 0; padding-block: clamp(62px,7vw,105px); }
.home-page .section-heading { align-items: end; gap: 24px; }
.home-page .section-heading h2,.home-download h2,.section-intro h2,.guide-content h2 { font-size: clamp(2rem,3.5vw,3.8rem); line-height: 1.17; letter-spacing: -.05em; }
.home-page .section-heading p { max-width: 406px; }
.home-page .workflow-inner { min-height: 0; padding-block: clamp(65px,8vw,124px); }
.home-download { background: #eaf1fa; }
.home-download .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: clamp(60px,7vw,100px); }
.home-download p,.section-intro p,.scope-grid p,.guide-content p,.guide-content li,.guide-content dd { color: var(--subtle); line-height: 1.85; font-size: 1.04rem; }
.home-download p,.section-intro p { margin-top: 16px; }
.closing-actions { justify-content: flex-end; gap: 17px; }

.sub-page main { padding-top: var(--header); }
.page-top { background: linear-gradient(115deg,#f5f8fd 8%,#e7eef8 100%); }
.page-top > .wrap,.source-top > .wrap { padding-block: clamp(23px,3vw,46px) clamp(34px,4vw,66px); }
.crumb { display: flex; align-items: center; gap: 12px; color: #425a74; font-size: .9rem; min-height: 24px; }
.crumb a { font-weight: 650; letter-spacing: -.04em; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: #7c8da2; }
.title-row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 45px; margin-top: clamp(32px,4vw,62px); }
.title-row h1 { margin: 12px 0 0; font-size: clamp(3rem,5.35vw,6rem); }
.eyeline { margin: 0; color: #315a8b; font-size: .94rem; font-weight: 550; }
.title-row > p { color: var(--subtle); max-width: 530px; font-size: clamp(1.02rem,1.3vw,1.25rem); line-height: 1.85; }
.plan-block { background: #f5f7fa; padding-block: clamp(26px,3.5vw,56px) 26px; }
.plan-cards,.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,2vw,30px); }
.plan-card { min-width: 0; display: flex; flex-direction: column; align-items: start; padding: clamp(22px,3.1vw,48px); border: 1px solid #c8d4e1; border-radius: 14px; }
.base-card { background: #fff; }
.pro-card { background: radial-gradient(80% 100% at 100% 0%,#254d8e 0%,transparent 85%),linear-gradient(135deg,#10213e,#152e57); color: #eff5ff; border-color: #294b7f; }
.plan-brand { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 10px; }
.plan-brand h2 { font-size: 1.08rem; font-weight: 610; }
.plan-icon { width: 22px; height: 22px; position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 6px; }
.base-icon { background: #e5edf8; border: 1px solid #b0c2dc; }
.base-icon::before { content: ""; width: 9px; height: 9px; border: 1.5px solid #41628a; border-radius: 2px; }
.pro-icon { background: #253f6d; border: 1px solid #6281ad; }
.pro-icon::before { content: ""; width: 8px; height: 8px; border: 1.5px solid #e2eeff; transform: rotate(45deg); }
.period-switch { margin-left: auto; background: #122844; border-color: #5a78a2; }
.period-switch button { min-width: 48px; }
.period-switch button[aria-pressed=true] { color: #113765; background: #d9eafa; }
.plan-name { margin: 26px 0 11px; font-weight: 645; font-size: clamp(2.05rem,3.1vw,3.5rem); line-height: 1.2; letter-spacing: -.045em; }
.plan-card > p { margin: 0; color: var(--subtle); line-height: 1.75; }
.pro-card > p { color: #c4d5ee; }
.plan-list { list-style: none; padding: 0; margin: 23px 0 28px; display: grid; gap: 11px; }
.plan-list li { display: flex; gap: 11px; align-items: baseline; line-height: 1.6; }
.plan-list li::before { content: ""; display: inline-block; width: 9px; height: 5px; border: solid #3972b0; border-width: 0 0 2px 2px; transform: translateY(-3px) rotate(-45deg); flex: none; }
.pro-card .plan-list li::before { border-color: #96c1ff; }
.plan-card .btn { margin-top: auto; }
.plan-disclosure { margin: 17px 0 0; color: #52657d; font-size: .94rem; line-height: 1.7; }
.comparison-section,.scope-section,.plain-faq { background: #f5f7fa; }
.comparison-section,.scope-section { padding-block: clamp(40px,5vw,85px) clamp(53px,7vw,100px); }
.plain-faq { background: #eaf0f7; padding-block: clamp(48px,5.7vw,88px); }
.compare-layout { display: grid; grid-template-columns: minmax(220px,.6fr) minmax(0,1.4fr); gap: clamp(30px,6vw,100px); }
.section-intro p { max-width: 380px; }
.compare-box { border-top: 2px solid #708297; }
.compare-box table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; font-size: .98rem; }
.compare-box th,.compare-box td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--rule); line-height: 1.55; overflow-wrap: anywhere; }
.compare-box th { font-weight: 600; }
.compare-box thead th { font-size: .93rem; color: #38506b; }
.compare-box td:last-child { font-weight: 560; color: var(--link); }
.compare-box th:first-child { width: 38%; }
.faq.faq-stack { display: block; border: 0; padding: 0; }
.faq-stack details:first-child { border-top: 1px solid #b9c9d9; }
.faq-stack summary { font-size: 1.02rem; }

.source-top { background: radial-gradient(60% 95% at 78% 34%,#172b45 0%,transparent 88%),#0d1727; color: #eff5ff; }
.source-top .crumb,.source-top .eyeline { color: #b3c9e6; }
.source-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(26px,5vw,80px); padding-block: clamp(28px,4vw,68px) 20px; }
.source-intro h1 { margin: 18px 0; font-size: clamp(3.1rem,5.3vw,6rem); }
.source-meta { margin: 13px 0 0; font: 500 .84rem/1.5 var(--mono); color: #b0c3df; }
.code-browser,.command-box { min-width: 0; overflow: hidden; color: #e4edfc; background: #0c1524; border: 1px solid #455873; border-radius: 12px; }
.code-browser { box-shadow: 0 22px 65px -28px #030812; }
.code-bar,.command-box > div { min-height: 47px; display: flex; align-items: center; gap: 10px; padding-inline: 17px; background: #17253b; border-bottom: 1px solid #334459; }
.code-bar > .code-glyph { color: #93beff; }
.code-bar > span:last-child { font-size: .85rem; color: #bdcce0; margin-left: auto; }
.code-tabs { display: flex; flex-wrap: wrap; padding: 0 9px; border-bottom: 1px solid #324259; }
.code-tabs button { min-height: 42px; padding-inline: 10px; font: 500 .85rem/1.3 var(--mono); color: #b8c8de; border-bottom: 2px solid transparent; }
.code-tabs button[aria-selected=true] { color: #f2f7ff; background: #16243a; border-color: #8bb6fb; }
.code-panel { padding-block: 17px; }
.code-panel pre { margin: 0; padding-inline: 12px; overflow-x: auto; tab-size: 4; color: #d7e6fb; min-height: 296px; }
.code-panel pre code { font: 500 .86rem/1.55 var(--mono); }
.code-line { display: inline-flex; gap: 12px; }
.code-line b { width: 2.1em; text-align: right; flex: none; color: #829ab9; font-weight: 500; user-select: none; }
.code-line > span { white-space: pre; }
.scope-grid { margin-top: clamp(27px,3.5vw,50px); }
.scope-grid article { border-top: 2px solid #a7bdd6; padding-top: 23px; }
.scope-grid .scope-mark { width: 39px; height: 39px; color: #315c93; background: #e6eef9; border-color: #c9d8eb; }
.scope-grid h3 { margin: 15px 0 11px; font-size: clamp(1.35rem,2vw,2.1rem); }
.scope-grid p { max-width: 530px; }
.scope-grid a { margin-top: 14px; display: inline-block; }

.guide-layout { display: grid; grid-template-columns: minmax(165px,.34fr) minmax(0,1fr); gap: clamp(34px,6vw,96px); align-items: start; padding-block: clamp(44px,6vw,84px); }
.doc-index { position: sticky; top: calc(var(--header) + 22px); border-left: 2px solid #bfd0e2; padding-left: 15px; }
.doc-index strong { display: block; margin-bottom: 7px; }
.doc-index nav { display: grid; }
.doc-index a { color: #4a6078; min-height: 42px; display: flex; align-items: center; }
.doc-index a:hover,.doc-index a[aria-current] { color: var(--link); text-decoration: underline; text-underline-offset: 5px; }
.guide-content { max-width: 890px; min-width: 0; }
.guide-content section { padding: 28px 0 39px; border-top: 1px solid var(--rule); }
.guide-content section:first-child { border-top: 0; padding-top: 0; }
.guide-content section:last-child { padding-bottom: 0; }
.guide-content h2 { font-size: clamp(1.75rem,2.9vw,2.9rem); }
.guide-content p,.guide-content ol,.download-row,.command-box,.doc-steps,.guide-content .inline-links { margin: 19px 0 0; }
.guide-content ol { padding-left: 1.55em; }
.guide-content li { padding-left: 2px; margin: 7px 0; }
.guide-content :not(pre) > code { font: 500 .88em var(--mono); color: #194472; background: #e3ebf5; border-radius: 3px; padding: 1px 4px; overflow-wrap: anywhere; }
.download-row { display: flex; justify-content: space-between; align-items: center; gap: 17px; flex-wrap: wrap; padding: 21px 23px; border: 1px solid #bccfe2; background: #e9f1fa; border-radius: 10px; }
.download-row strong,.download-row span:not(.windows-icon) { display: block; }
.download-row strong { font-size: 1.13rem; }
.download-row span:not(.windows-icon) { font: 500 .82rem/1.6 var(--mono); color: #4d6179; margin-top: 4px; }
.doc-steps dt { margin: 17px 0 4px; font-weight: 640; }
.doc-steps dd { margin: 0; }
.inline-links { gap: 12px 23px; }
.command-box > div { justify-content: space-between; color: #c9dbf3; font: 500 .85rem/1.5 var(--mono); }
.command-box button { color: #dceaff; font: 500 .9rem var(--sans); min-height: 43px; padding-inline: 8px; }
.command-box button:hover { color: white; text-decoration: underline; }
.command-box pre { margin: 0; padding: 17px; overflow-x: auto; }
.command-box pre code { font: 500 .93rem/1.8 var(--mono); white-space: pre; }
.copy-status { display: block; min-height: 10px; color: #29527e; line-height: 1.6; }

@media (max-width: 1010px) {
  .product-lead { gap: 25px; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); min-height: 490px; }
  .product-intro h1 { font-size: clamp(3.25rem,6.5vw,4.7rem); }
  .intro-actions .btn { padding-inline: 13px; gap: 8px; }
  .source-layout { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 23px; }
  .boundary-link { display: none; }
  .guide-layout { grid-template-columns: 155px minmax(0,1fr); gap: 25px; }
}
@media (max-width: 740px) {
  .product-lead,.source-layout,.title-row,.compare-layout,.guide-layout { grid-template-columns: minmax(0,1fr); }
  .product-lead { padding-block: 44px 26px; gap: 29px; }
  .product-intro h1 { font-size: clamp(3.05rem,9vw,4.8rem); margin: 16px 0 13px; }
  .intro-text,.source-intro > p:not(.eyeline,.source-meta) { margin-bottom: 18px; }
  .stage-switch button,.period-switch button,.code-tabs button { min-height: 42px; }
  .product-boundary { gap: 0 12px; padding-block: 8px 16px; }
  .product-boundary > a,.product-boundary > a + a { gap: 8px; padding: 10px 0; border: 0; }
  .boundary-symbol { width: 33px; height: 33px; border-radius: 7px; }
  .product-boundary strong { font-size: 1rem; }
  .product-boundary div span { font-size: .84rem; line-height: 1.55; }
  .home-download .wrap { display: grid; gap: 23px; }
  .closing-actions { justify-content: start; }
  .title-row { gap: 17px; margin-top: 26px; }
  .title-row h1 { margin-top: 10px; font-size: clamp(2.7rem,9vw,4.4rem); }
  .plan-cards,.scope-grid { grid-template-columns: 1fr; }
  .scope-grid { gap: 30px; }
  .plan-name { margin-top: 16px; }
  .compare-layout { gap: 24px; }
  .source-layout { gap: 30px; padding-bottom: 10px; }
  .source-intro h1 { margin: 12px 0; }
  .source-intro h1 br { display: none; }
  .source-intro h1 span { margin-left: .08em; }
  .code-tabs button { padding-inline: 8px; }
  .guide-layout { gap: 26px; }
  .doc-index { position: static; padding: 0; border: 0; }
  .doc-index nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .footer-inner { padding-block: 12px; min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; }
  .footer-inner nav { grid-row: 2; grid-column: 1 / -1; margin: 0; gap: 20px; }
  .footer-inner .top-link { grid-column: 3; grid-row: 1; }
}
@media (max-width: 470px) {
  .hero-ground,.product-hero.mo-cs > .hero-ground { background-image: linear-gradient(155deg,#09101cf5 5%,#101c30e6 49%,#182e4fc9 83%,#111e33d9),url("assets/confluence-mobile.webp"); }
  .stage-caption { gap: 4px; }
  .stage-caption > span { font-size: .82rem; gap: 4px; }
  .stage-switch button { padding-inline: 8px; }
  .product-boundary { grid-template-columns: minmax(0,1fr); }
  .product-boundary > a + a { border-top: 1px solid #91a5c435; }
  .boundary-link { display: block; }
  .plan-card { padding: 21px 17px; }
  .footer-inner > span { display: inline; }
  .compare-box table { font-size: .9rem; }
  .compare-box th,.compare-box td { padding-right: 7px; }
}
@media (max-width: 360px) {
  .btn,.intro-actions .btn { padding-inline: 11px; font-size: .9rem; }
  .stage-caption { align-items: start; }
  .stage-caption > span { min-height: 45px; }
  .period-switch button { min-width: 39px; padding-inline: 6px; }
  .code-tabs { padding: 0; }
  .code-tabs button { padding-inline: 6px; font-size: .76rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage-screen,.product-boundary a,.nav-download,.btn { transition: background-color .16s ease,border-color .16s ease,box-shadow .16s ease; }
  .live-stage { animation: stage-arrive .55s ease-out both; }
  @keyframes stage-arrive { from { opacity: .45; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

