/*
Theme Name: Disckreet
Theme URI: https://disckreet.com/
Author: Antovate
Author URI: https://disckreet.com/
Description: Lightweight block theme for disckreet.com. Six pages, no plugins, no third-party fonts or scripts. Built from the approved design. 1.1.0 added Appearance → Disckreet setup, which replaces the six pages' content with the design and can put it back. 1.2.0 turned on the Smart App Banner. 1.3.0 refuses to point the front page at an unpublished page. 1.4.0 defers head metadata to an SEO plugin when one is active.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: disckreet
Tags: full-site-editing, block-patterns, one-column, custom-colors, custom-menu
*/

/* ==========================================================================
   1. TOKENS
   Ported verbatim from design/handoff/tokens/. Property names are unchanged
   so the design files and this theme stay diff-able. Light is the default.
   ========================================================================== */

:root {
	/* -- Surfaces -- */
	--bg: #F7F5FB;
	/* --bg at 96%, for the sticky legal anchor bar. */
	--bg-translucent: rgba(247, 245, 251, 0.96);
	--surface: #FFFFFF;
	--elev: #F1EEF7;

	/* -- Ink --
	   --sub is the secondary text colour: sub-labels, captions, overlines,
	   meta lines. It clears AA on bg and surface.
	   --faint is TERTIARY ONLY: input placeholders and hint text. At 2.73:1
	   on --bg it fails AA — never use it for copy. */
	--ink: #1A1726;
	--sub: #6E6878;
	--faint: #9A93A8;

	/* -- Lines -- */
	--hair: #ECE8F2;
	--hair2: #F1EEF7;

	/* -- Accent -- */
	--accent: #8E4FD0;
	--accent-soft: #F1EAFB;
	--accent-border: #E4D8F0;

	/* -- Chat -- */
	--bubble-in: #EFEBF6;
	--bubble-in-ink: #3A3448;

	/* -- Locked media -- */
	--lock-bg: #EDE7F6;
	--lock-ink: #9A8FB8;

	/* -- Danger -- */
	--danger: #C2376E;
	--danger-soft: #FBEAF1;
	--danger-strong: #F7D9E6;
	--danger-strong-ink: #9E1E50;

	/* -- Controls -- */
	--toggle-off: #E2DCEC;
	--scrim: rgba(26, 16, 40, 0.42);

	/* -- Fixed, never theme-dependent -- */
	--on-brand: #FFFFFF;
	--presence-online: #34D399;
	--presence-away: #E8A534;
	--presence-offline: #6E6878;

	/* -- Gradients -- */
	--grad: linear-gradient(135deg, #B57BEE, #FF6FB0);
	--hero-grad: linear-gradient(155deg, #8E4FD0, #C264C9 50%, #FF8FC4);
	--avatar-grad: linear-gradient(135deg, #8E4FD0, #C264C9);
	--media-grad: linear-gradient(150deg, #8E4FD0, #C264C9 70%, #FF8FC4);
	--code-grad: linear-gradient(135deg, #8E4FD0, #E0559E);

	/* Full-bleed band behind white copy. The hero gradient's pink end only
	   reaches 2.1:1 against white, so web bands use this deepened range plus
	   a scrim — every stop clears 4.5:1. Identical in both themes. */
	--band-grad:
		linear-gradient(rgba(26, 16, 40, 0.28), rgba(26, 16, 40, 0.28)),
		linear-gradient(155deg, #3A1F52, #7E3AA8 48%, #C85FC6);

	/* Copy colours that only ever sit on --band-grad. */
	--on-band: #FFFFFF;
	--on-band-sub: #F0E7F8;
	--on-band-meta: #EDE3F6;
	--on-band-hair: rgba(255, 255, 255, 0.22);

	/* -- Type -- */
	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--font-ui: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

	--weight-regular: 400;
	--weight-semibold: 600;
	--weight-bold: 700;
	--weight-extrabold: 800;

	--text-hero: 38px;
	--text-hero-tracking: -0.8px;
	--text-hero-leading: 0.98;

	--text-display-md: 32px;
	--text-display-sm: 28px;
	--text-headline-lg: 30px;
	--text-headline-md: 25px;
	--text-title-screen: 24px;
	--text-title-sheet: 20px;
	--text-display-tracking: -0.4px;

	--text-wordmark: 19px;
	--text-wordmark-tracking: 2px;

	--text-title-lg: 22px;
	--text-button: 16px;
	--text-title-md: 16px;
	--text-body-lg: 15px;
	--text-row-label: 14.5px;
	--text-body: 14px;
	--text-secondary: 12.5px;
	--text-caption: 12px;
	--text-overline: 11px;
	--text-overline-tracking: 1px;
	--text-badge: 10px;

	--leading-body: 1.55;

	--text-web-hero: clamp(38px, 6.2vw, 76px);
	--text-web-section: clamp(28px, 3.4vw, 44px);
	--text-web-lede: clamp(17px, 1.5vw, 21px);

	/* The Home design sets the hero at 44px on a 390 viewport and 76px at
	   1440, and section headings at 30/48. The shared tokens above floor at
	   38 and cap at 44, so the page-level sizes below carry the design's own
	   numbers. Both are kept: the tokens stay portable, the pages match. */
	--dk-hero-size: clamp(44px, 6.2vw, 76px);
	--dk-section-size: clamp(30px, 3.4vw, 48px);

	/* -- Spacing, radius, sizing -- */
	--space-xxs: 2px;
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 12px;
	--space-lg: 16px;
	--space-xl: 24px;
	--space-xxl: 32px;
	--space-xxxl: 48px;

	--radius-xs: 4px;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-control: 14px;
	--radius-lg: 16px;
	--radius-card: 20px;
	--radius-xl: 24px;
	--radius-sheet: 26px;
	--radius-hero: 28px;
	--radius-tile: 32px;
	--radius-full: 999px;

	--icon-sm: 16px;
	--icon-md: 20px;
	--icon-lg: 24px;
	--icon-xl: 32px;
	--icon-stroke: 1.8;

	--control-primary-h: 54px;
	--control-secondary-h: 50px;
	--input-h: 52px;
	--tap-min: 44px;
	--switch-w: 46px;
	--switch-h: 28px;
	--switch-knob: 24px;

	--screen-pad: 28px;
	--screen-pad-tight: 24px;
	--row-pad: 16px;
	--card-pad: 18px;

	--page-max: 1140px;
	--page-gutter: clamp(20px, 5vw, 64px);
	--section-y: clamp(64px, 9vw, 128px);

	/* The designs lay out on a 1200px container with a 24px (mobile) /
	   40px (desktop) gutter. Kept separate from --page-gutter so the token
	   above stays as authored. */
	--dk-container: 1200px;
	--dk-gutter: 24px;
	--dk-section-y: 48px;

	/* -- Effects -- */
	--glow-accent: 0 8px 22px rgba(181, 123, 238, 0.30);
	--shadow-card: 0 1px 3px rgba(60, 30, 90, 0.06);
	--shadow-phone: 0 20px 56px rgba(120, 60, 180, 0.22);
	--shadow-sheet: 0 -8px 40px rgba(26, 16, 40, 0.12);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur-fast: 150ms;
	--dur: 250ms;
	--dur-slow: 300ms;
	--press-scale: 0.975;
}

@media (min-width: 900px) {
	:root {
		--dk-gutter: 40px;
		--dk-section-y: 96px;
	}
}

/* Dark is a supported preference, not the brand's face. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #16151E;
		--bg-translucent: rgba(22, 21, 30, 0.96);
		--surface: #201E2A;
		--elev: #15141C;

		--ink: #F3F1F7;
		--sub: #9D96AD;
		--faint: #7C7589;

		--hair: #2A2833;
		--hair2: #2A2833;

		--accent: #C99BF2;
		--accent-soft: #2E2440;
		--accent-border: #4A3A60;

		--bubble-in: #252330;
		--bubble-in-ink: #D8D4E2;

		--lock-bg: #221F2C;
		--lock-ink: #8A7FB0;

		--danger: #FF7DB4;
		--danger-soft: #2E1A24;
		--danger-strong: #3A2230;
		--danger-strong-ink: #FFA9CC;

		--toggle-off: #3A3747;
		--scrim: rgba(0, 0, 0, 0.55);

		--hero-grad: linear-gradient(155deg, #3A1F52, #7E3AA8 48%, #C85FC6);
		--avatar-grad: linear-gradient(135deg, #7E3AA8, #C85FC6);
		--media-grad: linear-gradient(150deg, #7E3AA8, #C85FC6 70%, #FF8FC4);
		--code-grad: linear-gradient(135deg, #C99BF2, #FF8FC4);

		--glow-accent: 0 8px 22px rgba(181, 123, 238, 0.40);
		--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.30);
		--shadow-phone: 0 20px 56px rgba(0, 0, 0, 0.55);
		--shadow-sheet: 0 -8px 40px rgba(0, 0, 0, 0.45);
	}
}

:root[data-theme="dark"] {
	--bg: #16151E;
	--bg-translucent: rgba(22, 21, 30, 0.96);
	--surface: #201E2A;
	--elev: #15141C;

	--ink: #F3F1F7;
	--sub: #9D96AD;
	--faint: #7C7589;

	--hair: #2A2833;
	--hair2: #2A2833;

	--accent: #C99BF2;
	--accent-soft: #2E2440;
	--accent-border: #4A3A60;

	--bubble-in: #252330;
	--bubble-in-ink: #D8D4E2;

	--lock-bg: #221F2C;
	--lock-ink: #8A7FB0;

	--danger: #FF7DB4;
	--danger-soft: #2E1A24;
	--danger-strong: #3A2230;
	--danger-strong-ink: #FFA9CC;

	--toggle-off: #3A3747;
	--scrim: rgba(0, 0, 0, 0.55);

	--hero-grad: linear-gradient(155deg, #3A1F52, #7E3AA8 48%, #C85FC6);
	--avatar-grad: linear-gradient(135deg, #7E3AA8, #C85FC6);
	--media-grad: linear-gradient(150deg, #7E3AA8, #C85FC6 70%, #FF8FC4);
	--code-grad: linear-gradient(135deg, #C99BF2, #FF8FC4);

	--glow-accent: 0 8px 22px rgba(181, 123, 238, 0.40);
	--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.30);
	--shadow-phone: 0 20px 56px rgba(0, 0, 0, 0.55);
	--shadow-sheet: 0 -8px 40px rgba(0, 0, 0, 0.45);
}

/* Motion never exceeds 300ms and always honours the preference. */
@media (prefers-reduced-motion: reduce) {
	:root {
		--dur-fast: 0ms;
		--dur: 0ms;
		--dur-slow: 0ms;
		--press-scale: 1;
	}
}

/* ==========================================================================
   2. KEYFRAMES
   ========================================================================== */

@keyframes dk-spin { to { transform: rotate(360deg); } }

@keyframes dk-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(5px); }
	60% { transform: translateX(-3px); }
	80% { transform: translateX(2px); }
}

@keyframes dk-fadeup {
	from { transform: translateY(16px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes dk-pop {
	0% { transform: scale(0.82); opacity: 0; }
	60% { transform: scale(1.04); opacity: 1; }
	100% { transform: scale(1); }
}

/* ==========================================================================
   3. BASE
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: var(--text-body-lg);
	line-height: var(--leading-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

body.dk-menu-open { overflow: hidden; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	letter-spacing: var(--text-display-tracking);
	margin: 0;
	text-wrap: pretty;
}

p { margin: 0; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: var(--radius-xs);
}

/* White copy on a band needs a focus ring that reads against the band. */
.dk-band a:focus-visible,
.dk-band button:focus-visible {
	outline-color: var(--on-brand);
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.dk-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.dk-skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-lg);
	z-index: 100;
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	padding: 0 var(--space-lg);
	border-radius: var(--radius-control);
	background: var(--surface);
	color: var(--ink);
	font-weight: var(--weight-bold);
	box-shadow: var(--shadow-card);
}
.dk-skip-link:focus { top: var(--space-md); text-decoration: none; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.dk-wrap {
	max-width: var(--dk-container);
	margin-inline: auto;
	padding-inline: var(--dk-gutter);
}

.dk-band {
	background: var(--band-grad);
	color: var(--on-band);
}
.dk-band h1, .dk-band h2, .dk-band h3 { color: var(--on-band); }

.dk-section { padding-block: var(--dk-section-y) 0; }
.dk-section--tight { padding-block: 36px 0; }

.dk-overline {
	font-size: var(--text-overline);
	font-weight: var(--weight-bold);
	letter-spacing: var(--text-overline-tracking);
	text-transform: uppercase;
	color: var(--sub);
}
.dk-band .dk-overline { color: var(--on-band); opacity: 0.9; }

@media (min-width: 900px) {
	.dk-overline { font-size: 12px; letter-spacing: 1.2px; }
}

.dk-h2 {
	font-size: var(--dk-section-size);
	font-weight: var(--weight-extrabold);
	line-height: 1.08;
	letter-spacing: -0.6px;
}
@media (min-width: 900px) {
	.dk-h2 { line-height: 1.06; letter-spacing: -1.2px; }
}

.dk-lede {
	font-size: 16px;
	line-height: 1.55;
	color: var(--sub);
}
.dk-band .dk-lede { color: var(--on-band-sub); }

@media (min-width: 900px) {
	.dk-lede { font-size: 19px; line-height: 1.6; max-width: 560px; }
	.dk-band .dk-lede { font-size: 20px; line-height: 1.55; max-width: 720px; }
}

/* ==========================================================================
   5. HEADER + NAVIGATION
   ========================================================================== */

.dk-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
	padding: 14px 0;
}

.dk-wordmark { display: block; width: 104px; height: auto; }
/* One asset, recoloured per placement — matches the design's CSS filters. */
.dk-wordmark--on-band { filter: brightness(0) invert(1); }
.dk-wordmark--on-surface { filter: brightness(0); }
:root[data-theme="dark"] .dk-wordmark--on-surface,
:root[data-theme="dark"] .dk-wordmark--on-band { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dk-wordmark--on-surface { filter: brightness(0) invert(1); }
}

.dk-header__actions { display: flex; align-items: center; gap: 10px; }

/* Ghost pill on the band — mobile only. */
.dk-pill {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	padding: 0 14px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--on-brand);
	font-size: 13px;
	font-weight: var(--weight-bold);
	transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.dk-pill:hover { text-decoration: none; border-color: var(--on-brand); }

.dk-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tap-min);
	height: var(--tap-min);
	padding: 0;
	border: none;
	background: none;
	color: var(--on-brand);
	cursor: pointer;
}

.dk-nav-desktop { display: none; }

@media (min-width: 900px) {
	.dk-header { padding: 26px 0; }
	.dk-wordmark { width: 128px; }
	.dk-header__actions { display: none; }

	.dk-nav-desktop {
		display: flex;
		align-items: center;
		gap: 32px;
	}
	.dk-nav-desktop a {
		color: var(--on-brand);
		font-size: 15px;
		font-weight: var(--weight-semibold);
		transition: opacity var(--dur) var(--ease);
	}
	.dk-nav-desktop a:hover { opacity: 0.78; text-decoration: none; }
	.dk-nav-desktop a[aria-current="page"] { font-weight: var(--weight-bold); }

	/* Solid white CTA — the one desktop nav element that is not a plain link. */
	.dk-nav-desktop .dk-btn-invert {
		display: inline-flex;
		align-items: center;
		height: var(--tap-min);
		padding: 0 20px;
		border-radius: var(--radius-control);
		background: var(--on-brand);
		color: #2B1440;
		font-size: 15px;
		font-weight: var(--weight-bold);
	}
	.dk-nav-desktop .dk-btn-invert:hover { opacity: 0.9; }
}

/* The Home hero pulls the band up behind a translucent header strip. */
@media (max-width: 899px) {
	.dk-hero--home .dk-header { background: rgba(26, 16, 40, 0.18); }
	.dk-hero--home .dk-header > .dk-wrap { width: 100%; }
}

/* ==========================================================================
   6. MOBILE MENU SHEET
   ========================================================================== */

.dk-sheet {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: none;
}
.dk-sheet[data-open="true"] { display: block; }
@media (min-width: 900px) {
	.dk-sheet, .dk-sheet[data-open="true"] { display: none; }
}

.dk-sheet__scrim {
	position: absolute;
	inset: 0;
	background: var(--scrim);
	border: none;
	padding: 0;
	width: 100%;
	cursor: pointer;
}

.dk-sheet__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	animation: dk-fadeup var(--dur) ease-out;
}

.dk-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--hair);
}

.dk-sheet__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tap-min);
	height: var(--tap-min);
	border: none;
	background: none;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	color: var(--ink);
}

