/* Apps site of TalentDEV (shared by the overview page and every app). Colours, type and sizes are the tokens right below; change them here and the whole site follows. */
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
:root { --wrap: 72rem; --gutter: clamp(1rem, 4vw, 2.5rem); --ease: cubic-bezier(.2, .8, .2, 1);
  --display: -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; --body: -apple-system, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; --h3-font: var(--display); --h3-track: -.015em;
  --h-weight: 700; --h-lh: 1.05; --h-track: -.025em; --h1-size: clamp(2.9rem, 6.6vw, 5.2rem); --h2-size: clamp(2rem, 4.4vw, 3.1rem);
  --btn-font: 600 1rem/1 var(--body); --r-btn: 12px; --r-card: 18px;
  --bg: #f4f4f8; --surface: #fff; --line: #dadae3; --line-strong: #b9b9c6; --text: #262626; --muted: #5f5f6b;
  --accent-large: #484d6d; --accent-text: #a8361a; --btn: #484d6d; --on-btn: #fff; --focus: #6e9dc5; --range: #484d6d; --legend-pass: #3d6da8;
  --logo-main: #484d6d; --logo-l: #6e9dc5;
  --win-bar: #ebebf1; --win-line: #dadae3; --win-muted: #5f5f6b; --win-shadow: 0 1px 2px rgba(38, 38, 60, .08), 0 30px 60px -24px rgba(38, 38, 60, .28);
  --seg-bg: #e6e6ee; --seg-on: #fff; --seg-on-text: #262626; --card-shadow: 0 1px 2px rgba(38, 38, 60, .06); --hl-bg: #ebedf5;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #17171c; --surface: #222229; --line: #36363f; --line-strong: #55555f; --text: #f1f1f4; --muted: #a6a6b2;
  --accent-large: #9498b8; --accent-text: #ffb39e; --btn: #9498b8; --on-btn: #17171c; --range: #9498b8; --legend-pass: #8db4e0; --logo-main: #fff;
  --win-bar: #1c1c22; --win-line: #36363f; --win-muted: #a6a6b2; --win-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --seg-bg: #2c2c34; --seg-on: #55555f; --seg-on-text: #fff; --card-shadow: none; --hl-bg: #24252f;
} }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; } button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
/* Numbers keep their width, so prices and counters never push their neighbours around. */
.num, .amt, output { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--btn); color: var(--on-btn); padding: .5rem 1rem; }
/* No focus ring after a click or a tap. Only someone moving through the page with the keyboard gets a thin line in the tint of the button. */
:focus { outline: none; }
:focus-visible { outline: 1.5px solid var(--btn); outline-offset: 3px; }
input[type="range"]:focus-visible { outline: none; } input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 0 0 3px color-mix(in srgb, var(--range) 35%, transparent); }
[id] { scroll-margin-top: 4.25rem; }

/* Sections take their colours from the tokens; a section may override them (see the themes). */
section, .top, footer.site { background: var(--bg); color: var(--text); }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
h1 { font: var(--h-weight) var(--h1-size)/var(--h-lh) var(--display); letter-spacing: var(--h-track); margin: 0 0 1.25rem; }
h2 { font: var(--h-weight) var(--h2-size)/var(--h-lh) var(--display); letter-spacing: var(--h-track); margin: 0 0 1rem; }
h3 { font: 700 1.4rem/1.2 var(--h3-font); letter-spacing: var(--h3-track); margin: 0 0 .5rem; }
h1 em { font-style: normal; color: var(--accent-large); }
.lead { max-width: 34rem; font-size: 1.2rem; margin: 0 0 2rem; }
.intro { max-width: 40rem; color: var(--muted); margin: 0; }
.textlink { font-weight: 600; text-underline-offset: 4px; }

/* Header: solid, no blur */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); overflow: clip; }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .45em; font: 400 1.35rem/1 "Open Sans", system-ui, sans-serif; text-decoration: none; letter-spacing: -.01em; color: var(--logo-main); }
.logo .mark { width: 1.75em; height: auto; flex: none; } .logo .mark .l { fill: var(--logo-l); } .logo .mark .d { fill: var(--logo-main); }
.logo .word { display: inline-flex; align-items: baseline; } .logo .gt { font-weight: 800; margin-right: .08em; }
.logo .t, .logo .cur { color: var(--logo-l); } .logo b, .logo .cur { font-weight: 800; }
.logo .cur { margin-left: .04em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.product { padding-left: 1rem; border-left: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; color: var(--text); }
/* "Apps › Product": the first part leads back to the overview of all apps. On a phone only the product name is left;
   there the way back is the link "Alle apps" at the foot of the page. */
.product a { color: inherit; text-decoration: none; }
.product .crumb { color: var(--muted); font-weight: 500; transition: color .2s; } .product .crumb:hover { color: var(--text); }
.crumb-sep { margin: 0 .45em; color: var(--muted); font-weight: 400; }
@media (max-width: 36em) { .product .crumb, .crumb-sep { display: none; } }
.nav { display: none; gap: 1.6rem; margin-left: auto; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; } .nav a:hover { color: var(--text); }
.lang { font-size: .85rem; border: 1px solid var(--line); border-radius: 4px; padding: .1rem .45rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.3rem; border-radius: var(--r-btn); font: var(--btn-font); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn-primary { background: var(--btn); color: var(--on-btn); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
/* The outlined button moves on hover exactly like the filled one */
.btn-line { border: 1.5px solid var(--line-strong); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s; }
.btn-line:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.btn .arrow { transition: transform .3s var(--ease); } .btn:hover .arrow { transform: translateX(4px); }
.top .btn { margin-left: auto; min-height: 42px; transition: transform .5s var(--ease), visibility .5s, box-shadow .3s var(--ease); }
/* While the same button is in view in the hero, the one in the header waits under the edge of the header. Once you scroll past
   the hero button it rises into place, as if that button got caught by the header. It keeps its place, so the menu does not move. */
.top.cta-away .btn { visibility: hidden; transform: translateY(170%); pointer-events: none; }
/* The language link is always there, also when the menu and the button are not */
.top .lang { text-decoration: none; color: var(--muted); }
@media (min-width: 60em) { .nav { display: flex; } .top .btn { margin-left: 0; } } /* narrower than this the menu does not fit next to the button */
@media (max-width: 36em) { .top .btn { display: none; } .top .lang { margin-left: auto; } .logo { font-size: 1.15rem; } }

/* Segmented control: the thumb slides to the chosen button */
.seg { position: relative; display: inline-flex; max-width: 100%; padding: 3px; border-radius: 99px; background: var(--seg-bg); }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 99px; background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
/* The thumb only glides once it has its first place, so it never grows in from nothing on load */
.seg.ready .seg-thumb { transition: transform .4s var(--ease), width .4s var(--ease), opacity .2s; }
.seg button { position: relative; z-index: 1; border: 0; background: none; min-height: 36px; padding: 0 .95rem; border-radius: 99px; font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--seg-on-text); }
.mini { display: inline-flex; align-items: center; gap: .45rem; border: 0; min-height: 40px; padding: 0 1.1rem; border-radius: 99px; background: var(--btn); color: var(--on-btn); font-size: .92rem; font-weight: 600; transition: transform .3s var(--ease); }
.mini:hover { transform: translateY(-1px); }
.status { min-height: 1.6em; margin: 0; font-size: .9rem; color: var(--muted); }

/* Hero */
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .hero .wrap { grid-template-columns: .85fr 1.15fr; } }
.app-icon { display: block; width: 6rem; height: 6rem; margin: 0 0 1.25rem -.55rem; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .12)); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.facts { margin: 1.5rem 0 0; font-size: .92rem; color: var(--muted); }
.mac { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #dfe1ea; border: 1px solid var(--win-line); box-shadow: var(--win-shadow); }
.mac-bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; background: var(--win-bar); border-bottom: 1px solid var(--win-line); font: 600 .78rem var(--body); color: var(--win-muted); }
.mac-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #ff5f57; } .mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span { margin-inline: auto; padding-right: 2.5rem; }
.shot { display: block; width: 100%; height: auto; cursor: pointer; }

