/* ==========================================================================
   Dentv Thiệp Cưới – main stylesheet
   ========================================================================== */

:root {
	--ink: oklch(0.18 0.012 250);
	--ink-2: #0f172a;
	--heading: #25293b;
	--text: #5d6778;
	--muted: oklch(0.54 0.012 250);
	--slate: #475569;
	--accent: oklch(0.58 0.18 255);
	--accent-soft: oklch(0.58 0.18 255 / 0.08);
	--accent-line: oklch(0.88 0.04 255 / 0.5);
	--mint: oklch(0.55 0.16 160);
	--mint-soft: oklch(0.95 0.035 160);
	--mint-line: oklch(0.9 0.012 160);
	--tint: oklch(0.975 0.003 250);
	--line: oklch(0.92 0.005 250);
	--line-strong: oklch(0.85 0.006 250);
	--white: oklch(1 0 0);
	--support: #7b1d2e;
	--font: "Lexend", system-ui, sans-serif;
	--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
	--font-script: "Great Vibes", "Brush Script MT", cursive;
	--font-serif: "Playfair Display", Georgia, serif;
	--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
	--header-h: 67px;
	--thumb-h: 440px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base, 16px);
	line-height: 1.6;
	color: var(--text);
	background: var(--bg, var(--white));
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.dtc-icon { width: 20px; height: 20px; flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000;
	padding: 10px 16px; background: var(--ink-2); color: #fff; border-radius: 6px;
}
.dtc-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.container { width: 100%; max-width: var(--container, 1200px); margin: 0 auto; padding: 0 12px; }
.container--narrow { max-width: 780px; }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 28px;
	border-radius: var(--radius-btn, 6px);
	border: 1px solid transparent;
	font-family: var(--font-display);
	font-size: 15.2px; font-weight: 560; letter-spacing: 0.01em; line-height: 1.6;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .faq-question:focus-visible, .ws-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--brand, var(--ink)); color: var(--brand-text, var(--white)); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08); }
.btn-primary:hover { background: var(--brand-hover, #000); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 10px 24px rgba(0,0,0,.12); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--line-strong); box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.btn-lg { min-height: 50px; }
.btn-block { width: 100%; }
.btn .dtc-icon { width: 18px; height: 18px; }

/* Header ----------------------------------------------------------------- */

.header {
	position: sticky; top: 0; z-index: 100;
	padding: 12px 0;
	background: color-mix(in srgb, var(--bg, #fcfdff) 86%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dtc-logo { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 21.6px; font-weight: 700; letter-spacing: -0.01em; }
.dtc-logo__img { width: 40px; height: 40px; object-fit: contain; }

.nav-menu { display: none; gap: 36px; }
.nav-link {
	position: relative; padding: 5.6px 0;
	font-family: var(--font-display); font-size: 15.2px; font-weight: 500; color: var(--slate);
	transition: color .2s ease;
}
.nav-link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink-2); }
.nav-link:hover::after { transform: scaleX(1); }

.header-account__cta {
	display: inline-flex; align-items: center;
	padding: 11.2px 14.4px;
	border-radius: var(--radius-btn, 6px);
	background: var(--brand, var(--ink-2)); color: var(--brand-text, #fff);
	font-family: var(--font-display); font-size: 14.4px; font-weight: 500; line-height: 1.35;
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
	transition: transform .2s ease, background-color .2s ease;
}
.header-account__cta:hover { transform: translateY(-1px); background: var(--brand-hover, #000); }

/* Mobile tab bar */
.mobile-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
	padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--bg, #fcfdff) 94%, transparent);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
}
.mobile-tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--slate); font-size: 12px; font-weight: 500; }
.mobile-tabbar__item .dtc-icon { width: 22px; height: 22px; stroke-width: 1.7; }
body { padding-bottom: 72px; }

/* Section scaffolding ----------------------------------------------------- */

.section { padding: 40px 0; }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 8px; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-label {
	margin-bottom: 8px;
	font-size: 12.8px; font-weight: 560; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--accent);
}
.section-heading {
	font-family: var(--font-display);
	font-size: 25.6px; font-weight: var(--heading-weight, 620); letter-spacing: -0.015em;
	color: var(--heading);
}
.section-heading--xl { font-size: 30px; }
.section-sub { margin-top: 10px; font-size: 16.32px; color: var(--muted); }
.section-more { display: flex; justify-content: center; margin-top: 32px; }
.empty-note { text-align: center; padding: 40px 0; }

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

.hero { padding: 64px 0 40px; background: var(--tint); text-align: center; }
.hero-title {
	max-width: 900px; margin: 0 auto;
	font-family: var(--font-display);
	font-size: 32px; font-weight: var(--heading-weight, 620); letter-spacing: -0.02em; line-height: 1.15;
	color: var(--ink);
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-subtext {
	max-width: 620px; margin: 18px auto 0;
	font-size: 16.8px; font-weight: 400; line-height: 1.65;
	color: var(--muted);
}

.feature-showcase { max-width: 960px; margin: 40px auto 0; padding: 0; }
.feature-highlights { display: flex; flex-wrap: wrap; gap: 14px; }
.feature-card {
	flex: 1 1 280px;
	display: flex; align-items: flex-start; gap: 14px;
	padding: 16px;
	text-align: left;
	background: oklch(0.995 0.003 160 / 0.88);
	border: 1px solid var(--mint-line);
	border-radius: 16px;
	box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
	color: oklch(0.3 0.015 250);
}
.feature-icon {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--mint-soft); color: var(--mint);
	flex-shrink: 0;
}
.feature-copy { display: flex; flex-direction: column; gap: 4px; }
.feature-copy strong { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feature-copy small { font-size: 13px; line-height: 1.5; color: var(--muted); }

.secondary-features {
	max-width: 760px; margin: 14px auto 0;
	background: oklch(0.99 0.002 250 / 0.72);
	border: 1px solid var(--line);
	border-radius: 14px;
	text-align: left;
}
.secondary-features summary {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 16px;
	cursor: pointer; list-style: none;
	font-size: 14px; font-weight: 600; color: var(--ink);
}
.secondary-features summary::-webkit-details-marker { display: none; }
.secondary-features summary .dtc-icon { width: 16px; height: 16px; transition: transform .25s ease; }
.secondary-features[open] summary .dtc-icon { transform: rotate(180deg); }
.secondary-grid { display: grid; grid-template-columns: 1fr; gap: 10px 20px; padding: 4px 20px 20px; }
.secondary-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); }
.secondary-item .dtc-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 68px; }

