/* stiqnote.com's theme: fonts, colours, the header, buttons and footer every page shares, and the parts
   several pages use. Self-hosted fonts (the CSPs allow no other host), both under the SIL Open Font License */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600 800; font-display: swap; src: url('/site/bricolage-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600 800; font-display: swap; src: url('/site/bricolage-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 600; font-display: swap; src: url('/site/instrument-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 600; font-display: swap; src: url('/site/instrument-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Light only. --paper is the page ground and --card the white surface; pages.css uses the same names */
:root {
	color-scheme: light;
	--paper: #fbfaff;
	--card: #ffffff;
	--ink: #12131f;
	--text: #3d4150;
	--muted: #6a6f80;
	--line: #e6e5f0;
	--accent: #5558e6;
	--accent-deep: #2f318f;
	--accent-text: #3f42c9;
	--accent-soft: #eeeefd;
	--brand-note: #5558e6;
	--note: #ffe98a;
	--note-ink: #4a3b00;
	--offer-bg: #fef3c7;
	--offer-text: #92400e;
	--offer-line: #fde68a;
	--band: #12131f;
	--foot: #0f1020;
	--good: #1f8a4c;
	--danger: #b91c1c;
	--warn: #b45309;
	--shadow: rgba(18, 19, 31, 0.38);
	--nav-h: 68px;
	--display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
	--body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 16px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: sticky, with a mega menu per group (hover, focus or click; site.js) */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(251, 250, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(230, 229, 240, 0.7); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { flex: none; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand b { font: 800 21px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.brand b span { color: var(--brand-note); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nv { position: relative; }
.nv__b, .nv__a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border-radius: 10px; font: 500 15px/1 var(--body); color: var(--text); text-decoration: none; white-space: nowrap; cursor: pointer; }
.nv__b svg { width: 15px; height: 15px; transition: transform 0.15s; }
.nv__b[aria-expanded='true'], .nv__b:hover, .nv__a:hover { background: var(--accent-soft); color: var(--ink); }
.nv__b--on, .nv__a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.nv__b[aria-expanded='true'] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .nv__b svg { transition: none; } }
.mp { position: absolute; left: -16px; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(2, auto); padding: 22px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 34px 70px -28px var(--shadow); }
.mp::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mp[hidden] { display: none; }
.nv:last-of-type .mp { left: auto; right: -200px; }
.mp__col { display: grid; align-content: start; gap: 2px; width: 330px; }
.mp__col + .mp__col { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line); }
.mp--list { padding: 18px 16px 12px; column-gap: 8px; grid-template-columns: repeat(3, auto); }
.mp--list .mp__col { width: 180px; }
.mp--list .mp__col + .mp__col { margin-left: 0; padding-left: 0; border-left: 0; }
.mp__h { margin: 0 0 8px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mp__h--sub { margin-top: 14px; }
.mi { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; }
.mi:hover, .mi:focus-visible, .mi[aria-current='page'] { background: var(--paper); }
.mi__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.mi__ic svg { width: 18px; height: 18px; }
.mi:hover .mi__ic { background: var(--accent); color: #fff; }
.mi b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mi small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mi--logo { align-items: center; gap: 10px; padding: 8px 10px; }
.mi__ic--logo { width: 28px; height: 28px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.mi__ic--logo img, .mi__ic--logo svg { width: 16px; height: 16px; }
.mi--logo:hover .mi__ic--logo { background: var(--card); color: var(--ink); }
.mi--logo b { font-size: 14px; }
.mp__all { grid-column: 1 / -1; margin-top: 8px; padding: 12px 10px 6px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.new { font: 700 10px/1.4 var(--body); letter-spacing: 0.04em; border-radius: 4px; padding: 1px 5px; margin-left: 4px; background: var(--accent-soft); color: var(--accent-text); vertical-align: 0.1em; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Narrower screens: a menu button and a drawer with the same groups as accordions */
.pn { display: none; }
.burger { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; list-style: none; }
.burger::-webkit-details-marker { display: none; }
.burger svg { width: 20px; height: 20px; }
.burger__close, .pn[open] .burger__open { display: none; }
.pn[open] .burger__close { display: contents; }
.drawer { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-top: 1px solid var(--line); padding: 6px 24px calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font: 700 19px/1.2 var(--display); color: var(--ink); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; color: var(--accent); font: 500 24px/1 var(--body); }
.drawer details[open] summary::after { content: '–'; }
.drawer__h { margin: 4px 0 2px; padding-inline: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.drawer ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.drawer li a { display: block; padding: 9px 2px; font-size: 16px; color: var(--text); text-decoration: none; }
.drawer li a[aria-current='page'] { color: var(--accent-text); font-weight: 600; }
.drawer > a.plain { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font: 700 19px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.drawer__cta { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.drawer__cta small { text-align: center; color: var(--muted); font-size: 13px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border-radius: 12px; padding: 13px 18px; font: 600 15px/1.1 var(--body);
	text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -12px rgba(85, 88, 230, 0.8); }
.btn--primary:hover { background: #4447d4; }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #c9c8d8; }
.btn--small, .btn--sm { padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 16px 22px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Parts the home page and the content pages share: the pin-shaped label, plan chips, the soft
   panel behind product shots, and the light button for the indigo bands */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--accent); text-decoration: none; }
.more svg { width: 18px; height: 18px; }
.more--sm { margin-top: 10px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.pill__pin, .kick__pin { flex: none; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 50% 50% 50% 4px; background: var(--accent); color: #fff; font: 700 12px/1 var(--body); }
.pill__pin { border-radius: 999px 999px 999px 4px; }
.kick__pin { padding: 0; width: 24px; }
.kick { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 600; font-size: 15px; color: var(--accent-deep); }
.chip { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); }
.frow__art { position: relative; padding: 28px; border-radius: 24px; background: linear-gradient(150deg, #eeeefd, #f6f0ff 60%, #fff8d6); }
.shot { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(47, 49, 143, 0.4); }
.shot--indigo { background: var(--accent); }
.shot--tall { width: min(100%, 380px); margin-inline: auto; }
.frow__art--duo { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 18px; align-items: end; }
.phone { width: 132px; height: auto; border-radius: 22px; border: 6px solid var(--ink); box-shadow: 0 30px 50px -24px rgba(18, 19, 31, 0.55); }
.inset { position: absolute; right: -16px; bottom: 30px; width: 300px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -20px rgba(18, 19, 31, 0.45); }
.btn--light { background: #fff; color: var(--accent-deep); box-shadow: 0 14px 30px -14px rgba(18, 19, 31, 0.5); }
.btn--light:hover { background: #f1f1ff; }
.pill__pin svg { width: 14px; height: 14px; }
.pill .chip { margin-left: -2px; }
@media (max-width: 900px) {
	.inset { position: relative; right: auto; bottom: auto; display: block; margin: -40px 0 0 auto; max-width: 80%; }
}
@media (max-width: 640px) {
	.frow__art { padding: 16px; border-radius: 20px; }
	.frow__art--duo { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
	.phone { width: 96px; border-width: 4px; border-radius: 16px; }
}

/* Sections */
.sec { padding-block: 0 88px; }
.sec__head { max-width: 640px; margin-bottom: 34px; }
.sec h2 { font: 700 clamp(30px, 3.6vw, 42px)/1.08 var(--display); letter-spacing: -0.025em; color: var(--ink); margin: 8px 0 10px; text-wrap: balance; }
.sec__head p { margin: 0; color: var(--muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step__n { font: 700 44px/1 var(--display); color: var(--brand-note); letter-spacing: -0.04em; }
.step h3 { font: 700 19px/1.25 var(--display); color: var(--ink); margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.ticks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url('/site/check.svg') center / 14px no-repeat; }
/* Pricing: the switches and plan cards, on the home page and /pricing */
.pricing__switches { display: flex; flex-wrap: wrap; gap: 10px; }
.billing { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; }
.billing button { border: 0; background: none; padding: 9px 15px; border-radius: 9px; font: 600 14px/1 var(--body); color: var(--muted); cursor: pointer; }
.billing button[aria-pressed='true'] { background: var(--accent-soft); color: var(--accent-deep); }
.billing b { margin-left: 4px; color: var(--good); font-weight: 700; }
.offer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; font-size: 14.5px; }
.offer span { font: 800 10.5px/1.4 var(--body); letter-spacing: 0.06em; border-radius: 4px; padding: 2px 7px; background: var(--offer-bg); color: var(--offer-text); box-shadow: inset 0 0 0 1px var(--offer-line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan--pro { box-shadow: inset 0 0 0 2px var(--accent), 0 30px 60px -36px rgba(85, 88, 230, 0.55); }
.plan h3 { margin: 0; display: flex; align-items: center; justify-content: space-between; font: 700 22px/1 var(--display); color: var(--ink); }
.plan h3 small { font: 700 12px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.plan__price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 800 46px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price > span { font-size: 14px; color: var(--muted); }
.plan__per { margin: 0; min-height: 2.9em; font-size: 14px; color: var(--muted); }
.plan .ticks { margin: 18px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.plan .btn { margin-top: auto; width: 100%; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 700 16.5px/1.35 var(--display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-text); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 60ch; }

/* Footer: the brand next to six columns, on dark */
.ft { padding: 72px 0 36px; background: var(--foot); color: #a5a8c0; font-size: 14px; }
.ft__top { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.ft__brand { display: grid; gap: 16px; align-content: start; }
.ft__brand .brand b { color: #fff; }
.ft__brand .brand b span { color: #8f92ff; }
.ft__brand p { margin: 0; line-height: 1.55; }
.ft__brand .btn { justify-self: start; }
.ft .ft__made { font-size: 13px; color: #8a8eae; }
.ft__flag { display: inline-block; width: 1.35em; height: .9em; margin-left: 2px; vertical-align: -0.1em; border-radius: 2px; }
.ft__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px; }
.ft__h { margin: 0 0 14px; font: 700 14px/1.2 var(--display); color: #fff; }
.ft__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { color: #a5a8c0; text-decoration: none; line-height: 1.35; }
.ft a:hover, .ft a[aria-current='page'] { color: #fff; }
.ft a.btn { color: #fff; }
.ft__bot { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: #8a8eae; font-size: 13px; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ft :focus-visible { outline-color: #8f92ff; }

/* Contact */
.ct { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding-block: 48px 88px; align-items: start; }
.ct h1 { font: 800 clamp(36px, 4.6vw, 52px)/1.04 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 12px 0 14px; text-wrap: balance; }
.ct__intro p { color: var(--muted); font-size: 17px; margin: 0 0 22px; max-width: 32em; }
.ct__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ct__ways li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.ct__ways .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.ct__ways .ic svg { width: 18px; height: 18px; }
.ct__ways b { display: block; color: var(--ink); font-size: 15px; }
.ct__ways span { color: var(--muted); }
.ct__mail { font: 600 15px/1.3 var(--mono); color: var(--accent-text); user-select: all; }
.ct__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 30px 70px -44px rgba(20, 24, 33, 0.45); }
.ct__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct__f { display: grid; gap: 6px; margin-bottom: 16px; }
.ct__f label, .ct__topics legend { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ct__f input, .ct__f textarea { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 10px; padding: 11px 12px; font: 15px/1.4 var(--body); }
.ct__f input:focus, .ct__f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(85, 88, 230, 0.25); }
.ct__f textarea { min-height: 150px; resize: vertical; }
.ct__topics { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.ct__topics legend { padding: 0; margin-bottom: 8px; }
.ct__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct__chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct__chips label { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ct__chips input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.ct__chips input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.ct__hint { font-size: 12.5px; color: var(--muted); margin: -8px 0 16px; }
.ct__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ct__send { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ct__send small { color: var(--muted); font-size: 13px; }
.ct__error { margin: 0 0 14px; color: var(--danger); font-size: 14px; }
.ct__done { text-align: center; padding: 34px 18px; }
.ct__done .ok { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: rgba(22, 163, 74, 0.14); color: var(--good); display: grid; place-items: center; }
.ct__done .ok svg { width: 26px; height: 26px; }
.ct__done h2 { font: 700 26px/1.15 var(--display); color: var(--ink); margin: 0 0 8px; }
.ct__done p { color: var(--muted); margin: 0 auto 18px; max-width: 30em; }
/* .ct__f is a grid, which would override the hidden attribute */
.gb .ct__f[hidden] { display: none; }
.gb__opt { font-weight: 400; color: var(--muted); }
.gb__skip { color: var(--muted); font-size: 14px; }
.gb__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
.gb__note { font-size: 13px; }

/* The Worker's own 404 page for an unknown stiqnote.com path: no header, footer or script */
.nf { min-height: calc(100vh - 80px); display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; padding: 48px 24px; max-width: 32em; margin-inline: auto; }
.nf__brand { margin-bottom: 8px; }
.nf__code { margin: 0; font: 700 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; }
.nf h1 { margin: 0; font: 800 clamp(30px, 4vw, 40px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.nf p { margin: 0; color: var(--muted); font-size: 16px; }
.nf__links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* Legal pages */
.lg { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: 56px; padding-block: 40px 88px; justify-content: center; }
.lg__toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 14px; max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; }
.lg__toc > b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.lg__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.lg__toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.lg__toc a:hover { color: var(--ink); }
.lg__toc a.on { color: var(--accent-text); border-left-color: var(--accent); font-weight: 600; }
.lg__toc details { display: none; }
.lg__doc { color: var(--text); font-size: 16.5px; line-height: 1.72; min-width: 0; }
.lg__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.lg__tabs a { font-size: 13.5px; font-weight: 600; border-radius: 999px; padding: 6px 12px; border: 1px solid var(--line); color: var(--muted); background: var(--card); text-decoration: none; }
.lg__tabs a[aria-current='page'] { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; }
.lg__doc h1 { font: 800 clamp(34px, 4.2vw, 46px)/1.06 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 10px; text-wrap: balance; }
.lg__meta { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lg__meta .upd { display: inline-flex; gap: 7px; align-items: center; font-weight: 600; color: var(--text); }
.lg__meta .upd i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.lg__meta button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-text); cursor: pointer; }
.lg__doc h2 { font: 700 23px/1.25 var(--display); color: var(--ink); margin: 36px 0 10px; letter-spacing: -0.01em; scroll-margin-top: 20px; position: relative; text-wrap: balance; }
.lg__doc h2 .anchor { position: absolute; left: -1.1em; color: var(--muted); text-decoration: none; opacity: 0; font-weight: 400; }
.lg__doc h2:hover .anchor, .lg__doc h2 .anchor:focus-visible { opacity: 1; }
.lg__doc h3 { font: 700 18px/1.3 var(--display); color: var(--ink); margin: 24px 0 8px; }
.lg__doc p { margin: 0 0 14px; }
.lg__doc ul, .lg__doc ol { margin: 0 0 14px; padding-left: 20px; }
.lg__doc li { margin-bottom: 6px; }
.lg__doc strong { color: var(--ink); }
.lg__doc a { color: var(--accent-text); }
.lg__doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14.5px; }
.lg__doc th, .lg__doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.lg__doc th { color: var(--ink); }
.lg__table { overflow-x: auto; }
.lg__top { display: inline-block; margin-top: 26px; font-size: 14px; color: var(--accent-text); text-decoration: none; }

/* The demo's own bar and first card (the overlay itself lives in a shadow root) */
.sn-demo-bar {
	position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483000;
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
	background: #141821; color: #e7e9f0; border-radius: 14px; padding: 10px 12px 10px 16px; font: 13.5px/1.4 var(--body);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); width: max-content; max-width: calc(100% - 32px);
}
.sn-demo-bar b { color: #fff; }
.sn-demo-bar__dot { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; flex: none; }
.sn-demo-bar .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.sn-demo-invite {
	position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483000;
	background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
	width: min(460px, calc(100% - 32px)); box-shadow: 0 24px 60px -24px rgba(20, 24, 33, 0.55); font: 14px/1.5 var(--body);
}
.sn-demo-invite__title { display: block; font: 700 16px/1.3 var(--display); color: var(--ink); padding-right: 24px; }
.sn-demo-invite p { margin: 6px 0 12px; color: var(--muted); }
.sn-demo-invite__row { display: flex; gap: 8px; flex-wrap: wrap; }
.sn-demo-invite__x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; }

/* The header folds into the menu button before its links run out of room */
@media (max-width: 1080px) {
	.nav__links { display: none; }
	.pn { display: block; }
	.nav__in { gap: 12px; }
	.nav__cta { gap: 10px; }
	.ft__top { grid-template-columns: minmax(0, 1fr); }
	.ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.wrap { width: calc(100% - 32px); }
	.nav__demo { display: none; }
	.drawer { padding-inline: 16px; }
	.brand b { font-size: 19px; }
}
@media (max-width: 560px) {
	.ft { padding-top: 52px; }
	.ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft__bot { flex-direction: column; }
}

/* Narrow screens */
@media (max-width: 860px) {
	.steps, .plans, .faq { grid-template-columns: 1fr; }
	.sec { padding-block: 0 64px; }
	.ct { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 64px; }
	.ct__row { grid-template-columns: 1fr; gap: 0; }
	.ct__card { padding: 20px; }
	.lg { grid-template-columns: 1fr; gap: 0; padding-block: 20px 64px; }
	.lg__toc { position: static; margin-bottom: 18px; max-height: none; }
	.lg__toc > b, .lg__toc > ol { display: none; }
	.lg__toc details { display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 14px; }
	.lg__toc summary { font-weight: 600; color: var(--ink); cursor: pointer; }
	.lg__toc details ol { margin-top: 10px; }
	.lg__doc { font-size: 16px; }
	.lg__doc h2 .anchor { display: none; }
	.sn-demo-bar { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}
/* On phones the StiqNote dock sits bottom right, so the bar keeps to its left */
@media (max-width: 640px) {
	.sn-demo-bar { left: 12px; right: 84px; transform: none; width: auto; max-width: none; justify-content: flex-start; gap: 8px; font-size: 13px; padding: 10px 12px; }
	.sn-demo-bar__text { flex: 1 0 100%; }
	.sn-demo-invite { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}

@media print {
	body { background: #fff; color: #000; font-size: 11pt; }
	.nav, .ft, .lg__toc, .lg__tabs, .lg__meta button, .lg__top, .anchor { display: none !important; }
	.lg { display: block; padding: 0; }
	.lg__doc, .lg__doc h1, .lg__doc h2, .lg__doc h3, .lg__doc strong { color: #000; }
	.lg__doc a { color: #000; text-decoration: underline; }
	.lg__doc h2 { break-after: avoid; }
}