.dk-sheet__links {
	flex: 1;
	padding: 12px 24px;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.dk-sheet__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	padding: 8px 0;
	border-bottom: 1px solid var(--hair);
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: 26px;
	letter-spacing: -0.5px;
	color: var(--ink);
}
.dk-sheet__links a:hover { text-decoration: none; }
.dk-sheet__links a[aria-current="page"] { color: var(--accent); }

.dk-sheet__foot {
	padding: 20px 24px 28px;
	border-top: 1px solid var(--hair);
}
.dk-sheet__foot .dk-btn-primary { width: 100%; }
.dk-sheet__foot .dk-mailto {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tap-min);
	font-size: var(--text-row-label);
	font-weight: var(--weight-semibold);
}

/* ==========================================================================
   7. BUTTONS AND LINKS
   Depth is borders, not shadows. Only the primary button floats.
   Hover is opacity and border-colour only — never a lift or a scale-up.
   ========================================================================== */

.dk-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--control-primary-h);
	padding: 0 24px;
	border: none;
	border-radius: var(--radius-control);
	background: var(--grad);
	color: var(--on-brand);
	font-family: var(--font-ui);
	font-size: var(--text-button);
	font-weight: var(--weight-bold);
	box-shadow: var(--glow-accent);
	cursor: pointer;
	transition: opacity var(--dur) var(--ease);
}
.dk-btn-primary:hover { opacity: 0.92; text-decoration: none; }

