/*
 * Colivr website
 *
 * The look comes from the app (colivr-fe, src/assets/scss/abstracts/variables): the same colours, the same
 * fonts, 2px borders, 20px buttons, 25px cards and 8px chips. The website adds what a page needs and an app
 * does not: a larger type scale, more air, and decoration (glows, gradients, floating tiles, scroll reveals; see
 * "Flair" below). The app itself stays flat.
 *
 * Light theme only. Every colour is a token below; change it there.
 * Bootstrap 3 supplies only the grid and the menu's collapse behaviour.
 */

/* ---------- Fonts (self-hosted) ---------- */

@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/ubuntu-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/ubuntu-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/ubuntu-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/open-sans-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */

:root {
	color-scheme: light;

	--font-heading: 'Ubuntu', 'Open Sans', sans-serif, arial;
	--font-body: 'Open Sans', 'Ubuntu', sans-serif, arial;

	--radius-button: 20px;
	--radius-card: 25px;
	--radius-chip: 8px;
	--border-width: 2px;
	--transition: .3s ease-in-out;

	/* Surfaces and text */
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-soft: #f4f7fa;
	--text: #4d5e6d;
	--text-2: #566b80;
	--border: #eeeeee;
	--border-strong: #cccccc;

	/* Accent: the app's primary blue and its states */
	--accent: #3879b2;
	--accent-hover: #1e5c95;
	--accent-pressed: #0a4275;
	--accent-soft: #e3edf6;
	--on-accent: #ffffff;
	--link: #1a6fcc;
	--focus: #1a6fcc;

	/* Notices */
	--warn-border: #b45309;
	--warn-bg: #fff6ea;

	/* The app's module colours: an icon colour and a tint behind it */
	--tasks: #9f48af;      --tasks-tint: #f3e6f6;
	--notes: #2a78c2;      --notes-tint: #e3effb;
	--bills: #2b882f;      --bills-tint: #e3f4e4;
	--home: #8a6243;       --home-tint: #f4ebe2;
	--remind: #3879b2;     --remind-tint: #e3edf6;
	--private: #4d5e6d;    --private-tint: #eceff2;
	--calendar: #b45309;   --calendar-tint: #fbeedd;

	/* The logo's colours */
	--logo-blue: #9bbedc;
	--logo-sand: #c69a75;
	--logo-pink: #db9cc8;

	/* Phone frames */
	--phone-frame: #20252b;
	--phone-ring: #59616b;
}

/* ---------- Base ---------- */

html {
	/* Bootstrap 3 sets 10px, which would shrink every rem */
	font-size: 16px;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
	color: var(--link);
	transition: color var(--transition);
}

a:hover,
a:focus {
	color: var(--accent-hover);
}

p a { text-decoration: underline; }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--surface);
	color: var(--text);
	border: var(--border-width) solid var(--accent);
	border-radius: var(--radius-button);
}

.skip-link:focus { top: 16px; }

.icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
	vertical-align: -.125em;
}

.section { padding: 96px 0; }
.section-soft { background: var(--surface-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.125rem; margin: 0; }
.lead { font-size: 1.1875rem; color: var(--text-2); }

/* ---------- Menu ---------- */

.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: var(--border-width) solid var(--border);
}

.site-nav .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
}

.site-nav .container::before,
.site-nav .container::after { display: none; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
}

.brand:hover,
.brand:focus { color: var(--text); text-decoration: none; }

/* The first row keeps its height when the mobile menu opens, so the brand and the button do not jump up */
.site-nav .container { align-content: flex-start; }
.site-nav .brand { min-height: 72px; }
.site-footer .brand { min-height: 0; }

.brand img { width: 40px; height: 35px; }

.nav-toggle {
	display: none;
	padding: 8px 12px;
	background: transparent;
	border: var(--border-width) solid var(--border-strong);
	border-radius: var(--radius-chip);
	color: var(--text);
}

.nav-toggle .bar {
	display: block;
	width: 22px;
	height: 2px;
	margin: 4px 0;
	background: currentColor;
	border-radius: 2px;
}

.site-nav .nav {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .nav > li > a {
	display: block;
	padding: 8px 16px;
	border-radius: var(--radius-button);
	color: var(--text);
	font-weight: 600;
}

.site-nav .nav > li > a:hover,
.site-nav .nav > li > a:focus,
.site-nav .nav > li.active > a {
	background: var(--accent-soft);
	color: var(--accent-hover);
	text-decoration: none;
}

.site-nav .nav > li.active > a { color: var(--accent-hover); }

@media (max-width: 767px) {
	.nav-toggle { display: block; }
	.site-nav .navbar-collapse { width: 100%; }
	.site-nav .navbar-collapse.collapse:not(.in) { display: none; }
	.site-nav .nav { flex-direction: column; padding: 8px 0 16px; }
}

@media (min-width: 768px) {
	.site-nav .navbar-collapse.collapse { display: block !important; height: auto !important; overflow: visible; }
}

/* ---------- Chips and buttons (the app's) ---------- */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 1px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--accent);
	border: var(--border-width) solid currentColor;
	border-radius: var(--radius-chip);
}

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

