/* iglooirc.com: Snowfall */

@font-face { font-family: "M PLUS Rounded 1c"; src: url(/fonts/mplus-rounded-1c-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url(/fonts/mplus-rounded-1c-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url(/fonts/mplus-rounded-1c-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url(/fonts/mplus-rounded-1c-800.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hack"; src: url(/fonts/hack-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hack"; src: url(/fonts/hack-bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--sky-0: #0a1626;
	--sky-1: #0d2440;
	--sky-2: #0f2e52;
	--sky-3: #155a9c;
	--ink: #ffffff;
	--ink-2: #cfe0f2;
	--ink-3: #e2edf8;
	--link: #b9dcff;
	--accent: #82bdf8;
	--snow: #f4f8fb;
	--snow-ink: #10233a;
	--snow-ink-2: #45576b;
	--snow-link: #0b63b6;
	--glass: rgba(255, 255, 255, .06);
	--glass-ring: inset 0 0 0 1px rgba(255, 255, 255, .14);
	--glass-dark: rgba(8, 20, 36, .45);
	--glass-dark-ring: inset 0 0 0 1px rgba(255, 255, 255, .16);
	--chip: rgba(255, 255, 255, .1);
	--font: "M PLUS Rounded 1c", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
	--mono: Hack, ui-monospace, Menlo, monospace;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--sky-0);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code, kbd, pre { font-family: var(--mono); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.sf-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: var(--sky-0);
	font-weight: 700;
	text-decoration: none;
}
.sf-skip:focus { top: 16px; color: var(--sky-0); }

.sf-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Shell */

.sf {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow: hidden;
	background: var(--snow);
}
.sf-sky {
	position: relative;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	overflow: hidden;
	background: linear-gradient(180deg, var(--sky-0) 0%, var(--sky-1) 30%, var(--sky-2) 58%, var(--sky-3) 100%);
}
/* The minimum height keeps short pages at the homepage's density: they show only the flakes inside their own sky. */
.sf-snowfall { position: absolute; inset: 0; min-height: 3600px; pointer-events: none; }
.sf-flake { position: absolute; display: block; }
.sf-flake > span {
	display: block;
	width: 100%;
	height: 100%;
	background: #ffffff;
	animation: sf-fall linear infinite;
}
@keyframes sf-fall {
	0% { transform: translateY(0); opacity: 0; }
	12% { opacity: 1; }
	88% { opacity: 1; }
	100% { transform: translateY(720px); opacity: 0; }
}
.sf-sky-inner { position: relative; flex: 1 0 auto; }

.sf-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 24px;
}
.sf-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--ink);
	font-size: 22px;
	font-weight: 800;
	text-decoration: none;
}
.sf-brand:hover { color: var(--ink); }
.sf-brand img {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.sf-navlinks {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	margin-left: auto;
	font-size: 16px;
	font-weight: 500;
}
/* The padding widens each hit area into the gaps; the negative margin keeps the text where it was. */
.sf-navlinks a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0 -8px;
	padding: 0 8px;
	color: #dbe8f5;
	text-decoration: none;
}
.sf-navlinks a:hover { color: var(--ink); text-decoration: underline; }
.sf-navlinks a[aria-current="page"] {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .35em;
}

.sf-main { display: block; }

.sf-scene { position: relative; flex: none; height: clamp(190px, 20vw, 260px); }
.sf-scene svg { display: block; width: 100%; height: 100%; }

.sf-foot-wrap {
	position: relative;
	flex: none;
	margin-top: -1px;
	background: var(--snow);
	color: var(--snow-ink);
}
.sf-foot-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px 90px;
	text-align: center;
}
.sf-foot-cta h2 {
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
}
.sf-foot-cta p { color: var(--snow-ink-2); font-size: 19px; }
.sf-foot-cta .sf-badge { margin-top: 8px; }
.sf-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 26px 24px 40px;
	border-top: 1px solid #dbe4ec;
	color: var(--snow-ink-2);
	font-size: 15px;
}
.sf-foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.sf-foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
/* 44px tap targets. Nav links also take half of each 22px gap, so neighbouring hit areas meet without moving the text. */
.sf-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--snow-ink-2); text-decoration: none; }
.sf-foot nav a { margin: 0 -11px; padding: 0 11px; }
.sf-foot a:hover { color: var(--snow-ink); text-decoration: underline; }
.sf-foot-meta a { text-decoration: underline; }
.sf-foot-wrap :focus-visible { outline-color: var(--snow-link); }
.sf-snow-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.sf-snow-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--snow-link); cursor: pointer; }
/* Room under the last row of links for the fixed #scrollTop (48px, 20px from the corner). Up to 1320px wide
   the button can sit over a link; the extra 20px allows for classic scrollbars. */