.dk-badge-link { display: inline-block; line-height: 0; }
.dk-badge { height: 54px; width: auto; display: block; }
@media (min-width: 900px) { .dk-badge { height: 60px; } }

.dk-textlink {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	font-size: 15px;
	font-weight: var(--weight-bold);
}
@media (min-width: 900px) { .dk-textlink { font-size: 17px; } }

.dk-textlink--band {
	gap: 8px;
	color: var(--on-brand);
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.dk-textlink--band:hover { text-decoration: none; opacity: 0.85; }

.dk-mailto { font-weight: var(--weight-semibold); }

/* ==========================================================================
   8. CARDS
   ========================================================================== */

.dk-card {
	background: var(--surface);
	border: 1px solid var(--hair);
	border-radius: var(--radius-card);
	padding: 22px 20px;
	box-shadow: var(--shadow-card);
	transition: border-color var(--dur) var(--ease);
}
.dk-card:hover { border-color: var(--accent-border); }

@media (min-width: 900px) {
	.dk-card { padding: 34px 30px; }
}

.dk-card__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-control);
	background: var(--accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
}
.dk-card__title {
	margin-top: var(--space-lg);
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: var(--text-title-lg);
	letter-spacing: -0.4px;
	color: var(--ink);
}
.dk-card__body {
	margin-top: var(--space-sm);
	font-size: var(--text-body-lg);
	line-height: 1.55;
	color: var(--sub);
}