.btn-store {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 24px 10px 20px;
	color: var(--accent);
	background: transparent;
	border: var(--border-width) solid var(--accent);
	border-radius: var(--radius-button);
	line-height: 1.2;
	transition: background var(--transition), color var(--transition);
}

.btn-store .icon { font-size: 28px; }
.btn-store small { display: block; font-size: 12px; font-weight: 600; }
.btn-store strong { display: block; font-family: var(--font-heading); font-size: 1.125rem; }

a.btn-store:hover, a.btn-store:focus-visible { background: var(--accent); color: var(--surface); }

/* Not live yet: not a link, not a button */
.btn-store.is-soon { cursor: default; }

/* ---------- Desktop screenshots ---------- */

.desktop-shots { display: grid; gap: 64px; }
.desktop-row { display: grid; gap: 24px; align-items: center; }
.desktop-copy h3 { margin-bottom: 8px; }
.desktop-copy p { margin: 0; color: var(--text-2); }
.desktop-stage { padding: 20px; border-radius: var(--radius-card); }
.stage-tasks { background: var(--tasks-tint); }
.stage-bills { background: var(--bills-tint); }
.browser {
	margin: 0;
	overflow: hidden;
	background: var(--surface);
	border: var(--border-width) solid var(--surface);
	border-radius: 16px;
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-soft); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser img { display: block; width: 100%; height: auto; }

@media (min-width: 992px) {
	.desktop-row { grid-template-columns: 1fr 2.2fr; gap: 48px; }
	.desktop-row.is-reversed { grid-template-columns: 2.2fr 1fr; }
	.desktop-row.is-reversed .desktop-copy { order: 2; }
	.desktop-stage { padding: 32px; }
}

/* ---------- Hero: the original artwork, right-bottom ---------- */

.hero {
	display: flex;
	align-items: center;
	min-height: min(calc(100vh - 74px), 1100px);
	padding: 120px 0;
	background: var(--bg);
}

.hero .container { width: 100%; max-width: 1170px; }
.hero h1 { margin: 0 0 20px; }
.hero .lead { max-width: 24em; margin-bottom: 32px; }

/* The iPhone 17 render, cropped by the bottom edge of the hero */
.hero-phone {
	position: absolute;
	z-index: 0;
	right: max(2vw, calc((100vw - 1800px) / 2));
	bottom: 0;
	width: min(38vw, 780px, calc((100vh - 74px) * .78));
	height: auto;
	filter: drop-shadow(0 30px 50px rgba(32, 37, 43, .28));
	pointer-events: none;
}

@media (max-width: 991px) {
	.hero { min-height: 90vh; }
	.hero-phone { display: none; }
}

@media (max-width: 767px) {
	.hero { min-height: 0; padding: 72px 0; }
}

/* ---------- Phones: a modern phone drawn in CSS, around a real screenshot of the app ---------- */

.phone {
	--w: clamp(170px, 20vw, 260px);
	position: relative;
	flex: none;
	width: var(--w);
	font-size: var(--w);
	padding: .022em;
	background: var(--phone-frame);
	border: .006em solid var(--phone-ring);
	border-radius: .165em;
}

.phone::before,
.phone::after {
	content: '';
	position: absolute;
	width: .012em;
	background: var(--phone-ring);
	border-radius: .006em;
}

/* Volume buttons on the left, the side button on the right */
.phone::before { left: -.012em; top: .22em; height: .1em; box-shadow: 0 .13em 0 var(--phone-ring); }
.phone::after { right: -.012em; top: .3em; height: .15em; }

.phone-screen {
	position: relative;
	overflow: hidden;
	border-radius: .145em;
	background: var(--bg);
}

.phone-screen img { display: block; width: 100%; height: auto; }

.phone-island {
	position: absolute;
	top: .046em;
	left: 50%;
	width: .27em;
	height: .04em;
	margin-left: -.135em;
	background: #000;
	border-radius: .02em;
}


/* ---------- Feature cards ---------- */

.card-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.card-grid > div { padding: 12px; }

.card {
	height: 100%;
	padding: 32px 28px;
	background: var(--surface);
	border: var(--border-width) solid var(--border);
	border-radius: var(--radius-card);
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); }

.tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	font-size: 28px;
	border-radius: var(--radius-button);
}

