/* Vitare design system — self-contained.
   Tokens mirror account.vitaregame.com so both properties match. */

@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('../fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Luckiest Guy';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/luckiest-guy-latin.woff2') format('woff2');
}

:root {
	--blue: #38b6ff;
	--blue-dark: #1a9de8;
	--ink: #0a1834;
	--muted: #5a6b80;
	--soft: #eaf6ff;
	--border: #c8e4f4;
	--white: #ffffff;
	--sun: #ffb454;
	--success: #1aa078;
	--danger: #d63a5b;
	--warning: #d49000;

	--radius-card: 14px;
	--radius-pill: 999px;
	--shadow-soft: 0 4px 20px rgba(56, 182, 255, 0.08);
	--shadow-cta: 0 7px 22px rgba(56, 182, 255, 0.40);
	--content: 760px;
	--wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
body {
	font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout ---- */
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.content { max-width: var(--content); margin-left: auto; margin-right: auto; }
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* ---- Headings ---- */
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 900; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.muted { color: var(--muted); }

/* Display font — wordmark, hero headline, section stamps */
.display {
	font-family: 'Luckiest Guy', 'Nunito', sans-serif;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 1.05;
}

/* ---- Buttons ---- */
.btn, .btn-ghost {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 16px;
	padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
	cursor: pointer; border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn { background: var(--blue); color: var(--white); box-shadow: 0 6px 20px rgba(56, 182, 255, 0.35); }
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-cta); text-decoration: none; }
.btn-ghost { background: var(--white); color: var(--blue-dark); border-color: var(--border); }
.btn-ghost:hover { background: var(--soft); border-color: var(--blue); text-decoration: none; }

/* ---- Header ---- */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 12px rgba(56, 182, 255, 0.06);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.brand-logo { display: block; width: auto; }
.site-header .brand { font-family: 'Luckiest Guy', sans-serif; font-size: 24px; color: var(--blue); letter-spacing: 0.5px; }
.site-header .brand img { height: 36px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-weight: 700; font-size: 15px; }
.site-nav a:hover { color: var(--blue-dark); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,24,52,0.55) 0%, rgba(10,24,52,0.15) 55%, transparent 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4rem; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.hero__col { max-width: 560px; }
.hero h1, .hero h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4rem); margin: 0; }
.hero--on-image, .hero--on-image h1, .hero--on-image h2, .hero--on-image p { color: var(--white); }
.hero__lede { font-size: 18px; margin: 0.75rem 0 1.5rem; }
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero__character { position: absolute; right: max(1.25rem, calc((100% - var(--wide)) / 2 + 1.25rem)); bottom: 0; height: 96%; max-height: 600px; max-width: 42%; object-fit: contain; object-position: bottom right; z-index: 2; pointer-events: none; }
.hero .eyebrow { display: block; margin-top: 0.25rem; }

/* ---- Section background variants (modular blocks) ---- */
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: #c7d6e6; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #ffffff; }
.section--ink a { color: var(--blue); }

/* ---- Online badge (ports accounts-app behaviour) ---- */
.online-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; margin-bottom: 1rem;
	background: var(--white); border: 1px solid var(--border);
	border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: var(--ink);
}
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }

/* ---- Feature grid / cards ---- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 1.5rem; }
.card h3 { font-size: 19px; margin-bottom: 0.4rem; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---- Prose (blog posts, legal pages) ---- */
.prose { max-width: var(--content); }
.prose h2 { margin: 2rem 0 0.75rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose img { border-radius: var(--radius-card); margin: 1.5rem 0; }
.prose table, .rich table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: 14px; }
.prose th, .prose td, .rich th, .rich td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; word-break: break-word; }
.prose thead th, .rich thead th { background: var(--soft); font-weight: 800; color: var(--ink); }
.prose tbody tr:nth-child(even), .rich tbody tr:nth-child(even) { background: rgba(234,246,255,0.4); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #9fb3c8; padding: 4rem 0 2.5rem; }
.site-footer .brand { font-family: 'Luckiest Guy', sans-serif; font-size: 24px; color: var(--blue); letter-spacing: 0.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.site-footer h4 { color: #9fb3c8; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; margin-bottom: 0.75rem; }
.site-footer a { color: #c7d6e6; font-size: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer .copyright { text-align: center; color: #6b7e94; font-size: 13px; margin-top: 2.5rem; }

/* ---- Interior page banner ---- */
.page-banner { background: var(--soft); padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.page-banner h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3rem); }
.page-banner .subtitle { color: var(--muted); font-size: 18px; margin-top: 0.5rem; max-width: 640px; }

/* ---- Large button ---- */
.btn-lg { padding: 1.1rem 2.2rem; font-size: 18px; }

/* ---- Download ---- */
.download-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 2rem; text-align: center; max-width: 560px; margin: 0 auto; }
.download-meta { color: var(--muted); font-size: 14px; margin-top: 0.75rem; }
.download-note { color: var(--muted); font-size: 13px; margin-top: 0.5rem; }
.download-alt { margin-top: 1rem; font-size: 14px; }
.download-alt a { margin: 0 0.5rem; }

/* ---- System requirements ---- */
.sysreq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.sysreq .col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.sysreq h3 { margin-bottom: 0.75rem; }
.sysreq dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 14px; margin: 0; }
.sysreq dt { color: var(--muted); font-weight: 700; }
.sysreq dd { color: var(--ink); }

/* ---- FAQ accordion ---- */
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 0 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; font-weight: 800; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details > p { padding-bottom: 1.1rem; margin: 0; color: var(--muted); }

/* ---- Feature cards grid (wider text) ---- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }

/* ---- Screenshot grid ---- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.shots img { border-radius: var(--radius-card); box-shadow: var(--shadow-soft); width: 100%; }

/* ---- Link cards (community) ---- */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.link-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 1.5rem; transition: transform 0.15s ease, border-color 0.15s ease; }
.link-card:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); }
.link-card h3 { margin-bottom: 0.3rem; }
.link-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Rich landing components ===== */

