/* The home page. White ground, near-black ink, hairlines, one blue; a column that fills the screen
   up to 96rem (a 1536px laptop screen) and sits centred on anything wider;
   one particle field fixed behind the whole page; a dark colourway. Everything here is the page's own. */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); 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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); 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 {
  --bg: #ffffff;
  --soft: #f8f9fa;
  --ink: #1c2024;
  --ink-2: #3a3f47;
  --muted: #60646c;
  --line: #e4e6ea;
  --line-2: #d0d3d9;
  --blue: #136fe8;
  --blue-2: #0f5fcb;
  --tint: #eef5fe;
  --tint-2: #d9e8fc;
  --card: #ffffff;
  --nav: rgb(255 255 255 / 0.95);
  --blue-text: #0f5fcb;
  --dots: 19 111 232, 64 150 245, 15 76 156;
  color-scheme: light;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --frame: 96rem;
  --pad: clamp(1.5rem, 3.6vw, 3.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 0.375rem; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.logo svg, .node--core svg { stroke: none; }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; padding: 0.5rem 1rem; border-radius: 0.5rem; background: var(--ink); color: var(--bg); }
.skip:focus-visible { top: 1rem; }

h1, h2 { font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, min(4.2vw + 0.6rem, 9.5vh), 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.375rem); line-height: 1.1; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
:is(:lang(zh), :lang(ja), :lang(ko)) :is(h1, h2) { letter-spacing: -0.02em; }
:is(:lang(zh), :lang(ko)) :is(h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) { --font: "Inter", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif; }
html:lang(ko) { --font: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
.lead { font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.num { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.875rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 1rem; border: 0; border-radius: 0.5rem; font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.12s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); }
.btn--line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(28 32 36 / 0.06); }
.btn--line:hover { background: var(--soft); box-shadow: inset 0 0 0 1px #b9bcc4, 0 1px 2px rgb(28 32 36 / 0.06); }
.btn--lg { min-height: 3rem; padding: 0 1.25rem; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* nav */
/* no backdrop blur: the particle field moves under this bar, and blurring it again on every frame is slow */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; gap: 2rem; max-width: var(--frame); min-height: 4rem; margin-inline: auto; padding-inline: var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
.nav__links { display: flex; gap: 0.25rem; margin-right: auto; }
.nav__links a, .nav__lang { padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.nav__links a:hover, .nav__lang:hover { background: var(--soft); color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__theme { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--ink-2); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.nav__theme:hover { background: var(--soft); color: var(--ink); }
.nav__theme svg { width: 1.125rem; height: 1.125rem; }

/* the centre column */
.frame { position: relative; max-width: var(--frame); margin-inline: auto; }
.sec { padding: 5.5rem var(--pad); border-top: 1px solid var(--line); }
.head { display: grid; gap: 1rem; justify-items: start; max-width: 44rem; }
/* the particle field: one canvas fixed behind the whole page (the tallest the screen gets, so a phone's address bar does not resize it) */
.bgfx { position: fixed; top: 0; left: 0; z-index: -1; width: 100vw; height: 100vh; height: 100lvh; pointer-events: none; }

/* a label that sits like a sticker */
.tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem 0.25rem 0.25rem; border: 1.5px solid var(--ink); border-radius: 0.5rem; background: var(--card); box-shadow: 2px 2px 0 var(--ink); font-size: 0.875rem; font-weight: 600; }
.tag__ic { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 0.3125rem; background: var(--blue); color: #fff; }
.tag__ic svg { width: 0.875rem; height: 0.875rem; }

/* hero */
.hero { position: relative; padding: clamp(2rem, 7vh, 4.5rem) var(--pad) 0; }
.hero__text { position: relative; display: grid; gap: clamp(1rem, 2.6vh, 1.5rem); justify-items: start; max-width: 54rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; border-radius: 6.1875rem; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: box-shadow 0.2s var(--ease); }
.pill svg { width: 1rem; height: 1rem; color: var(--blue); }
.pill .pill__go { color: var(--muted); transition: transform 0.2s var(--ease); }
.pill:hover { box-shadow: inset 0 0 0 1px #b9bcc4; }
.pill:hover .pill__go { transform: translateX(3px); }

.window { position: relative; margin-top: clamp(2.25rem, 6vh, 3.5rem); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 1rem 1rem 0 0; background: var(--card); box-shadow: 0 -1px 0 rgb(255 255 255 / 0.6), 0 1.5rem 3.75rem -1.875rem rgb(19 111 232 / 0.35); }
.window__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tab { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 3.5rem; padding: 0 1.25rem; border: 0; border-left: 1px solid var(--line); background: transparent; font-size: 0.9375rem; font-weight: 600; color: var(--muted); text-align: left; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.tab:first-child { border-left: 0; border-top-left-radius: 0.9375rem; }
.tab:last-child { border-top-right-radius: 0.9375rem; }
.tab:hover { color: var(--ink); background: var(--soft); }
.tab.is-on { color: var(--ink); }
.tab__ic { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 0.4375rem; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--card); }
.tab__ic svg { width: 0.9375rem; height: 0.9375rem; }
.tab.is-on .tab__ic { background: var(--blue); color: #fff; box-shadow: none; }
.tab i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.tab.is-on i { transform: scaleX(1); }
.window[data-auto] .tab.is-on i { animation: fill 6s linear both; }
.window__body { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--soft); }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s var(--ease); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.only-dark, [data-theme="dark"] .only-light { display: none; }
[data-theme="dark"] .only-dark { display: block; }
.shot.is-on { opacity: 1; }

.stickers { position: absolute; right: 1.5rem; top: -3.875rem; z-index: 2; display: flex; gap: 0.75rem; }
.sticker { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.875rem 0.5rem 0.5rem; border: 1.5px solid var(--ink); border-radius: 0.625rem; background: var(--card); box-shadow: 3px 3px 0 var(--ink); animation: bob 5s ease-in-out infinite alternate; }
.sticker--b { animation-delay: -2.5s; }
.sticker__ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.4375rem; background: var(--ink); color: var(--bg); }
.sticker__ic--blue { background: var(--blue); color: #fff; }
.sticker__ic svg { width: 1rem; height: 1rem; }
.sticker small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.sticker b { display: block; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }

/* works with */
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding: 1.75rem var(--pad); border-top: 1px solid var(--line); background: var(--card); position: relative; }
.works p { font-size: 0.875rem; color: var(--muted); }
.works ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.works li { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 600; color: var(--ink-2); }

/* the tour */
.tour { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: 3rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--card); }
.tour__list > li { border-top: 1px solid var(--line); }
.tour__list > li:first-child { border-top: 0; }
.tour__list button { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 1.375rem 1.5rem; border: 0; background: transparent; text-align: left; }
.tour__t { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); transition: color 0.2s var(--ease); }
.tour__list button:hover .tour__t, .tour__list .is-on .tour__t { color: var(--ink); }
.tour__d { display: none; padding: 0 1.5rem 0 3.875rem; }
.tour__list .is-on .tour__d { display: block; }
.tour__d p { padding-bottom: 1.25rem; color: var(--muted); }
.bar { display: block; height: 2px; margin-left: -3.875rem; margin-right: -1.5rem; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.tour[data-auto] .is-on .bar { animation: fill 7s linear both; }
.stage { position: relative; min-height: 27.5rem; border-left: 1px solid var(--line); background: var(--tint); overflow: hidden; }
.scene { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 1.25rem; padding: 2.5rem; }
.scene.is-on { display: flex; animation: rise 0.5s var(--ease) both; }

.card { position: relative; width: min(100%, 26.25rem); padding: 1.25rem; border: 1px solid var(--line-2); border-radius: 0.875rem; background: var(--card); box-shadow: 0 1px 2px rgb(28 32 36 / 0.05), 0 1.25rem 2.5rem -1.5rem rgb(19 111 232 / 0.4); font-size: 0.9375rem; }
img.av { background: none; object-fit: cover; }
.av { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--tint-2); font-size: 0.75rem; font-weight: 700; color: var(--blue-text); }
.ai { display: inline-grid; place-items: center; flex: none; height: 1.25rem; padding: 0 0.375rem; margin-right: 0.5rem; border-radius: 0.3125rem; background: var(--blue); color: #fff; font-size: 0.6875rem; font-weight: 700; vertical-align: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.875rem; }
.chip { padding: 2px 0.625rem; border-radius: 6.1875rem; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.chip--on { background: var(--ink); color: var(--bg); box-shadow: none; }
.typed { min-height: 1.5em; }
.typed.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--blue); animation: blink 1s steps(2, start) infinite; }

.sync__top { display: flex; align-items: center; gap: 0.625rem; font-variant-numeric: tabular-nums; }
.spin { width: 1rem; height: 1rem; border: 2px solid var(--tint-2); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.9s linear infinite; }
.track { height: 0.25rem; margin: 0.875rem 0 0.375rem; border-radius: 6.1875rem; background: var(--tint); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.scene.is-on .track i { animation: fill 3.2s var(--ease) 0.2s both; }
.rowsk li { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0; border-top: 1px solid var(--line); opacity: 0; }
.scene.is-on .rowsk li { animation: rise 0.45s var(--ease) both; }
.scene.is-on .rowsk li:nth-child(1) { animation-delay: 0.5s; }
.scene.is-on .rowsk li:nth-child(2) { animation-delay: 1.1s; }
.scene.is-on .rowsk li:nth-child(3) { animation-delay: 1.7s; }
.scene.is-on .rowsk li:nth-child(4) { animation-delay: 2.3s; }
.rowsk b { display: block; font-size: 0.875rem; }
.rowsk em { display: block; font-style: normal; font-size: 0.8125rem; color: var(--muted); }

.raw { width: min(44%, 20rem); }
.done { width: min(48%, 22.5rem); }
.who { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.625rem; font-size: 0.875rem; }
.who em, .hits em, .srcs em { font-style: normal; color: var(--muted); }
.raw p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.done .typed { display: inline; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -0.01em; }
.flowarrow { flex: none; width: 2.5rem; height: 1rem; color: var(--blue); }
.flowarrow path { stroke-dasharray: 6 5; animation: dash 1.2s linear infinite; }

.search .field { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border-radius: 0.625rem; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 0.25rem var(--tint); font-weight: 600; }
.search .field svg { width: 1rem; height: 1rem; color: var(--muted); }
.hits li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line); opacity: 0; }
.hits li:last-child { border-bottom: 0; }
.hits b { color: var(--blue-text); background: var(--tint); border-radius: 3px; padding: 0 2px; }
.hits em { flex: none; font-size: 0.8125rem; }
.scene.is-on .hits li { animation: rise 0.4s var(--ease) both; }
.scene.is-on .hits li:nth-child(1) { animation-delay: 0.9s; }
.scene.is-on .hits li:nth-child(2) { animation-delay: 1.15s; }
.scene.is-on .hits li:nth-child(3) { animation-delay: 1.4s; }
.search .hits { margin-top: 0.625rem; }

.ask { width: min(100%, 30rem); display: grid; gap: 0.875rem; }
.ask .q { justify-self: end; max-width: 88%; padding: 0.625rem 0.875rem; border-radius: 0.875rem 0.875rem 0.25rem 0.875rem; background: var(--blue); color: #fff; }
.ask .a { line-height: 1.6; }
.srcs li { display: flex; align-items: baseline; gap: 0.625rem; padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); opacity: 0; }
.srcs b { flex: none; width: 1.125rem; height: 1.125rem; border-radius: 0.3125rem; background: var(--tint-2); color: var(--blue-text); font-size: 0.6875rem; line-height: 1.125rem; text-align: center; }
.srcs em { margin-left: auto; flex: none; }
.scene.is-on .srcs li { animation: rise 0.4s var(--ease) both; animation-delay: 3.4s; }
.scene.is-on .srcs li:nth-child(2) { animation-delay: 3.7s; }

/* privacy band */
.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; padding: 4.5rem var(--pad); border-top: 1px solid var(--line); background: var(--tint); }
.band__text { display: grid; gap: 1rem; justify-items: start; }
.more { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--blue-text); text-decoration: none; }
.more svg { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.flow { position: relative; height: 16.25rem; }
.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue); }
.flow__lines path { stroke-width: 1.5; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: dash 1s linear infinite; }
.node { position: absolute; display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border: 1px solid var(--line-2); border-radius: 0.75rem; background: var(--card); box-shadow: 0 1px 2px rgb(28 32 36 / 0.06); transform: translate(-50%, -50%); white-space: nowrap; }
.node b { display: block; font-size: 0.875rem; line-height: 1.3; }
.node em { display: block; font-style: normal; font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.node--src { left: 12%; top: 50%; }
.node--core { left: 50%; top: 50%; flex-direction: column; gap: 0.375rem; padding: 0.875rem 1.125rem; border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.node--t1 { left: 86%; top: 19%; }
.node--t2 { left: 86%; top: 50%; }
.node--t3 { left: 86%; top: 81%; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trio article { padding: 2rem var(--pad); border-left: 1px solid var(--line); }
.trio article:first-child { border-left: 0; }
.trio p { margin-top: 0.5rem; color: var(--muted); }

/* three cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.fcard { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--card); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.fcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 1.25rem 2.5rem -1.75rem rgb(19 111 232 / 0.5); }
.fcard__ui { display: grid; place-items: center; min-height: 12.5rem; padding: 1.5rem; border-bottom: 1px solid var(--line); background: var(--soft); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 0.875rem 0.875rem; }
.fcard h3 { padding: 1.5rem 1.5rem 0; }
.fcard > p { padding: 0.5rem 1.5rem 1.5rem; color: var(--muted); }
.mini { width: 100%; max-width: 20rem; border: 1px solid var(--line-2); border-radius: 0.75rem; background: var(--card); box-shadow: 0 1px 2px rgb(28 32 36 / 0.05); font-size: 0.8125rem; }
.mini li { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border-top: 1px solid var(--line); }
.mini li:first-child { border-top: 0; }
.mini--links span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 0.75rem; }
.mini--links b { flex: none; min-width: 1.375rem; padding: 0 0.375rem; border-radius: 6.1875rem; background: var(--tint); color: var(--blue-text); text-align: center; }
.mini--files i { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: 0.25rem; background: var(--tint); color: var(--blue-text); font: 700 0.5rem/1 var(--mono); font-style: normal; }
.mini--post { padding: 1rem; }
.mini--post b { display: block; margin: 0.5rem 0 0.375rem; font-size: 0.875rem; line-height: 1.4; }
.mini--post p { color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gone { display: inline-block; padding: 2px 0.5rem; border-radius: 6.1875rem; background: var(--ink); color: var(--bg); font-size: 0.6875rem; font-weight: 600; }

/* install and faq share the split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
.split > .head { position: sticky; top: 6rem; }
.steps > li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: 1.5rem 0; border-top: 1px solid var(--line); }
.steps > li:first-child { padding-top: 0; border-top: 0; }
.steps p { margin-top: 0.375rem; color: var(--muted); }
.step__act { margin-top: 0.875rem; }
.btn.is-soon { cursor: default; opacity: 0.75; }
.code { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.625rem; padding: 0.25rem 0.25rem 0.25rem 0.875rem; border: 1px solid var(--line-2); border-radius: 0.625rem; background: var(--soft); font: 0.875rem/1.4 var(--mono); }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.code code::before { content: "$ "; color: var(--muted); }
.code button { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 0.4375rem; background: transparent; color: var(--muted); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.code button:hover { background: var(--card); color: var(--ink); }
.code button.is-done { color: var(--blue); }
.code svg { width: 1rem; height: 1rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.plan { display: grid; align-content: start; gap: 0.75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 1.25rem 2.5rem -1.75rem rgb(28 32 36 / 0.4); }
.plan--on { border: 1.5px solid var(--ink); box-shadow: 0.25rem 0.25rem 0 var(--ink); }
.plan--on:hover { box-shadow: 0.25rem 0.25rem 0 var(--ink); }
.plan__who { min-height: 3em; color: var(--muted); font-size: 0.9375rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.5rem; }
.plan__price b { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: 0.875rem; }
.plan__soon { display: flex; align-items: center; justify-content: center; min-height: 2.5rem; border-radius: 0.5rem; background: var(--soft); color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.ticks { display: grid; gap: 0.5rem; margin-top: 0.25rem; font-size: 0.9375rem; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 1.625rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230f5fcb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.300 2.300 2.300 4.700-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }
.note { margin-top: 1.5rem; color: var(--muted); font-size: 0.875rem; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; list-style: none; font-size: 1.0625rem; font-weight: 600; cursor: pointer; }
.faq details:first-child summary { padding-top: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.2s var(--ease), transform 0.3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0.5625rem; right: 0.5625rem; top: 0.8281rem; height: 1.5px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary i { background: var(--tint); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq p { padding-bottom: 1.25rem; color: var(--muted); max-width: 44em; }

/* close */
.close { position: relative; padding: 6rem var(--pad); border-top: 1px solid var(--line); }
.close__text { position: relative; display: grid; gap: 1.25rem; justify-items: start; max-width: 40rem; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--soft); }
.foot__in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: var(--frame); margin-inline: auto; padding: 3.5rem var(--pad) 2rem; }
.foot__brand p { margin-top: 0.75rem; color: var(--muted); max-width: 20em; }
.foot__col { display: grid; align-content: start; gap: 0.625rem; font-size: 0.9375rem; }
.foot__col h3 { font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.foot__col a { text-decoration: none; color: var(--ink-2); }
.foot__col a:hover { color: var(--ink); text-decoration: underline; }
.foot__legal { max-width: var(--frame); margin-inline: auto; padding: 1.25rem var(--pad) 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }

/* dark: a neutral near-black, never blue- or purple-black, with the same blue */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f10;
  --soft: #161618;
  --card: #19191b;
  --ink: #edeef0;
  --ink-2: #c4c6cb;
  --muted: #9a9ca5;
  --line: #26272b;
  --line-2: #393b40;
  --tint: #131417;
  --tint-2: #1a2a42;
  --nav: rgb(15 15 16 / 0.95);
  --blue-text: #7fb4f9;
  --dots: 94 162 247, 150 198 252, 59 130 240;
}
[data-theme="dark"] .btn--line { box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="dark"] .btn--line:hover { box-shadow: inset 0 0 0 1px #55585f; }
[data-theme="dark"] .pill:hover { box-shadow: inset 0 0 0 1px #55585f; }
[data-theme="dark"] img[src$="/x.svg"] { filter: invert(1); }
[data-theme="dark"] .window { box-shadow: 0 1.5rem 3.75rem -1.875rem rgb(19 111 232 / 0.5); }
[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237fb4f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.300 2.300 2.300 4.700-5'/%3E%3C/svg%3E"); }

/* a section settles in once, when it first comes into view; visible without script */
.js [data-reveal] { opacity: 0; transform: translateY(1.125rem); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.cards3 [data-reveal]:nth-child(2), .plans [data-reveal]:nth-child(2), .trio [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.cards3 [data-reveal]:nth-child(3), .plans [data-reveal]:nth-child(3), .trio [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.plans [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.hero__text > * { animation: rise 0.7s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
.window { animation: rise 0.9s var(--ease) 0.3s both; }

@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

/* the theme and language menus in the bar */
.pop { position: relative; }
.pop__list { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 50; display: grid; gap: 2px; min-width: 10.5rem; padding: 0.375rem; border: 1px solid var(--line-2); border-radius: 0.75rem; background: var(--card); box-shadow: 0 1rem 2.5rem -1rem rgb(16 24 40 / 0.35); }
.pop__list[hidden] { display: none; }
.pop__list :is(a, button) { display: flex; align-items: center; gap: 0.625rem; width: 100%; padding: 0.5rem 0.625rem; border: 0; border-radius: 0.5rem; background: transparent; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); text-align: left; text-decoration: none; white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.pop__list :is(a, button):hover { background: var(--soft); color: var(--ink); }
.pop__list :is([aria-current="true"], [aria-checked="true"]) { color: var(--ink); font-weight: 600; }
.pop__list :is([aria-current="true"], [aria-checked="true"])::after { content: ""; flex: none; width: 0.375rem; height: 0.375rem; margin-left: auto; border-radius: 50%; background: var(--blue); }
.pop__list svg { flex: none; width: 1rem; height: 1rem; }
.nav__lang { display: inline-flex; align-items: center; gap: 0.375rem; border: 0; background: transparent; }
.nav__lang svg { width: 1.125rem; height: 1.125rem; }
/* the bar's theme button shows what was picked: auto, light or dark */
.nav__theme svg { display: none; }
[data-theme-mode="auto"] .nav__theme .i-auto, html:not([data-theme-mode]) .nav__theme .i-auto, [data-theme-mode="light"] .nav__theme .i-sun, [data-theme-mode="dark"] .nav__theme .i-moon { display: block; }

/* pictures sized by their attributes follow the page's scale too */
.logo svg, .logo img { width: 1.75rem; height: 1.75rem; }
.works :is(img, svg) { width: 1.5rem; height: 1.5rem; }
.node img { width: 1.25rem; height: 1.25rem; }
.node--core svg, .node--core img { width: 1.875rem; height: 1.875rem; }
.mini img { width: 1.125rem; height: 1.125rem; }

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__bar { justify-content: space-between; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .sec { padding-block: 4rem; }
  .tour, .band, .split, .cards3 { grid-template-columns: minmax(0, 1fr); }
  .split > .head { position: static; }
  .stage { border-left: 0; border-top: 1px solid var(--line); min-height: 25rem; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio article { border-left: 0; border-top: 1px solid var(--line); }
  .trio article:first-child { border-top: 0; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .stickers { position: static; margin: 0 0 1rem; flex-wrap: wrap; }
  .window { margin-top: 2.5rem; border: 0; box-shadow: none; background: transparent; }
  .window__tabs, .window__body { border: 1px solid var(--line-2); background: var(--card); }
  .window__tabs { border-radius: 0.875rem 0.875rem 0 0; border-bottom: 0; }
  .window__body { border-bottom: 0; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .nav__second, .nav__lang span { display: none; }
  .nav__lang { padding: 0.5rem; }
  .nav__actions { gap: 0.25rem; }
  .pop__list { right: auto; left: 0; }
  .hero { padding-top: 3rem; }
  .tab { justify-content: center; gap: 0; padding: 0 0.25rem; font-size: 0; min-height: 3rem; }
  .tab.is-on { font-size: 0.8125rem; gap: 0.375rem; }
  .window__body { aspect-ratio: 4 / 3.4; }
  .actions .btn { flex: 1 1 100%; }
  .scene { padding: 1.25rem 1rem; flex-direction: column; }
  .raw, .done { width: 100%; }
  .flowarrow { transform: rotate(90deg); }
  .flow { height: 18.75rem; }
  .node--src { left: 50%; top: 9%; }
  .node--core { top: 40%; }
  .node--t1 { left: 22%; top: 84%; }
  .node--t2 { left: 78%; top: 84%; }
  .node--t3 { left: 50%; top: 66%; }
  .flow__lines { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .tour__list button { padding: 1.125rem 1rem; }
  .tour__d { padding: 0 1rem 0 3.375rem; }
  .bar { margin-left: -3.375rem; margin-right: -1rem; }
}

@media (max-width: 480px) {
  .logo { gap: 0; font-size: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rowsk li, .hits li, .srcs li { opacity: 1; }
}