.tile-tasks { color: var(--tasks); background: var(--tasks-tint); }
.tile-notes { color: var(--notes); background: var(--notes-tint); }
.tile-bills { color: var(--bills); background: var(--bills-tint); }
.tile-home { color: var(--home); background: var(--home-tint); }
.tile-remind { color: var(--remind); background: var(--remind-tint); }
.tile-private { color: var(--private); background: var(--private-tint); }
.tile-calendar { color: var(--calendar); background: var(--calendar-tint); }

/* ---------- FAQ ---------- */

.faq-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.faq-grid > div { padding: 12px; }

.faq {
	height: 100%;
	padding: 28px;
	background: var(--surface);
	border: var(--border-width) solid var(--border);
	border-radius: var(--radius-card);
}

.faq h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.faq p { margin: 0; color: var(--text-2); }

/* ---------- Call to action ---------- */

.cta {
	padding: 56px;
	background: var(--accent-soft);
	border: var(--border-width) solid var(--border);
	border-radius: var(--radius-card);
}

.cta h2 { margin-bottom: 24px; }
.cta a:not(.btn-store) { color: var(--accent-hover); }
.cta .btn-store { background: var(--surface); }

@media (max-width: 767px) {
	.cta { padding: 32px 24px; }
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 72px 0 24px;
	background: var(--surface-soft);
	border-top: var(--border-width) solid var(--border);
}

.footer-title {
	margin-bottom: 14px;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--text-2);
}

.footer-list { margin: 0 0 40px; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { color: var(--text); }
.footer-list a:hover { color: var(--accent-hover); }

.footer-list .icon { margin-right: 8px; color: var(--text-2); }

.social { display: flex; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }

.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 22px;
	color: var(--text);
	border: var(--border-width) solid var(--border-strong);
	border-radius: 50%;
	transition: background var(--transition), color var(--transition);
}

.social a:hover { background: var(--accent-soft); color: var(--accent-hover); }

.copyright { margin: 32px 0 0; padding-top: 24px; border-top: var(--border-width) solid var(--border); color: var(--text-2); font-size: .875rem; }

/* ---------- Documents (legal pages, credits, account deletion) ---------- */

.doc { padding: 72px 0 40px; }
.doc .container { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.doc ul, .doc ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.doc li { margin-bottom: .35em; }
.doc a { text-decoration: underline; }

.notice {
	margin: 0 0 32px;
	padding: 16px 20px;
	background: var(--warn-bg);
	border: var(--border-width) solid var(--warn-border);
	border-radius: 16px;
}

.notice a { text-decoration: underline; }

/* ---------- Flair: what a website can do that the app does not ----------
 * Soft colour glows in the logo's colours, floating tiles, scroll reveals, lifted cards and a progress bar.
 * Everything here is decoration: the page reads the same without it, and prefers-reduced-motion turns the motion off.
 */

:root {
	--grad-brand: linear-gradient(100deg, #1e5c95 0%, #3879b2 55%, #5b9bd1 100%);
	--grad-bar: linear-gradient(90deg, var(--accent), var(--logo-blue));
	--glow: 0 22px 44px -22px rgba(56, 121, 178, .45);
	--dots: radial-gradient(circle, rgba(56, 121, 178, .16) 1.5px, transparent 1.7px);
}

/* A gradient word in the headline */
.hl {
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Scroll progress, in the logo's colours */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 4px;
	background: var(--grad-bar);
	transform: scaleX(var(--p, 0));
	transform-origin: 0 50%;
	pointer-events: none;
}

/* Menu: frosted glass, with a shadow once the page has moved */
.site-nav {
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: saturate(170%) blur(14px);
	backdrop-filter: saturate(170%) blur(14px);
	transition: box-shadow var(--transition), border-color var(--transition);
}
.site-nav.is-scrolled { border-bottom-color: transparent; box-shadow: 0 10px 30px -18px rgba(32, 37, 43, .35); }
.brand img { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.12); }
.site-nav .nav > li > a { transition: background var(--transition), color var(--transition), transform var(--transition); }
.site-nav .nav > li > a:hover { transform: translateY(-1px); }

/* Sections carry their own decoration */
.section { position: relative; overflow: hidden; isolation: isolate; }
.section > .container { position: relative; z-index: 1; }
.section::before,
.section::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }

.section-soft { background: var(--surface-soft) var(--dots) 0 0 / 28px 28px; }

/* A short bar in the logo's colours under every section heading */
.section-head h2::after {
	content: '';
	display: block;
	width: 72px;
	height: 6px;
	margin: 18px auto 0;
	border-radius: 3px;
	background: var(--grad-bar);
}
.section-head p { margin-top: 18px; }

