@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; }

/* Ink, paper and type are shared with Tomacco. Bogen's own colour is the blue of the sheet. */
:root {
  --ink: #0e0e0c; --paper: #f4f2ec; --dim: #5f5d55; --dim-dark: #a8a69c; --rule: #c9c6bb; --rule-dark: #34332e;
  --blue: #2b3df2; --blue-deep: #1b27a8;
  --gut: clamp(16px, 3vw, 48px);
  --sec: clamp(88px, 11vw, 190px);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --code: ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { overflow-x: hidden; font-size: 18px; line-height: 1.45; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 9; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* bar */
.bar { position: sticky; top: 0; z-index: 5; height: 40px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); }
.bar .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 112%; font-size: 15px; text-decoration: none; }
.bar .brand svg { width: 22px; height: 22px; }
.bar nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar nav .go { font-weight: 700; }

/* the mark */
.m-s { fill: var(--blue); } .m-f { fill: var(--blue-deep); }
.m-p { fill: none; stroke: var(--paper); stroke-width: 10.5; stroke-miterlimit: 8; } .m-u { fill: var(--paper); }

/* type */
.word { font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.02em; white-space: nowrap; }
.h1, .h2, .h3 { font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: .92; }
.h1 { font-size: clamp(48px, 8.4vw, 150px); }
.h2 { font-size: clamp(40px, 6.6vw, 118px); }
.h3 { font-size: clamp(32px, 3.9vw, 66px); letter-spacing: -.03em; line-height: .96; }
.cur { display: inline-block; width: .5em; height: .1em; background: currentColor; margin-left: .04em; }
.chev { display: inline-block; width: .42em; height: .5em; margin-right: .14em; vertical-align: .08em; }
.chev path { fill: none; stroke: currentColor; stroke-width: 15; stroke-miterlimit: 8; }
.lead { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.4; max-width: 33em; }
.dim { color: var(--dim); }
code, pre { font-family: var(--code); }