@media (max-width: 1340px) {
	.sf-foot { padding-bottom: 96px; }
}

.sf-badge { display: block; line-height: 0; }
.sf-badge img { display: block; width: 162px; height: 54px; }

#scrollTop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 50;
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--sky-0);
	/* The 1px ring keeps the white button visible over the snow footer. */
	box-shadow: 0 0 0 1px rgba(16, 35, 58, .15), 0 10px 30px rgba(2, 8, 20, .35);
	cursor: pointer;
}
#scrollTop svg { display: block; margin: 13px auto; }
#scrollTop:hover { background: var(--ink-3); }
/* It takes focus over the snow, so the ring is navy and inside the white disc: it reads on any background. */
#scrollTop:focus-visible { outline: 3px solid var(--sky-0); outline-offset: -7px; }

/* Type */

.sf-display {
	max-width: 12ch;
	font-size: clamp(44px, 7vw, 100px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.025em;
}
.sf-h2 {
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
}
.sf-h2-sm { font-size: clamp(28px, 3.4vw, 44px); }
.sf-lede { max-width: 44ch; color: var(--ink-2); font-size: 20px; line-height: 1.55; text-wrap: pretty; }

.sf-prose { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.sf-prose > * + * { margin-top: 14px; }
.sf-prose > :first-child { margin-top: 0; }
.sf-prose h2, .sf-prose h3 { color: var(--ink); line-height: 1.25; }
.sf-prose h2 { margin-top: 30px; font-size: 24px; }
.sf-prose h3 { margin-top: 24px; font-size: 19px; }
.sf-prose strong, .sf-prose b { color: var(--ink); }
.sf-prose ul, .sf-prose ol { margin-bottom: 0; padding-left: 1.3em; }
.sf-prose li + li { margin-top: 6px; }
.sf-prose code {
	padding: .1em .4em;
	border-radius: 6px;
	background: var(--chip);
	color: var(--ink);
	font-size: .86em;
	overflow-wrap: anywhere;
}
.sf-prose a { color: var(--link); }
.sf-prose a:hover { color: var(--ink); }
/* Buttons inside prose keep their own colours rather than the link colours. */
.sf-prose a.sf-btn, .sf-prose a.sf-btn:hover { color: var(--sky-0); text-decoration: none; }
.sf-prose a.sf-btn-ghost, .sf-prose a.sf-btn-ghost:hover { color: var(--ink); text-decoration: none; }

/* Buttons and chips */

.sf-btn, .sf-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 24px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.sf-btn { background: var(--ink); color: var(--sky-0); }
.sf-btn:hover { background: var(--ink-3); color: var(--sky-0); }
.sf-btn-sm { min-height: 44px; }
.sf-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.sf-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--ink); }
.sf-nav .sf-btn { margin-left: auto; }
.sf-navlinks + .sf-btn { margin-left: 0; }
.sf-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.sf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
ul.sf-chips { margin: 0; list-style: none; }
.sf-chip {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--chip);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 14px;
	line-height: 1.6;
	text-decoration: none;
}
/* Linked chips get a 44px hit area while the pill stays the same size as the others.
   Chip rows are 10px apart, so the 4px extensions never overlap. */
a.sf-chip { position: relative; }
a.sf-chip::after { content: ""; position: absolute; inset: -4px 0; }
a.sf-chip:hover { background: rgba(255, 255, 255, .18); color: var(--ink); }

/* Panels */

.sf-panel { padding: 24px; border-radius: 24px; background: var(--glass); box-shadow: var(--glass-ring); }
.sf-panel-dark { padding: 28px; border-radius: 24px; background: var(--glass-dark); box-shadow: var(--glass-dark-ring); }