/* Try it: the board is the largest thing on the page */
.try-head { max-width: 40rem; margin-bottom: 2rem; } .try-head p { margin: 0; color: var(--muted); }
.try-own { margin: 1rem 0 0; color: var(--muted); }
.pitch { width: min(100%, 58rem, 96vh); padding: clamp(.75rem, 2vw, 1.25rem); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.board { display: block; width: 100%; height: auto; border-radius: calc(var(--r-card) - 6px); background: #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
.board .ln { fill: none; stroke: #484d6d; stroke-width: 1.2; stroke-dasharray: 6 5; }
.board .pl { cursor: grab; transition: transform 1.1s var(--ease); } .board .pl.drag { cursor: grabbing; transition: none; }
.board text { font: 700 12px var(--body); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.board .t-own { fill: #262626; } .board .t-opp { fill: #fff; font-size: 11px; }
.board .arw { fill: none; stroke-width: 2.6; stroke-linecap: round; animation: appear .5s var(--ease) both; }
.board .arw.swim { stroke: #e8552f; } .board .arw.pass { stroke: #3d6da8; stroke-dasharray: 7 5; } .board .arw.shot { stroke: #262626; stroke-width: 3.2; }
.board .zone { fill: rgba(232, 85, 47, .2); stroke: #e8552f; stroke-dasharray: 4 3; animation: appear .5s var(--ease) both; }
@keyframes appear { from { opacity: 0; } }
.pitch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.pitch-bar .play { margin-left: auto; min-width: 7.2rem; justify-content: center; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
.legend .k { display: inline-block; width: 1.6rem; height: 0; margin-left: .75rem; border-top: 3px solid #e8552f; } .legend .k:first-child { margin-left: 0; }
.legend .pass { border-top: 3px dashed var(--legend-pass); } .legend .shot { border-top-color: var(--text); }

/* Story: one feature per row, each with something to operate */
.story .wrap { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
/* Grid children may shrink below their content, and a long row of choices scrolls inside itself on a phone */
.story .wrap > *, .row > * { min-width: 0; }
.seg { overflow-x: auto; scrollbar-width: none; } .seg::-webkit-scrollbar { display: none; }
/* On a phone the five templates fit in one row without sliding */
@media (max-width: 26em) { .tpl button { padding: 0 .6rem; } }
.row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60em) { .row { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .row.flip { grid-template-columns: 1.2fr .8fr; } .row.flip .row-text { order: 2; } }
.row-text p, .small dd { color: var(--muted); } .row-text p { margin: 0; }
.controls { display: flex; flex-wrap: wrap; gap: .6rem; }
/* A picture with its choices right under it, centred: you change what you are looking at */
.demo-col { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.25rem; min-width: 0; }
.demo-col .controls, .demo-col .seg { max-width: 100%; min-width: 0; } /* a long row of choices scrolls inside itself instead of widening the page */
.demo-col > .sheet { justify-self: stretch; } .demo-col .controls { justify-content: center; }
.demo-col .status { margin: 0; min-height: 1.6em; text-align: center; }
.sheet { margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--win-shadow); }
.sheet img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease), transform .5s var(--ease); } .sheet img.swap { opacity: 0; transform: scale(.985); }
.toc { justify-self: center; width: min(100%, 24rem); padding: 1.5rem; border-radius: 10px; background: #fff; color: #262626; border: 1px solid #dadae3; box-shadow: var(--win-shadow); font-family: "Open Sans", system-ui, sans-serif; }
.toc-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; padding-bottom: .75rem; border-bottom: 2px solid #f2552c; font-weight: 800; }
.toc-badge { padding: .2rem .5rem; border-radius: 4px; background: #484d6d; color: #fff; font-size: .68rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); }
.toc[data-aud="staff"] .toc-badge { opacity: 1; transform: none; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; min-height: 13.5rem; }
.toc li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; height: 2.7rem; overflow: hidden; border-bottom: 1px solid #e8e8ee; line-height: 2.7rem; font-size: .95rem; transition: height .45s var(--ease), opacity .3s, border-color .3s; }
.toc li small { font-size: .7rem; font-weight: 600; color: #a8361a; white-space: nowrap; }
.toc[data-aud="players"] li.staff { height: 0; opacity: 0; border-color: transparent; }
.toc-foot { margin: .9rem 0 0; font-size: .82rem; color: #5f5f6b; } .toc-count { display: inline-block; min-width: 5.6rem; font-weight: 700; color: #262626; }
/* Export: what you get per format, on a real page. Sizes in em, so the whole picture scales down on a phone */
.out, .share { justify-self: center; margin-inline: auto; }
.out { position: relative; width: 25em; height: 15em; font-size: clamp(.72rem, 3.55vw, 1rem); }
.out-page { position: absolute; left: .5em; top: .6em; height: 13em; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid #c9cad6; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .5s var(--ease), opacity .4s; }
.out-page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.out-page.back { opacity: 0; }
.out[data-kind="PDF"] .out-page.back { opacity: 1; transform: translate(1em, .6em) rotate(2.5deg); }
.out[data-kind="PDF"] .out-page:not(.back) { transform: rotate(-1.5deg); }
.out-edit { position: absolute; left: 1.15em; top: 1.75em; width: 8.8em; height: 2.6em; border: 1.5px solid #3d6da8; border-radius: 2px; opacity: 0; transform: scale(1.15); transition: opacity .3s, transform .45s var(--ease); background: radial-gradient(circle, #fff 0 2.5px, #3d6da8 3px 3.6px, transparent 4px) -4px -4px / 8px 8px no-repeat, radial-gradient(circle, #fff 0 2.5px, #3d6da8 3px 3.6px, transparent 4px) calc(100% + 4px) calc(100% + 4px) / 8px 8px no-repeat; }
.out[data-kind="PPTX"] .out-edit { opacity: 1; transform: none; }
.out-play { position: absolute; left: .5em; top: .6em; height: 13em; aspect-ratio: 16 / 9; border-radius: 6px; display: grid; place-items: center; background: rgba(20, 21, 31, .45); opacity: 0; transition: opacity .35s; overflow: hidden; }
.out-play::before { content: ""; border-style: solid; border-width: 1em 0 1em 1.6em; border-color: transparent transparent transparent #fff; }
.out-play i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: #f2552c; transform-origin: left; transform: scaleX(0); }
.out[data-kind="MP4"] .out-play { opacity: 1; } .out[data-kind="MP4"] .out-play i { animation: bar 4s linear infinite; }
@keyframes bar { to { transform: scaleX(1); } }
.out-badge { position: absolute; left: 0; bottom: .3em; min-width: 3.4rem; padding: .3rem .5rem; border-radius: 5px; background: #484d6d; color: #fff; font: 800 .74rem/1 var(--body); letter-spacing: .04em; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.out:not([data-kind=""]) .out-badge { opacity: 1; transform: none; }
/* Share: your window, the message you send yourself in the middle, and your colleague's window where the file is checked and lands */
.share { width: 100%; max-width: 38rem; height: 15rem; container-type: inline-size; }
.share-in { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 1.1rem; align-items: center; height: 100%; }
.share .win { height: 12.6rem; display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 9px; overflow: hidden; background: #fff; color: #262626; border: 1px solid #c9cad6; box-shadow: 0 10px 24px -14px rgba(20, 21, 31, .5); }
.share .win.them { opacity: .5; }
.share .bar { display: flex; align-items: center; gap: .28rem; padding: .35rem .5rem; background: #ebebf1; border-bottom: 1px solid #dadae3; font-size: .66rem; font-weight: 600; color: #5f5f6b; }
.share .bar i { width: .4rem; height: .4rem; border-radius: 50%; background: #ff5f57; } .share .bar i:nth-child(2) { background: #febc2e; } .share .bar i:nth-child(3) { background: #28c840; }
.share .bar span { margin-left: .3rem; }
.share .body { position: relative; display: grid; min-height: 0; padding: .5rem; }
.share .card { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; border-radius: 6px; overflow: hidden; border: 1px solid #dadae3; background: #fff; }
/* A simplified drawing of what is shared, readable at this size */
.share .art { display: block; min-height: 0; background: #f4f4f8; } .share .art svg { display: block; width: 100%; height: 100%; }
.share .cap { display: block; padding: .35rem .5rem .4rem; line-height: 1.2; border-top: 1px solid #dadae3; }
.share .card b { display: block; font-size: .74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share .card small { font-size: .64rem; color: #5f5f6b; }
/* The message sits exactly in the middle between the two windows */
.share .chat { display: grid; justify-items: center; align-content: center; gap: .3rem; min-width: 0; }
.share .bubble { position: relative; margin: 0; display: grid; gap: .5rem; justify-items: center; text-align: center; max-width: 100%; padding: .7rem .8rem; border-radius: 16px 16px 16px 5px; background: var(--btn); color: var(--on-btn); font-size: .84rem; line-height: 1.3; opacity: 0; transform: translateY(12px); }
/* A speech balloon: a small tail in the corner, towards the sender */
.share .bubble::after { content: ""; position: absolute; left: -6px; bottom: 0; width: 12px; height: 12px; background: inherit; clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.share .file { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .3rem .55rem .3rem .4rem; border-radius: 8px; background: #fff; color: #262626; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.share .fn { overflow: hidden; text-overflow: ellipsis; } .share .file { min-width: 0; } /* a long file name is cut off inside the balloon */
.share .doc { flex: none; width: .8rem; height: 1rem; border-radius: 2px 5px 2px 2px; background: #484d6d; }
.share .sent { font-size: .7rem; color: var(--muted); opacity: 0; }
.share .slot { position: absolute; inset: .5rem; display: grid; place-items: center; align-content: center; gap: .35rem; border: 1.5px dashed #b9b9c6; border-radius: 6px; font-size: .7rem; font-weight: 600; color: #5f5f6b; }
.share .slot .ok { opacity: 0; } .share .got { opacity: 0; transform: scale(.92); }
.share .ring { width: 2.5rem; height: 2.5rem; }
.share .ring circle { fill: none; stroke: #a5c882; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 95; stroke-dashoffset: 95; transform: rotate(-90deg); transform-origin: center; }
.share .ring path { fill: none; stroke: #1f3310; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.share.run .me .card { animation: tap .5s var(--ease); }
.share.run .bubble { animation: rise .5s .3s var(--ease) both; } .share.run .sent { animation: fade .3s 1s both; }
.share.run .file { animation: tap .5s 1.4s var(--ease); }
.share.run .them { animation: wake .4s 1.7s both; }
.share.run .ring circle { animation: draw .7s 1.9s ease-out forwards; } .share.run .ring path { animation: draw .35s 2.55s ease-out forwards; }
.share.run .slot .ok { animation: fade .3s 2.55s both; } .share.run .slot { animation: gone .35s 3.4s both; } .share.run .got { animation: land .5s 3.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tap { 40% { transform: scale(.94); } } @keyframes wake { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes fade { from { opacity: 0; } to { opacity: 1; } } @keyframes gone { to { opacity: 0; } }
@keyframes land { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
/* Too narrow for three: your own window drops out, the message and your colleague stay */
@container (max-width: 26rem) { .share-in { grid-template-columns: 1.1fr 1fr; gap: .8rem; } .share .me { display: none; } }
/* Without motion the end state is shown at once */
@media (prefers-reduced-motion: reduce) { .share.run .bubble, .share.run .sent, .share.run .them, .share.run .got { opacity: 1; transform: none; } .share.run .slot { opacity: 0; } }
.small dl { margin: 1rem 0 0; display: grid; grid-auto-rows: 1fr; gap: 0 4rem; border-top: 1px solid var(--line-strong); }
@media (min-width: 48em) { .small dl { grid-template-columns: 1fr 1fr; } }
.small dl div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.small dt { font-weight: 600; }
/* Barely there: title and text shift two pixels together */
.small dt, .small dd { transition: transform .45s var(--ease); }
.small dl div:hover dt, .small dl div:hover dd { transform: translateX(2px); } .small dd { margin: .15rem 0 0; }
.small dt small { margin-left: .5rem; font-size: .8rem; font-weight: 600; color: var(--accent-text); }

/* Privacy: just type */
.privacy h2, .faq h2 { max-width: 20ch; }
.big { max-width: 52rem; font: 500 clamp(1.25rem, 2.3vw, 1.65rem)/1.4 var(--body); margin: 0 0 1.25rem; }
.aside { max-width: 40rem; margin: 0; color: var(--muted); }

/* Pricing: three plans in one panel, with Max as the dark block that stands taller than the other two. Under them the
   whole comparison slides open: a row of plans that stays in view and one block per part of the app. */
.pricing-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
/* The period buttons keep their pill shape; under each one stands what that choice gives you, so both are always in view */
.period-wrap { display: grid; justify-items: start; gap: .4rem; --pw: min(10.5rem, 43vw); }
.period button { width: var(--pw); padding: 0; }
.period-notes { display: grid; grid-template-columns: repeat(2, var(--pw)); margin: 0; padding: 0 3px; font-size: .8rem; text-align: center; color: var(--muted); }
.period-notes span { transition: color .3s; }
.period-wrap[data-p="y"] .period-notes span:first-child, .period-wrap[data-p="m"] .period-notes span:last-child { color: var(--accent-text); font-weight: 600; }
/* Per year or per month: both lines are in the page, the chosen one shows */
.pricing[data-p="y"] .p-m, .pricing[data-p="m"] .p-y { display: none; }
.to-year { border: 0; padding: 0; background: none; font: inherit; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pname { font: var(--h-weight) 1.7rem/1.1 var(--display); letter-spacing: var(--h-track); }
.pwho { color: var(--muted); font-size: .9rem; margin: .15rem 0 .9rem; }
/* The amount stands on its own line and never breaks; the period sits under it. Both are centred and keep their width */
.pprice { display: grid !important; justify-items: center; gap: .15rem; }
.amt { white-space: nowrap; font: 800 1.9rem/1.05 var(--display); color: var(--text); font-variant-numeric: tabular-nums; } .per { font-size: .9rem; color: var(--muted); }
.psave { margin-top: .5rem; min-height: 1.5em; font-size: .85rem; color: var(--muted); }
.diff { font-variant-numeric: tabular-nums; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 3rem 1.5rem; border: 1.5px solid var(--line-strong); border-radius: 28px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2.4rem 1.5rem 1.75rem; text-align: center; }
.plan + .plan:not(.best) { border-left: 1.5px solid var(--line); }
.plan .pname { margin: 0; } .plan > span { display: block; }
.plan .buy { align-self: center; }
.plus { margin: 1.5rem 0 .75rem; font-size: .85rem; font-weight: 700; color: var(--muted); text-align: left; }
.checks { display: grid; gap: .65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; text-align: left; } .plus + .checks { margin-top: 0; }
.checks li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .7rem; align-items: start; }
.plan-foot { margin: auto 0 0; padding-top: 1.5rem; font-size: .85rem; color: var(--muted); text-align: left; } .plan-foot strong { color: var(--text); }
.badge { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); padding: .15rem .7rem; border-radius: 99px; background: #fff; color: #2c2f47; font-size: .75rem; font-weight: 700; white-space: nowrap; }
/* Max: the blue of the tiles on the overview page, in light and dark mode alike */
.plan.best { margin: -1.5rem -1.5px -1.5rem 0; padding-top: 3.9rem; padding-bottom: 3.25rem; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #5a6088 0%, #484d6d 42%, #2c2f47 100%); box-shadow: 0 26px 50px -26px rgba(20, 21, 31, .7); }
.plan.best .amt, .plan.best .plan-foot strong { color: #fff; }
.plan.best .pwho, .plan.best .per, .plan.best .psave, .plan.best .plus, .plan.best .plan-foot { color: rgba(255, 255, 255, .78); }
.plan.best .to-year { color: #ffc9b8; }

/* Anything that slides open and shut: the inner box is clipped while the row runs from nothing to the height of its content */
.slide { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.slide.shut, .grp-box:not(.open) > .slide { grid-template-rows: 0fr; }
.slide-in { min-height: 0; overflow: hidden; transition: opacity .3s; }
.slide.shut > .slide-in, .grp-box:not(.open) > .slide > .slide-in { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .45s; }
/* Once the comparison is fully open it is no longer clipped, so its row of plans can stay in view while scrolling */
.slide.done > .slide-in { overflow: visible; }
.chev { width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
[aria-expanded="true"] > .chev { transform: translateY(2px) rotate(-135deg); }
.more-row { display: flex; justify-content: center; margin: 2.5rem 0 0; }
.more-btn { gap: .8rem; background: none; cursor: pointer; }
.more-btn[aria-expanded="false"] .when-open, .more-btn[aria-expanded="true"] .when-shut { display: none; }

.compare { margin-top: 1.5rem; }
.cmp-sticky { position: sticky; top: calc(4.25rem + 1px); z-index: 3; background: var(--bg); border-bottom: 2px solid var(--line-strong); }
.plan-pick { display: none; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .97rem; }
.cmp td:first-child, .cmp th[scope="row"] { width: 31%; }
.cmp th, .cmp td { padding: .8rem .6rem; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { vertical-align: top; padding: .9rem .6rem; border-bottom: 0; font-weight: 400; }
.cmp thead th > span { display: block; }
.cmp-head .pname { font-size: 1.15rem; }
.hprice { margin-top: .15rem; font-size: .85rem; color: var(--muted); } .hprice .amt, .hprice .per { font: inherit; color: inherit; }
/* Every row is as high as one with a second, small line, so the rows keep one rhythm */
.cmp tbody th, .cmp tbody td { height: 4.8rem; }
.cmp th[scope="row"] { text-align: left; font-weight: 600; } .cmp small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.cmp .hl { background: var(--hl-bg); }
.cmp .y, .checks .y { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #a5c882; color: #1f3310; font-weight: 800; font-size: .85rem; }
.cmp .n { color: var(--muted); }
.cmpg tbody tr:last-child > * { border-bottom: 0; }
.grp-box { border-bottom: 1px solid var(--line-strong); }
.grp-btn { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1rem; border: 0; background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.grp-name { font: var(--h-weight) 1.15rem/1.2 var(--display); letter-spacing: var(--h-track); }
.grp-sum { padding: .15rem .6rem; border-radius: 99px; background: var(--hl-bg); font-size: .78rem; font-weight: 600; color: var(--muted); }
.grp-btn .chev { margin-left: auto; }
.grp-btn:hover .grp-name { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .slide, .slide-in, .chev { transition: none; } }
/* Phone: the plans under each other with Max first; in the comparison the label column plus the plan picked above it */
@media (max-width: 47.99em) {
  .pricing-head { display: block; } .period-wrap { display: block; margin-top: 1.25rem; }
  .toggles { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
  .toggles .seg button { width: auto; padding: 0 .6rem; font-size: .86rem; }
  .period-notes { display: block; margin-top: .6rem; padding: 0; text-align: left; } .period-notes span { display: block; }
  .period-notes span:first-child::before { content: "Per jaar: "; } .period-notes span:last-child::before { content: "Per maand: "; }
  /* The same two labels on an English page; a text in the stylesheet cannot come from the content files */
  :lang(en) .period-notes span:first-child::before { content: "Yearly: "; } :lang(en) .period-notes span:last-child::before { content: "Monthly: "; }
  .plans { grid-template-columns: 1fr; margin-top: 2rem; }
  /* From most to least: Max, Pro, Free (in the page they stand Free, Pro, Max) */
  .plan + .plan:not(.best) { border-left: 0; }
  .plan.best { order: -2; margin: -1.5px -1.5px 0; }
  .plan:nth-child(2) { order: -1; }
  .plan:first-child { border-top: 1.5px solid var(--line); }
  .cmp-sticky { padding-top: .5rem; } .cmp-sticky .plan-pick { display: flex; width: max-content; margin: 0 auto .25rem; }
  .cmp td:first-child, .cmp th[scope="row"] { width: 52%; }
  /* Two columns: the labels, and the plan picked above with its heading on top of its own column */
  .cmp tr > :not(:first-child) { display: none; }
  .cmp[data-plan="1"] tr > :nth-child(2), .cmp[data-plan="2"] tr > :nth-child(3), .cmp[data-plan="3"] tr > :nth-child(4) { display: table-cell; }
  .cmp .hl { background: none; }
  .cmp th, .cmp td { padding-inline: .5rem; } .cmp th[scope="row"] { padding-left: 0; }
  .grp-btn { padding-inline: 0; }
}
.fine { margin: 1rem 0 0; max-width: 52rem; font-size: .9rem; color: var(--muted); }

/* Clubs: a slider and three columns; the third is only an outline */
.clubs-head { max-width: 42rem; margin-bottom: 2.5rem; } .clubs-head p { margin: 0; color: var(--muted); }
.calc-q { display: flex; align-items: baseline; justify-content: space-between; max-width: 34rem; font-weight: 600; }
.calc output { display: inline-flex; justify-content: flex-end; font: 800 3.2rem/1 var(--display); }
.calc output i { display: inline-block; width: 1ch; font-style: normal; text-align: center; }
input[type="range"] { display: block; width: 100%; max-width: 34rem; height: 2rem; margin: 0; background: none; -webkit-appearance: none; appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--range) var(--fill, 0%), var(--seg-bg) var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 9px; background: var(--seg-bg); } input[type="range"]::-moz-range-progress { height: 6px; border-radius: 9px; background: var(--range); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--range); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--range); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
/* Held: the thumb grows a little and gets a soft ring */
input[type="range"] { cursor: grab; } input[type="range"]:active { cursor: grabbing; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 3px 10px rgba(0, 0, 0, .28), 0 0 0 7px color-mix(in srgb, var(--range) 18%, transparent); }
input[type="range"]:active::-moz-range-thumb { transform: scale(1.18); box-shadow: 0 3px 10px rgba(0, 0, 0, .28), 0 0 0 7px color-mix(in srgb, var(--range) 18%, transparent); }
.ccols { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 52em) { .ccols { grid-template-columns: 1fr 1fr 1fr; } }
.ccol { padding: 1.5rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.ccol.custom { background: none; border: 1.5px dashed var(--line-strong); }
.ccol h3 { font: var(--h-weight) 1.7rem/1.1 var(--display); letter-spacing: var(--h-track); margin: 0; }
.cwho { margin: .15rem 0 1.25rem; font-size: .9rem; color: var(--muted); min-height: 2.9em; }
.cprice { display: grid; grid-template-columns: 9.6rem auto; white-space: nowrap; justify-content: start; align-items: baseline; gap: .5rem; margin: 0; color: var(--muted); font-size: .9rem; }
.cprice b { text-align: left; font: 800 2.2rem/1 var(--display); color: var(--text); }
.cnote { margin: .6rem 0 0; min-height: 3em; font-size: .88rem; color: var(--muted); }
.ctext { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }

/* FAQ: lines, no boxes */
.qa { max-width: 48rem; border-top: 1px solid var(--line-strong); }
/* The space around a question belongs to the question itself, so the whole row can be clicked or tapped */
.qa details { border-bottom: 1px solid var(--line); }
.qa details[open] p { animation: qa-in .35s var(--ease) both; } @keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }
.qa summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.08rem; } .qa p { margin: -.4rem 0 1.1rem; color: var(--muted); max-width: 42rem; }

/* Contact: two answers, then your own mail */
.contact .wrap { display: grid; gap: 2rem; }
@media (min-width: 60em) { .contact .wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }
.contact p { margin: 0; max-width: 28rem; }
.flow { min-height: 33rem; overflow: hidden; padding: 6px 16px 6px 6px; margin: -6px -16px -6px -6px; }
.flow-pane { animation: pane .45s var(--ease) both; } .flow-pane.from-left { --from: -28px; } .flow-pane.from-right { --from: 28px; }
@keyframes pane { from { opacity: 0; transform: translateX(var(--from, 0)); } }
.flow-bar { height: 4px; border-radius: 9px; background: var(--seg-bg); overflow: hidden; margin-bottom: 1.25rem; }
.flow-bar::before { content: ""; display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(max(.04, var(--p))); background: var(--range); border-radius: 9px; transition: transform .5s var(--ease); }
.flow-chips { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 2.1rem; margin-bottom: 1rem; }
.flow-chip { border: 1px solid var(--line-strong); background: none; border-radius: 99px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; transition: border-color .2s; } .flow-chip:hover { border-color: var(--text); }
.flow-chip::after { content: " ×"; opacity: .6; }
.flow-q { font: var(--h-weight) 1.7rem/1.15 var(--display); letter-spacing: var(--h-track); margin: 0 0 1rem !important; max-width: none !important; }
.flow-q:focus { outline: none; }
.flow-options { display: grid; grid-auto-rows: 1fr; gap: .5rem; }
.flow-opt { display: grid; align-content: center; gap: .1rem; min-height: 4.6rem; text-align: left; padding: .6rem 1.1rem; border-radius: var(--r-btn); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .25s; }
/* The button slides a little on hover; .flow has room on the right for it, so it is never cut off */
.flow-opt:hover { transform: translateX(8px); border-color: var(--text); }
.flow-opt small { color: var(--muted); font-size: .88rem; }
/* Under the intro of the contact steps: who we are, the address and the phone number */
.contact-details { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
/* "Liever direct?": the row of round buttons of the main site (mail, call, WhatsApp, LinkedIn) */
.direct-label { margin: 1.75rem 0 .5rem !important; font-weight: 700; }
.direct { display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.direct-icon { display: block; color: var(--text); transition: transform .3s var(--ease), color .25s; }
.direct-icon svg { display: block; width: 30px; height: 30px; fill: currentColor; } .direct-in svg { width: 26px; height: 26px; }
.direct-icon:hover { transform: translateY(-2px); color: var(--logo-l); }
@media (prefers-reduced-motion: reduce) { .direct-icon:hover { transform: none; } }
.flow-done { margin: 0 0 1.5rem !important; font-size: .9rem; color: var(--muted); }
/* The message as it will open in mail or WhatsApp */
/* The message as a white speech balloon: three dots in the bottom corner first, then it grows from that corner */
.flow-letter { margin: 0 0 1rem; display: grid; align-content: end; justify-items: start; }
.flow-balloon { position: relative; max-width: 100%; border-radius: 18px 18px 18px 5px; background: #fff; color: #262626; filter: drop-shadow(0 1px 2px rgba(20, 21, 31, .07)) drop-shadow(0 3px 8px rgba(20, 21, 31, .05)); }
.flow-balloon::after { content: ""; position: absolute; left: -6px; bottom: 0; width: 12px; height: 12px; background: inherit; clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.flow-balloon .inner { position: relative; overflow: hidden; transition: width .5s var(--ease), height .5s var(--ease); }
.flow-balloon .dots { position: absolute; left: 0; bottom: 0; display: inline-flex; gap: .3rem; padding: .95rem 1.1rem; transition: opacity .2s; }
.flow-balloon .dots i { width: .5rem; height: .5rem; border-radius: 50%; background: #5f5f6b; opacity: .4; animation: dot 1s infinite; } .flow-balloon .dots i:nth-child(2) { animation-delay: .15s; } .flow-balloon .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { opacity: 1; transform: translateY(-3px); } }
.flow-balloon .text { position: absolute; left: 0; bottom: 0; padding: .95rem 1.15rem; opacity: 0; transition: opacity .3s .2s; }
.flow-letter.shown .dots { opacity: 0; } .flow-letter.shown .text { opacity: 1; }
/* Once it has grown, the balloon follows its text again, so it keeps fitting when the window changes */
.flow-letter.open .inner { width: auto !important; height: auto !important; } .flow-letter.open .text { position: static; width: auto !important; } .flow-letter.open .dots { display: none; }
/* The caret blinks at the end of the message until it is sent */
.flow-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; background: #f2552c; vertical-align: -.2em; animation: blink 1.1s steps(1) infinite; }
.flow-letter p { margin: 0 0 .7rem !important; max-width: none !important; } .flow-letter p:last-child { margin: 0 !important; }

.flow-send { display: flex; flex-wrap: wrap; gap: .75rem; } .btn .ic { width: 1.25rem; height: 1.25rem; flex: none; }

/* A low footer: the logo, the links and the legal line share one row where they fit, and wrap closely where not */
footer.site { border-top: 1px solid var(--line); padding: 1.25rem 0; color: var(--muted); font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; }
footer.site .legal { margin: 0; }
@media (min-width: 52em) { footer.site .legal { margin-left: auto; } }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
footer.site ul a { text-decoration: none; } footer.site ul a:hover { color: var(--text); text-decoration: underline; }
.later { font-style: italic; }
.legal { margin: 0; font-size: .82rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.try { --bg: #ebebf1; }
@media (prefers-color-scheme: dark) { .try { --bg: #1c1c22; } }

.btn-primary { background: #f2552c; color: #14151f; }

/* ---- The other pages (support, privacy, terms, club): one calm column of text */
main.doc { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem); } /* only the page itself: the share demo has a small file icon that is also called "doc" */
.doc .wrap > * { max-width: 44rem; }
.doc h1 { font: var(--h-weight) var(--h2-size)/var(--h-lh) var(--display); letter-spacing: var(--h-track); margin: 0 0 1rem; }
.doc h2 { font: 700 1.3rem/1.25 var(--display); letter-spacing: -.015em; margin: 2.5rem 0 .5rem; }
.doc p, .doc ul, .doc ol { margin: 0 0 1rem; }
.doc ul { padding-left: 1.2rem; } .doc li { margin-bottom: .35rem; }
.doc .lead { max-width: 44rem; color: var(--muted); margin-bottom: 1rem; }
.doc .meta { font-size: .9rem; color: var(--muted); }
.doc a { text-underline-offset: 3px; }
/* Club page: the three steps, numbered */
.doc .steps { list-style: none; padding: 0; margin: 2.5rem 0; counter-reset: step; display: grid; gap: 1rem; }
.doc .steps li { counter-increment: step; position: relative; margin: 0; padding: 1.25rem 1.5rem 1.25rem 4.25rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.doc .steps li::before { content: counter(step); position: absolute; left: 1.5rem; top: 1.2rem; font: 700 1.6rem/1 var(--display); color: var(--accent-large); font-variant-numeric: tabular-nums; }
.doc .steps h2 { margin: 0 0 .35rem; font-size: 1.15rem; } .doc .steps p { margin: 0; color: var(--muted); }

/* ---- Buy buttons: only there once the checkout links are filled in in settings.json */
.buy { margin-top: .9rem; min-height: 42px; } .cmp thead th > .buy { display: inline-flex; }

/* ---- Overview page: one wide tile per app in Night Blue. Left the name, the promise, the button and a few facts;
   right the window of the app, running off the edge. The button is the link and covers the whole tile. */
.top .product + .lang { margin-left: auto; }
.overview .apps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
/* Side by side text and picture: every tile is as high as the highest, so no tile looks more important than another */
@media (min-width: 60em) { .overview .apps { grid-auto-rows: 1fr; } }
.doc.overview .wrap > .apps { max-width: none; }
.app-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin: 0; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #5a6088 0%, #484d6d 42%, #2c2f47 100%); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(38, 38, 60, .45); }
.app-text { display: flex; flex-direction: column; padding: 2rem 2.25rem 2rem 2rem; }
.app-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.app-head img { flex: none; width: 60px; height: 60px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .12)); }
.doc .app-head h2 { margin: 0; font: 700 1.2rem/1.15 var(--display); letter-spacing: 0; }
.doc .app-head p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.doc .app-promise { margin: 0 0 .6rem; font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.08 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.app-promise em { font-style: normal; color: #a9c8e6; }
.doc .app-lead { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .8); }
.app-card .btn { align-self: flex-start; margin-bottom: 1.75rem; }
.app-card .btn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; } /* above the pictures, so the whole tile is the link */
.app-card .btn:hover { transform: none; box-shadow: none; }
.app-card a:focus-visible { outline-color: #fff; }
.app-facts { margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; }
.app-facts dt { margin-bottom: .35rem; font: 600 .78rem/1 var(--body); color: rgba(255, 255, 255, .65); }
.app-facts dd { margin: 0; font: 700 .95rem/1.2 var(--display); }
.app-facts small { display: block; margin-top: .1rem; font: 400 .75rem/1.3 var(--body); color: rgba(255, 255, 255, .65); }
/* No clipping here: the tile itself cuts off what sticks out on the right and below. Clipping here would cut the
   shadow of the window in a straight line on the edge with the text. */
.app-art { position: relative; min-height: 22rem; }
.app-art::before { content: ""; position: absolute; inset: 0; opacity: .6;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 48px);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 70%); mask-image: linear-gradient(100deg, transparent 0%, #000 70%); }
.app-art .mac { position: absolute; left: 2.25rem; top: 2.25rem; width: 115%; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65); transition: transform .5s var(--ease); }
.app-art .mac img { display: block; width: 100%; height: auto; }
.app-art .page { position: absolute; left: 1rem; bottom: 1rem; width: 44%; border-radius: 6px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.app-card:hover .mac { transform: translate(-8px, -4px); } .app-card:hover .page { transform: translate(4px, -6px); }
/* Narrower than this the picture drops below the text, so the button stays in view on a phone */
/* Below 960 px the two halves of a tile are too narrow side by side: the text stands above the picture */
@media (max-width: 59.99em) { .app-card { grid-template-columns: 1fr; } .app-text { padding: 1.5rem 1.5rem .5rem; } .app-art { min-height: 0; aspect-ratio: 16 / 10; } .app-art .mac { left: 1.25rem; top: 1.25rem; } .app-facts { gap: .75rem; } }
/* Between phone and desktop the stacked picture is wide: keep it lower, so the tile does not get too tall */
@media (min-width: 44em) and (max-width: 59.99em) { .app-art { aspect-ratio: 2 / 1; } }
@media (prefers-reduced-motion: reduce) { .app-card, .app-art .mac, .app-art .page { transition: none; } .app-card:hover, .app-card:hover .mac, .app-card:hover .page { transform: none; } }
/* The tile of Whiteboard, the free web version: the tile of an app (.app-card) in its own blue. Its window is a browser
   window with an address, a phone stands beside it, and next to the button a quiet link asks to be told about the app. */
.wb-card { background: radial-gradient(120% 140% at 0% 0%, #4b93c2 0%, #2a6d9c 42%, #143c5c 100%); }
.wb-card:hover { box-shadow: 0 22px 44px -24px rgba(20, 60, 92, .55); }
.wb-card .app-promise em { color: #c4e6fa; }
.wb-card .app-head img { border-radius: 14px; }
.wb-tag { display: inline-block; margin-left: .5rem; padding: .18rem .5rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .45); font: 600 .7rem/1.2 var(--body); letter-spacing: .01em; vertical-align: .15em; color: rgba(255, 255, 255, .9); }
.mac-bar .wb-url { margin: 0 0 0 .7rem; padding: .22rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .85); font-weight: 500; letter-spacing: .01em; color: #4b4d5c; }
.wb-phone { position: absolute; left: 1.1rem; bottom: -1.5rem; width: 25%; margin: 0; padding: 5px; border-radius: 22px; background: #14151f; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .65); transition: transform .5s var(--ease); }
.wb-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }
.wb-card:hover .wb-phone { transform: translate(4px, -6px); }
/* The button for now, and beside it the link for later. The link lies above the layer that makes the whole tile a link,
   with room around it that belongs to it, so the arrow of the button stays still there. */
.wb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.75rem; }
.wb-card .wb-actions .btn { margin: 0; }
.wb-later { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; font: 600 .92rem/1.2 var(--body); color: rgba(255, 255, 255, .88); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.wb-later:hover { color: #fff; border-color: #fff; }
.wb-later::before { content: ""; position: absolute; inset: -.7rem -.9rem; }
.wb-later .ic { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 59.99em) { .wb-phone { width: 22%; bottom: -2.5rem; } }
@media (prefers-reduced-motion: reduce) { .wb-phone { transition: none; } .wb-card:hover .wb-phone { transform: none; } }

/* ---- Overview page, under the tiles: how we make apps, what we are working on, who makes them */
.doc.overview { padding-bottom: 0; }
.ov { padding: clamp(2.75rem, 6vw, 4.5rem) 0 0; }
.ov:last-of-type { padding-bottom: clamp(3rem, 8vw, 6rem); }
.doc .ov .wrap > * { max-width: none; }
.doc .ov h2 { margin: 0 0 .6rem; font: var(--h-weight) clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--display); letter-spacing: var(--h-track); }
.ov h3 { margin: 0 0 .35rem; font: 700 1.3rem/1.2 var(--display); }
.doc .ov ol, .doc .ov ul { list-style: none; padding: 0; }
.doc .ov li { margin: 0; }
.doc .ov li p { color: var(--muted); font-size: .98rem; }

/* How we make apps: four steps without boxes, each a large numeral under a line. On a wide screen the lines start level
   and each step sinks a little further than the one before while you scroll (--p from 0 to 1, set by overview.js);
   the room under the list is kept, so nothing below it moves. */
.doc .ov .ways { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: start; }
.ways li { padding-top: 1.1rem; border-top: 2px solid var(--accent-large); transition: border-color .3s var(--ease); }
.doc .ov .ways li p { margin: 0; }
.ways .nr { display: block; margin-bottom: .6rem; font: 700 3.4rem/1 var(--display); letter-spacing: -.03em; color: var(--accent-large); font-variant-numeric: tabular-nums; transition: transform .3s var(--ease), color .3s var(--ease); }
.ways li:hover { border-top-color: var(--logo-l); }
.ways li:hover .nr { transform: translateY(-3px); color: var(--logo-l); }
@media (min-width: 60.01em) {
  .doc .ov .ways { padding-bottom: 5.25rem; }
  .ways li { transform: translateY(calc(var(--p, 0) * var(--i, 0) * 1.75rem)); transition: transform .2s linear, border-color .3s var(--ease); }
  .ways li:nth-child(2) { --i: 1; } .ways li:nth-child(3) { --i: 2; } .ways li:nth-child(4) { --i: 3; }
}
@media (max-width: 60em) { .doc .ov .ways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 43.99em) {
  .doc .ov .ways { grid-template-columns: 1fr; gap: 1.75rem; }
  .ways li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .5rem; }
  .ways .nr { grid-row: 1 / span 2; font-size: 2.6rem; }
}

/* What we are working on: cards that overlap, each a step lower than the one before, each with its own button.
   Only the overlap is set (--lap, the least a card lies over the one before); the cards share the full width, so the
   row works for any number of cards. From five cards on they overlap further and step down less.
   The card you point at or tab to rises a little but keeps its place in the pile, so it never covers the next one.
   On a phone they form a pile: while you scroll, each next card slides over the one before. */
.doc .ov .wrap > .deck { --lap: 3.5rem; --step: .9rem; display: flex; margin: 1.75rem 0 0; padding: 1rem 0 3.5rem; }
.doc .ov .wrap > .deck:has(li:nth-child(5)) { --lap: 5rem; --step: .5rem; }
.deck li { --i: 0; --y: calc(var(--i) * var(--step)); position: relative; z-index: calc(var(--i) + 1); flex: 1 1 0; min-width: 0; min-height: 15rem; display: flex; flex-direction: column;
  padding: 1.5rem calc(var(--lap) + 1.25rem) 1.5rem 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 18px 40px -22px rgba(38, 38, 60, .55); transform: translateY(var(--y)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc .ov .deck li + li { margin-left: calc(-1 * var(--lap)); } /* as specific as the rule that resets list items, or the overlap is lost */
.deck li:nth-child(2) { --i: 1; } .deck li:nth-child(3) { --i: 2; } .deck li:nth-child(4) { --i: 3; } .deck li:nth-child(5) { --i: 4; }
.deck li:nth-child(6) { --i: 5; } .deck li:nth-child(7) { --i: 6; } .deck li:nth-child(n + 8) { --i: 7; }
.deck li:nth-child(even) { background: var(--hl-bg); }
.deck li:last-child { padding-right: 1.5rem; border: 0; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #5a6088 0%, #484d6d 42%, #2c2f47 100%); }
.deck li:hover, .deck li:focus-within { transform: translateY(calc(var(--y) - .35rem)); box-shadow: 0 22px 44px -22px rgba(38, 38, 60, .58); }
.deck .tag { align-self: flex-start; margin-bottom: 1rem; padding: .3rem .6rem; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 .75rem/1 var(--body); color: var(--muted); }
.doc .ov .deck li p { margin: 0 0 1.25rem; }
.deck .btn { margin: auto 0 0; align-self: flex-start; min-height: 42px; padding: 0 1.1rem; font-size: .95rem; }
.deck .btn { white-space: nowrap; gap: .5rem; } .deck .btn .ic { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The bell rings a little while the pointer is on its button or link (also on the tile of Whiteboard) */
.deck .btn .ic, .wb-later .ic { transform-origin: 50% 12%; }
.deck .btn:hover .ic, .deck .btn:focus-visible .ic, .wb-later:hover .ic, .wb-later:focus-visible .ic { animation: ring .7s var(--ease) both; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-11deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .deck .btn .ic, .wb-later .ic { animation: none !important; } }
.deck .btn:hover { transform: none; box-shadow: none; }
.doc .ov .deck li:last-child p, .deck li:last-child .tag { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .35); }
.deck li:last-child .btn { border-color: rgba(255, 255, 255, .55); color: #fff; }
.deck li:last-child .btn:hover { border-color: #fff; }
.deck li:last-child a:focus-visible { outline-color: #fff; }
@media (max-width: 43.99em) {
  .doc .ov .wrap > .deck, .doc .ov .wrap > .deck:has(li:nth-child(5)) { --step: 0rem; display: block; padding: 0 0 1rem; }
  .doc .ov .deck li, .doc .ov .deck li:last-child, .doc .ov .deck li:hover, .doc .ov .deck li:focus-within { position: sticky; top: calc(5.25rem + var(--i) * 1rem); min-height: 12.5rem; margin: 0 0 1.25rem; padding: 1.5rem; transform: none; }
  .doc .ov .deck li + li { margin-left: 0; }
}

/* Who makes them: a tinted panel with the mark; on hover a thin line around it and the mark rises a few pixels */
.maker { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: 24px; background: var(--hl-bg); transition: box-shadow .3s var(--ease); }
.maker .mark { width: 5.5rem; height: auto; transition: transform .3s var(--ease); } .maker .mark .l { fill: var(--logo-l); } .maker .mark .d { fill: var(--logo-main); }
.doc .maker p { margin: 0; max-width: 40rem; }
.maker .textlink { display: inline-block; margin-top: 1rem; }
.maker:hover { box-shadow: inset 0 0 0 1.5px var(--logo-l); }
.maker:hover .mark { transform: translateY(-3px); }
@media (max-width: 43.99em) { .maker { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.25rem; } .maker .mark { width: 4rem; } }
@media (prefers-reduced-motion: reduce) {
  .ways li, .ways .nr, .deck li, .maker, .maker .mark { transition: none; }
  .ways li:hover .nr, .maker:hover .mark { transform: none; }
  .deck li:hover, .deck li:focus-within { transform: translateY(var(--y)); }
}