/* Template cards ---------------------------------------------------------- */

.ws-themes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.ws-themes-card {
	position: relative;
	border-radius: 8px; overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
	cursor: pointer;
	transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.ws-themes-card:hover { border-color: #cbd5e1; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); transform: translateY(-2px); }
.ws-themes-card__thumb { position: relative; height: var(--thumb-h); }
.ws-themes-card__thumb-inner { position: relative; height: 100%; overflow: hidden; background: #fff; contain: paint; }
.ws-themes-card__thumb-inner > picture { display: contents; }
.ws-themes-card__thumb-inner > img,
.ws-themes-card__thumb-inner > picture > img,
.ws-themes-card__thumb-inner > .dtc-mock {
	width: 100%; height: auto;
	transform: none;
	transition: transform 6s cubic-bezier(.45, .05, .55, .95);
}
.ws-themes-card:hover .ws-themes-card__thumb-inner > img,
.ws-themes-card:hover .ws-themes-card__thumb-inner > picture > img,
.ws-themes-card:hover .ws-themes-card__thumb-inner > .dtc-mock {
	transform: translateY(calc(-100% + var(--thumb-h)));
}
.ws-themes-card--static { cursor: default; }
.ws-themes-card--static:hover { transform: none; }

.ws-themes-card__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	padding: 4px 10px; border-radius: 99px;
	background: rgba(255, 255, 255, .92); color: var(--ink-2);
	font-size: 11px; font-weight: 600; letter-spacing: .02em;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .1);
}

.ws-themes-card__overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
	padding: 14px;
	background: linear-gradient(to top, rgba(15, 23, 42, .78) 0, rgba(15, 23, 42, .35) 110px, transparent 200px);
	pointer-events: none;
	transition: opacity .3s ease;
}
.ws-themes-card__title {
	font-family: var(--font); font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .01em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.ws-themes-card__actions { transition: transform .3s ease; }
@media (hover: hover) {
	.ws-themes-card:not(.ws-themes-card--static) .ws-themes-card__overlay { opacity: 0; }
	.ws-themes-card:not(.ws-themes-card--static) .ws-themes-card__actions { transform: translateY(10px); }
	.ws-themes-card:hover .ws-themes-card__overlay,
	.ws-themes-card:focus-within .ws-themes-card__overlay { opacity: 1; }
	.ws-themes-card:hover .ws-themes-card__actions,
	.ws-themes-card:focus-within .ws-themes-card__actions { transform: none; }
}
.ws-themes-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; pointer-events: auto; }
.ws-themes-card__actions > .ws-button { min-width: 0; border-radius: 6px; }
.ws-themes-grid--dtc-cols-5 .ws-themes-card__overlay { padding: 10px; gap: 8px; }
.ws-themes-grid--dtc-cols-5 .ws-themes-card__actions { gap: 6px; }
.ws-themes-grid--dtc-cols-5 .ws-button { min-height: 34px; padding: 6px 6px; gap: 4px; font-size: 11.5px; }
.ws-themes-grid--dtc-cols-5 .ws-button .dtc-icon { width: 13px; height: 13px; }
@media (min-width: 960px) and (max-width: 1199px) {
	.ws-themes-grid--dtc-cols-5 .ws-themes-card__actions { grid-template-columns: 1fr; }
}
.ws-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 38px; padding: 7px 12px;
	border-radius: 8px;
	font-size: 12px; font-weight: 600; white-space: nowrap;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.ws-button .dtc-icon { width: 15px; height: 15px; }