/* ----- Hero ----- */

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .container { position: relative; z-index: 1; }
.hero::before,
.hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before {
	width: 52vw; height: 52vw; left: -16vw; top: -22vw;
	background: radial-gradient(circle, rgba(155, 190, 220, .6), rgba(155, 190, 220, 0) 66%);
	animation: drift 22s ease-in-out infinite alternate;
}
.hero::after {
	width: 40vw; height: 40vw; left: 18vw; bottom: -20vw;
	background: radial-gradient(circle, rgba(155, 190, 220, .4), rgba(155, 190, 220, 0) 68%);
	animation: drift 26s ease-in-out -8s infinite alternate-reverse;
}

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.01em; }
.hero .lead { font-size: 1.3125rem; }

.hero-floats { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 1800px); translate: -50% 0; z-index: 0; pointer-events: none; }
.float-tile {
	position: absolute;
	left: var(--x);
	top: var(--y);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	font-size: 32px;
	border-radius: 22px;
	border: var(--border-width) solid var(--surface);
	box-shadow: 0 18px 34px -16px rgba(32, 37, 43, .4);
	animation: bob 7s ease-in-out var(--d) infinite;
}
.float-tile:nth-child(even) { width: 56px; height: 56px; font-size: 26px; border-radius: 18px; animation-duration: 9s; }

@media (max-width: 991px) { .hero-floats { display: none; } }

/* The hero's own entrance, once the loader has gone */
html.js .hero .rise { opacity: 0; transform: translateY(26px); }
html.js body.is-loaded .hero .rise {
	opacity: 1;
	transform: none;
	transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--i, 0) * 130ms + 150ms);
}

/* ----- Reveal on scroll ----- */

html.js .reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
	transition-delay: var(--delay, 0ms);
}
html.js .reveal.from-left { transform: translateX(-44px); }
html.js .reveal.from-right { transform: translateX(44px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ----- Buttons ----- */

.btn-store { transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); }
a.btn-store:hover,
a.btn-store:focus-visible { transform: translateY(-3px); box-shadow: var(--glow); }
.btn-store.is-soon { border-style: dashed; border-color: var(--border-strong); color: var(--text-2); background: rgba(255, 255, 255, .7); }
.btn-store.is-primary { color: var(--on-accent); background: var(--accent); }
a.btn-store.is-primary:hover,
a.btn-store.is-primary:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-store.is-primary .icon { animation: spin-slow 14s linear infinite; }
.cta .btn-store.is-primary,
.download-area .btn-store.is-primary { background: var(--accent); }

/* ----- Why Colivr ----- */

#about-page { background: var(--dots) 0 0 / 28px 28px; }
#about-page::before {
	width: 46vw; height: 46vw; right: -18vw; top: -14vw;
	background: radial-gradient(circle, rgba(227, 237, 246, .95), rgba(227, 237, 246, 0) 68%);
}
#about-page::after {
	width: 40vw; height: 40vw; left: -16vw; bottom: -18vw;
	background: radial-gradient(circle, rgba(227, 237, 246, .8), rgba(227, 237, 246, 0) 68%);
}

