/* Guide — document-specific layout & components. */

.tk-input-mono-compressed { font-family: "input-mono-compressed",monospace; }

.tk-input-mono { font-family: "input-mono",monospace; }

.tk-input-mono-condensed { font-family: "input-mono-condensed",monospace; }

.tk-input-mono-narrow { font-family: "input-mono-narrow",monospace; }

[class^="icon-"], [class*=" icon-"],
[class^="icon-"]::before, [class*=" icon-"]::before {
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-linkedin:before     { content: "\f0e1"; }

.icon-vimeo:before        { content: "\f27d"; }

.icon-facebook:before     { content: "\e602"; }

.icon-twitter:before      { content: "\e603"; }

.icon-youtube:before      { content: "\e604"; }

.icon-pinterest:before    { content: "\f0d2"; }

.icon-google-plus:before  { content: "\f0d5"; }

.icon-tumblr:before       { content: "\f173"; }

.icon-instagram:before    { content: "\ea92"; }

.icon-check:before          { content: "\f00e"; }

.icon-times:before          { content: "\f00f"; }

.icon-list:before           { content: "\f03a"; }

.icon-plus-circle:before    { content: "\f055"; }

.icon-minus-circle:before   { content: "\f056"; }

.icon-times-circle:before   { content: "\f057"; }

.icon-check-circle:before   { content: "\f058"; }

.icon-search:before         { content: "\f002"; }

.icon-search-minus:before   { content: "\f010"; }

.icon-trash-o:before        { content: "\f014"; }

.icon-gear:before           { content: "\f013"; }

.icon-clock-o:before        { content: "\f017"; }

.icon-calendar:before       { content: "\f073"; }

.icon-phone:before          { content: "\f095"; }

.icon-envelope:before       { content: "\e605"; }

.icon-envelope-o:before     { content: "\e600"; }

.icon-paper-plane:before    { content: "\e601"; }

.icon-shopping-cart:before  { content: "\e900"; }

.icon-play-circle:before    { content: "\e904"; }

.icon-play-circle-o:before  { content: "\f01d"; }

.icon-circle-o:before       { content: "\f10c"; }

.icon-circle-o-notch:before { content: "\f1ce"; }

.icon-dot-circle-o:before   { content: "\f192"; }

.icon-arrow-left:before          { content: "\f060"; }

.icon-arrow-right:before         { content: "\f061"; }

.icon-arrow-up:before            { content: "\f062"; }

.icon-arrow-down:before          { content: "\f063"; }

.icon-arrow-circle-left:before   { content: "\f0a8"; }

.icon-arrow-circle-right:before  { content: "\f0a9"; }

.icon-arrow-circle-up:before     { content: "\f0aa"; }

.icon-arrow-circle-down:before   { content: "\f0ab"; }

.icon-angle-left:before          { content: "\f104"; }

.icon-angle-right:before         { content: "\f105"; }

.icon-angle-up:before            { content: "\f106"; }

.icon-angle-down:before          { content: "\f107"; }

.icon-chevron-right:before       { content: "\e606"; }

.icon-chevron-left:before        { content: "\e607"; }

.icon-chevron-down:before        { content: "\e608"; }

.icon-chevron-up:before          { content: "\e609"; }

code, pre, .mono { font-family: var(--font-mono); }

.doc {
  box-sizing: border-box;
  max-width: 8.5in;
  margin: 40px auto;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,39,75,0.14), 0 2px 8px rgba(0,39,75,0.06);
  padding: 0 var(--pad-x);
  overflow: hidden;                
}

.doc-frame { width: 100%; border-collapse: collapse; }

.doc-frame td { padding: 0; }

.pad-top, .pad-bottom { display: none; }

.bleed { margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); }

.body-band { padding: 54px 0 60px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coa-blue);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}

.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.eyebrow--plain::after { display: none; }

.sec {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--coa-navy);
  margin: 0 0 16px;
  text-wrap: balance;
}

.sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--coa-navy);
  margin: 34px 0 10px;
  text-wrap: balance;
}

.mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--coa-navy);
  margin: 22px 0 6px;
}

.lead {
  font-size: 21px;
  line-height: 1.5;
  color: #2b3f57;
  font-weight: 400;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.section + .section { margin-top: 46px; }

.section { scroll-margin-top: 24px; }

.body-band > .section:first-child { margin-top: 0; }

ul.arrow, ul.plain { list-style: none; margin: 0 0 18px; padding: 0; }

ul.arrow li {
  position: relative; padding-left: 26px; margin-bottom: 10px; line-height: 1.55;
}

ul.arrow li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--coa-blue); font-weight: 700;
}

ul.disc { margin: 0 0 18px; padding-left: 22px; }

ul.disc li { margin-bottom: 9px; padding-left: 4px; }

ul.disc li::marker { color: var(--coa-blue); }

.deflist { margin: 0 0 18px; padding: 0; list-style: none; }

.deflist > li {
  padding: 14px 0; border-top: 1px solid var(--rule); line-height: 1.55;
}

.deflist > li:last-child { border-bottom: 1px solid var(--rule); }

.deflist .term { font-weight: 700; color: #10233a; }

code, .mono { font-family: var(--font-mono); font-size: 0.88em; }

p code, li code, .term code {
  background: var(--coa-blue-050);
  color: #1b3a86;
  padding: 1px 6px; border-radius: 4px;
  border: 1px solid #DCE6FF;
  font-size: 0.84em;
  white-space: nowrap;
}

figure.fig { margin: 26px 0 30px; }

figure.fig.wide { }

.fig-frame {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 14px;
}

.fig-frame.tight { padding: 0; }

.fig-frame img, .fig-frame svg { display: block; width: 100%; height: auto; border-radius: 4px; }

.fig-frame.plain { background: transparent; border: none; box-shadow: none; padding: 0; }

.pullquote {
  margin: 30px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--coa-blue);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--coa-navy);
  margin: 0;
  text-wrap: balance;
}

.pullquote cite { display:block; margin-top: 12px; font-family: var(--font-body); font-size: 13px; font-style: normal; letter-spacing:0.06em; text-transform: uppercase; color: var(--text-muted); }

.note {
  display: flex; gap: 14px;
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--coa-blue-050);
  border: 1px solid var(--coa-blue-100);
  font-size: 15px; line-height: 1.55;
  color: #16324f;
}

.note .note-ic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--coa-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin-top: 1px;
}