@media (min-width: 900px) {
	.dk-card__icon { width: 56px; height: 56px; border-radius: 18px; }
	.dk-card__title { margin-top: 22px; font-size: 27px; letter-spacing: -0.6px; }
	.dk-card__body { margin-top: var(--space-md); font-size: 17px; line-height: 1.6; }
}

/* ==========================================================================
   9. PHONE FRAMES
   ========================================================================== */

.dk-phone {
	border-radius: 40px;
	background: #0F0D16;
	padding: 8px;
	box-shadow: 0 20px 48px rgba(60, 30, 90, 0.24);
}
.dk-phone__screen {
	position: relative;
	border-radius: 33px;
	overflow: hidden;
	background: #fff;
	/* True pixel ratio of the supplied screenshots. */
	aspect-ratio: 1206 / 2622;
}
.dk-phone__screen--call {
	background: #000;
	aspect-ratio: 851 / 1848;
}
.dk-phone__screen img { width: 100%; display: block; }

@media (min-width: 900px) {
	.dk-phone { border-radius: 50px; padding: 10px; box-shadow: 0 30px 70px rgba(60, 30, 90, 0.26); }
	.dk-phone__screen { border-radius: 41px; }
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.dk-footer {
	background: var(--elev);
	border-top: 1px solid var(--hair);
	padding-block: 36px 40px;
}
.dk-footer__tagline { margin-top: 10px; font-size: var(--text-body); color: var(--sub); }
.dk-footer__links {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}
.dk-footer__links a {
	font-size: var(--text-row-label);
	font-weight: var(--weight-semibold);
	min-height: var(--tap-min);
	display: inline-flex;
	align-items: center;
}
.dk-footer__legal {
	margin-top: var(--space-lg);
	font-size: var(--text-secondary);
	line-height: 1.7;
	color: var(--sub);
}

@media (min-width: 900px) {
	.dk-footer { padding-block: 44px; }
	.dk-footer__inner {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 40px;
	}
	.dk-footer__brand .dk-wordmark { width: 124px; }
	.dk-footer__tagline { margin-top: 12px; font-size: 15px; }
	.dk-footer__links { margin-top: 0; gap: 28px; }
	.dk-footer__links a { font-size: 15px; min-height: 0; }
	.dk-footer__legal { margin-top: 0; font-size: 13.5px; line-height: 1.8; text-align: right; }
}

/* Home keeps a stacked link column and the full legal block. */
@media (min-width: 900px) {
	.dk-footer--home { padding-block: 56px; }
	.dk-footer--home .dk-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 420px);
		gap: 48px;
		align-items: start;
	}
	.dk-footer--home .dk-footer__links {
		flex-direction: column;
		gap: 2px;
	}
	.dk-footer--home .dk-footer__links a { min-height: var(--tap-min); }
	.dk-footer--home .dk-footer__legal { text-align: left; }
}

/* Room for the sticky bar so it never covers the last footer line. */
@media (max-width: 899px) {
	.dk-footer--home { padding-bottom: 104px; }
}

/* ==========================================================================
   11. STICKY APP STORE BAR (home, mobile, after the hero scrolls out)
   ========================================================================== */

.dk-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	padding: 12px 16px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	background: color-mix(in srgb, var(--surface) 94%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--hair);
	display: flex;
	align-items: center;
	gap: 12px;
	transform: translateY(110%);
	transition: transform var(--dur) var(--ease);
}
.dk-sticky[data-visible="true"] { transform: translateY(0); }

@media (min-width: 900px) { .dk-sticky { display: none; } }

.dk-sticky__icon { border-radius: 10px; display: block; }
.dk-sticky__text { flex: 1; min-width: 0; }
.dk-sticky__name { font-size: 13.5px; font-weight: var(--weight-bold); color: var(--ink); }
.dk-sticky__meta { font-size: 11.5px; color: var(--sub); }
.dk-sticky .dk-btn-primary {
	height: var(--tap-min);
	padding: 0 18px;
	font-size: 15px;
}

/* ==========================================================================
   12. ANDROID NOTICE
   Replaces the App Store badge for Android user agents. Never a link.
   ========================================================================== */

.dk-android-note {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	padding: var(--space-md) var(--space-lg);
	border-radius: var(--radius-control);
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.12);
	color: var(--on-brand);
	font-size: var(--text-button);
	font-weight: var(--weight-semibold);
}
.dk-android-note--surface {
	border-color: var(--hair);
	background: var(--elev);
	color: var(--ink);
}

/* ==========================================================================
   13. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   14. HOME — HERO
   ========================================================================== */

[hidden] { display: none !important; }

.dk-main > * { margin-block: 0; }

.dk-hero { position: relative; overflow: hidden; }

.dk-hero__inner { padding-block: 30px 26px; }
.dk-hero--inner .dk-hero__inner { padding-block: 34px 40px; }

.dk-hero__title {
	margin-top: var(--space-md);
	font-size: var(--dk-hero-size);
	font-weight: var(--weight-extrabold);
	line-height: 1.02;
	letter-spacing: -0.8px;
	color: var(--on-band);
}

.dk-hero__sub {
	margin-top: var(--space-lg);
	font-size: 16px;
	line-height: 1.55;
	color: var(--on-band-sub);
}

@media (min-width: 900px) {
	.dk-hero__inner {
		padding-block: 36px 0;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
		gap: 56px;
		align-items: center;
	}
	.dk-hero--inner .dk-hero__inner {
		display: block;
		padding-block: 48px 0;
	}
	.dk-hero__title { margin-top: 18px; line-height: 1.0; letter-spacing: -2.2px; }
	.dk-hero--inner .dk-hero__title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -1.8px; max-width: 880px; }
	.dk-hero__sub { margin-top: var(--space-xl); max-width: 560px; font-size: 20px; }
	.dk-hero--inner .dk-hero__sub { margin-top: 22px; max-width: 720px; }
	.dk-hero { padding-bottom: 56px; }
	.dk-hero--inner { padding-bottom: 64px; }
}

