/* picode.ibcsc.be — variant B: Swiss grid built from Pi's pixel tiles. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-normal-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jbmono-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jbmono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jbmono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F3F0E8;
  --paper-2: #EAE6DB;
  --ink: #111111;
  --ink-2: #4A4740;
  --ink-3: #77736A;
  --hair: rgba(17, 17, 17, .14);
  --hair-soft: rgba(17, 17, 17, .07);
  --salmon: #F09082;
  --blue: #4D9ABF;
  --yellow: #F1BE58;
  --night: #111111;
  --night-ink: #F3F0E8;
  --night-2: #B9B4A8;

  --sans: "Onest", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1248px;
  --gutter: clamp(16px, 4vw, 48px);
  /* one grid module: a twelfth of the content width; cells are square */
  --col: calc((min(100vw, var(--wrap) + 2 * var(--gutter)) - 2 * var(--gutter)) / 12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { position: relative; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }
.tile { display: inline-block; width: 10px; height: 10px; flex: none; background: var(--salmon); }
.tile.b { background: var(--blue); }
.tile.y { background: var(--yellow); }

/* the visible module grid */
.grid-lines .wrap::before {
  content: ""; position: absolute; inset: 0 var(--gutter); pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, var(--hair-soft) 1px, transparent 1px), linear-gradient(var(--hair-soft) 1px, transparent 1px);
  background-size: calc(100% / 12) var(--col);
  border-right: 1px solid var(--hair-soft);
}
.grid-lines .wrap > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- type */
.display { font-weight: 800; font-size: clamp(54px, calc(var(--col) * 1.18), 148px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(36px, calc(var(--col) * .52), 64px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.h3 { font-weight: 700; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.03em; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.5; text-wrap: pretty; }
.body { color: var(--ink-2); text-wrap: pretty; }
.kicker, .label { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); font: 600 15px/1.1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn small { font-size: 11px; font-weight: 400; opacity: .7; margin-left: 4px; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.dl { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.dl .btn { justify-content: flex-start; }
.dl .btn.line { padding-left: 50px; }
.dl-meta { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.logo .mark { width: 22px; height: 22px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { font-size: 15px; font-weight: 500; text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font: 600 13px/1 var(--mono); padding: 12px 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 4px); min-width: 170px; background: var(--paper); border: 1.5px solid var(--ink); padding: 4px; }
.lang a { display: block; padding: 9px 12px; text-decoration: none; font-size: 15px; }
.lang a:hover { background: var(--paper-2); }
.lang a[aria-current]::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--salmon); margin-right: 8px; }

/* ---------------------------------------------------------------- hero */
.hero { padding-bottom: var(--col); border-bottom: 1px solid var(--hair); }
.hero-in { padding-top: calc(var(--col) * .5); }
.grid-lines .wrap > .hero-mark { position: absolute; right: var(--gutter); top: 0; width: calc(var(--col) * 3); z-index: 1; }
.hero-mark .mark { width: 100%; height: auto; display: block; }
.hero .kicker { height: var(--col); align-items: flex-start; padding-top: 2px; }
.hero .display { max-width: calc(var(--col) * 9); margin-top: calc(var(--col) * 1.1); }
.hero-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: calc(var(--col) * .5); }
.hero-cols > * { padding: 22px 24px 0 0; border-top: 2px solid var(--ink); }
.hero-cols .lead { grid-column: 1 / span 5; }
.hero-cols .hero-dl { grid-column: 6 / span 4; padding-right: 16px; }
.hero-cols .note { grid-column: 10 / span 3; font-size: 14px; color: var(--ink-2); }
.hero-shot { margin-top: calc(var(--col) * .7); border: 1.5px solid var(--ink); background: #fff; }
.hero-shot img { width: 100%; }

/* ---------------------------------------------------------------- statement */
.statement { padding: calc(var(--col) * 1.2) 0; }
.statement p { max-width: calc(var(--col) * 10.5); font-weight: 700; font-size: clamp(30px, calc(var(--col) * .46), 54px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.statement em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); }

/* ---------------------------------------------------------------- features */
.feat { border-top: 1px solid var(--hair); padding: var(--col) 0; }
.feat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.feat-copy { grid-column: 1 / span 5; }
.feat-shot { grid-column: 7 / span 6; }
.feat-grid.is-flip .feat-copy { grid-column: 8 / span 5; grid-row: 1; }
.feat-grid.is-flip .feat-shot { grid-column: 1 / span 6; grid-row: 1; }
.num-tile { display: grid; place-items: center; width: var(--col); aspect-ratio: 1; font-weight: 800; font-size: calc(var(--col) * .62); line-height: 1; letter-spacing: -.05em; color: var(--ink); background: var(--salmon); }
.num-tile.t-b { background: var(--blue); }
.num-tile.t-y { background: var(--yellow); }
.num-tile.sm { width: 44px; font-size: 26px; }
.feat-copy .label { margin: 24px 0 12px; }
.feat-copy .h2 { margin-bottom: 20px; }
.feat-copy .body { margin-bottom: 28px; max-width: 34em; }
.ticks li { position: relative; padding: 11px 0 11px 24px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.4; }
.ticks li:last-child { border-bottom: 1px solid var(--hair); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; background: var(--ink); }
.crop { position: relative; overflow: hidden; border: 1.5px solid var(--ink); background: #fff; aspect-ratio: 4 / 3; }
.crop img { position: absolute; max-width: none; }
.shot-main-light .crop img { width: 205%; left: -38%; top: -12%; }
.shot-browser-light { justify-self: end; width: min(100%, calc(var(--col) * 4)); }
.shot-browser-light .crop { aspect-ratio: 450 / 720; }
.shot-browser-light .crop img { width: 320%; left: -219%; top: -19.5%; }
.feat-grid.is-flip .shot-browser-light { justify-self: start; }
.shot-ask-dark .crop img { width: 175%; left: -56%; top: -46%; }
.feat.is-dark { background: var(--night); color: var(--night-ink); border-top: 0; }
.feat.is-dark .body, .feat.is-dark .label { color: var(--night-2); }
.feat.is-dark .ticks li { border-color: rgba(243, 240, 232, .18); }
.feat.is-dark .ticks li::before { background: var(--yellow); }
.feat.is-dark .crop { border-color: rgba(243, 240, 232, .5); background: #1b1b1b; }

/* trio: a three-cell table */
.trio { border-top: 1px solid var(--hair); }
.trio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { padding: calc(var(--col) * .5) 28px calc(var(--col) * .6); border-left: 1px solid var(--hair); }
.cell:first-child { border-left: 0; padding-left: 0; }
.cell:last-child { padding-right: 0; }
.cell-art { position: relative; height: calc(var(--col) * 2); display: flex; align-items: center; justify-content: center; background: var(--paper-2); margin-bottom: 24px; overflow: hidden; }
.cell-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cell .h3 { margin-bottom: 10px; }
.cell .body { font-size: 15.5px; }
.keys { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; background: var(--paper); border: 1.5px solid var(--ink); font: 600 12px/1 var(--mono); color: var(--ink); }
.wave { display: flex; align-items: center; gap: 5px; height: 96px; }
.wave i { width: 6px; height: 30%; background: var(--ink); animation: wave 1.5s var(--ease) infinite alternate; }
.wave i:nth-child(3n) { background: var(--salmon); }
.wave i:nth-child(odd) { animation-duration: 1.1s; }
.wave i:nth-child(4n+1) { height: 52%; animation-delay: -.3s; }
.wave i:nth-child(4n+2) { height: 84%; animation-delay: -.7s; }
.wave i:nth-child(4n+3) { height: 38%; animation-delay: -1.1s; }
.wave i:nth-child(5n) { height: 96%; animation-delay: -.5s; }
.wave i:first-child, .wave i:last-child { height: 14%; }
@keyframes wave { to { transform: scaleY(.4); } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 18px; }
.chips li { padding: 7px 11px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 12.5px; }
.chips li.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.lay { width: 76%; height: 66%; display: grid; grid-template-columns: 1fr 2fr 2fr; grid-template-rows: 1fr 22%; gap: 4px; padding: 4px; border: 1.5px solid var(--ink); background: var(--paper); }
.lay i { display: block; }
.l-side { grid-row: 1 / 3; background: var(--salmon); }
.l-a { background: var(--paper-2); border: 1px solid var(--hair); }
.l-b { background: var(--blue); opacity: .85; }
.l-term { grid-column: 2 / 4; background: var(--ink); }

/* ---------------------------------------------------------------- install */
.install { border-top: 1px solid var(--hair); padding: var(--col) 0; }
.install .h2 { max-width: calc(var(--col) * 8); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--col); }
.steps li { min-width: 0; padding: 0 28px 0 0; }
.steps li + li { padding-left: 0; }
.steps .num-tile { margin-bottom: 24px; }
.steps .h3 { margin-bottom: 10px; }
.steps .body { font-size: 15.5px; background: var(--paper); }
.cmd { margin-top: 16px; display: flex; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); }
.cmd code { flex: 1; min-width: 0; padding: 13px 14px; font-size: 13px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::before { content: "$ "; color: var(--yellow); }
.copy { flex: none; border: 0; border-left: 1.5px solid #333; background: transparent; color: var(--paper); font-size: 12px; padding: 0 14px; cursor: pointer; }
.copy:hover, .copy.is-done { background: var(--yellow); color: var(--ink); }

/* ---------------------------------------------------------------- download band */
.dl-band { background: var(--night); color: var(--night-ink); }
.dl-band-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; padding-top: var(--col); padding-bottom: var(--col); }
.dl-band-mark { grid-column: 1 / span 3; }
.dl-band-mark .mark { width: calc(var(--col) * 2.4); height: auto; display: block; }
.dl-band-text { grid-column: 5 / span 6; }
.dl-band .h2 { margin-bottom: 28px; }
.dl-band .dl { max-width: 420px; }
.dl-band .btn.ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dl-band .btn.ink:hover { background: var(--yellow); border-color: var(--yellow); }
.dl-band .btn.line { color: var(--paper); border-color: var(--paper); }
.dl-band .btn.line:hover { background: var(--paper); color: var(--ink); }
.dl-band .dl-meta { color: var(--night-2); }

/* ---------------------------------------------------------------- faq */
.faq { padding: var(--col) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.faq-grid > .h2 { grid-column: 1 / span 4; position: sticky; top: 96px; }
.faq-list { grid-column: 5 / span 8; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .q { text-decoration: underline; text-underline-offset: 5px; }
.pm { position: relative; flex: none; width: 28px; height: 28px; border: 1.5px solid var(--ink); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq details[open] .pm { background: var(--salmon); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 44em; }

/* ---------------------------------------------------------------- pages */
.page { padding-top: var(--col); padding-bottom: calc(var(--col) * 1.5); min-height: 60vh; }
.page .kicker { margin-bottom: 24px; }
.h1 { font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.05em; margin-bottom: 24px; }
.page .lead { max-width: 36em; margin-bottom: 32px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--hair); padding: calc(var(--col) * .8) 0 28px; overflow: hidden; }
.foot-word { display: flex; align-items: center; gap: calc(var(--col) * .3); font-weight: 800; font-size: clamp(64px, calc(var(--col) * 2), 240px); line-height: .8; letter-spacing: -.065em; white-space: nowrap; }
.foot-word .mark { width: .8em; height: .8em; flex: none; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: calc(var(--col) * .6); padding-top: 18px; border-top: 2px solid var(--ink); font-size: 14px; color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-mark rect { transform-box: fill-box; transform-origin: center; animation: tile-in .6s var(--ease) both; }
.js .hero-mark rect:nth-child(2) { animation-delay: .06s; } .js .hero-mark rect:nth-child(3) { animation-delay: .12s; }
.js .hero-mark rect:nth-child(4) { animation-delay: .18s; } .js .hero-mark rect:nth-child(5) { animation-delay: .24s; }
.js .hero-mark rect:nth-child(6) { animation-delay: .3s; } .js .hero-mark rect:nth-child(7) { animation-delay: .36s; }
@keyframes tile-in { from { opacity: 0; transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-mark rect, .wave i { animation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-cols .lead { grid-column: 1 / span 12; }
  .hero-cols .hero-dl { grid-column: 1 / span 7; margin-top: 24px; }
  .hero-cols .note { grid-column: 8 / span 5; margin-top: 24px; }
  .feat-copy, .feat-grid.is-flip .feat-copy { grid-column: 1 / -1; grid-row: auto; }
  .feat-shot, .feat-grid.is-flip .feat-shot { grid-column: 1 / -1; grid-row: auto; margin-top: 40px; }
  .shot-browser-light, .feat-grid.is-flip .shot-browser-light { justify-self: start; width: min(100%, 360px); }
  .trio-grid { grid-template-columns: 1fr; }
  .cell, .cell:first-child, .cell:last-child { border-left: 0; padding: 40px 0; border-top: 1px solid var(--hair); }
  .cell:first-child { border-top: 0; }
  .faq-grid > .h2 { grid-column: 1 / -1; position: static; margin-bottom: 28px; }
  .faq-list { grid-column: 1 / -1; }
  .dl-band-mark { grid-column: 1 / -1; margin-bottom: 32px; }
  .dl-band-text { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --col: calc((100vw - 2 * var(--gutter)) / 6); }
  .grid-lines .wrap::before { background-size: calc(100% / 6) var(--col); }
  .top-nav { display: none; }
  .lang { margin-left: auto; }
  .top .btn.sm span { display: none; }
  .top .btn.sm { padding: 0 12px; }
  .grid-lines .wrap > .hero-mark { width: calc(var(--col) * 2); }
  .hero .kicker { max-width: calc(var(--col) * 3.7); height: auto; min-height: var(--col); line-height: 1.5; }
  .hero .display { margin-top: calc(var(--col) * .8); font-size: clamp(48px, 15vw, 72px); }
  .hero-cols .hero-dl, .hero-cols .note { grid-column: 1 / -1; }
  .hero-cols .note { border-top: 0; padding-top: 16px; margin-top: 0; }
  .hero-shot { margin-top: 48px; }
  .num-tile { width: 64px; font-size: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps li { padding: 0; }
  .shot-main-light .crop img { width: 260%; left: -48%; top: -12%; }
  .shot-ask-dark .crop img { width: 210%; left: -66%; top: -50%; }
  .faq details p { padding-right: 0; }
  .foot-word { font-size: 19vw; }
}