/* Eyebrow label + centred section header */
.eyebrow { display: inline-block; font-family: 'Luckiest Guy', sans-serif; color: var(--blue); letter-spacing: 1px; font-size: 14px; margin-bottom: 0.5rem; }
.section--ink .eyebrow { color: var(--sun); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.sec-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section--ink .sec-head p { color: #9fb3c8; }

/* Pillars — vibrant feature blocks */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.pillar { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(56, 182, 255, 0.20); }
.pillar .num { font-family: 'Luckiest Guy', sans-serif; font-size: 42px; color: var(--soft); line-height: 1; position: absolute; top: 0.8rem; right: 1.2rem; }
.pillar .chip { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); margin-bottom: 1rem; box-shadow: 0 6px 16px rgba(56,182,255,0.35); }
.pillar:nth-child(2) .chip { background: linear-gradient(135deg, #ffb454, #f59e0b); box-shadow: 0 6px 16px rgba(245,158,11,0.35); }
.pillar:nth-child(3) .chip { background: linear-gradient(135deg, #5dd6a8, #1aa078); box-shadow: 0 6px 16px rgba(26,160,120,0.35); }
.pillar:nth-child(4) .chip { background: linear-gradient(135deg, #8b9cff, #5865F2); box-shadow: 0 6px 16px rgba(88,101,242,0.35); }
.pillar h3 { font-size: 20px; margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); font-size: 14px; margin: 0; }

/* Showcase rows — big image + text */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.showcase + .showcase { margin-top: 4rem; }
.showcase.reverse .showcase__media { order: 2; }
.showcase__media { position: relative; }
.showcase__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center center; border-radius: 20px; box-shadow: 0 24px 54px rgba(10, 24, 52, 0.20); position: relative; z-index: 1; display: block; }
.showcase__media::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: 24px; background: var(--soft); z-index: 0; }
.showcase.reverse .showcase__media::before { inset: 18px 18px -14px -14px; }
.showcase__body .eyebrow { margin-bottom: 0.25rem; }
.showcase__body h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); margin-bottom: 0.6rem; }
.showcase__body p { color: var(--muted); font-size: 17px; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-item .num { font-family: 'Luckiest Guy', sans-serif; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.2rem); color: #ffffff; line-height: 1; }
.stat-item .label { color: #9fb3c8; font-size: 14px; margin-top: 0.3rem; }

/* Big gradient CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #ffffff; border-radius: 24px; padding: 3.5rem 2rem; text-align: center; box-shadow: 0 24px 54px rgba(56, 182, 255, 0.30); }
.cta-band h2 { color: #ffffff; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, 0.92); font-size: 18px; margin: 0.5rem 0 1.5rem; }
.cta-band .btn { background: #ffffff; color: var(--blue-dark); box-shadow: 0 8px 22px rgba(10,24,52,0.18); }
.cta-band .btn:hover { background: var(--ink); color: #ffffff; }

/* Large gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.gallery img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-soft); display: block; }

/* Colourful community cards */
.com-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.com-card { display: block; border-radius: 20px; padding: 2rem; color: #ffffff; min-height: 150px; position: relative; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.2s ease; box-shadow: 0 10px 26px rgba(10,24,52,0.12); }
.com-card:hover { transform: translateY(-4px); text-decoration: none; box-shadow: 0 16px 36px rgba(10,24,52,0.20); }
.com-card h3 { color: #ffffff; font-size: 22px; margin-bottom: 0.3rem; }
.com-card p { color: rgba(255, 255, 255, 0.88); font-size: 14px; margin: 0; }
.com-card .arrow { position: absolute; right: 1.5rem; bottom: 1.3rem; font-size: 20px; opacity: 0.8; }
.com-card--discord { background: linear-gradient(135deg, #5865F2, #404EED); }
.com-card--blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.com-card--sun { background: linear-gradient(135deg, #ffb454, #f59e0b); }
.com-card--green { background: linear-gradient(135deg, #5dd6a8, #1aa078); }
.com-card--ink { background: linear-gradient(135deg, #243a63, var(--ink)); }

/* ===== Live lots showcase (Community) ===== */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.75rem; }
.filter-pill { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.filter-pill:hover { border-color: var(--blue); }
.filter-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.lot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.lot-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.lot-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(56,182,255,0.18); }
.lot-card .thumb { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--soft); }
.lot-card .meta { padding: 0.85rem 1rem 1rem; }
.lot-card .name { font-weight: 800; font-size: 15px; color: var(--ink); }
.lot-card .owner { color: var(--muted); font-size: 13px; }
.lot-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0.7rem 0 0 0.7rem; }
.lot-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lot-badge.populated { background: rgba(26,160,120,0.12); color: var(--success); }
.lot-badge.hot { background: rgba(214,58,91,0.12); color: var(--danger); }
.lot-badge.ranked { background: rgba(56,182,255,0.14); color: var(--blue-dark); }

/* Persona of the month */
.persona { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-soft); }
.persona img { width: 100%; border-radius: 14px; display: block; }
.persona h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); margin-bottom: 0.5rem; }
.persona p { color: var(--muted); font-size: 16px; margin: 0; }

/* Icon/emoji inside the pillar chip */
.pillar .chip { display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; color: #fff; }

/* Banner with optional background image (interior page hero) */
.page-banner.has-image { position: relative; overflow: hidden; border-bottom: none; padding: 4.5rem 0; }
.page-banner.has-image .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-banner.has-image .banner-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,24,52,0.65) 0%, rgba(10,24,52,0.25) 70%, transparent 100%); }
.page-banner.has-image .wrap { position: relative; z-index: 2; }
.page-banner.has-image h1, .page-banner.has-image .subtitle { color: #fff; }

/* Responsive video embed */
.video-embed { position: relative; padding-top: 56.25%; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 54px rgba(10,24,52,0.20); }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* News grid / gallery */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.15s ease, box-shadow 0.2s ease; color: inherit; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(56,182,255,0.18); text-decoration: none; }
.news-card .thumb { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: var(--soft); }
.news-card .body { padding: 1.1rem 1.25rem 1.35rem; }
.news-card .date { color: var(--muted); font-size: 13px; margin-bottom: 0.3rem; }
.news-card h3 { font-size: 18px; margin-bottom: 0.4rem; }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* News pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.pager__num, .pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; }
.pager__num:hover, .pager__btn:hover { border-color: var(--blue); text-decoration: none; }
.pager__num.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Mobile menu (CSS-only) */
.nav-toggle { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #fff; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; }

@media (max-width: 920px) {
	.hero__character { display: none; }
	.site-header .bar { flex-wrap: wrap; }
	.nav-burger { display: flex; }
	.nav-wrap { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding-top: 1rem; }
	.nav-toggle:checked ~ .nav-wrap { display: flex; }
	.site-nav { flex-direction: column; align-items: flex-start; gap: 0.85rem; width: 100%; }
	.header-cta { width: 100%; gap: 0.75rem; }
	.header-cta .btn, .header-cta .btn-ghost { flex: 1; justify-content: center; }
}

/* ===== Rich text (markdown-rendered content boxes) ===== */
.rich > :last-child { margin-bottom: 0; }
.rich p { margin-bottom: 0.8rem; }
.rich ul, .rich ol { margin: 0 0 0.8rem 1.25rem; }
.rich li { margin-bottom: 0.25rem; }
.rich a { color: var(--blue-dark); }
.rich code { background: var(--soft); padding: 2px 7px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.rich pre { background: var(--ink); color: #eaf6ff; padding: 1rem 1.1rem; border-radius: 12px; overflow-x: auto; margin: 0 0 0.9rem; }
.rich pre code { background: none; color: inherit; padding: 0; }
.hero--on-image .rich a, .section--ink .rich a { color: #fff; text-decoration: underline; }

/* ===== Stylised OS download buttons ===== */
.os-detect { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 1.25rem; }
.os-detect strong { color: var(--blue-dark); }
.os-downloads { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.os-btn { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1.4rem 1.8rem; border-radius: 18px; color: #fff; cursor: pointer; border: none; width: 100%; max-width: 460px; transition: transform 0.15s ease, box-shadow 0.2s ease; font-family: 'Nunito', sans-serif; }
.os-btn[hidden] { display: none; }
.os-btn:hover { transform: translateY(-3px); text-decoration: none; }
.os-btn svg { width: 40px; height: 40px; flex-shrink: 0; fill: #fff; }
.os-btn .small { font-size: 14px; opacity: 0.85; line-height: 1; }
.os-btn .big { font-size: 21px; font-weight: 800; line-height: 1.15; }
.os-btn .note { font-size: 12.5px; opacity: 0.8; margin-top: 2px; }
.os-btn--win { background: var(--ink); box-shadow: 0 14px 30px rgba(10,24,52,0.28); }
.os-btn--win:hover { box-shadow: 0 18px 38px rgba(10,24,52,0.38); }
.os-btn--mac { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 14px 30px rgba(56,182,255,0.40); }
.os-btn--mac:hover { box-shadow: 0 18px 40px rgba(56,182,255,0.50); }
.os-btn.is-detected { outline: 3px solid rgba(56,182,255,0.5); outline-offset: 3px; }
.os-alt { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.25rem; font-size: 14px; }
.os-alt a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 700; cursor: pointer; }
.os-alt a:hover { color: var(--blue-dark); text-decoration: none; }
.os-alt svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,24,52,0.6); }
.modal__box { position: relative; z-index: 1; background: #fff; border-radius: 20px; width: 100%; max-width: 540px; max-height: 86vh; overflow-y: auto; padding: 2rem 2rem 2.25rem; box-shadow: 0 30px 70px rgba(10,24,52,0.4); }
.modal__box h2 { font-size: 24px; margin-bottom: 1rem; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.modal__close:hover { background: var(--soft); color: var(--ink); }
.modal__actions { margin-top: 1.5rem; }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1100; max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 44px rgba(10,24,52,0.25); padding: 1.1rem 1.3rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cookie-banner__text { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.cookie-banner__text a { color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-banner__actions .btn, .cookie-banner__actions .btn-ghost { padding: 0.6rem 1.5rem; font-size: 14px; cursor: pointer; box-shadow: none; }

@media (max-width: 781px) {
	.wrap { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
	.site-footer .cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.hero__scrim { background: linear-gradient(180deg, rgba(10,24,52,0.5), rgba(10,24,52,0.2)); }
	.hero__inner { padding-top: 2.5rem; padding-bottom: 2.5rem; min-height: 380px; }
	.sysreq { grid-template-columns: 1fr; }
	.showcase { grid-template-columns: 1fr; gap: 1.5rem; }
	.showcase.reverse .showcase__media { order: 0; }
	.showcase__media::before { display: none; }
	.persona { grid-template-columns: 1fr; }
	.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
	.cta-band { padding: 2.5rem 1.25rem; }
	.os-downloads { grid-template-columns: 1fr; }
}