/* Two rotated devices. Positions are percentages of the composite so the
   mobile and desktop compositions come from one set of rules. */
.dk-hero__devices {
	position: relative;
	margin: 26px -6px 0;
	aspect-ratio: 354 / 378;
}

.dk-hero__device { position: absolute; }
.dk-hero__device--back {
	right: 0;
	top: 9%;
	width: 44.6%;
	transform: rotate(5deg);
}
.dk-hero__device--front {
	left: 1.2%;
	top: 0;
	width: 49.7%;
	transform: rotate(-4deg);
}

.dk-hero__device .dk-phone {
	border-radius: 30px;
	padding: 7px;
	box-shadow: 0 18px 44px rgba(30, 8, 50, 0.42);
}
.dk-hero__device--front .dk-phone { box-shadow: 0 22px 50px rgba(30, 8, 50, 0.45); }
.dk-hero__device .dk-phone img {
	display: block;
	width: 100%;
	border-radius: 24px;
}
.dk-hero__device--front .dk-phone img { border-radius: 26px; }

@media (min-width: 900px) {
	.dk-hero__devices { margin: 0; aspect-ratio: 560 / 660; }
	.dk-hero__device--back { top: 11%; transform: rotate(5deg); }
	.dk-hero__device .dk-phone { border-radius: 44px; padding: 9px; box-shadow: 0 30px 70px rgba(30, 8, 50, 0.42); }
	.dk-hero__device .dk-phone img { border-radius: 36px; }
	.dk-hero__device--front .dk-phone { border-radius: 48px; padding: 10px; box-shadow: 0 36px 80px rgba(30, 8, 50, 0.48); }
	.dk-hero__device--front .dk-phone img { border-radius: 39px; }
}

/* ==========================================================================
   15. PRESS STRIP (reversed to white on the band)
   ========================================================================== */

.dk-presstrip {
	margin-top: var(--space-xl);
	padding-top: 20px;
	border-top: 1px solid var(--on-band-hair);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	align-items: center;
}
.dk-presstrip__logo {
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}
.dk-presstrip__logo--mtv { width: 58%; justify-self: center; }

@media (min-width: 900px) {
	.dk-presstrip {
		margin-top: 44px;
		padding-top: 26px;
		display: flex;
		gap: 56px;
	}
	.dk-presstrip__logo { width: auto; }
	.dk-presstrip__logo--marie-claire { height: 26px; }
	.dk-presstrip__logo--forbes { height: 30px; }
	.dk-presstrip__logo--mtv { height: 34px; width: auto; }
	.dk-presstrip__logo--refinery29 { height: 22px; }
}

/* ==========================================================================
   16. APP STORE CTA
   ========================================================================== */

.dk-cta { margin-top: 22px; }
.dk-cta__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-md);
}
.dk-cta__microline {
	margin-top: var(--space-md);
	font-size: var(--text-secondary);
	color: var(--on-band-meta);
}
.dk-cta--surface .dk-cta__microline { color: var(--sub); }

.dk-qr { display: flex; align-items: center; gap: 14px; }
.dk-qr__plate {
	width: 84px;
	height: 84px;
	flex-shrink: 0;
	border-radius: var(--radius-control);
	background: var(--on-brand);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dk-qr__plate img { border-radius: var(--radius-xs); image-rendering: pixelated; }
.dk-qr__caption {
	max-width: 150px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--on-band-meta);
}

.dk-cta--surface .dk-qr__plate {
	width: 96px;
	height: 96px;
	background: var(--elev);
	border: 1px solid var(--hair);
}
.dk-cta--surface .dk-qr__plate img { width: 82px; height: 82px; }
.dk-cta--surface .dk-qr__caption { max-width: 140px; color: var(--sub); }

@media (min-width: 900px) {
	.dk-cta { margin-top: var(--space-xxl); }
	.dk-cta__row { flex-direction: row; align-items: center; gap: 22px; }
	.dk-cta__microline { margin-top: 20px; font-size: var(--text-body); }
	/* The final CTA puts the QR ahead of the badge; the hero puts it after. */
	.dk-cta--surface .dk-cta__row { gap: var(--space-xl); }
	.dk-cta--surface .dk-qr { order: -1; }
}

/* ==========================================================================
   17. GRIDS AND SPLITS
   ========================================================================== */

.dk-grid {
	margin-top: 22px;
	display: grid;
	gap: 14px;
}
@media (min-width: 900px) {
	.dk-grid { margin-top: 40px; gap: var(--space-xl); }
	.dk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dk-split__media { margin-top: 26px; display: flex; justify-content: center; }
.dk-split__media .dk-phone { width: 236px; }

@media (min-width: 900px) {
	.dk-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
		gap: 72px;
		align-items: center;
	}
	.dk-split--reverse { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
	.dk-split--faq { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; }
	.dk-split__media { margin-top: 0; }
	.dk-split__media .dk-phone { width: 300px; }
}

.dk-lede--strong { color: var(--ink); font-weight: var(--weight-semibold); margin-top: var(--space-md); }
.dk-split__copy .dk-lede { margin-top: var(--space-md); }

@media (min-width: 900px) {
	.dk-split__copy .dk-lede { margin-top: 18px; }
	.dk-lede--strong { margin-top: 14px; }
}

/* ==========================================================================
   18. SEE IT IN ACTION
   ========================================================================== */

.dk-seeit__copy .dk-lede { margin-top: var(--space-md); }

.dk-frames__phone { margin-top: 26px; display: flex; justify-content: center; }
.dk-frames__phone .dk-phone { width: 236px; }

.dk-frames__stack { border-radius: 33px; }
.dk-frames__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	display: block;
	transition: opacity 220ms var(--ease);
}