.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; font-weight: 700; font-size: 17px; text-decoration: none; background: var(--ink); color: var(--paper); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 1: the name and the sheet */
.top { padding: 14px var(--gut) 0; }
.top .word { font-size: 20.2vw; margin-left: -.04em; }
/* The sheet is an artboard on the page's canvas, and the headline on it is being drawn right now. */
.sheet { position: relative; margin: 2.1vw var(--gut) 0; min-height: calc(100svh - 40px - 14px - 16.2vw - 2.1vw); background: var(--blue); color: var(--paper); clip-path: polygon(0 0, calc(100% - 11.8vw) 0, 100% 11.8vw, 100% 100%, 0 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 6vw 5.6vw 5vw; }
.sheet .fold { position: absolute; right: 0; top: 0; width: 11.8vw; height: 11.8vw; background: var(--blue-deep); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.sheet .h1 { font-size: 7.8vw; display: flex; flex-direction: column; }
.sheet .h1 > span { display: block; }
.sheet .chev { width: .43em; height: .52em; margin-right: .18em; vertical-align: .02em; }
.sheet .chev path { stroke-width: 12; }
.sheet .cur { width: .5em; height: .107em; margin-left: .05em; }
.sel { position: relative; align-self: flex-start; outline: 2px solid var(--paper); outline-offset: 16px; }
.sel i { position: absolute; width: 14px; height: 14px; background: var(--blue); border: 2px solid var(--paper); }
.sel i:nth-of-type(1) { left: -23px; top: -23px; } .sel i:nth-of-type(2) { right: -23px; top: -23px; }
.sel i:nth-of-type(3) { left: -23px; bottom: -23px; } .sel i:nth-of-type(4) { right: -23px; bottom: -23px; }
.who { position: absolute; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.who svg { width: 26px; height: 30px; flex: none; }
.who span { margin-top: 22px; font-size: 18px; font-weight: 700; padding: 4px 10px; }
.who.agent { right: -118px; bottom: -70px; } .who.agent span { background: #f2361f; color: var(--ink); }
.who.you { right: 14.6vw; bottom: 9.2vw; } .who.you span { background: var(--paper); color: var(--ink); }
.sheet .lead { margin-top: 60px; }

/* sections */
.sec { padding: var(--sec) var(--gut); }
.ink { background: var(--ink); color: var(--paper); }
.ink .dim { color: var(--dim-dark); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: end; }
.split .lead { margin-top: 26px; }
.shot { margin-top: clamp(48px, 6vw, 96px); }
.shot img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--dim); }
.ink .shot figcaption { color: var(--dim-dark); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 4vw; margin-top: clamp(48px, 6vw, 90px); }
.facts b { display: block; font-size: 22px; font-weight: 700; font-stretch: 106%; margin-bottom: 8px; }
.facts p { color: var(--dim); font-size: 17px; }
.ink .facts p { color: var(--dim-dark); }

/* 2: your plan */
.plan .h2 { max-width: 9em; }
.plan .lead { margin-top: 34px; }
.term { margin-top: 48px; background: #1b1b18; padding: 26px 28px; font-size: 16px; line-height: 1.75; max-width: 760px; overflow-x: auto; }
.term .p { color: var(--blue); filter: brightness(1.6); user-select: none; }
.term .c { color: var(--dim-dark); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 3vw; margin-top: clamp(64px, 7vw, 110px); }
.steps b { display: block; font-size: 22px; font-weight: 700; font-stretch: 106%; margin-bottom: 8px; }
.steps p { color: var(--dim-dark); font-size: 17px; }

/* 3: lists */
.rows { margin-top: clamp(40px, 5vw, 80px); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; padding: 34px 0; border-top: 2px solid var(--ink); }
.row h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; line-height: 1; }
.row p { color: var(--dim); max-width: 36em; }

/* 4: family */
.family { display: grid; grid-template-columns: 6fr 6fr; gap: 6vw; align-items: center; }
.pair { display: flex; align-items: center; gap: 2.4vw; }
.pair svg { width: 15vw; height: 15vw; max-width: 240px; max-height: 240px; }
.pair .plus { font-size: clamp(48px, 6vw, 96px); font-weight: 400; line-height: 1; }
.family .lead { margin-top: 28px; }
.family a { font-weight: 700; }

/* install */
.install .term { max-width: none; }
.install .req { margin-top: 26px; }

/* how it works */
.how-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 4vw; margin-top: clamp(40px, 5vw, 72px); }
.how-steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 24px; }
.how-steps li::before { content: counter(step); display: block; font-weight: 800; font-stretch: 112%; font-size: clamp(56px, 6vw, 96px); line-height: .9; color: var(--blue); margin-bottom: 16px; }
.how-steps b { display: block; font-size: 22px; font-weight: 700; font-stretch: 106%; margin-bottom: 8px; }
.how-steps p { color: var(--dim); font-size: 17px; }
.how-steps code { display: inline-block; margin-top: 16px; font-size: 15px; background: #ebe8df; padding: 6px 10px; }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 4vw; margin-top: clamp(40px, 5vw, 72px); }
.feats div { border-top: 2px solid var(--ink); padding: 24px 0 32px; }
.feats b { display: block; font-size: 22px; font-weight: 700; font-stretch: 106%; margin-bottom: 8px; }
.feats p { color: var(--dim); font-size: 17px; }
.feats code, .faq code { font-family: var(--code); font-size: .9em; background: #ebe8df; padding: 1px 5px; }

/* faq */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; }
.faq dl div { padding: 26px 0; border-top: 2px solid var(--ink); }
.faq dt { font-size: 22px; font-weight: 700; font-stretch: 106%; }
.faq dd { margin-top: 8px; color: var(--dim); max-width: 38em; }

/* foot: the same columns on every page, written by tools/build-docs.mjs */
.foot { background: var(--ink); color: var(--dim-dark); padding: 72px var(--gut) 40px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #34332e; }
.foot .brand { color: var(--paper); display: flex; gap: 10px; align-items: center; font-weight: 800; font-stretch: 112%; font-size: 20px; text-decoration: none; }
.foot .brand svg { width: 30px; height: 30px; }
.foot-claim { margin-top: 20px; color: var(--paper); font-size: 30px; line-height: 1; font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; }
.foot h2 { color: var(--paper); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot nav a { color: var(--dim-dark); text-decoration: none; }
.foot nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { padding-top: 28px; display: grid; gap: 8px; max-width: 62em; }
.foot-legal a { color: inherit; }

@media (max-width: 900px) {
  .bar nav a:not(.go) { display: none; }
  .sheet { min-height: 0; padding: 30vw 24px 56px; clip-path: polygon(0 0, calc(100% - 20vw) 0, 100% 20vw, 100% 100%, 0 100%); }
  .sheet .fold { width: 20vw; height: 20vw; }
  .sheet .h1 { font-size: 11.6vw; }
  .sel { outline-offset: 10px; } .sel i { width: 10px; height: 10px; }
  .sel i:nth-of-type(1) { left: -15px; top: -15px; } .sel i:nth-of-type(2) { right: -15px; top: -15px; }
  .sel i:nth-of-type(3) { left: -15px; bottom: -15px; } .sel i:nth-of-type(4) { right: -15px; bottom: -15px; }
  .who.agent { right: -6px; bottom: -58px; } .who span { font-size: 15px; margin-top: 18px; } .who svg { width: 20px; height: 24px; }
  .who.you { display: none; }
  .sheet .lead { margin-top: 64px; }
  .split, .row, .family, .faq { grid-template-columns: 1fr; gap: 20px; }
  .facts, .how-steps, .feats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pair svg { width: 30vw; height: 30vw; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-lead { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .term { font-size: 14px; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