.card {
	position: relative;
	background: linear-gradient(180deg, var(--surface) 0%, rgba(255, 255, 255, .86) 100%);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .4s ease;
}
.card:hover { transform: perspective(900px) translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); border-color: var(--accent); box-shadow: var(--glow); transition: transform .12s ease-out, box-shadow .4s ease, border-color .4s ease; }
.tile { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .tile { transform: rotate(-9deg) scale(1.12); }

/* ----- Image beside text ----- */

.social-area { background: linear-gradient(180deg, var(--surface-soft), var(--bg)); }
.network-area { background: linear-gradient(180deg, var(--bg), var(--surface-soft)); }
.social-area::before {
	width: 34vw; height: 34vw; left: -10vw; top: 10%;
	border: 2px dashed rgba(56, 121, 178, .28);
	animation: spin-slow 80s linear infinite;
}
.network-area::before {
	width: 30vw; height: 30vw; right: -8vw; bottom: -6vw;
	border: 2px dashed rgba(56, 121, 178, .22);
	animation: spin-slow 90s linear infinite reverse;
}

.split > .hidden-xs { position: relative; isolation: isolate; }
.split > .hidden-xs::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 8% 6%;
	border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
	background: linear-gradient(135deg, var(--accent-soft), #f1f6fb);
	animation: morph 14s ease-in-out infinite alternate;
}
.network-area .split > .hidden-xs::before { background: linear-gradient(135deg, #f1f6fb, var(--accent-soft)); }
.split > .hidden-xs img { animation: bob 8s ease-in-out infinite; }
.social-logo { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.copy:hover .social-logo { transform: rotate(-10deg) scale(1.08); }

/* ----- Big screens ----- */

#desktop-page { background: var(--surface-soft) var(--dots) 0 0 / 28px 28px; }
.desktop-stage {
	position: relative;
	background-image: radial-gradient(circle, rgba(255, 255, 255, .75) 1.5px, transparent 1.7px);
	background-size: 22px 22px;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.stage-tasks { background-color: var(--tasks-tint); }
.stage-bills { background-color: var(--bills-tint); }
.browser { box-shadow: 0 34px 60px -30px rgba(32, 37, 43, .55); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease; }
.desktop-stage:hover .browser { translate: 0 -8px; scale: 1.012; box-shadow: 0 44px 70px -30px rgba(32, 37, 43, .6); }
.browser-bar i:nth-child(1) { background: #ff8a80; }
.browser-bar i:nth-child(2) { background: #ffd180; }
.browser-bar i:nth-child(3) { background: #8fd694; }

/* ----- Testimonials ----- */

#testimonial::before {
	width: 44vw; height: 44vw; left: 50%; top: -10vw; margin-left: -22vw;
	background: radial-gradient(circle, rgba(155, 190, 220, .3), rgba(155, 190, 220, 0) 68%);
}
.single-testimonial { position: relative; padding-top: 64px; }
.single-testimonial::before {
	content: '\201C';
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-heading);
	font-size: 7rem;
	line-height: 1;
	color: var(--accent-soft);
	pointer-events: none;
}
.single-testimonial p { position: relative; font-size: 1.25rem; }
.single-testimonial .client-name { display: inline-block; padding: 2px 14px; background: var(--accent-soft); border-radius: var(--radius-chip); color: var(--accent-hover); }

/* ----- FAQ ----- */

.faq { position: relative; border-left: 6px solid var(--accent); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .4s ease; }
.faq:hover { transform: translateY(-5px); box-shadow: var(--glow); }

/* ----- Download ----- */

.download-area::before {
	width: 44vw; height: 44vw; right: -12vw; top: -10vw;
	background: radial-gradient(circle, rgba(155, 190, 220, .5), rgba(155, 190, 220, 0) 66%);
	animation: drift 20s ease-in-out infinite alternate;
}
.download-area::after {
	width: 30vw; height: 30vw; right: 20vw; bottom: -14vw;
	background: radial-gradient(circle, rgba(155, 190, 220, .35), rgba(155, 190, 220, 0) 66%);
	animation: drift 24s ease-in-out -6s infinite alternate-reverse;
}
.download-area h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.download-area h2::after { content: ''; display: block; width: 72px; height: 6px; margin-top: 16px; border-radius: 3px; background: var(--grad-bar); }

/* ----- Footer and social ----- */

.site-footer { position: relative; border-top: 0; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-bar); }
.social a:hover { transform: translateY(-3px) rotate(-6deg); }
.social a { transition: background var(--transition), color var(--transition), transform var(--transition); }

/* ----- Keyframes ----- */

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes morph {
	0% { border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; transform: rotate(0); }
	100% { border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; transform: rotate(8deg); }
}

/* ---------- More flair: ribbons, pointer effects, scroll-driven depth ---------- */

/* A hand-drawn wave drawn under the headline's accent */
.hl { position: relative; display: inline-block; }
.hl::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.14em;
	height: .26em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q12 0 22 6 T42 6 T62 6 T82 6 T102 6 T118 5' fill='none' stroke='%233879b2' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	-webkit-text-fill-color: initial;
}
html.js .hl::after { clip-path: inset(0 100% 0 0); }
html.js body.is-loaded .hl::after { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.6, 0, .2, 1) 1s; }

/* Headings: their bar draws itself when they appear */
html.js .section-head.reveal h2::after,
html.js .download-area .reveal h2::after { transform: scaleX(0); transform-origin: 50% 50%; transition: transform .9s cubic-bezier(.6, 0, .2, 1) .45s; }
html.js .download-area .reveal h2::after { transform-origin: 0 50%; }
html.js .section-head.reveal.is-in h2::after,
html.js .download-area .reveal.is-in h2::after { transform: scaleX(1); }

/* Hero tiles: pop in, then follow the pointer a little */
html.js .float-tile { scale: 0; }
html.js body.is-loaded .float-tile { scale: 1; transition: scale .8s cubic-bezier(.3, 1.7, .5, 1); }
html.js body.is-loaded .float-tile:nth-child(1) { transition-delay: .5s; }
html.js body.is-loaded .float-tile:nth-child(2) { transition-delay: .65s; }
html.js body.is-loaded .float-tile:nth-child(3) { transition-delay: .8s; }
html.js body.is-loaded .float-tile:nth-child(4) { transition-delay: .95s; }
.float-tile { translate: calc(var(--px, 0) * var(--k, 20) * 1px) calc(var(--py, 0) * var(--k, 20) * 1px); }
.float-tile:nth-child(1) { --k: 26; }
.float-tile:nth-child(2) { --k: -18; }
.float-tile:nth-child(3) { --k: 38; }
.float-tile:nth-child(4) { --k: -30; }
.hero::before { translate: calc(var(--px, 0) * -30px) calc(var(--py, 0) * -20px); }
.hero::after { translate: calc(var(--px, 0) * 40px) calc(var(--py, 0) * 26px); }

/* Decoration drifts at its own speed as the page scrolls */
.section::before, .section::after { translate: 0 calc(var(--o, 0) * -.09px); }
.download-area::after { translate: 0 calc(var(--o, 0) * .12px); }

/* A quiet line of what Colivr covers */
.strip { position: relative; z-index: 2; margin: 0; padding: 36px 20px 8px; text-align: center; font-size: 1.0625rem; letter-spacing: .02em; color: var(--text-2); }
.strip span { margin: 0 .6em; opacity: .5; }

/* A soft light follows the pointer */
.cursor-glow {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 50;
	width: 560px;
	height: 560px;
	margin: -280px 0 0 -280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(56, 121, 178, .13), rgba(56, 121, 178, 0) 62%);
	pointer-events: none;
	opacity: 0;
	transition: opacity .6s ease;
	will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* Cards: a spotlight under the pointer */
.card::after,
.faq::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 121, 178, .13), transparent 60%);
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}
.card:hover::after,
.faq:hover::after { opacity: 1; }