.ws-button:hover { transform: translateY(-1px); }
.ws-themes-card__btn--demo { background: #4550e6; color: #fff; }
.ws-themes-card__btn--demo:hover { filter: brightness(1.08); box-shadow: 0 8px 18px rgba(69, 80, 230, .35); }
.ws-themes-card__btn--create { background: rgba(255, 255, 255, .95); color: #1e293b; border: 1px solid #e2e8f0; }
.ws-themes-card__btn--create:hover { background: #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, .12); }

/* Invitation mock (placeholder until a real screenshot is uploaded) ------- */

.dtc-mock {
	--m-bg: #fbf7ef; --m-ink: #4a3b24; --m-accent: #b08d4c; --m-tint: #f3ead9; --m-cover: linear-gradient(160deg, #fdf9f1 0%, #f1e5cc 100%);
	font-size: 13px;
	background: var(--m-bg); color: var(--m-ink);
	text-align: center;
	font-family: var(--font-serif);
}
.dtc-mock--burgundy { --m-bg: #fff8f6; --m-ink: #5a1422; --m-accent: #8e1f33; --m-tint: #f6e4e4; --m-cover: linear-gradient(165deg, #6f1426 0%, #9b2c40 55%, #4d0d1a 100%); }
.dtc-mock--sage { --m-bg: #f6f8f2; --m-ink: #34432e; --m-accent: #6f8a5e; --m-tint: #e7eedf; --m-cover: linear-gradient(170deg, #f4f7ef 0%, #d8e3cc 100%); }
.dtc-mock--blush { --m-bg: #fff8f8; --m-ink: #5b3a42; --m-accent: #c7808f; --m-tint: #fbe8eb; --m-cover: linear-gradient(160deg, #fff5f6 0%, #f6d6dc 100%); }
.dtc-mock--navy { --m-bg: #f5f7fb; --m-ink: #1c2a48; --m-accent: #c9a96a; --m-tint: #e5eaf4; --m-cover: linear-gradient(170deg, #14213d 0%, #24375f 100%); }
.dtc-mock--emerald { --m-bg: #f3faf7; --m-ink: #0f3b30; --m-accent: #1f7a5f; --m-tint: #dcefe7; --m-cover: linear-gradient(165deg, #0f3b30 0%, #1f6b55 100%); }
.dtc-mock--red { --m-bg: #fffaf5; --m-ink: #7a1414; --m-accent: #c8102e; --m-tint: #fbe7df; --m-cover: linear-gradient(165deg, #b3121f 0%, #d2222d 60%, #8e0c16 100%); }
.dtc-mock--mono { --m-bg: #ffffff; --m-ink: #1f2024; --m-accent: #1f2024; --m-tint: #f2f2f3; --m-cover: linear-gradient(170deg, #ffffff 0%, #e9e9ec 100%); }
.dtc-mock--full { font-size: 16px; }
.dtc-preview { display: block; width: 100%; height: auto; }

.dtc-mock__cover {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em;
	min-height: var(--thumb-h);
	padding: 3em 1.5em;
	background: var(--m-cover);
	overflow: hidden;
}
.dtc-mock__cover::before {
	content: ""; position: absolute; inset: 14px;
	border: 1px solid color-mix(in srgb, var(--m-accent) 55%, transparent);
	border-radius: 999px 999px 12px 12px;
	pointer-events: none;
}
.dtc-mock__cover::after {
	content: ""; position: absolute; width: 150%; aspect-ratio: 1; left: -25%; bottom: -118%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--m-accent) 20%, transparent) 0%, transparent 60%);
}
.dtc-mock--burgundy .dtc-mock__cover,
.dtc-mock--navy .dtc-mock__cover,
.dtc-mock--emerald .dtc-mock__cover,
.dtc-mock--red .dtc-mock__cover { color: #fff; }
.dtc-mock--red .dtc-mock__cover::before,
.dtc-mock--burgundy .dtc-mock__cover::before { border-color: rgba(255, 220, 160, .6); }

.dtc-mock__script { font-family: var(--font-script); font-size: 2.6em; line-height: 1.1; color: var(--m-accent); }
.dtc-mock--burgundy .dtc-mock__cover .dtc-mock__script,
.dtc-mock--red .dtc-mock__cover .dtc-mock__script,
.dtc-mock--navy .dtc-mock__cover .dtc-mock__script,
.dtc-mock--emerald .dtc-mock__cover .dtc-mock__script { color: #f3d9a4; }
.dtc-mock__script--sm { font-size: 2em; margin-top: .4em; }
.dtc-mock__ring { display: grid; place-items: center; width: 2.6em; height: 2.6em; margin: .8em 0 1em; border-radius: 50%; border: 1px solid currentColor; opacity: .8; }
.dtc-mock__ring .dtc-icon { width: 1.2em; height: 1.2em; stroke-width: 1.5; }
.dtc-mock__name { font-size: 1.9em; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.dtc-mock__amp { font-family: var(--font-script); font-size: 2.2em; line-height: .9; opacity: .85; }
.dtc-mock__date { margin-top: 1em; font-family: var(--font); font-size: 1em; letter-spacing: .3em; }

.dtc-mock__block { padding: 2.4em 1.6em; display: flex; flex-direction: column; align-items: center; gap: .8em; }
.dtc-mock__block--tint { background: var(--m-tint); }
.dtc-mock__kicker { font-family: var(--font); font-size: .78em; letter-spacing: .28em; text-transform: uppercase; color: var(--m-accent); }
.dtc-mock__big { font-size: 2.1em; letter-spacing: .06em; }
.dtc-mock__families { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; width: 100%; }
.dtc-mock__families div { display: flex; flex-direction: column; align-items: center; gap: .5em; }
.dtc-mock__families b { font-size: 1.05em; font-weight: 600; }
.dtc-mock__families i,
.dtc-mock__field { display: block; width: 80%; height: .55em; border-radius: 99px; background: color-mix(in srgb, var(--m-ink) 14%, transparent); }
.dtc-mock__families i + i { width: 60%; }
.dtc-mock__field { width: 100%; height: 2.4em; border-radius: .5em; background: #fff; border: 1px solid color-mix(in srgb, var(--m-ink) 12%, transparent); }
.dtc-mock__btn { display: block; width: 60%; height: 2.4em; border-radius: .5em; background: var(--m-accent); }
.dtc-mock__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45em; width: 100%; max-width: 16em; }
.dtc-mock__cal em { aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--m-ink) 10%, transparent); }
.dtc-mock__cal em.is-on { background: var(--m-accent); box-shadow: 0 0 0 .25em color-mix(in srgb, var(--m-accent) 25%, transparent); }
.dtc-mock__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; width: 100%; }
.dtc-mock__gallery em { aspect-ratio: 3 / 4; border-radius: .4em; background: linear-gradient(160deg, color-mix(in srgb, var(--m-accent) 35%, #fff), color-mix(in srgb, var(--m-ink) 35%, #fff)); }
.dtc-mock__gallery em:nth-child(2), .dtc-mock__gallery em:nth-child(3) { background: linear-gradient(200deg, var(--m-tint), color-mix(in srgb, var(--m-accent) 50%, #fff)); }
.dtc-mock__qr { display: grid; place-items: center; width: 6em; height: 6em; border-radius: .6em; background: #fff; border: 1px solid color-mix(in srgb, var(--m-ink) 12%, transparent); }
.dtc-mock__qr .dtc-icon { width: 4em; height: 4em; stroke-width: 1.4; color: var(--m-ink); }

/* Couples inspiration ------------------------------------------------------ */

.ws-inspiration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ws-inspiration-card {
	border-radius: 10px; overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	transition: box-shadow .25s ease, transform .25s ease;
}
.ws-inspiration-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ws-inspiration-card__link { display: block; }
.ws-inspiration-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(135deg, #eaf1fe, #fde7e1); }
.ws-inspiration-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ws-inspiration-card:hover .ws-inspiration-card__media img { transform: scale(1.04); }
.ws-inspiration-card__content { padding: 16px; text-align: center; }
.ws-inspiration-card__content h3 { font-size: 16px; font-weight: 600; color: var(--ink); }

.dtc-couple-ph {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	width: 100%; height: 100%;
	background: var(--m-cover); color: var(--m-ink);
	font-family: var(--font-serif);
}
.dtc-mock--burgundy.dtc-couple-ph, .dtc-mock--navy.dtc-couple-ph, .dtc-mock--emerald.dtc-couple-ph, .dtc-mock--red.dtc-couple-ph { color: #fff; }
.dtc-couple-ph .dtc-mock__script { font-size: 34px; }
.dtc-couple-ph__initials { font-size: 44px; letter-spacing: .08em; }

/* How it works ------------------------------------------------------------ */

.steps-wrapper { position: relative; max-width: 380px; margin: 0 auto; }
.steps-connector { display: none; }
.steps-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; }
.step-card {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 28px 24px;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	transition: box-shadow .25s ease, transform .25s ease;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.step-icon {
	display: grid; place-items: center;
	width: 48px; height: 48px; margin-bottom: 10px;
	border-radius: 50%;
	background: var(--accent-soft); color: var(--accent);
	border: 1px solid var(--accent-line);
}
.step-card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink); }
.step-card p { font-size: 14px; color: var(--text); }

.how-it-works-video { max-width: 820px; margin: 40px auto 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Referral ---------------------------------------------------------------- */

.home-referral__card {
	position: relative; overflow: hidden;
	display: grid; gap: 24px;
	max-width: 960px; margin: 0 auto;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 12px 34px rgba(0, 0, 0, 0.06);
}
.home-referral__card::before {
	content: ""; position: absolute; top: -120px; right: -120px;
	width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle, oklch(0.58 0.18 255 / 0.1), transparent 70%);
	pointer-events: none;
}
.home-referral__content { position: relative; }
.home-referral__content h2 { font-family: var(--font); font-size: 25.6px; font-weight: 500; color: var(--heading); }
.home-referral__lead { margin-top: 12px; font-size: 16px; color: var(--muted); line-height: 1.7; }
.home-referral__steps { display: grid; gap: 12px; margin-top: 20px; }
.home-referral__steps li { display: flex; align-items: center; gap: 12px; }
.home-referral__steps span {
	display: grid; place-items: center;
	width: 28px; height: 28px; flex-shrink: 0;
	border-radius: 50%;
	background: var(--accent-soft); color: var(--accent);
	border: 1px solid oklch(0.88 0.04 255 / 0.65);
	font-size: 12px; font-weight: 650;
}
.home-referral__steps p { font-size: 14.4px; color: var(--ink); }
.home-referral__note { margin-top: 18px; font-size: 13.12px; color: #8b4a47; }
.home-referral__summary {
	position: relative;
	display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
	padding: 17.6px;
	background: oklch(0.98 0.004 250 / 0.9);
	border: 1px solid var(--line);
	border-radius: 10px;
	align-self: end;
}
.home-referral__icon {
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--accent-soft); color: var(--accent);
	border: 1px solid var(--accent-line);
}
.home-referral__amount { display: flex; flex-direction: column; }
.home-referral__amount span { font-size: 12.8px; color: var(--muted); }
.home-referral__amount strong { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.home-referral__summary .btn { grid-column: 1 / -1; width: 100%; }

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

.faq-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.faq-item {
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	transition: box-shadow .25s ease;
}
.faq-item.is-open { box-shadow: var(--shadow-card); }
.faq-item h3 { margin: 0; }
.faq-question {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%; padding: 18.4px 21.6px;
	background: none; border: 0; border-radius: 10px;
	text-align: left; cursor: pointer;
	font-family: var(--font-display); font-size: 16px; font-weight: 590; line-height: 1.45;
	color: var(--ink);
}
.faq-icon {
	position: relative; flex-shrink: 0;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
}
.faq-icon::before,
.faq-icon::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 11px; height: 1.8px; border-radius: 2px;
	background: var(--accent);
	transform: translate(-50%, -50%);
	transition: transform .25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 21.6px 20px; font-size: 15px; line-height: 1.75; color: var(--text); }
.faq-answer p + p { margin-top: 10px; }

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

.site-footer {
	--footer-line: color-mix(in srgb, var(--footer-text, #64748b) 18%, transparent);
	--footer-strong: var(--footer-heading, var(--ink-2));
	position: relative; overflow: hidden;
	background: var(--footer-bg, #f8fafc);
	border-top: 1px solid var(--footer-line);
	color: var(--footer-text, #64748b); font-family: var(--font-display);
}
.site-footer::before {
	content: ""; position: absolute; top: -1px; left: 50%; width: min(640px, 80%); height: 2px; transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7;
}
.site-footer .dtc-logo { color: var(--footer-strong); }
.site-footer__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 32px; }
.site-footer__body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.site-footer__grid .site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand .dtc-logo { font-family: var(--font); }
.site-footer__brand-copy { max-width: 360px; margin-top: 16px; font-size: 14.5px; line-height: 1.75; }
.site-footer__cta {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 22px; padding: 11px 18px;
	border-radius: var(--radius-btn, 8px);
	background: var(--brand, var(--ink-2)); color: var(--brand-text, #fff);
	font-size: 14.5px; font-weight: 600;
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand, #000) 70%, transparent);
	transition: transform .2s ease, background-color .2s ease;
}
.site-footer__cta:hover { transform: translateY(-2px); background: var(--brand-hover, #000); }
.site-footer__cta .dtc-icon { width: 17px; height: 17px; }
.site-footer__cta .dtc-icon:last-child { transition: transform .2s ease; }
.site-footer__cta:hover .dtc-icon:last-child { transform: translateX(3px); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.site-footer__social-link {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--footer-text, #64748b) 8%, transparent); border: 1px solid var(--footer-line); color: var(--footer-text, #94a3b8);
	transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.site-footer__social-link:hover { transform: translateY(-2px); color: var(--brand-text, #fff); border-color: var(--brand, var(--ink-2)); background: var(--brand, var(--ink-2)); }
.site-footer__social-link .dtc-icon { width: 17px; height: 17px; }
.site-footer__nav-heading { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-strong); }
.site-footer__links { display: grid; gap: 7px; margin-top: 14px; }
.site-footer__links a { position: relative; display: inline-flex; align-items: center; font-size: 14px; line-height: 1.5; transition: color .2s ease, transform .2s ease; }
.site-footer__links a::before { content: ""; width: 0; height: 1.5px; margin-right: 0; background: var(--accent); transition: width .2s ease, margin-right .2s ease; }
@media (hover: hover) {
	.site-footer__links a:hover { color: var(--footer-strong); }
	.site-footer__links a:hover::before { width: 10px; margin-right: 8px; }
}
.site-footer__mark {
	position: relative; z-index: 0; overflow: hidden;
	margin-top: -8px; height: clamp(56px, 13vw, 170px);
	font-family: var(--font); font-size: clamp(72px, 17vw, 230px); font-weight: 800; line-height: .9; letter-spacing: -0.05em;
	text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
	color: transparent;
	background: linear-gradient(180deg, color-mix(in srgb, var(--footer-text, #64748b) 24%, transparent), transparent 90%);
	-webkit-background-clip: text; background-clip: text;
}
.site-footer__meta { position: relative; z-index: 1; padding: 18px 0; border-top: 1px solid var(--footer-line); font-size: 13.5px; }
.site-footer__meta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer__meta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.site-footer__meta-links a { transition: color .2s ease; }
.site-footer__meta-links a:hover { color: var(--footer-strong); }
.site-footer__top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--footer-strong); }
.site-footer__top .dtc-icon {
	width: 28px; height: 28px; padding: 6px; border-radius: 50%;
	border: 1px solid var(--footer-line); transition: transform .2s ease, background-color .2s ease;
}
.site-footer__top:hover .dtc-icon { transform: translateY(-2px); background: color-mix(in srgb, var(--footer-text, #64748b) 12%, transparent); }

@media (max-width: 767px) {
	.site-footer__inner { padding-top: 36px; padding-bottom: 20px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
	.site-footer__grid .site-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
	.site-footer__brand .dtc-logo__img { width: 150px !important; max-height: none !important; margin: -6px 0; }
	.site-footer__brand-copy { max-width: 320px; margin-top: 8px; font-size: 13.5px; line-height: 1.6; }
	.site-footer__cta { margin-top: 14px; padding: 9px 18px; font-size: 14px; border-radius: 999px; }
	.site-footer__cta .dtc-icon { width: 15px; height: 15px; }
	.site-footer__social { justify-content: center; margin-top: 14px; }
	.site-footer__grid .site-footer__nav { padding-top: 18px; border-top: 1px dashed var(--footer-line); }
	.site-footer__nav-heading { margin-top: 0; font-size: 11.5px; }
	.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
	.site-footer__links a {
		padding: 6px 13px; border: 1px solid var(--footer-line); border-radius: 999px;
		background: color-mix(in srgb, #fff 72%, transparent);
		font-size: 13.5px; line-height: 1.35; color: var(--footer-strong);
	}
	.site-footer__links a::before { display: none; }
	.site-footer__links a:active { color: var(--accent); border-color: currentColor; }
	.site-footer__contact { gap: 8px; margin-top: 12px; font-size: 14px; }
	.site-footer__contact .dtc-icon { width: 16px; height: 16px; }
	.site-footer__mark { height: 56px; margin-top: 0; font-size: 72px; }
	.site-footer__meta { padding: 14px 0 76px; font-size: 13px; }
	.site-footer__meta-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Support widget ---------------------------------------------------------- */

.support-widget { position: fixed; right: 16px; bottom: 88px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; }
.support-widget.is-hidden { display: none; }
.support-widget__fab {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 0; background: none; border: 0; cursor: pointer;
}
.support-widget__fab-icon {
	display: grid; place-items: center;
	width: 60px; height: 60px; border-radius: 50%;
	background: var(--support); color: #fff;
	box-shadow: 0 10px 26px rgba(123, 29, 46, .38);
	animation: dtc-pulse 2.6s ease-in-out infinite;
}
.support-widget__fab-icon .dtc-icon { width: 26px; height: 26px; }
.support-widget__fab-label { font-family: var(--font-serif); font-size: 12px; font-weight: 700; color: var(--support); }
.support-widget__hide {
	position: absolute; top: -6px; right: -4px;
	display: grid; place-items: center;
	width: 22px; height: 22px; padding: 0;
	border-radius: 50%;
	background: #fff; color: #334155; border: 1px solid #e2e8f0;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .12);
	cursor: pointer;
}
.support-widget__hide .dtc-icon { width: 12px; height: 12px; }
.support-widget__panel {
	position: relative;
	width: min(340px, calc(100vw - 32px));
	margin-bottom: 14px; padding: 22px 20px 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
	animation: dtc-pop .22s ease-out;
}
.support-widget__close { position: absolute; top: 10px; right: 10px; padding: 4px; background: none; border: 0; color: #94a3b8; cursor: pointer; }
.support-widget__title { padding-right: 20px; font-family: var(--font-display); font-size: 17px; font-weight: 620; color: var(--ink); }
.support-widget__text { margin-top: 8px; font-size: 13.5px; line-height: 1.6; }
.support-widget__points { display: grid; gap: 6px; margin: 14px 0; font-size: 13.5px; color: var(--ink); }
.support-widget__points span { margin-right: 8px; color: var(--mint); font-weight: 700; }
.support-widget__form { display: grid; gap: 10px; }
.support-widget__form input[type="tel"],
.form-field input, .form-field select, .form-field textarea {
	width: 100%;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	font-size: 15px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.support-widget__form input:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.58 0.18 255 / 0.15);
}
.support-widget__msg { font-size: 13px; }
.support-widget__msg.is-error { color: #b91c1c; }
.support-widget__msg.is-success { color: var(--mint); }
.support-widget__consent { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #94a3b8; }

@keyframes dtc-pulse { 0%, 100% { box-shadow: 0 10px 26px rgba(123, 29, 46, .38), 0 0 0 0 rgba(123, 29, 46, .35); } 50% { box-shadow: 0 10px 26px rgba(123, 29, 46, .38), 0 0 0 10px rgba(123, 29, 46, 0); } }
@keyframes dtc-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Catalogue / inner pages -------------------------------------------------- */

.page-hero { padding: 48px 0 24px; background: var(--tint); }
.page-hero .section-header { margin-bottom: 24px; }
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filter-chip {
	padding: 7px 16px;
	border-radius: 99px;
	background: #fff; border: 1px solid var(--line);
	font-size: 14px; font-weight: 500; color: var(--slate);
	transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-chip.is-active { background: var(--brand, var(--ink)); border-color: var(--brand, var(--ink)); color: var(--brand-text, #fff); }

.pagination-wrap { margin-top: 36px; }
.nav-links { display: flex; justify-content: center; gap: 6px; }
.page-numbers {
	display: grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 8px; background: #fff; border: 1px solid var(--line);
	font-size: 14px; color: var(--ink);
}
.page-numbers.current { background: var(--brand, var(--ink)); border-color: var(--brand, var(--ink)); color: var(--brand-text, #fff); }

.back-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--accent); }

/* Template single */
.template-single__grid { display: grid; gap: 32px; align-items: start; }
.template-single__preview { display: flex; justify-content: center; }
.phone-frame {
	width: min(360px, 100%);
	padding: 10px;
	border-radius: 40px;
	background: var(--ink-2);
	box-shadow: 0 30px 70px rgba(15, 23, 42, .25);
}
.phone-frame__screen {
	--thumb-h: 700px;
	height: 700px; max-height: 75vh;
	border-radius: 30px;
	overflow-y: auto;
	background: #fff;
	scrollbar-width: none;
}
.phone-frame__screen::-webkit-scrollbar { display: none; }
.phone-frame__screen img { width: 100%; }
.phone-frame__live { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.template-single__panel {
	padding: 28px 22px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
	box-shadow: var(--shadow-card);
}
.template-single__panel .back-link {
	display: inline-flex; align-items: center; gap: 4px;
	margin: 0 0 20px; padding: 6px 14px;
	border-radius: 999px; background: var(--tint);
	font-size: 13px; color: var(--slate);
	transition: background .2s, color .2s;
}
.template-single__panel .back-link:hover { background: var(--accent-soft); color: var(--accent); }
.template-single__panel .section-label {
	display: table; margin: 0 0 12px; padding: 4px 12px;
	border-radius: 999px; background: var(--accent-soft);
	font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--accent);
}
.template-single__title { font-family: var(--font-display); font-size: 34px; font-weight: 680; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.template-single__price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
	margin-top: 18px; padding: 14px 18px;
	border: 1px solid var(--accent-line); border-radius: 16px;
	background: linear-gradient(135deg, var(--accent-soft), transparent 80%);
	font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink);
}
.template-single__price small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.template-single__content { margin-top: 20px; font-size: 15px; line-height: 1.75; color: var(--text); }
.template-single__content strong { color: var(--ink); }
.template-single__list {
	display: grid; gap: 12px 20px;
	margin-top: 22px; padding-top: 22px;
	border-top: 1px dashed var(--line-strong);
}
.template-single__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.template-single__list .dtc-icon {
	flex: none; width: 22px; height: 22px; padding: 4px;
	border-radius: 50%; background: var(--mint-soft); color: var(--mint);
}
.template-single__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 28px; }
.template-single__actions .btn { justify-content: center; width: 100%; white-space: nowrap; }
.template-single__note {
	margin-top: 16px; padding: 10px 14px;
	border-radius: 12px; background: var(--mint-soft);
	font-size: 13px; text-align: center; color: color-mix(in oklch, var(--mint) 70%, var(--ink));
}

/* Create page */
.create-page__grid { display: grid; gap: 32px; align-items: start; }
.create-page__preview { max-width: 340px; width: 100%; margin: 0 auto; text-align: center; }
.create-page__preview .phone-frame { margin: 0 auto; }
.create-page__preview .phone-frame__screen { height: 640px; max-height: calc(100vh - var(--header-h) - 150px); min-height: 480px; }
.create-page__preview-name { margin-top: 18px; font-family: var(--font-display); font-size: 16px; font-weight: 650; color: var(--ink); }
.create-page__preview .back-link { margin-top: 6px; }
.create-page__form-wrap {
	padding: 28px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-card);
}
.create-page__title { font-family: var(--font-display); font-size: 28px; font-weight: 620; letter-spacing: -0.02em; color: var(--ink); }
.create-form { display: grid; gap: 16px; margin-top: 24px; }
.form-row { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field > span { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.form-field textarea { resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); text-align: center; }
.form-alert { margin-top: 18px; padding: 12px 14px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14px; }
.create-success { text-align: center; padding: 20px 0; }
.create-success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); }
.create-success__icon .dtc-icon { width: 32px; height: 32px; }
.create-success h1 { margin-top: 18px; font-family: var(--font-display); font-size: 26px; font-weight: 620; color: var(--ink); }
.create-success p { max-width: 460px; margin: 12px auto 0; line-height: 1.7; }
.create-success__edit { max-width: 480px; margin: 20px auto 0; padding: 14px 16px; border: 1px dashed #3b82f6; border-radius: 14px; background: rgba(59, 130, 246, .05); text-align: left; }
.create-success__edit p { margin: 0 0 10px; font-size: 14px; }
.create-success__edit input { width: 100%; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; font-size: 13px; background: #fff; }
.create-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Blog / pages */
.post-grid { display: grid; gap: 20px; }
.post-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eaf1fe, #fde7e1); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 18px; }
.post-card__body time { font-size: 12.5px; color: var(--muted); }
.post-card__body h2 { margin-top: 6px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.post-card__body p { margin-top: 8px; font-size: 14.5px; }

.entry-header { text-align: center; margin-bottom: 28px; }
.entry-title { font-family: var(--font-display); font-size: 32px; font-weight: 620; letter-spacing: -0.02em; color: var(--ink); }
.entry-thumb { margin: 0 0 28px; border-radius: 14px; overflow: hidden; }
.entry-content { font-size: 16.5px; line-height: 1.8; color: #3f4756; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; font-family: var(--font-display); color: var(--ink); }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content img { border-radius: 10px; }
.error-404 { padding: 96px 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 600px) {
	.ws-themes-card__thumb { height: auto; aspect-ratio: 4 / 5.6; }
	.ws-themes-grid { --thumb-h: 100%; gap: 12px; }
	.ws-themes-card__thumb-inner > .dtc-mock .dtc-mock__cover { min-height: 0; aspect-ratio: 4 / 5.6; }
	.ws-themes-card:hover .ws-themes-card__thumb-inner > img,
	.ws-themes-card:hover .ws-themes-card__thumb-inner > picture > img,
	.ws-themes-card:hover .ws-themes-card__thumb-inner > .dtc-mock { transform: none; }
	.ws-themes-card__actions { grid-template-columns: 1fr; gap: 6px; }
	.ws-button { min-height: 34px; }
	.dtc-mock { font-size: 10.5px; }
	.ws-inspiration-grid { gap: 12px; }
	.ws-inspiration-card__content { padding: 12px 8px; }
	.ws-inspiration-card__content h3 { font-size: 14px; }
	.site-footer__body { gap: 20px; }
	.hero-actions { margin-top: 48px; }
}

@media (min-width: 640px) {
	.secondary-grid { grid-template-columns: 1fr 1fr; }
	.form-row { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
	.container { padding: 0 24px; }
	.nav-menu { display: flex; }
	.mobile-tabbar { display: none; }
	body { padding-bottom: 0; }
	.support-widget { right: 24px; bottom: 24px; }
	.section { padding: 80px 0; }
	.section--flush-top { padding-top: 16px; }
	.section-header { margin-bottom: 48px; }
	.section-heading { font-size: 34px; }
	.section-heading--xl { font-size: 40px; }
	.section-sub { font-size: 17px; }
	.hero { padding: 96px 0 72px; }
	.hero-title { font-size: 48px; }
	.hero-subtext { font-size: 18px; }
	.feature-highlights { flex-wrap: nowrap; }
	.ws-themes-grid { grid-template-columns: repeat(3, 1fr); }
	.ws-inspiration-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.steps-wrapper { max-width: 1040px; }
	.steps-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.steps-connector {
		display: block; position: absolute; top: 53px; left: 16%; right: 16%; height: 0;
		border-top: 1.5px dashed oklch(0.58 0.18 255 / 0.35);
	}
	.home-referral__card { grid-template-columns: 1.35fr 1fr; padding: 40px; gap: 40px; }
	.home-referral__content h2 { font-size: 30px; }
	.home-referral__summary { grid-template-columns: auto 1fr; padding: 22px; }
	.site-footer__inner { padding-top: 72px; padding-bottom: 40px; }
	.site-footer__body { grid-template-columns: 2fr 1fr; gap: 48px; }
	.site-footer__brand-copy { max-width: 380px; }
	.site-footer__meta-inner { flex-wrap: nowrap; }
}

@media (min-width: 960px) {
	.site-footer__grid { grid-template-columns: minmax(0, 1.7fr) repeat(var(--footer-cols, 2), minmax(0, 1fr)); gap: 48px; }
	.site-footer__grid .site-footer__brand { grid-column: auto; padding-right: 32px; }
	.template-single__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
	.template-single__panel { position: sticky; top: calc(var(--header-h) + 32px); padding: 36px 36px 32px; }
	.template-single__title { font-size: 40px; }
	.template-single__list { grid-template-columns: 1fr 1fr; }
	.create-page__grid { grid-template-columns: 340px 1fr; gap: 48px; }
	.create-page__preview { position: sticky; top: calc(var(--header-h) + 32px); }
	.create-page__form-wrap { padding: 40px; }
	.create-page__title { font-size: 32px; }
	.post-grid { grid-template-columns: repeat(3, 1fr); }
	.entry-title { font-size: 42px; }
}

@media (min-width: 901px) {
	.ws-themes-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
	.hero-title { font-size: 56px; }
}

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