.sf-note {
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 196, 120, .1);
	box-shadow: inset 0 0 0 1px rgba(255, 196, 120, .35);
	color: var(--ink-3);
}
.warning { color: #ffd59a; }

/* Device frames (proportions from the App Store art, S = screen width) */

.sf-frame { position: relative; flex: none; box-sizing: content-box; width: var(--s); background: #121418; }
.sf-frame > img { display: block; width: 100%; height: auto; }
.sf-frame-phone {
	padding: calc(var(--s) * .0307);
	border-radius: calc(var(--s) * .162);
	box-shadow: inset 0 0 0 calc(var(--s) * .0067) rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 255, 255, .1), 0 calc(var(--s) * .12) calc(var(--s) * .33) rgba(2, 8, 20, .6);
}
.sf-frame-phone > img { border-radius: calc(var(--s) * .1313); }
.sf-frame-phone::after {
	content: "";
	position: absolute;
	top: calc(var(--s) * .0557);
	left: 50%;
	width: calc(var(--s) * .29);
	height: calc(var(--s) * .085);
	margin-left: calc(var(--s) * -.145);
	border-radius: 999px;
	background: #000000;
}
.sf-frame-pad {
	padding: calc(var(--s) * .0258);
	border-radius: calc(var(--s) * .067);
	box-shadow: inset 0 0 0 calc(var(--s) * .0062) rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 255, 255, .1), 0 calc(var(--s) * .11) calc(var(--s) * .3) rgba(2, 8, 20, .6);
}
.sf-frame-pad > img { border-radius: calc(var(--s) * .0412); }
.sf-ipad { --s: 460px; }
.sf-phone { --s: 237px; margin: 215px 0 0 -80px; }

/* Home */

.sf-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px 40px;
	text-align: center;
}
.sf-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.sf-hero-note { color: var(--ink-2); font-size: 16px; }
.sf-devices { display: flex; justify-content: center; align-items: flex-start; width: 100%; margin-top: 44px; }

.sf-rows {
	display: flex;
	flex-direction: column;
	gap: 150px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 150px 24px 130px;
}
.sf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; scroll-margin-top: 24px; }
/* Flipped rows have the text first in the markup, so the heading is read first. Wide screens show the media
   on the left; once the row wraps, the text sits above the media. */
.sf-row-flip { flex-direction: row-reverse; }
.sf-row-text { display: flex; flex: 1 1 380px; flex-direction: column; gap: 18px; }
.sf-row-text .sf-h2 { max-width: 14ch; }
.sf-row-text > p { max-width: 44ch; color: var(--ink-2); font-size: 19px; text-wrap: pretty; }
.sf-row-media { flex: 1 1 420px; }
/* The padding makes a 44px tap target; the negative margin keeps the layout, reaching into the 18px gaps. */
.sf-link-strong { align-self: flex-start; margin-block: -8.4px; padding-block: 8.4px; color: var(--ink); font-size: 17px; font-weight: 700; }

.sf-notifs { display: flex; flex-direction: column; gap: 14px; }
.sf-notif {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 20px;
	background: rgba(244, 248, 251, .96);
	color: var(--snow-ink);
	font-size: 15px;
	line-height: 1.4;
}
.sf-notif img { display: block; flex: none; width: 40px; height: 40px; border-radius: 9px; }
.sf-notif-body { flex: 1 1 auto; min-width: 0; }
.sf-notif-top { display: flex; justify-content: space-between; gap: 12px; }
.sf-notif-top span { color: var(--snow-ink-2); }
.sf-path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
	font-size: 15px;
	font-weight: 700;
}
.sf-path span { padding: 8px 14px; border-radius: 999px; background: var(--chip); }
.sf-path .sf-path-end { background: var(--accent); color: var(--sky-0); }
/* The words between the steps are for screen readers. */
.sf-path .sf-visually-hidden { padding: 0; background: none; }
/* One line needs about 380px. When the panel is narrower, stack the steps with downward arrows. */
#push .sf-panel { container-type: inline-size; }
@container (max-width: 400px) {
	.sf-path { flex-direction: column; gap: 6px; }
	.sf-path svg { margin-block: 5px; transform: rotate(90deg); }
}

.sf-caps { justify-content: center; padding: 32px 28px; }