/* Buttons lean towards the pointer */
a.btn-store:hover,
a.btn-store:focus-visible { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 3px)); }

/* The big-screen frames tip back and settle as they scroll into view */
.desktop-stage { perspective: 1400px; }
.browser { transform: rotateX(calc((1 - var(--t, 1)) * 16deg)) scale(calc(.93 + var(--t, 1) * .07)); transform-origin: 50% 100%; }

/* Back to top, with a ring that fills as you read */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	font-size: 24px;
	color: var(--accent);
	background: conic-gradient(var(--accent) calc(var(--p, 0) * 360deg), var(--border) 0);
	border: 0;
	border-radius: 50%;
	opacity: 0;
	transform: translateY(20px) scale(.8);
	pointer-events: none;
	transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.to-top::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.to-top .icon { position: relative; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--accent-hover); transform: translateY(-4px); }

/* ---------- Page not found ---------- */

.lost {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(100vh - 200px);
	padding: 96px 0;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
	background: var(--dots) 0 0 / 28px 28px;
}
.lost::before,
.lost::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.lost::before { width: 54vw; height: 54vw; left: -14vw; top: -22vw; background: radial-gradient(circle, rgba(155, 190, 220, .55), rgba(155, 190, 220, 0) 66%); animation: drift 22s ease-in-out infinite alternate; }
.lost::after { width: 44vw; height: 44vw; right: -12vw; bottom: -20vw; background: radial-gradient(circle, rgba(155, 190, 220, .4), rgba(155, 190, 220, 0) 66%); animation: drift 26s ease-in-out -8s infinite alternate-reverse; }
.lost .container { position: relative; z-index: 1; }
.lost-floats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lost .badges { justify-content: center; margin-top: 28px; }
.lost .lead { margin-bottom: 0; }

.lost-code {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 2vw, 24px);
	margin: 0 0 8px;
	font-family: var(--font-heading);
	font-size: clamp(6rem, 22vw, 13rem);
	font-weight: 700;
	line-height: 1;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.lost-code span { display: inline-block; animation: bob 5s ease-in-out infinite; }
.lost-code span:last-child { animation-delay: -2.5s; }
.lost-code img { width: .62em; height: auto; animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(12deg) scale(1.1); } }

@media (max-width: 767px) { .lost-floats .float-tile:nth-child(n + 3) { display: none; } }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}



/* ---------- Original sections: image beside text ---------- */

.split { display: flex; flex-wrap: wrap; align-items: center; margin: 0 -15px; }
.split img { max-width: 100%; height: auto; }
.split .copy p { color: var(--text-2); font-size: 1.0625rem; margin-bottom: 0; }
.split .copy h2 { margin-bottom: 16px; }
.social-logo { display: block; margin-bottom: 24px; }

.download-area {
	background: var(--bg) url('images/download-bg.webp') no-repeat scroll left center / auto 100%;
}

.download-area .lead { margin-bottom: 28px; }

@media (max-width: 991px) {
	.download-area { background-image: none; }
}

/* ---------- Sliders (Owl Carousel) ---------- */

.owl-carousel .item { display: flex; justify-content: center; }

.owl-nav button,
.owl-dots button {
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	color: inherit;
}

.owl-carousel .owl-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	font-size: 24px;
	color: var(--accent);
	border: var(--border-width) solid var(--accent);
	border-radius: 50%;
	transition: background var(--transition);
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover { background: var(--accent-soft); }

.owl-carousel .owl-dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }

.owl-carousel button.owl-dot {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.owl-carousel button.owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	background: var(--border-strong);
	border-radius: 50%;
}

.owl-carousel button.owl-dot.active span { background: var(--accent); }

.single-testimonial {
	max-width: 760px;
	margin: 0 auto;
	padding: 36px 32px;
	text-align: center;
	background: var(--surface);
	border: var(--border-width) solid var(--border);
	border-radius: var(--radius-card);
}

.single-testimonial p { font-size: 1.125rem; }
.single-testimonial .client-name { font-weight: 700; color: var(--text); }

/* ---------- Splash: the app's own loader (the logo mark drawing itself), then a curtain that lifts ---------- */

.preloader {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--bg);
	border-radius: 0 0 50% 50% / 0 0 0 0;
	transition: transform .95s cubic-bezier(.76, 0, .24, 1), border-radius .95s cubic-bezier(.76, 0, .24, 1);
}

/* Soft colour behind the mark, and a dot grid that fades towards the edges */
.preloader::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 46%, rgba(155, 190, 220, .38), rgba(155, 190, 220, 0) 46%),
		var(--dots) 0 0 / 28px 28px;
	-webkit-mask-image: radial-gradient(circle at 50% 46%, #000, transparent 72%);
	mask-image: radial-gradient(circle at 50% 46%, #000, transparent 72%);
	animation: splash-breathe 3.2s ease-in-out infinite alternate;
}

.splash { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity .4s ease, transform .6s cubic-bezier(.5, 0, .75, 0); }

.logo-loader { display: block; overflow: visible; }

.logo-loader .bar {
	fill: none;
	stroke-width: 180;
	stroke-linecap: round;
	stroke-dasharray: 0 3;
	opacity: 0;
	animation: 1100ms cubic-bezier(.5, 0, .2, 1) both;
}

.logo-loader .bar-blue { stroke: var(--logo-blue); animation-name: draw-blue; }
.logo-loader .bar-brown { stroke: var(--logo-sand); animation-name: draw-brown; }

.logo-loader .ring {
	fill: none;
	stroke: var(--logo-pink);
	stroke-width: 34;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	animation: pop 1100ms ease-in-out both;
}

@keyframes draw-blue {
	0% { stroke-dasharray: 0 3; opacity: 0; }
	6% { opacity: .85; }
	55%, 100% { stroke-dasharray: 1 3; opacity: .85; }
}

@keyframes draw-brown {
	0%, 20% { stroke-dasharray: 0 3; opacity: 0; }
	26% { opacity: .85; }
	75%, 100% { stroke-dasharray: 1 3; opacity: .85; }
}

@keyframes pop {
	0%, 62% { transform: scale(0); opacity: 0; }
	66% { opacity: .85; }
	82% { transform: scale(1.25); opacity: .85; }
	100% { transform: scale(1); opacity: .85; }
}

/* The name, letter by letter */
.splash-word { display: flex; font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.splash-word span {
	display: inline-block;
	opacity: 0;
	transform: translateY(.6em);
	animation: letter-in .6s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(.55s + var(--i) * 70ms);
}
@keyframes letter-in { to { opacity: 1; transform: none; } }

/* A thin bar that fills while the page loads */
.splash-bar { width: 148px; height: 4px; overflow: hidden; background: var(--accent-soft); border-radius: 2px; opacity: 0; animation: letter-in .4s ease 1s both; }
.splash-bar i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 2px; transform: scaleX(.08); transform-origin: 0 50%; animation: splash-fill 2.6s cubic-bezier(.2, .6, .2, 1) 1s forwards; }
.preloader.is-ready .splash-bar i { animation: none; transform: scaleX(1); transition: transform .35s ease; }
@keyframes splash-fill { to { transform: scaleX(.88); } }
@keyframes splash-breathe { from { transform: scale(.96); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }

/* Leaving: the mark rises and fades, then the curtain lifts off the top with a curved edge */
.preloader.is-leaving { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 14vh 14vh; transition-delay: .3s; pointer-events: none; }
.preloader.is-leaving .splash { opacity: 0; transform: translateY(-36px) scale(1.08); }
.preloader.is-leaving::before { opacity: 0; transition: opacity .3s ease; }

/* A repeat visit in the same session: no show, a short fade */
.preloader.is-quick .splash-word span { animation-duration: .01s; animation-delay: 0s; }
.preloader.is-quick .logo-loader .bar,
.preloader.is-quick .logo-loader .ring { animation-duration: .01s; animation-delay: 0s; }
.preloader.is-quick { transition-duration: .5s; }

body.is-splashing { overflow: hidden; }

/* No motion: the finished mark, still (the same as in the app) */
@media (prefers-reduced-motion: reduce) {
	.logo-loader .bar,
	.logo-loader .ring { stroke-dasharray: 1 3; opacity: .85; transform: none; }
	.splash-word span, .splash-bar { opacity: 1; transform: none; }
	.preloader.is-leaving { transform: none; opacity: 0; transition: opacity .3s ease !important; }
}


/* ---------- Feature showcase, early supporters, enlarging screenshots ---------- */

.feature-row .desktop-copy .tile { margin-bottom: 16px; }
.ticks { margin: 16px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.ticks li { position: relative; margin-top: 8px; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: translateY(-50%) rotate(-45deg); }
.stage-home { background-color: var(--home-tint); }
.stage-calendar { background-color: var(--calendar-tint); }
.stage-notes { background-color: var(--notes-tint); }
.stage-remind { background-color: var(--remind-tint); }
.phones { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; }
.phones .phone { box-shadow: 0 34px 60px -30px rgba(32, 37, 43, .55); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.phones .phone:nth-child(2) { margin-top: 32px; }
.desktop-stage:hover .phone { transform: translateY(-8px); }
@media (min-width: 992px) {
	.feature-row.desktop-row { grid-template-columns: 1fr 1fr; }
	.feature-row.desktop-row.is-reversed { grid-template-columns: 1fr 1fr; }
}

/* A screenshot that has not been provided yet */
.shot-soon {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	aspect-ratio: 600 / 1304; padding: 24px; font-size: 16px; text-align: center;
	color: var(--text-2); font-weight: 600; background: var(--surface-soft);
	border: 2px dashed var(--border-strong); border-radius: inherit;
}
.shot-soon .icon { font-size: 36px; }

.hero-note { margin: 20px 0 0; color: var(--text); }
.hero-note strong { display: inline-block; padding: 6px 16px; background: var(--accent-soft); border: var(--border-width) solid var(--border); border-radius: var(--radius-button); font-weight: 600; }
#early .cta { text-align: center; }
#early .cta h2 { margin-bottom: 12px; }
#early .cta .lead { margin: 0; }

/* Enlarge a screenshot */
.zoom { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
html.is-zoomed { overflow: hidden; }
.lightbox {
	width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0;
	border: 0; background: rgba(20, 23, 27, .92); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 23, 27, .92); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; margin: 0; }
.lightbox img { display: block; max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; }
.lightbox figcaption { max-width: 40em; text-align: center; font-size: .9375rem; }
.lightbox button {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0; color: #fff; font-size: 24px; line-height: 1;
	background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox .lb-prev[hidden], .lightbox .lb-next[hidden] { display: none; }
@media (max-width: 767px) {
	.lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; margin-top: 0; }
	.lightbox img { max-height: 70vh; }
}
@media (prefers-reduced-motion: no-preference) {
	.lightbox[open] img { animation: lb-in .2s ease-out; }
	@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
}


/* ---------- FAQ as grouped accordions ---------- */

.qa-groups { max-width: 880px; margin: 0 auto; }
.qa-group + .qa-group { margin-top: 40px; }
.qa-title { margin: 0 0 14px; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hover); }
.qa-list { display: grid; gap: 10px; }
.qa { background: var(--surface); border: var(--border-width) solid var(--border); border-radius: var(--radius-card); transition: border-color .2s ease, box-shadow .3s ease; }
.qa:hover, .qa[open] { border-color: var(--accent); }
.qa summary { position: relative; display: block; padding: 18px 56px 18px 24px; font-family: var(--font-heading, inherit); font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(45deg); transition: transform .25s ease; }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-card); }
.qa p { margin: 0; padding: 0 24px 20px; color: var(--text-2); }


/* ---------- Feature tabs, big-screen pair ---------- */

.feature-tabs { display: flex; gap: 10px; margin: 0 -20px 40px; padding: 4px 20px 8px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 768px) { .feature-tabs { justify-content: center; flex-wrap: wrap; overflow: visible; margin: 0 0 48px; padding: 0; } }
.feature-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; font: 700 1rem var(--font-heading); color: var(--text); background: var(--surface); border: var(--border-width) solid var(--border); border-radius: 20px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.feature-tab .icon { width: 20px; height: 20px; }
.feature-tab:hover { border-color: var(--accent); }
.feature-tab[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.feature-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.feature-panels [role="tabpanel"][hidden] { display: none; }
.feature-panels [role="tabpanel"] { animation: tabin .35s ease both; }
@keyframes tabin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feature-panels [role="tabpanel"] { animation: none; } }

.big-shots { display: grid; gap: 32px; }
@media (min-width: 992px) { .big-shots { grid-template-columns: 1fr 1fr; } }
.big-shot { margin: 0; }
.big-shot figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 700 1.0625rem var(--font-heading); }
.big-shot figcaption .tile { margin: 0; width: 40px; height: 40px; flex: none; }