.dk-frames__controls {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.dk-frames__btn {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	text-align: left;
	width: 100%;
	padding: 14px 16px;
	min-height: var(--tap-min);
	border-radius: var(--radius-lg);
	border: 1px solid var(--hair);
	background: var(--surface);
	cursor: pointer;
	font-family: var(--font-ui);
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.dk-frames__btn[aria-pressed="true"] {
	border-color: var(--accent-border);
	background: var(--accent-soft);
}

.dk-frames__dot {
	width: 8px;
	height: 8px;
	border-radius: var(--radius-full);
	background: var(--toggle-off);
	flex-shrink: 0;
	transition: background-color var(--dur) var(--ease);
}
.dk-frames__btn[aria-pressed="true"] .dk-frames__dot { background: var(--accent); }

.dk-frames__caption {
	font-size: var(--text-body-lg);
	font-weight: var(--weight-semibold);
	color: var(--sub);
}
.dk-frames__btn[aria-pressed="true"] .dk-frames__caption { color: var(--ink); }

@media (min-width: 900px) {
	.dk-seeit {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
		gap: 72px;
		align-items: center;
	}
	.dk-seeit__copy { grid-column: 1; }
	.dk-seeit__copy .dk-lede { margin-top: 18px; max-width: 520px; }
	.dk-frames { grid-column: 1 / -1; display: contents; }
	.dk-frames__phone { grid-column: 2; grid-row: 1; margin-top: 0; }
	.dk-frames__phone .dk-phone { width: 300px; }
	.dk-frames__controls { grid-column: 1; grid-row: 1; align-self: end; margin-top: 0; gap: 10px; }
	.dk-frames__btn { padding: 20px 24px; max-width: 520px; border-radius: 18px; gap: var(--space-lg); }
	.dk-frames__dot { width: 10px; height: 10px; }
	.dk-frames__caption { font-size: 18px; }
}

/* ==========================================================================
   19. TRUST BAND
   ========================================================================== */

.dk-trust { margin-top: var(--space-xxxl); padding-block: 44px; }

.dk-trust__grid {
	margin-top: var(--space-xl);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.dk-trust__item { display: flex; gap: 14px; align-items: flex-start; }
.dk-trust__icon { flex-shrink: 0; margin-top: 2px; }
.dk-trust__title { font-size: var(--text-title-md); font-weight: var(--weight-bold); color: var(--on-band); }
.dk-trust__body { margin-top: var(--space-xs); font-size: var(--text-row-label); line-height: 1.55; color: var(--on-band-sub); }
.dk-trust .dk-textlink--band { margin-top: 26px; }

@media (min-width: 900px) {
	.dk-trust { margin-top: 96px; padding-block: 88px; }
	.dk-trust__grid {
		margin-top: var(--space-xxxl);
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--space-xxl);
	}
	.dk-trust__item { flex-direction: column; gap: 0; }
	.dk-trust__title { margin-top: 18px; font-size: 19px; }
	.dk-trust__body { margin-top: var(--space-sm); font-size: var(--text-lg, 16px); line-height: 1.6; }
	.dk-trust .dk-textlink--band { margin-top: 44px; }
}

/* ==========================================================================
   20. PRESS QUOTES
   ========================================================================== */

.dk-quotes {
	margin-top: var(--space-xl);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.dk-quote { margin: 0; }
.dk-quote__text {
	margin: 0;
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: 23px;
	line-height: 1.24;
	letter-spacing: -0.4px;
	color: var(--ink);
	text-wrap: pretty;
}
.dk-quote__by {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.dk-quote__by img { opacity: 0.7; width: auto; }
.dk-quote__by span {
	font-size: 13.5px;
	font-weight: var(--weight-bold);
	letter-spacing: 0.3px;
	color: var(--sub);
}
:root[data-theme="dark"] .dk-quote__by img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dk-quote__by img { filter: brightness(0) invert(1); }
}

@media (min-width: 900px) {
	.dk-quotes {
		margin-top: var(--space-xxxl);
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px;
	}
	.dk-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; height: 100%; }
	.dk-quote__text { font-size: 28px; letter-spacing: -0.6px; }
	.dk-quote__by { margin-top: 0; gap: var(--space-md); }
	.dk-quote__by span { font-size: 15px; }
}

/* ==========================================================================
   21. FAQ ACCORDION
   ========================================================================== */

.dk-faq { margin-top: 22px; border-top: 1px solid var(--hair); }

.dk-faq__item {
	border-bottom: 1px solid var(--hair);
	margin: 0;
}
.dk-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 0;
	min-height: var(--tap-min);
	font-family: var(--font-ui);
	font-size: var(--text-title-md);
	font-weight: var(--weight-bold);
	color: var(--ink);
}
.dk-faq__item > summary::after {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background-color: var(--accent);
	-webkit-mask: var(--dk-chevron) center / contain no-repeat;
	mask: var(--dk-chevron) center / contain no-repeat;
	transition: transform var(--dur) var(--ease);
}
.dk-faq__item[open] > summary::after { transform: rotate(180deg); }

.dk-faq__answer {
	padding-bottom: 20px;
	font-size: var(--text-body-lg);
	line-height: 1.6;
	color: var(--sub);
}

:root {
	--dk-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

@media (min-width: 900px) {
	.dk-faq { margin-top: 0; }
	.dk-split--faq .dk-faq { margin-top: 0; }
	.dk-faq__item > summary { padding: 24px 0; gap: 20px; font-size: 20px; }
	.dk-faq__item > summary::after { width: 24px; height: 24px; }
	.dk-faq__answer { padding-bottom: 26px; max-width: 700px; font-size: 17px; line-height: 1.65; }
}

/* ==========================================================================
   22. FINAL CTA
   ========================================================================== */

.dk-finalcta {
	margin-top: var(--space-xxxl);
	background: var(--surface);
	border-top: 1px solid var(--hair);
}
.dk-finalcta__inner { padding-block: var(--space-xxxl); }
.dk-finalcta .dk-lede { margin-top: 10px; }

@media (min-width: 900px) {
	.dk-finalcta { margin-top: 96px; }
	.dk-finalcta__inner {
		padding-block: 88px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-xxxl);
	}
	.dk-finalcta .dk-lede { margin-top: 14px; }
	.dk-finalcta .dk-cta { margin-top: 0; }
}

/* ==========================================================================
   23. INNER PAGES — SHARED TYPE
   The five pages after Home share one prose scale and one small-label style.
   ========================================================================== */

.dk-eyebrow {
	font-size: var(--text-overline);
	font-weight: var(--weight-bold);
	letter-spacing: var(--text-overline-tracking);
	text-transform: uppercase;
	color: var(--sub);
}

.dk-h3 {
	font-family: var(--font-display);
	font-weight: var(--weight-extrabold);
	font-size: 26px;
	line-height: 1.14;
	letter-spacing: -0.5px;
	color: var(--ink);
	text-wrap: pretty;
}

.dk-prose {
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--sub);
	text-wrap: pretty;
}
.dk-prose + .dk-prose { margin-top: var(--space-lg); }
.dk-prose strong { color: var(--ink); font-weight: var(--weight-bold); }