.sf-themes { display: flex; justify-content: center; align-items: flex-start; gap: 20px; container-type: inline-size; }
.sf-theme { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.sf-theme figcaption { font-size: 16px; font-weight: 700; }
.sf-themephone { --s: min(150px, 24vw); }
@supports (width: 1cqw) {
	.sf-themephone { --s: min(150px, calc((100cqw - 40px) / 3.19)); }
}

/* iPhone Duo: the folded phone sits in front of the unfolded one's right edge,
   half its width with tops level, as in the App Store art. */
.sf-duo-wrap { container-type: inline-size; }
.sf-duo { display: flex; align-items: flex-start; justify-content: center; }
.sf-frame-duo-open {
	padding: calc(var(--s) * .0137);
	border-radius: calc(var(--s) * .04);
	box-shadow: inset 0 0 0 calc(var(--s) * .005) rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 255, 255, .1), 0 calc(var(--s) * .07) calc(var(--s) * .2) rgba(2, 8, 20, .6);
}
.sf-frame-duo-open > img { border-radius: calc(var(--s) * .0263); }
.sf-frame-duo-closed {
	padding: calc(var(--s) * .0307);
	border-radius: calc(var(--s) * .1061);
	box-shadow: inset 0 0 0 calc(var(--s) * .01) rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 255, 255, .1), 0 calc(var(--s) * .12) calc(var(--s) * .33) rgba(2, 8, 20, .6);
}
.sf-frame-duo-closed > img { border-radius: calc(var(--s) * .0755); }
.sf-duo-open { --s: min(408.8px, 62vw); }
.sf-duo-closed { --s: min(197.9px, 30vw); margin-left: max(-91px, -13.9vw); }
@supports (width: 1cqw) {
	.sf-duo-open { --s: min(408.8px, 75.85cqw); }
	.sf-duo-closed { --s: min(197.9px, 36.71cqw); margin-left: max(-91px, -16.89cqw); }
}

.sf-more { max-width: 1200px; margin: 0 auto; padding: 0 24px 120px; position: relative; }
.sf-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 36px 32px; }
.sf-feature { display: flex; flex-direction: column; gap: 10px; }
.sf-feature-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--chip);
}
.sf-feature h3 { margin-top: 4px; font-size: 21px; font-weight: 800; line-height: 1.3; }
.sf-feature p { color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.sf-feature code { font-size: 14px; }

.sf-pricing {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 130px;
	text-align: center;
	scroll-margin-top: 24px;
}
.sf-center-head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sf-center-head .sf-h2 { max-width: 18ch; }
.sf-center-head p { color: var(--ink-2); font-size: 19px; }
.sf-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 20px;
	width: 100%;
	max-width: 900px;
	text-align: left;
	container-type: inline-size;
}
/* auto-fit makes two columns while the grid is 500px (2 x 240 + 20) to under 760px (3 x 240 + 2 x 20) wide.
   Centre a lone last card at the column width there, under the centred heading. */