.note-body b, .note-body strong { color: #0f2c4d; }

.note .note-label { display:block; font-weight:700; color: var(--coa-navy); margin-bottom: 2px; }

.specbox {
  margin: 22px 0;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.specbox-head {
  display: flex; align-items: center; gap: 9px;
  background: var(--coa-navy);
  color: #cfe0ff;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

.specbox-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coa-blue-light); }

.specbox-body { padding: 16px 18px; font-size: 15px; line-height: 1.6; }

.specbox-body .tool {
  font-family: var(--font-mono); font-size: 14px; color: #1b3a86;
  background: var(--coa-blue-050); border: 1px solid #DCE6FF;
  padding: 1px 7px; border-radius: 5px; white-space: nowrap;
}

.compare { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }

.cmp {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cmp-head {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}

.cmp-head .pill { font-size: 11px; padding: 3px 10px; border-radius: 50px; font-weight: 700; letter-spacing: 0.04em; text-transform: none; }

.cmp-quote { padding: 15px 18px 4px; }

.cmp-quote p { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.62; color: #33475f; margin: 0; }

.cmp-why { padding: 12px 18px 16px; font-size: 14.5px; line-height: 1.55; color: #4a5c70; }

.cmp-why b { color: #10233a; }

.cmp--bad   .cmp-head { background: #FFF1EC; color: #8A2A0E; }

.cmp--bad   .cmp-head .pill { background: #F6C4B4; color: #7a2409; }

.cmp--vague .cmp-head { background: #FFF8EC; color: #7A4F00; }

.cmp--vague .cmp-head .pill { background: #F3DCA9; color: #6b4600; }

.cmp--good  .cmp-head { background: #ECFDF1; color: #0A5C26; }

.cmp--good  .cmp-head .pill { background: #BBE9C8; color: #096b2c; }

.cmp--good  { border-color: #BEE9CB; box-shadow: 0 8px 24px rgba(14,201,67,0.10); }

.prompt-bubble {
  margin: 20px 0;
  border: 1px solid #DCE6FF;
  background: linear-gradient(180deg,#fff, var(--coa-blue-050));
  border-radius: 12px 12px 12px 4px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 14px; line-height: 1.6; color: #23364e;
  position: relative;
}

.prompt-bubble::before {
  content: "PROMPT"; position: absolute; top: -9px; left: 16px;
  font-family: var(--font-display); font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  color: #fff; background: var(--coa-blue); padding: 2px 8px; border-radius: 4px;
}

.usecase {
  margin: 22px 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.usecase-head {
  background: linear-gradient(135deg, var(--coa-navy) 0%, #0B4065 100%);
  color: #fff; padding: 16px 20px;
}

.usecase-head .uc-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coa-blue-light); }

.usecase-head .uc-title { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }

.usecase-body { padding: 8px 20px 6px; }

ol.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; }

ol.steps > li {
  counter-increment: st;
  position: relative;
  padding: 13px 0 13px 44px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5; font-size: 15px;
}

ol.steps > li:last-child { border-bottom: none; }

ol.steps > li::before {
  content: counter(st);
  position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coa-blue-050); color: var(--coa-blue-700);
  border: 1px solid var(--coa-blue-100);
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.usecase-result {
  background: var(--coa-blue-050);
  border-top: 1px solid var(--coa-blue-100);
  padding: 13px 20px;
  font-size: 14.5px; line-height: 1.5;
}

.usecase-result .rlabel { font-weight: 800; color: var(--coa-navy); letter-spacing: 0.02em; }

.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }

.mini-card {
  border: 1px solid var(--rule); border-radius: 10px; background:#fff;
  box-shadow: var(--shadow-sm); padding: 16px 18px;
}

.mini-card h5 {
  font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--coa-navy);
  margin: 0 0 6px; letter-spacing: -0.01em; display:flex; align-items:center; gap:8px;
}

.mini-card p { font-size: 14.5px; line-height: 1.55; margin: 0; color: #40536a; }

.mini-card .chip {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 50px;
}

.chip--read { background: var(--coa-blue-100); color: var(--coa-blue-700); }

.chip--write { background: #FFE3D8; color: #C53310; }

pre.tree, pre.code {
  margin: 22px 0;
  background: #0B1B2E;
  color: #cfe0ff;
  border-radius: 10px;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13.5px; line-height: 1.75;
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

pre.tree .c { color: #6b86a8; }

pre.tree .d { color: #5ECEF0; }

pre.tree .b { color: #8fa8c8; }

.hero {
  position: relative;
  color: #fff;
  background: var(--coa-navy);
  overflow: hidden;
  isolation: isolate;
}

.hero .glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}

.cover {
  min-height: 10.4in;
  padding: 74px var(--pad-x) 64px;
  display: flex; flex-direction: column;
}

.cover .glow {
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(41,98,255,0.55) 0%, rgba(41,98,255,0) 70%),
    radial-gradient(55% 45% at 12% 96%, rgba(94,206,240,0.30) 0%, rgba(94,206,240,0) 70%);
}

.cover-grid {
  position:absolute; inset:0; z-index:0; opacity:0.5;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}

.cover > * { position: relative; z-index: 1; }

.cover-lockup { height: 30px; width: auto; align-self: flex-start; }

.cover-eyebrow {
  margin-top: 60px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--coa-blue-light);
}

.cover-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 76px; line-height: 0.98; letter-spacing: -0.04em;
  margin: 20px 0 0; color: #fff; text-wrap: balance; max-width: 9.2in;
}

.cover-sub {
  font-size: 22px; line-height: 1.42; color: #bcd0ea; font-weight: 400;
  margin: 26px 0 0; max-width: 6.4in; letter-spacing: -0.01em;
}

.cover-swirl {
  position: absolute; right: -60px; top: 46%; width: 360px; height: 360px;
  transform: translateY(-50%); opacity: 0.14; z-index: 0;
}

.cover-foot {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.16);
}

.cover-products { display: flex; gap: 10px; flex-wrap: wrap; }

.cover-chip {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.28); color: #eaf2ff;
}

.cover-chip.solid { background: var(--coa-blue); border-color: var(--coa-blue); color:#fff; }

.cover-tagline {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #7f9dc4; text-align: right;
}

.contents { padding: 64px 0 20px; }

.toc { margin: 26px 0 0; }

.toc-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  padding: 18px 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit;
}

.toc-row:last-child { border-bottom: 1px solid var(--rule); }

.toc-num {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  color: var(--coa-blue); min-width: 34px;
}

.toc-main { display: flex; flex-direction: column; }

.toc-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--coa-navy); letter-spacing: -0.02em; }

.toc-desc { font-size: 14.5px; color: var(--text-muted); margin-top: 2px; }

.toc-pg { font-family: var(--font-mono); font-size: 14px; color: #93a4bb; }

.toc-row:hover .toc-title { color: var(--coa-blue); }

.divider {
  min-height: 8.6in;
  padding: 70px var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}

.divider .glow {
  background: radial-gradient(58% 55% at 82% 30%, rgba(41,98,255,0.50) 0%, rgba(41,98,255,0) 72%);
}

.divider > * { position: relative; z-index: 1; }

.div-eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--coa-blue-light);
}

.div-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 300px; line-height: 0.8; letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.28);
  margin: 6px 0 0;
}

.div-title {
  font-family: var(--font-display); font-weight: 800; font-size: 62px;
  letter-spacing: -0.035em; line-height: 1.02; color: #fff; margin: 8px 0 0; text-wrap: balance;
}

.div-desc { font-size: 20px; line-height: 1.5; color: #bcd0ea; margin: 20px 0 0; max-width: 6.2in; }

.div-swirl { position: absolute; right: 40px; bottom: 46px; width: 120px; opacity: 0.4; z-index: 1; }

.div-list { margin: 30px 0 0; display: flex; flex-direction: column; gap: 8px; max-width: 6in; }

.div-list .di { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: #d6e2f4; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.14); }

.div-list .di span { color: var(--coa-blue-light); font-weight: 700; }

.backcover { min-height: 8.2in; padding: 84px var(--pad-x); display:flex; flex-direction:column; }

.backcover .glow { background: radial-gradient(60% 55% at 30% 20%, rgba(41,98,255,0.5) 0%, rgba(41,98,255,0) 72%); }

.back-swirl { width: 56px; margin-bottom: 26px; position: relative; z-index:1; }

.back-line { position: relative; z-index:1; font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.08; color:#fff; margin: 0; max-width: 7in; text-wrap: balance; }

.back-body { position: relative; z-index:1; font-size: 17px; line-height: 1.6; color:#bcd0ea; margin: 22px 0 0; max-width: 5.6in; }

.back-foot { position: relative; z-index:1; margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top: 26px; border-top:1px solid rgba(255,255,255,0.16); }

.back-foot img { height: 26px; }

.back-foot .fnote { font-family: var(--font-mono); font-size: 12px; color: #7f9dc4; }

.bridge {
  margin: 28px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--coa-blue-050) 0%, #fff 70%);
  border: 1px solid var(--coa-blue-100);
  border-left: 4px solid var(--coa-blue);
  border-radius: 10px;
}

.bridge .b-label { display:block; font-family: var(--font-display); font-weight:800; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color: var(--coa-blue); margin-bottom:8px; }

.bridge p { font-size: 18px; line-height: 1.55; color: #16324f; margin: 0; letter-spacing:-0.005em; }

figure.fig, .note, .specbox, .cmp, .usecase, .pullquote, .twoup, .mini-card, pre.tree, pre.code, .prompt-bubble { break-inside: avoid; }