.dk-prose--list {
	margin-top: var(--space-lg);
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}
.dk-prose--list li { padding-left: 2px; }

@media (min-width: 900px) {
	.dk-h3 { font-size: 34px; line-height: 1.1; letter-spacing: -0.8px; }
	.dk-prose { font-size: 17px; line-height: 1.7; max-width: 70ch; }
}

/* ==========================================================================
   24. SECURITY — CONTENTS RAIL AND DOCUMENT BODY
   ========================================================================== */

/* The rail is a desktop affordance. On mobile the page is short enough to
   scroll, and a second nav above the content would only get in the way. */
.dk-toc { display: none; }

.dk-doc__body > * + * { margin-top: 36px; }

.dk-docsec > .dk-prose,
.dk-docsec > .dk-deflist { margin-top: var(--space-md); }

.dk-deflist {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dk-def {
	background: var(--surface);
	border: 1px solid var(--hair);
	border-radius: 18px;
	padding: 18px;
	box-shadow: var(--shadow-card);
}
.dk-def__label {
	font-size: 15.5px;
	font-weight: var(--weight-bold);
	color: var(--ink);
}
.dk-def__body {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.58;
	color: var(--sub);
}

.dk-shortlist {
	background: var(--surface);
	border: 1px solid var(--hair);
	border-radius: var(--radius-card);
	padding: 22px 20px;
	box-shadow: var(--shadow-card);
	scroll-margin-top: 24px;
}
.dk-shortlist__items {
	margin-top: 14px;
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}
.dk-shortlist__items li {
	position: relative;
	padding-left: 16px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
}
.dk-shortlist__items li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: var(--radius-full);
	background: var(--accent);
}

.dk-seegrid {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dk-see {
	border: 1px solid var(--hair);
	border-radius: 18px;
	padding: 18px;
}
.dk-see--cannot { background: var(--surface); }
.dk-see--cannot .dk-eyebrow { color: var(--accent); }
.dk-see--can { background: var(--elev); }
.dk-see__items {
	margin-top: var(--space-md);
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
}

.dk-warn {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	background: var(--danger-soft);
	border: 1px solid var(--danger-strong);
	border-radius: var(--radius-card);
	padding: 22px 20px;
	scroll-margin-top: 24px;
}
.dk-warn__icon { flex-shrink: 0; margin-top: 2px; line-height: 0; }
.dk-warn__title {
	font-family: var(--font-display);
	font-weight: var(--weight-extrabold);
	font-size: 22px;
	line-height: 1.16;
	letter-spacing: -0.4px;
	color: var(--ink);
}
.dk-warn__body {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--danger-strong-ink);
}

.dk-report {
	margin-top: 44px;
	background: var(--elev);
	border-top: 1px solid var(--hair);
}
.dk-report__inner { padding-block: 36px; scroll-margin-top: 24px; }
.dk-report__inner > * + * { margin-top: var(--space-md); }

.dk-btn-primary--mail {
	gap: 10px;
	align-self: flex-start;
	text-decoration: none;
}

/* The reporting policy runs long — it is the policy security.txt points at —
   so it is set at reading width with its own sub-headings. */
.dk-report__part { padding-top: var(--space-xl); }
.dk-report__subhead {
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: 18px;
	line-height: 1.24;
	letter-spacing: -0.3px;
	color: var(--ink);
}
.dk-report__part > .dk-prose,
.dk-report__part > .dk-prose--list { margin-top: var(--space-md); }

@media (min-width: 900px) {
	.dk-doc {
		display: grid;
		grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
		gap: 72px;
		align-items: start;
	}

	.dk-toc {
		display: flex;
		position: sticky;
		top: var(--space-xxl);
		flex-direction: column;
		gap: var(--space-xs);
	}
	.dk-toc__label {
		margin-bottom: var(--space-sm);
		font-size: var(--text-overline);
		font-weight: var(--weight-bold);
		letter-spacing: var(--text-overline-tracking);
		text-transform: uppercase;
		color: var(--sub);
	}
	.dk-toc a {
		font-size: 14.5px;
		font-weight: var(--weight-semibold);
		color: var(--sub);
		padding: 9px 0;
		border-bottom: 1px solid var(--hair);
		transition: color var(--dur) var(--ease);
	}
	.dk-toc a:hover { color: var(--accent); text-decoration: none; }

	.dk-doc__body > * + * { margin-top: 56px; }
	.dk-docsec > .dk-prose,
	.dk-docsec > .dk-deflist { margin-top: 18px; }

	.dk-deflist { gap: 18px; }
	.dk-def { padding: 26px 24px; border-radius: var(--radius-card); }
	.dk-def__label { font-size: 17px; }
	.dk-def__body { margin-top: var(--space-sm); font-size: 16px; line-height: 1.62; }

	.dk-shortlist { padding: 30px 32px; scroll-margin-top: 40px; }
	.dk-shortlist__items {
		margin-top: 18px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-lg) var(--space-xxl);
	}
	.dk-shortlist__items li { padding-left: 19px; font-size: 17px; }
	.dk-shortlist__items li::before { top: 9px; width: 7px; height: 7px; }

	.dk-seegrid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-xl);
		align-items: start;
	}
	.dk-see { padding: 26px 24px; border-radius: var(--radius-card); }
	.dk-see__items { font-size: 16px; }

	.dk-warn { gap: var(--space-lg); padding: 30px 32px; scroll-margin-top: 40px; }
	.dk-warn__title { font-size: 28px; letter-spacing: -0.6px; }
	.dk-warn__body { font-size: 16px; }

	.dk-report { margin-top: 96px; }
	.dk-report__inner { padding-block: 72px; scroll-margin-top: 40px; }
	.dk-report__part { padding-top: var(--space-xxl); }
	.dk-report__subhead { font-size: 21px; }
}

/* ==========================================================================
   25. FAQ PAGE
   ========================================================================== */

.dk-chips {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
}
.dk-chip {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	padding: 0 14px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--on-band);
	font-size: 13px;
	font-weight: var(--weight-semibold);
	white-space: nowrap;
	transition: background-color var(--dur) var(--ease);
}
.dk-chip:hover { background: rgba(255, 255, 255, 0.26); text-decoration: none; }