@container (500px <= width < 760px) {
	.sf-plan:nth-child(odd):last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 20px) / 2); }
}
.sf-plan {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 30px;
	border-radius: 28px;
	background: rgba(10, 22, 38, .42);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.sf-plan h3 { font-size: 19px; font-weight: 700; }
.sf-plan p { color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.sf-plan .sf-plan-price { color: var(--ink); font-size: 44px; font-weight: 800; line-height: 1.1; }
.sf-plan-price span { color: var(--ink-2); font-size: 18px; font-weight: 500; }

.sf-hi {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 72px;
	text-align: center;
	scroll-margin-top: 24px;
}
.sf-hi p { max-width: 46ch; color: var(--ink-3); font-size: 19px; text-wrap: pretty; }
.sf-hi .sf-btn-row { justify-content: center; margin-top: 8px; }

/* Inner pages */

.sf-page-head {
	max-width: 920px;
	margin: 0 auto;
	padding: 56px 24px 40px;
}
.sf-page-head h1 {
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.025em;
}
.sf-page-head .sf-lede { margin-top: 16px; }
.sf-page { max-width: 920px; margin: 0 auto; padding: 0 24px 120px; }
.sf-page > * + * { margin-top: 20px; }
/* A comfortable line length for long text set straight on the page (the privacy policy); panels keep the full width. */
.sf-page > .sf-prose:not(.sf-panel):not(.sf-panel-dark) { max-width: 68ch; }
/* The 404 page is a short message, so it sits centered. */
.sf-404 { text-align: center; }
.sf-404 .sf-lede { margin-inline: auto; }
.sf-404 .sf-btn-row { justify-content: center; }

.sf-qa-list { display: flex; flex-direction: column; gap: 16px; }
.sf-qa {
	padding: 26px 28px;
	border-radius: 24px;
	background: var(--glass-dark);
	box-shadow: var(--glass-dark-ring);
	scroll-margin-top: 24px;
}
.sf-qa > h2 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.sf-qa > .sf-prose { margin-top: 12px; }

.sf-post {
	padding: 26px 28px;
	border-radius: 24px;
	background: var(--glass-dark);
	box-shadow: var(--glass-dark-ring);
	scroll-margin-top: 24px;
}
.sf-post + .sf-post { margin-top: 16px; }
.sf-post-date { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.sf-post > h2 { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.25; }
.sf-post > .sf-prose { margin-top: 12px; }

.sf-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-jump a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--chip);
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.sf-jump a:hover { background: rgba(255, 255, 255, .18); color: var(--ink); }
.sf-cmd-group { scroll-margin-top: 24px; }
.sf-cmd-group + .sf-cmd-group { margin-top: 48px; }
.sf-cmd-group > h2 { font-size: 28px; font-weight: 800; }
.sf-cmds { margin: 16px 0 0; padding: 0; border-radius: 24px; background: var(--glass-dark); box-shadow: var(--glass-dark-ring); }
.sf-cmd { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 6px 24px; padding: 18px 24px; }
.sf-cmd + .sf-cmd { border-top: 1px solid rgba(255, 255, 255, .08); }
.sf-cmd dt { margin: 0; }
.sf-cmd dt code { color: var(--ink); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.sf-cmd dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.sf-cmd dd code { padding: .1em .4em; border-radius: 6px; background: var(--chip); color: var(--ink); font-size: .86em; }
.sf-cmd dd > p + p { margin-top: 8px; }

.sf-form { display: flex; flex-direction: column; gap: 12px; }
.sf-input, .sf-form input[type="text"], .sf-form input[type="email"], .sf-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}
.sf-form textarea { min-height: 140px; resize: vertical; }
.sf-input::placeholder, .sf-form input::placeholder, .sf-form textarea::placeholder { color: #9fb6cc; }
.sf-input:focus, .sf-form input:focus, .sf-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Feature requests (legacy hooks kept for js/script.js) */

.buttons { display: flex; gap: 12px; }
.buttons.right { justify-content: flex-end; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 24px;
	background: var(--ink);
	color: var(--sky-0);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	user-select: none;
}
.button:hover { background: var(--ink-3); }

.feature {
	display: flex;
	gap: 18px;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	padding: 22px 24px;
	border-radius: 24px;
	background: var(--glass-dark);
	box-shadow: var(--glass-dark-ring);
	scroll-margin-top: 24px;
}
.feature + .feature { margin-top: 16px; }
table.feature { display: block; }
table.feature > tbody, table.feature > tbody > tr, table.feature > tr { display: flex; gap: 18px; }
.feature .vote {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 48px;
	padding: 0;
}
.feature .sf-feature-main, .feature td.rounded { flex: 1 1 auto; min-width: 0; padding: 0; }
/* The glyph is masked on ::before so the element keeps its own focus ring. */
.icon {
	position: relative;
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 14px;
	cursor: pointer;
}
.icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--ink);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.icon:hover::before { opacity: .75; }
.icon:focus-visible { outline-offset: 0; }
.icon.arrow { width: 44px; height: 44px; }
.icon.arrow::before {
	background-color: #9fb6cc;
	-webkit-mask-image: url(/images/layout/arrow.png);
	mask-image: url(/images/layout/arrow.png);
	-webkit-mask-size: 22px;
	mask-size: 22px;
}
/* Voted is a filled tile, so the state doesn't rest on a change of blue. The ring moves off the tile's edge
   so it doesn't merge into it. */
.icon.arrow.voted { background: var(--accent); }
.icon.arrow.voted::before { background-color: var(--sky-0); }
.icon.arrow.voted:focus-visible { outline-offset: 2px; }
.icon.close { width: 44px; height: 44px; }
.icon.close::before {
	-webkit-mask-image: url(/images/layout/fail.png);
	mask-image: url(/images/layout/fail.png);
	-webkit-mask-size: 18px;
	mask-size: 18px;
}
.feature .votes { color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1; text-align: center; }
.feature .votes::after { content: attr(data-votes); }
.feature .voted ~ .votes::after { color: var(--accent); }
.sf-feature-title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.sf-feature-desc { margin-top: 8px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(130, 189, 248, .18);
	color: #cfe6ff;
	font-size: 13px;
	font-weight: 700;
}
.response {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 3px 0 0 var(--accent);
}
.sf-response-label { color: var(--ink); font-size: 14px; font-weight: 700; }
.response p + p { margin-top: 4px; }
.response p:not(.sf-response-label) { color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }

.noscroll { overflow: hidden; }
.popover {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
}
.popover.show { display: block; }
.popover .blackout { width: 100%; height: 100%; background: rgba(4, 10, 20, .6); }
.popover .content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	pointer-events: none;
}
.modal {
	display: none;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 22px 24px 26px;
	border-radius: 24px;
	background: #12233a;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 80px rgba(0, 0, 0, .5);
	color: var(--ink);
	pointer-events: all;
}
.popover.show .modal { display: block; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { font-size: 22px; font-weight: 800; }
.modal .form .button { align-self: flex-end; }

/* Narrow screens */

@media (max-width: 920px) {
	.sf-ipad { display: none !important; }
	.sf-phone { margin: 0 !important; }
}
@media (max-width: 720px) {
	.sf-nav { gap: 4px 16px; padding-bottom: 6px; }
	/* The row scrolls, so it clips: 4px of padding (taken back by the margin) leaves room for the focus ring,
	   drawn 1px out here instead of 3px so it fits. */
	.sf-navlinks {
		order: 3;
		width: calc(100% + 48px);
		margin: -4px -24px;
		padding: 4px 24px;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.sf-navlinks::-webkit-scrollbar { display: none; }
	.sf-navlinks a { flex: none; }
	.sf-navlinks a:focus-visible { outline-offset: 1px; }
	.sf-nav .sf-btn { margin-left: auto; }
	.sf-hero { padding-top: 40px; }
	.sf-rows { gap: 110px; padding-top: 110px; }
	.sf-qa, .sf-post, .feature { padding: 20px; }
	.sf-cmd { grid-template-columns: minmax(0, 1fr); padding: 16px 20px; }
	.sf-foot { justify-content: flex-start; }
	/* Three columns of 44px rows on their own line, so no link wraps onto a row alone. */
	.sf-foot nav { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 14px; }
	.sf-foot nav a { margin: 0 -7px; padding: 0 7px; }
}

/* Frozen snow (reduced motion, or Pause snow in the footer) is faint texture, and the flakes over the nav and the
   first heading are hidden. A paused page looks the same as reduced motion. */
@media (prefers-reduced-motion: reduce) {
	.sf-flake > span { animation: none; opacity: .5; }
	.sf-flake-top { display: none; }
	.sf-snow-toggle { display: none; }
	html { scroll-behavior: auto; }
}
.sf-snow-paused .sf-flake > span { animation: none; opacity: .5; }
.sf-snow-paused .sf-flake-top { display: none; }
/* Without JS the checkbox still pauses the page it's on. These stay separate from the rules above, so a browser
   without :has() drops only these. */
html:has(#sf-snow-pause:checked) .sf-flake > span { animation: none; opacity: .5; }
html:has(#sf-snow-pause:checked) .sf-flake-top { display: none; }

/* Forced colours (Windows High Contrast) replace background-color, which paints the masked glyphs, and drop
   box-shadow, which draws the dialog's edge. */
@media (forced-colors: active) {
	.icon::before, .icon.arrow::before { forced-color-adjust: none; background-color: ButtonText; }
	.icon.arrow.voted::before { background-color: Highlight; }
	.icon.arrow.voted { background: none; }
	.modal { border: 1px solid CanvasText; }
}
