:root{
  --paper:#f4f5ef;
  --ink:#183d33;
  --muted:#53665c;
  --line:#d2d9ce;
  --accent:#E9B949;
  --accent-soft:#F7EAC5;
  --accent-glow:#E9B94955;
  --light:#F5EEDB;
  --white:#fffef9;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body{
  margin:0
}
a{
  color:inherit
}
button{
  font:inherit
}
button,a{
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #258455;
  outline-offset:6px
}
img{
  display:block
}
p{
  line-height:1.65
}
h1,h2,h3,p{
  margin-top:0
}
h1,h2,h3{
  font-weight:500
}
em{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400
}
h1{
  font-size:clamp(64px,6.7vw,100px);
  line-height:1.01;
  letter-spacing:-6px;
  margin-bottom:28px
}
h2{
  font-size:clamp(36px,4.1vw,62px);
  line-height:1.08;
  letter-spacing:-2.6px;
  margin-bottom:24px
}
h3{
  font-size:24px;
  letter-spacing:-.6px;
  margin-bottom:12px
}
.wrap{
  max-width:1264px;
  margin:auto;
  padding-left:48px;
  padding-right:48px
}
.nav{
  height:102px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:20px
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:26px;
  font-weight:700;
  letter-spacing:-1.3px;
  text-decoration:none
}
.brand-dot{
  font-size:10px;
  align-self:flex-start;
  margin-top:5px
}
.nav nav{
  display:flex;
  gap:32px;
  font-size:14px
}
.nav nav a{
  text-decoration:none
}
.nav nav a:hover,.text-link:hover{
  color:#38713a
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:18px 24px;
  border-radius:5px;
  background:var(--ink);
  color:var(--white);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:background .2s,transform .2s
}
.button:hover{
  background:#2c5949;
  transform:translateY(-2px)
}
.button.small{
  padding:13px 18px
}
.eyebrow,.mono{
  font-family:'SFMono-Regular',Consolas,monospace;
  font-size:10px;
  letter-spacing:1.6px;
  line-height:1.7
}
.eyebrow{
  font-weight:600;
  margin-bottom:30px
}
.status-dot{
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:100%;
  background:#4b8d48;
  margin-right:7px
}
.hero{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:58px;
  padding-top:85px;
  padding-bottom:64px;
  align-items:center
}
.intro{
  font-size:18px;
  max-width:435px;
  color:var(--muted);
  line-height:1.65;
  margin-bottom:28px
}
.actions{
  display:flex;
  align-items:center;
  gap:26px;
  margin-bottom:24px
}
.text-link{
  display:inline-flex;
  gap:18px;
  align-items:center;
  font-size:14px;
  font-weight:600;
  text-decoration:none
}
.caption{
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  margin:0
}
.hero-art{
  background:#e6ecdf;
  background-image:radial-gradient(#c2cebe 1px,transparent 1px);
  background-size:18px 18px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:30px 26px 21px;
  position:relative
}
.diagram-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px
}
.diagram-number{
  font-family:Georgia,serif;
  font-size:30px;
  color:#75876a
}
.program{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--white);
  border:1px solid #bdcbb4;
  border-radius:8px;
  padding:18px;
  font-size:16px
}
.program small,.signature small{
  display:block;
  margin-top:5px;
  font-size:11px;
  color:var(--muted)
}
.program-icon{
  font:20px monospace;
  color:#618447
}
.checked{
  margin-left:auto
}
.branch-lines,.join-lines{
  height:43px;
  display:flex;
  justify-content:center
}
.branch-lines span{
  width:26%;
  border-top:1px solid #8f9f86;
  border-left:1px solid #8f9f86;
  margin-top:21px;
  position:relative
}
.branch-lines span+span{
  border-left:0;
  border-right:1px solid #8f9f86
}
.branch-lines:before{
  content:'';
  position:absolute;
  height:22px;
  width:1px;
  background:#8f9f86;
  left:50%
}
.signers{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}
.signer{
  border:1px solid #a4b797;
  border-radius:8px;
  padding:17px 10px;
  background:#f6f8ef;
  text-align:center
}
.signer .mono{
  font-size:8px;
  letter-spacing:1px
}
.signer svg{
  width:105px;
  height:95px;
  display:block;
  margin:8px auto 0
}
.signer svg path:first-child{
  fill:var(--accent);
  stroke:#7e9d65;
  stroke-width:1
}
.signer svg circle,.signer svg path+circle+path{
  fill:none;
  stroke:var(--ink);
  stroke-width:2
}
.signer strong{
  font-size:15px;
  font-weight:500;
  display:block
}
.signer small{
  font-size:9px;
  display:block;
  color:var(--muted);
  margin-top:7px
}
.join-lines span{
  width:26%;
  border-bottom:1px solid #8f9f86;
  border-left:1px solid #8f9f86;
  margin-bottom:21px
}
.join-lines span+span{
  border-left:0;
  border-right:1px solid #8f9f86
}
.join-lines:after{
  content:'';
  position:absolute;
  height:22px;
  width:1px;
  background:#8f9f86;
  left:50%;
  margin-top:21px
}
.signature{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--ink);
  color:var(--white);
  padding:19px 16px;
  border-radius:8px;
  font-size:15px
}
.signature small{
  color:#c0d1be;
  font-size:10px
}
.signature>.mono{
  margin-left:auto;
  font-size:8px;
  color:var(--accent)
}
.signature-symbol{
  border:1px solid #86ad67;
  border-radius:50%;
  color:var(--accent);
  width:25px;
  height:25px;
  text-align:center;
  padding-top:3px
}
.art-footer{
  margin-top:24px;
  text-align:center;
  font-size:8px;
  letter-spacing:1.5px;
  color:var(--muted)
}
.chains{
  display:grid;
  grid-template-columns:1.35fr repeat(5,1fr);
  align-items:center;
  gap:24px;
  padding-top:30px;
  padding-bottom:30px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.chains .eyebrow{
  margin:0;
  font-size:9px
}
.chains strong{
  font-size:22px;
  font-weight:600;
  letter-spacing:-1px
}
.chains span{
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:7px
}
.section{
  padding-top:108px;
  padding-bottom:108px
}
.protocol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px
}
.section-heading>p:last-child{
  max-width:360px;
  color:var(--muted);
  font-size:16px
}
.feature-list article{
  display:flex;
  gap:25px;
  padding:28px 0;
  border-bottom:1px solid var(--line)
}
.feature-list article:first-child{
  padding-top:0
}
.feature-list article:last-child{
  border:0
}
.feature-list .index{
  font:12px monospace;
  color:#697e62;
  padding-top:5px
}
.feature-list p{
  font-size:14px;
  color:var(--muted);
  margin-bottom:0
}
.key-statement{
  background:var(--ink);
  color:var(--paper);
  padding:76px 0
}
.key-statement .eyebrow{
  color:#bdccaf
}
.key-statement h2{
  font-size:clamp(48px,6.5vw,92px);
  letter-spacing:-4px
}
.key-statement em{
  color:var(--accent)
}
.statement-bottom{
  display:flex;
  justify-content:space-between;
  gap:80px;
  align-items:end;
  margin-top:38px
}
.statement-bottom>p:first-child{
  max-width:450px;
  font-size:17px;
  margin:0;
  color:#dce4d7
}
.statement-bottom .caption{
  max-width:330px;
  color:#b9c8b3
}
.path-top{
  display:flex;
  justify-content:space-between;
  gap:32px;
  align-items:end;
  margin-bottom:34px
}
.path-top h2{
  margin-bottom:0
}
.tabs{
  display:flex;
  background:#e6ebdf;
  padding:5px;
  border-radius:7px;
  gap:4px
}
.tabs button{
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:12px;
  padding:13px 15px;
  cursor:pointer;
  border-radius:4px
}
.tabs button[aria-selected=true]{
  background:var(--white);
  box-shadow:0 1px 4px #163c3312
}
.path-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  background:var(--light);
  border:1px solid var(--line);
  border-radius:10px;
  padding:44px
}
.path-panel[hidden]{
  display:none
}
.pill{
  display:inline-block;
  font:9px monospace;
  letter-spacing:1.1px;
  padding:7px 10px;
  border:1px solid #b8c5ac;
  border-radius:20px;
  margin-bottom:22px
}
.path-panel h3{
  font-size:33px;
  letter-spacing:-1.1px;
  line-height:1.14
}
.path-panel p{
  font-size:14px;
  color:var(--muted)
}
.path-panel .caption{
  font-size:11px
}
.flow{
  list-style:none;
  padding:8px 0;
  margin:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:30px
}
.flow li{
  display:flex;
  gap:17px;
  align-items:center
}
.flow li>span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #bac8b0;
  border-radius:50%;
  font:11px monospace;
  background:var(--paper)
}
.flow small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.comparison{
  background:#e9ede4;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.comparison-heading{
  display:flex;
  justify-content:space-between;
  gap:50px;
  align-items:end;
  margin-bottom:40px
}
.comparison-heading p{
  max-width:275px;
  font-size:14px;
  color:var(--muted)
}
.comparison-heading h2{
  margin:0
}
.table-scroll{
  overflow-x:auto;
  border:1px solid #c3cebd;
  border-radius:8px
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:790px;
  font-size:12px;
  line-height:1.6;
  text-align:left
}
th,td{
  padding:20px 22px;
  border-bottom:1px solid #ccd5c5;
  vertical-align:top;
  width:25%
}
th:first-child{
  width:19%
}
thead th{
  font-size:17px;
  font-weight:500;
  background:#f1f3eb
}
thead th span{
  display:block;
  font:9px monospace;
  margin-top:6px
}
tbody th{
  font-size:11px;
  font-weight:500
}
td{
  color:#405447
}
td.ours{
  color:var(--ink)
}
.ours{
  background:var(--accent-soft)
}
thead .ours{
  background:var(--accent)
}
tbody tr:last-child>*{
  border-bottom:0
}
.comparison-note{
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  max-width:960px;
  margin-top:20px
}
.integration{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:80px;
  align-items:center
}
.integration p:not(.eyebrow){
  font-size:15px;
  color:var(--muted);
  max-width:350px
}
.code-card{
  background:#17372f;
  color:#edf4e6;
  border-radius:10px;
  overflow:hidden
}
.code-title{
  display:flex;
  align-items:center;
  font:9px monospace;
  letter-spacing:1px;
  border-bottom:1px solid #365246;
  padding:22px
}
.code-title>span:last-child{
  margin-left:auto;
  color:#b1c3a3
}
.code-card pre{
  overflow:auto;
  font:11px/2.8 'SFMono-Regular',Consolas,monospace;
  padding:25px 22px;
  margin:0
}
.code-comment{
  color:#b4c6a5;
  font-size:9px
}
.code-number{
  color:var(--accent)
}
.code-foot{
  display:flex;
  gap:24px;
  border-top:1px solid #365246;
  padding:18px 22px;
  font-size:10px;
  color:#b4c6a5
}
.questions{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:80px;
  padding-top:16px;
  padding-bottom:100px
}
.questions h2{
  font-size:38px
}
.questions details{
  border-bottom:1px solid var(--line);
  padding:20px 0
}
.questions details:first-child{
  padding-top:0
}
.questions summary{
  cursor:pointer;
  font-size:15px;
  list-style:none;
  display:flex;
  gap:12px;
  justify-content:space-between
}
.questions summary::-webkit-details-marker{
  display:none
}
.questions summary:after{
  content:'+';
  font-size:20px
}
.questions details[open] summary:after{
  content:'−'
}
.questions details p{
  font-size:13px;
  color:var(--muted);
  margin:16px 0 0
}
.closing{
  text-align:center;
  padding-top:60px;
  padding-bottom:80px;
  border-top:1px solid var(--line)
}
.closing h2{
  font-size:clamp(42px,5vw,72px)
}
.closing .eyebrow{
  margin-bottom:22px
}
.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-top:28px;
  padding-bottom:28px;
  border-top:1px solid var(--line)
}
.footer p,.footer>a:last-child{
  font-size:11px;
  color:var(--muted);
  margin:0
}
.footer .brand{
  font-size:22px
}
.skip{
  position:absolute;
  top:-100px;
  left:20px;
  background:var(--ink);
  color:white;
  padding:12px;
  z-index:5
}
.skip:focus{
  top:10px
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.docs-layout{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:64px;
  padding-top:60px;
  padding-bottom:90px
}
.docs-nav{
  position:sticky;
  top:28px;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:20px;
  font-size:13px
}
.docs-nav a{
  text-decoration:none
}
.docs-content{
  max-width:780px;
  min-width:0
}
.docs-content h1{
  font-size:64px;
  letter-spacing:-3px
}
.docs-content h2{
  font-size:34px;
  letter-spacing:-1.2px;
  margin-top:64px
}
.docs-content p,.docs-content li{
  font-size:15px;
  color:var(--muted);
  line-height:1.8
}
.docs-content li{
  margin-bottom:12px
}
.docs-content pre{
  background:#17372f;
  color:#e4efd8;
  padding:25px;
  border-radius:8px;
  overflow:auto;
  font:12px/1.9 monospace
}
.docs-content code{
  font-size:12px
}
.docs-note{
  border-left:3px solid #8fae73;
  background:var(--light);
  padding:18px 24px
}
.docs-content .docs-note p{
  margin:0
}
.docs-content .eyebrow{
  color:var(--ink);
  font-size:10px
}
.docs-content a{
  overflow-wrap:anywhere
}
@media(min-width:1500px){
  .hero{
    padding-top:100px;
    padding-bottom:90px
  }
}
@media(max-width:1000px){
  .wrap{
    padding-left:30px;
    padding-right:30px
  }
  h1{
    font-size:68px;
    letter-spacing:-4px
  }
  .hero{
    gap:30px
  }
  .hero-art{
    padding:22px 16px
  }
  .intro{
    font-size:16px
  }
  .actions{
    gap:16px;
    flex-wrap:wrap
  }
  .protocol,.integration,.questions{
    gap:40px
  }
  .path-panel{
    gap:35px
  }
  .chains{
    gap:15px
  }
  .chains strong{
    font-size:20px
  }
  .path-top{
    align-items:start;
    flex-direction:column
  }
  .code-card pre{
    font-size:10px
  }
  .section{
    padding-top:80px;
    padding-bottom:80px
  }
  .docs-layout{
    gap:35px;
    grid-template-columns:150px 1fr
  }
}
@media(max-width:700px){
  .wrap{
    padding-left:22px;
    padding-right:22px
  }
  .nav{
    height:78px
  }
  .nav nav{
    gap:18px;
    font-size:12px
  }
  .nav>.button{
    display:none
  }
  .brand{
    font-size:24px
  }
  .hero{
    grid-template-columns:1fr;
    padding-top:52px;
    gap:36px;
    padding-bottom:42px
  }
  h1{
    font-size:clamp(56px,12vw,78px);
    letter-spacing:-3.5px
  }
  .hero .eyebrow{
    font-size:9px
  }
  .intro{
    max-width:460px
  }
  .hero-art{
    max-width:470px;
    width:100%;
    justify-self:center;
    padding:25px
  }
  .chains{
    grid-template-columns:1fr 1fr;
    gap:28px;
    padding-top:25px;
    padding-bottom:28px
  }
  .chains>div:first-child{
    grid-column:1/-1
  }
  .chains .eyebrow br{
    display:none
  }
  .chains span{
    font-size:10px
  }
  .section{
    padding-top:64px;
    padding-bottom:64px
  }
  .protocol,.integration,.questions{
    grid-template-columns:1fr;
    gap:30px
  }
  h2{
    font-size:42px;
    letter-spacing:-2px
  }
  .section-heading>p:last-child{
    max-width:100%
  }
  .key-statement{
    padding:56px 0
  }
  .key-statement h2{
    font-size:55px;
    letter-spacing:-2.5px
  }
  .statement-bottom{
    flex-direction:column;
    gap:22px;
    align-items:start
  }
  .statement-bottom .caption{
    max-width:100%
  }
  .path-panel{
    grid-template-columns:1fr;
    padding:26px;
    gap:22px
  }
  .path-panel h3{
    font-size:31px
  }
  .flow{
    gap:24px
  }
  .comparison-heading{
    flex-direction:column;
    align-items:start;
    gap:16px
  }
  .comparison-heading p{
    max-width:100%;
    margin:0
  }
  .comparison-note{
    font-size:10px
  }
  th,td{
    padding:16px
  }
  .table-scroll{
    margin-right:-22px;
    border-radius:8px 0 0 8px
  }
  .integration p:not(.eyebrow){
    max-width:100%
  }
  .code-card pre{
    font-size:10px;
    padding:20px 16px
  }
  .code-comment{
    font-size:8px
  }
  .code-foot{
    gap:15px
  }
  .questions{
    padding-top:10px;
    padding-bottom:60px
  }
  .questions h2{
    font-size:34px
  }
  .footer{
    flex-wrap:wrap;
    padding-bottom:32px
  }
  .footer p{
    order:3;
    width:100%
  }
  .docs-layout{
    display:block;
    padding-top:32px
  }
  .docs-nav{
    position:static;
    flex-direction:row;
    flex-wrap:wrap;
    gap:16px;
    padding-bottom:32px
  }
  .docs-content h1{
    font-size:50px
  }
  .docs-content h2{
    font-size:30px;
    margin-top:46px
  }
  .docs-content pre{
    font-size:10px;
    padding:18px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *{
    transition:none!important
  }
}

/* Interactive policy walkthrough */
.live-demo { border-bottom: 1px solid var(--line); }
.demo-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: end; }
.demo-heading h2 { margin-bottom: 0; }
.demo-heading > div > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.demo-heading .pill { margin-bottom: 4px; }
.demo-context { color: var(--muted); font-size: 11px; margin: 28px 0 22px; }
.demo-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-card { padding: 28px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); display: flex; flex-direction: column; }
.demo-card .eyebrow { margin-bottom: 14px; }
.demo-card label { font-size: 12px; font-weight: 600; margin: 16px 0 8px; }
.demo-card input, .demo-card select { width: 100%; min-width: 0; padding: 13px 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid #a9b7a1; border-radius: 4px; }
.demo-card input:focus-visible, .demo-card select:focus-visible { outline: 3px solid #258455; outline-offset: 2px; }
.demo-card .button { border: 0; cursor: pointer; margin-top: 22px; min-height: 48px; }
.demo-help { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.demo-presets { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; margin-bottom: auto; }
.demo-presets button, .demo-session-actions button { padding: 10px 12px; border: 1px solid #a9b7a1; border-radius: 4px; background: transparent; color: var(--ink); font-size: 11px; cursor: pointer; }
.demo-presets button:hover, .demo-session-actions button:hover { background: var(--light); }
button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.demo-session { margin: 20px 0; padding: 20px 24px; background: var(--light); border-radius: 8px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.demo-session p { font-size: 12px; margin: 8px 0 0; }
.session-badge { display: inline-block; font: 10px monospace; background: var(--paper); border: 1px solid #b4c3a7; padding: 5px 8px; border-radius: 4px; }
.session-badge[data-state=active] { background: var(--accent); }
.session-badge[data-state=revoked], .session-badge[data-state=expired] { color: #852f20; border-color: #c8a397; }
.demo-session-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-signers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-signers article { padding: 26px; background: var(--light); border: 1px solid var(--line); border-radius: 8px; min-height: 120px; }
.demo-signers .eyebrow { margin-bottom: 12px; }
.demo-signers h4 { font-size: 23px; font-weight: 500; margin: 0 0 12px; }
.demo-signers ul { list-style: none; padding: 0; margin: 0; font-size: 12px; line-height: 2; }
.demo-signers article[data-state=approved] { border-color: #68925a; }
.demo-signers article[data-state=refused] { border-color: #b7765e; }
.demo-result { border-radius: 8px; padding: 28px; margin-top: 20px; background: var(--ink); color: var(--paper); }
.demo-result .eyebrow { color: #c4d9b5; margin-bottom: 12px; }
.demo-result p:not(.eyebrow) { font-size: 13px; margin-bottom: 0; max-width: 780px; overflow-wrap: anywhere; }
.demo-result[data-state=approved] h3 { color: var(--accent); }
.demo-result[data-state=refused] h3 { color: #ffc3a7; }
#demo-receipt { border-top: 1px solid #5f7766; padding-top: 14px; margin-top: 18px; font-family: monospace; font-size: 11px; }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.demo-bottom > span { font-size: 12px; color: var(--muted); }
.field-error { margin: 8px 0 0; color: #922f22; font-size: 12px; }

/* Static documentation pages */
.docs-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 52px; }
.docs-sidebar { position: sticky; top: 24px; align-self: start; }
.docs-sidebar .eyebrow { margin-bottom: 22px; }
.docs-nav { position: static; gap: 5px; }
.docs-nav a { padding: 10px 12px; margin-left: -12px; border-radius: 5px; line-height: 1.4; }
.docs-nav a:hover { background: var(--light); }
.docs-nav a[aria-current=page] { background: var(--accent-soft); font-weight: 600; }
.docs-content h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.08; }
.docs-content .lead { font-size: 19px; line-height: 1.7; }
.docs-toc { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 11px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.docs-toc strong { flex-basis: 100%; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.docs-toc a { color: var(--muted); text-decoration: none; }
.docs-toc a:hover { text-decoration: underline; }
.docs-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 24px; }
.docs-pagination a { text-decoration: none; padding: 18px; border: 1px solid var(--line); border-radius: 6px; }
.docs-pagination span { display: block; font: 10px monospace; margin-bottom: 10px; color: var(--muted); }
.docs-pagination strong { font-size: 13px; font-weight: 500; }
.concept-list { margin: 24px 0; }
.concept-list dt { font-size: 15px; font-weight: 600; margin-top: 22px; }
.concept-list dd { margin: 7px 0 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.doc-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-link-grid a { border: 1px solid var(--line); border-radius: 6px; padding: 20px; text-decoration: none; }
.doc-link-grid a:hover { background: var(--light); }
.doc-link-grid strong { display: block; font-size: 15px; margin-bottom: 8px; }
.doc-link-grid span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.architecture-flow { padding-left: 24px; }
.architecture-flow span { display: block; }
.docs-content table { min-width: 550px; }
.docs-content th, .docs-content td { width: auto; }
@media (max-width: 1000px) {
  .demo-heading { gap: 35px; }
  .demo-session { align-items: start; flex-direction: column; }
  .docs-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .nav nav { gap: 12px; }
  .demo-heading, .demo-controls, .demo-signers { grid-template-columns: 1fr; gap: 20px; }
  .demo-heading { gap: 26px; }
  .demo-card { padding: 22px; }
  .demo-bottom { align-items: start; flex-direction: column; }
  .demo-context { font-size: 11px; }
  .demo-presets { margin-bottom: 0; }
  .docs-sidebar { position: static; margin-bottom: 26px; }
  .docs-sidebar .eyebrow { margin-bottom: 10px; }
  .docs-nav { gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .docs-nav a { margin-left: 0; font-size: 12px; padding: 9px; }
  .docs-content .lead { font-size: 17px; }
  .doc-link-grid { grid-template-columns: 1fr; }
  .docs-pagination { gap: 12px; }
  .docs-pagination a { padding: 14px; }
}
@media (max-width: 440px) {
  .nav nav a[href="#protocol"] { display: none; }
}

/* Share illustrations use the two congruent blocks from the PairKey mark. */
.share-block-a { color: #173f35; }
.share-block-b { color: var(--accent); }
.signer svg.share-block path,
.share-illustration svg.share-block path { fill: currentColor; stroke: none; }

/* Separate shares, a joint signature. */
.principle-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1.2fr; align-items:center; gap:20px; margin-top:48px; padding:28px 0; border-block:1px solid #ffffff30; }
.principle-share,.principle-result { display:flex; align-items:center; gap:16px; }
.principle-share svg { width:72px; height:64px; flex:none; background:var(--paper); border-radius:10px; }
.principle-share svg path { fill:currentColor; }
.principle-flow .eyebrow { display:block; font-size:9px; margin:0 0 8px; }
.principle-flow strong { font-size:16px; font-weight:500; }
.principle-plus,.principle-arrow { font-size:24px; color:#bdccaf; }
.principle-result>span { font-size:54px; line-height:1; color:var(--accent); }
@media (min-width:761px) and (max-width:1000px) { .chains { grid-template-columns:repeat(5,1fr); } .chains>div:first-child { grid-column:1/-1; } }
@media (max-width:760px) { .principle-flow { grid-template-columns:1fr auto 1fr; gap:12px; } .principle-share { flex-direction:column; align-items:flex-start; } .principle-arrow { grid-column:1/-1; text-align:center; transform:rotate(90deg); } .principle-result { grid-column:1/-1; justify-content:center; } .principle-flow strong { font-size:14px; } }

/* Authority -> derived accounts -> threshold signature. */
.journey-heading { display:flex; justify-content:space-between; align-items:end; gap:48px; margin-bottom:40px; }
.journey-heading h2 { margin:0; }
.journey-heading>p { max-width:330px; font-size:15px; color:var(--muted); }
.journey-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; padding:0; margin:0; list-style:none; }
.journey-card { position:relative; min-width:0; display:flex; flex-direction:column; padding:28px; border:1px solid var(--line); border-radius:12px; background:#fcfdf8; }
.journey-card:not(:last-child)::after { content:'→'; position:absolute; top:38px; right:-18px; z-index:1; background:var(--paper); color:var(--muted); width:14px; text-align:center; font-size:18px; }
.journey-step { display:flex; align-items:center; gap:12px; margin-bottom:28px; }
.journey-step>span { display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--line); border-radius:50%; font:11px monospace; }
.journey-step .eyebrow { margin:0; }
.journey-card h3 { font-size:23px; line-height:1.2; letter-spacing:-.7px; margin:0 0 14px; }
.journey-card>p:not(.journey-key-note) { font-size:13px; line-height:1.65; color:var(--muted); margin:0 0 26px; }
.authority-sources { display:grid; gap:10px; padding:0; margin:0 0 24px; list-style:none; }
.authority-sources li { display:flex; align-items:center; gap:10px; min-height:43px; padding:9px 12px; background:var(--paper); border:1px solid var(--line); border-radius:6px; font-size:13px; }
.source-icon { display:grid; place-items:center; width:24px; height:24px; flex:none; }
.source-icon img { display:block; width:24px; height:24px; object-fit:contain; }
.journey-detail { margin-top:auto; font-size:11px; color:var(--muted); text-underline-offset:4px; }
.derivation-root { padding:12px; border-radius:6px; background:var(--accent-soft); font-size:12px; }
.derivation-root span { display:block; font:10px monospace; color:var(--muted); margin-top:5px; }
.derivation-map ul { margin:0 0 0 14px; padding:12px 0 0 18px; list-style:none; border-left:1px solid #b7c6ad; }
.derivation-map li { position:relative; display:flex; align-items:center; gap:9px; padding:9px 0; font-size:12px; }
.derivation-map li::before { content:''; position:absolute; left:-19px; top:50%; width:12px; border-top:1px solid #b7c6ad; }
.path-examples { margin-left:auto; color:var(--muted); font:10px monospace; white-space:nowrap; }
.journey-signing { margin-top:8px; }
.journey-signers { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.journey-signers>div { display:flex; flex-direction:column; align-items:center; padding:12px 4px; border:1px solid var(--line); border-radius:8px; background:var(--paper); }
.journey-signers svg { width:76px; height:64px; }
.journey-signers path { fill:currentColor; }
.journey-signers span { font:10px monospace; }
.journey-join { position:relative; width:52%; height:24px; margin:0 auto 20px; border:1px solid #a7b99b; border-top:0; border-radius:0 0 10px 10px; }
.journey-join::after { content:''; position:absolute; left:50%; bottom:-21px; height:20px; border-left:1px solid #a7b99b; }
.journey-output { display:flex; align-items:center; justify-content:center; gap:12px; padding:16px 10px; background:var(--ink); color:var(--paper); border-radius:7px; font-size:12px; }
.journey-output>span { font-size:27px; color:var(--accent); line-height:1; }
.journey-key-note { font-size:11px; color:var(--muted); text-align:center; margin:16px 0 24px; }
.key-journey+.protocol { padding-top:12px; }
.cell-detail { display:inline-block; font-size:10px; line-height:1.6; color:var(--muted); margin-top:3px; }
.latency-line { display:block; }
.latency-line+ .latency-line { margin-top:8px; }
.latency-line strong { display:block; font:9px monospace; text-transform:uppercase; letter-spacing:.5px; }
.latency-row th,.latency-row td { border-top:1px solid #b7c6ad; }
@media (min-width:761px) and (max-width:1000px) { .journey-card { padding:20px; } .journey-card h3 { font-size:20px; } .authority-sources li { padding:9px 8px; font-size:12px; } }
@media (max-width:760px) { .journey-heading { flex-direction:column; align-items:start; gap:18px; } .journey-heading>p { margin:0; } .journey-steps { grid-template-columns:1fr; gap:28px; } .journey-card { padding:26px; } .journey-card:not(:last-child)::after { top:auto; bottom:-24px; right:50%; transform:rotate(90deg); } .journey-step { margin-bottom:20px; } .derivation-map { margin-bottom:0; } }

/* A compact illustration of the two program approval paths. */
.approval-sample { margin:22px 0 18px; padding:18px 20px; border-radius:8px; background:var(--ink); color:var(--paper); }
.approval-sample>span { display:block; color:var(--accent); font:9px/1.5 monospace; letter-spacing:1px; }
.approval-sample pre { margin:12px 0 0; overflow-x:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:11px/1.75 monospace; }
.approval-sample code { font:inherit; }

/* One protocol, four representative applications. */
.use-cases { border-top:1px solid var(--line); }
.use-cases-heading { display:flex; justify-content:space-between; align-items:end; gap:48px; margin-bottom:38px; }
.use-cases-heading h2 { margin:0; }
.use-cases-heading>p { max-width:360px; margin:0; color:var(--muted); font-size:15px; line-height:1.7; }
.use-case-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.use-case-card { display:flex; flex-direction:column; min-width:0; min-height:225px; padding:27px 30px; border:1px solid var(--line); border-radius:10px; background:#fcfdf8; }
.use-case-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:22px; }
.use-case-top>span:first-child,.use-case-source { font:9px/1.5 monospace; letter-spacing:1.1px; color:var(--muted); }
.use-case-top img { display:block; flex:none; width:30px; height:30px; }
.use-case-card h3 { margin:0 0 10px; font-size:25px; letter-spacing:-.7px; line-height:1.2; }
.use-case-card p { max-width:460px; margin:0 0 24px; color:var(--muted); font-size:13px; line-height:1.7; }
.use-case-source { margin-top:auto; padding-top:16px; border-top:1px solid var(--line); }
.use-cases-footer { display:flex; align-items:center; gap:26px; flex-wrap:wrap; margin-top:18px; padding:24px 28px; border-radius:10px; background:var(--ink); color:var(--paper); }
.use-cases-footer>span { color:var(--accent); font:9px/1.5 monospace; letter-spacing:1.1px; }
.use-cases-footer strong { flex:1; min-width:280px; font-size:14px; font-weight:500; line-height:1.5; }
.use-cases-footer strong span { color:var(--accent); padding:0 4px; }
.use-cases-footer a { color:var(--paper); font-size:12px; white-space:nowrap; text-underline-offset:4px; }
@media (max-width:760px) { .use-cases-heading { flex-direction:column; align-items:start; gap:18px; } .use-cases-heading>p { max-width:520px; } .use-case-grid { grid-template-columns:1fr; } .use-case-card { min-height:0; padding:25px; } .use-cases-footer { align-items:start; flex-direction:column; gap:12px; } .use-cases-footer strong { min-width:0; } }

/* Hosted developer quickstarts */
.hosted-quickstart{padding:1.5rem;border:1px solid var(--line,#cbd5c5);border-radius:16px;margin:1.5rem 0;background:var(--paper,#fffef9)}
.hosted-quickstart label{display:block;font-size:.9rem;font-weight:600;margin:1rem 0 .5rem}
.hosted-quickstart input,.hosted-quickstart select,.hosted-quickstart textarea{width:100%;min-width:0;padding:.75rem;border:1px solid #aabaad;border-radius:8px;font:inherit;color:inherit;background:#fffef9}
.hosted-fields{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin-bottom:1rem}
.hosted-quickstart .button{margin:.4rem 0;cursor:pointer}
.hosted-quickstart button:disabled{opacity:.45;cursor:not-allowed}
.hosted-value{display:block;overflow-wrap:anywhere;padding:.75rem;background:#edf2e7;border-radius:8px;font-size:.8rem}
.hosted-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.hosted-quickstart pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}
@media(max-width:600px){.hosted-fields{grid-template-columns:1fr}.hosted-quickstart{padding:1rem}}