.dk-faqpage > * + * { margin-top: 40px; }
.dk-faqgroup > .dk-faq { margin-top: var(--space-lg); }
.dk-faq__item { scroll-margin-top: 24px; }

@media (min-width: 900px) {
	.dk-chips { gap: var(--space-md); }
	.dk-chip { font-size: 14px; padding: 0 18px; }
	.dk-faqpage > * + * { margin-top: 72px; }
	.dk-faqgroup > .dk-faq { margin-top: var(--space-xl); }
	.dk-faq__item { scroll-margin-top: 40px; }
}

/* ==========================================================================
   26. PRESS PAGE
   ========================================================================== */

.dk-presswall {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dk-presscard {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--hair);
	border-radius: var(--radius-card);
	padding: 24px 22px;
	box-shadow: var(--shadow-card);
	transition: border-color var(--dur) var(--ease);
}
.dk-presscard:hover { border-color: var(--accent-border); }
.dk-presscard__logo {
	display: block;
	width: auto;
	max-width: 62%;
	opacity: 0.55;
}
.dk-presscard__quote {
	margin: 18px 0 0;
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: 21px;
	line-height: 1.28;
	letter-spacing: -0.4px;
	color: var(--ink);
	text-wrap: pretty;
}
.dk-presscard__outlet {
	margin-top: 14px;
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	font-size: 14.5px;
	font-weight: var(--weight-bold);
}

.dk-presscontact {
	margin-top: var(--space-xxl);
	background: var(--elev);
}
.dk-presscontact .dk-prose { margin-top: 10px; }

:root[data-theme="dark"] .dk-presscard__logo { filter: brightness(0) invert(1); opacity: 0.7; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dk-presscard__logo { filter: brightness(0) invert(1); opacity: 0.7; }
}

@media (min-width: 900px) {
	.dk-presswall {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-xl);
	}
	/* Cards stretch to the row's height and push the outlet to the bottom,
	   so the wall reads as a grid rather than a ragged stack. */
	.dk-presscard {
		padding: 34px 32px;
		display: flex;
		flex-direction: column;
		gap: var(--space-xl);
		height: 100%;
	}
	.dk-presscard__logo { margin-bottom: auto; }
	.dk-presscard__quote { margin: 0; font-size: 23px; }
	.dk-presscard figcaption { margin-top: auto; }
	.dk-presscard__outlet { margin-top: 0; }
	.dk-presscontact { margin-top: var(--space-xxxl); }
}

/* ==========================================================================
   27. SUPPORT PAGE
   ========================================================================== */

.dk-mailcard {
	background: var(--surface);
	border: 1px solid var(--accent-border);
	border-radius: 22px;
	padding: 26px 22px;
	box-shadow: var(--shadow-card);
}
.dk-mailcard__icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-lg);
	background: var(--accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dk-mailcard .dk-prose { margin-top: 18px; color: var(--ink); }
.dk-mailcard .dk-prose + .dk-prose { margin-top: 14px; color: var(--sub); }
.dk-mailcard .dk-btn-primary {
	margin-top: 18px;
	width: 100%;
	align-self: stretch;
}

.dk-quicklist {
	margin-top: 14px;
	border-top: 1px solid var(--hair);
}
.dk-quick {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 0;
	min-height: var(--tap-min);
	border-bottom: 1px solid var(--hair);
	font-size: 15.5px;
	font-weight: var(--weight-semibold);
	color: var(--ink);
	transition: color var(--dur) var(--ease);
}
.dk-quick:hover { color: var(--accent); text-decoration: none; }
.dk-quick svg { flex-shrink: 0; }

.dk-contactgrid { margin-top: var(--space-xxl); }
.dk-contact__link { margin-top: 14px; font-size: 15px; font-weight: var(--weight-bold); }

.dk-section--tight > * + * { margin-top: var(--space-xxl); }

@media (min-width: 900px) {
	.dk-mailcard { padding: 40px 36px; }
	.dk-mailcard .dk-btn-primary { width: auto; align-self: flex-start; padding: 0 28px; }
	.dk-quick { font-size: 17px; padding: 20px 0; }
	.dk-contactgrid { margin-top: var(--space-xxxl); }
	.dk-section--tight > * + * { margin-top: var(--space-xxxl); }
}

/* ==========================================================================
   28. LEGAL PAGE
   ========================================================================== */

.dk-anchorbar {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	gap: var(--space-sm);
	padding: var(--space-md) var(--dk-gutter);
	background: var(--bg-translucent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hair);
	overflow-x: auto;
	scrollbar-width: none;
}
.dk-anchorbar::-webkit-scrollbar { display: none; }
.dk-anchorbar a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	padding: 0 14px;
	border-radius: var(--radius-full);
	background: var(--surface);
	border: 1px solid var(--hair);
	color: var(--sub);
	font-size: 13px;
	font-weight: var(--weight-semibold);
	white-space: nowrap;
	transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dk-anchorbar a:hover { border-color: var(--accent-border); color: var(--accent); text-decoration: none; }

.dk-legal__doc {
	margin-top: 44px;
	padding-top: var(--space-xxl);
	border-top: 1px solid var(--hair);
	scroll-margin-top: 76px;
}
.dk-legal > .dk-legal__doc:first-of-type { margin-top: 40px; }
.dk-legal__updated { margin-top: var(--space-sm); font-size: 13px; color: var(--sub); }
.dk-legal__section { padding-top: var(--space-xxl); }
.dk-legal__heading {
	font-family: var(--font-display);
	font-weight: var(--weight-bold);
	font-size: 21px;
	line-height: 1.22;
	letter-spacing: -0.3px;
	color: var(--ink);
}
.dk-legal .dk-prose { margin-top: var(--space-lg); font-size: 16px; line-height: 1.7; }

@media (min-width: 900px) {
	/* Line the chips up with the legal column, not the page gutter. */
	.dk-anchorbar { padding-inline: max(var(--dk-gutter), calc((100vw - 800px) / 2)); }
	.dk-anchorbar a { font-size: 14px; padding: 0 18px; }
	.dk-legal { max-width: 800px; margin-inline: auto; }
	.dk-legal__heading { font-size: 24px; }
	.dk-legal .dk-prose { max-width: none; }
}
