/* ==========================================================================
   Markd theme. Brand colours are the variables below: change them here.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
	--ink: #0b0d12;
	--ink-2: #3a3f4a;
	--muted: #6b7180;
	--paper: #f6f7fb;
	--card: #ffffff;
	--line: #e1e5ef;
	--accent: #0a44f4;      /* Markd blue (from the logo) */
	--accent-ink: #ffffff;
	--accent-2: #0f7b5f;    /* success green */
	--lime: #d1f917;        /* Markd lime (logo underline) */
	--accent-soft: #eef2ff;
	--night: #070912;       /* header and hero */
	--soft: #eceff7;

	--font-display: "Archivo", "Arial Black", system-ui, sans-serif;
	--font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(17, 19, 24, .06), 0 8px 24px rgba(17, 19, 24, .06);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 9vw, 112px);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.65 var(--font-body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; }
h1, h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .75em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"], .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--ink);
	background: var(--ink); color: #fff; font: 700 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover, .button:hover, input[type="submit"]:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary, .single_add_to_cart_button.button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover, .single_add_to_cart_button.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .85rem; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 18, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand img { width: 150px; height: auto; }
.site-footer .brand img { width: 180px; }
.custom-logo { max-height: 48px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav__list a { color: #e8eaf2; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { background: rgba(255, 255, 255, .08); color: #fff; }
.site-nav__list .sub-menu { display: none; }
.cart-link { position: relative; display: inline-flex; padding: 10px; border-radius: 999px; }
.cart-link { color: #fff; }
.cart-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cart-link__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .7rem; font-weight: 700; line-height: 20px; text-align: center; }
.nav-toggle { display: none; margin-left: auto; padding: 10px; background: none; border: 0; color: #fff; cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: 72px 0 auto 0; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 8px var(--gutter) 20px; display: none; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 14px 8px; border-radius: var(--radius-sm); font-size: 1.05rem; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
	.cart-link { margin-left: 0; }
}

/* Shared bits ------------------------------------------------------------ */
.mark { position: relative; display: inline-block; color: var(--ink); z-index: 0; padding: 0 .08em; }
.mark::before { content: ""; position: absolute; inset: .12em -.04em .06em; background: var(--lime); transform: skew(-8deg) rotate(-1.5deg); z-index: -1; border-radius: 4px; }
.section--dark .mark, .page-head .mark { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #e8eaf2; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 22px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(209,249,23,.18); animation: markd-pulse 2s infinite; }
@keyframes markd-pulse { 50% { box-shadow: 0 0 0 8px rgba(209,249,23,0); } }
.btn--big { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn .icon--arrow { transition: transform .2s; }
.btn:hover .icon--arrow, .link-arrow:hover .icon--arrow { transform: translateX(4px); }
.btn--dark { background: var(--night); border-color: var(--night); color: #fff; }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow .icon { transition: transform .2s; }
.grid-bg { background:
	linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
	linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px, var(--night); }

/* Reveal on scroll (only when JS is running) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); overflow: hidden; color: #fff;
	background:
		radial-gradient(50% 60% at 82% 38%, rgba(10,68,244,.55), transparent 70%),
		radial-gradient(35% 45% at 0% 100%, rgba(209,249,23,.12), transparent 70%),
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
		var(--night); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: .98; margin-bottom: .35em; }
.hero__text { font-size: 1.15rem; color: #c8cde0; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.hero .btn--primary { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: 0 10px 30px rgba(209,249,23,.25); }
.hero .btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 1.9rem; line-height: 1.1; color: #fff; }
.hero__stats span { font-size: .85rem; color: #9aa1b8; }

.hero__art { position: relative; min-height: 460px; }
.mock { position: relative; z-index: 3; width: min(100%, 440px); margin-left: auto; margin-right: 6%; background: #fff; color: var(--ink); border-radius: 20px; padding: 0 0 18px; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-2deg); }
.js-reveal .mock[data-reveal].is-in { transform: rotate(-2deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #e1e5ef; }
.mock__bar span:first-child { background: #ff6b5b; } .mock__bar span:nth-child(2) { background: #ffc331; } .mock__bar span:nth-child(3) { background: #34c759; }
.mock__bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: var(--muted); background: var(--paper); padding: 3px 12px; border-radius: 999px; }
.mock__img { aspect-ratio: 4 / 3; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.mock__img img { width: 100%; height: 100%; object-fit: contain; }
.mock__field { margin: 16px 18px 12px; padding: 10px 14px; border: 2px solid var(--accent); border-radius: 10px; box-shadow: 0 0 0 4px rgba(10,68,244,.12); }
.mock__field small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mock__typing { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--accent); font-weight: 700; max-width: 100%; animation: markd-type 4.5s steps(18) infinite, markd-caret .8s step-end infinite; }
@keyframes markd-type { 0% { width: 0; } 45%, 80% { width: 18ch; } 100% { width: 0; } }
@keyframes markd-caret { 50% { border-color: transparent; } }
.mock__swatches { display: flex; gap: 8px; margin: 0 18px; }
.mock__swatches i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.mock__swatches i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.mock__swatches .is-custom { background: conic-gradient(#0a44f4, #d1f917, #ff5a1f, #0a44f4); }
.hero__tile { position: absolute; z-index: 1; width: 52%; aspect-ratio: 4 / 3; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); opacity: .92; }
.hero__tile img { width: 100%; height: 100%; object-fit: contain; }
.hero__tile--a { top: -4%; left: -2%; transform: rotate(-9deg); }
.hero__tile--b { bottom: -2%; left: 4%; transform: rotate(6deg); z-index: 2; }
.hero__placeholder { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 2.4rem; line-height: 1; text-transform: uppercase; text-align: center; color: var(--accent); }
.badge { position: absolute; z-index: 4; right: -10px; bottom: 6%; width: 132px; height: 132px; animation: markd-spin 16s linear infinite; }
.badge__bg { fill: var(--lime); }
.badge text { font: 800 15px var(--font-body); letter-spacing: 3px; fill: var(--ink); }
.badge__star { fill: var(--ink); }
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__art { min-height: 0; max-width: 460px; width: 100%; margin: 20px auto 0; }
	.mock { margin: 0 auto; }
	.hero__tile { display: none; }
	.badge { width: 104px; height: 104px; right: -6px; bottom: -30px; }
}

/* Marquee ---------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--lime); color: var(--ink); border-block: 2px solid var(--ink); transform: rotate(-1.2deg); margin: -22px -10px 0; position: relative; z-index: 5; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: markd-marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(1rem, 2vw, 1.35rem); text-transform: uppercase; white-space: nowrap; }
.marquee b { font-size: 1.2rem; color: var(--accent); }
@keyframes markd-marquee { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--soft); }
.section--dark { color: #fff; background:
	radial-gradient(40% 60% at 100% 0%, rgba(10,68,244,.35), transparent 70%),
	linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
	linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px, var(--night); }
.section--dark .kicker { color: var(--lime); }
.section__head { max-width: 46em; margin-bottom: clamp(30px, 4vw, 52px); }
.section__head p:last-child { color: var(--ink-2); }
.section--dark .section__head p:last-child { color: #b9bfd3; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--split h2 { margin: 0; max-width: 16em; }
.section__more { margin-top: 36px; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 24px 28px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); counter-increment: step; transition: transform .25s, background .25s, border-color .25s; }
.step:hover { transform: translateY(-6px); background: rgba(10,68,244,.18); border-color: rgba(10,68,244,.6); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(209,249,23,.7); margin-bottom: 18px; }
.step__icon { position: absolute; top: 28px; right: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: #fff; }
.step h3 { color: #fff; font-size: 1.25rem; }
.step p { color: #b9bfd3; margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.industry { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 24px; border-radius: 20px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; isolation: isolate; transition: transform .25s; }
.industry::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 75%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .55; filter: blur(10px); z-index: -1; transition: transform .4s, opacity .4s; }
.industries li:nth-child(4n+2) .industry { background: var(--accent); } .industries li:nth-child(4n+2) .industry::before { background: var(--lime); opacity: .35; }
.industries li:nth-child(4n+3) .industry { background: var(--lime); color: var(--ink); } .industries li:nth-child(4n+3) .industry::before { background: #fff; }
.industries li:nth-child(4n+4) .industry { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); } .industries li:nth-child(4n+4) .industry::before { background: var(--lime); }
.industry:hover { transform: translateY(-6px) rotate(-1deg); color: inherit; }
.industry:hover::before { transform: scale(1.5); opacity: .8; }
.industry__arrow { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .25s; }
.industries li:nth-child(4n+3) .industry__arrow, .industries li:nth-child(4n+4) .industry__arrow { background: rgba(0,0,0,.08); }
.industry:hover .industry__arrow { transform: rotate(-45deg); }
.industry__name { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; }
.industry__count { font-size: .85rem; opacity: .75; margin-top: 4px; }

/* Pricing ---------------------------------------------------------------- */
#bundles { color: #fff; background:
	radial-gradient(45% 55% at 0% 100%, rgba(10,68,244,.4), transparent 70%),
	linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
	linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px, var(--night); }
#bundles .kicker { color: var(--lime); }
#bundles .section__head p:last-child { color: #b9bfd3; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.05); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 30px 24px; transition: transform .25s, border-color .25s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.35); }
.plan--featured { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-12px); box-shadow: 0 30px 70px rgba(209,249,23,.18); }
.plan--featured:hover { transform: translateY(-16px); border-color: var(--lime); }
.plan__badge { position: absolute; top: -14px; right: 22px; margin: 0; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan__name { font-size: 1.05rem; color: inherit; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 2.6rem; line-height: 1; margin-bottom: .4em; }
.plan__plus { font-size: .85rem; font-weight: 700; color: var(--lime); margin-bottom: .6em; }
.plan--featured .plan__plus { color: var(--accent); }
.plan__list { list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; }
.plan__list li { display: flex; gap: 8px; padding: 5px 0; }
.plan__list .icon { color: var(--lime); margin-top: 3px; width: 1.05em; height: 1.05em; }
.plan--featured .plan__list .icon { color: var(--accent); }
.plan__delivery { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; opacity: .75; }
.plan--featured .plan__delivery { border-color: rgba(0,0,0,.15); }
@media (max-width: 1000px) { .pricing { grid-template-columns: 1fr 1fr; } .plan--featured { transform: none; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* CTA -------------------------------------------------------------------- */
.cta-wrap { padding: var(--section) 0; }
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(36px, 6vw, 72px); border-radius: 28px; color: var(--ink);
	background: repeating-linear-gradient(-45deg, rgba(7,9,18,.05) 0 2px, transparent 2px 18px), var(--lime); box-shadow: 0 30px 80px rgba(209,249,23,.25); }
.cta::after { content: "✦"; position: absolute; right: -20px; top: -60px; font-size: 16rem; line-height: 1; color: rgba(10,68,244,.12); pointer-events: none; }
.cta__copy { max-width: 36em; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: .25em; }
.cta p { font-size: 1.1rem; margin: 0; }
.cta .btn { position: relative; z-index: 1; }

/* Page heads + prose ------------------------------------------------------ */
.page-head { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(70px, 9vw, 120px); background:
	radial-gradient(45% 80% at 90% 10%, rgba(10,68,244,.5), transparent 70%),
	linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
	linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px, var(--night); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--lime); }
.page-head__title { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; }
.page-head__desc { max-width: 40em; color: #c0c6d9; margin-top: 16px; font-size: 1.08rem; }
.page-head__desc p { margin: 0; }
.page-head .pills { margin-top: 30px; }
.page-head .pills ul { margin: 0; }
.page-head .pills a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.page-head .pills a[aria-current="page"], .page-head .pills a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-bottom: var(--section); margin-top: -48px; position: relative; z-index: 2; }
.prose { max-width: none; background: var(--card); border-radius: 22px; padding: clamp(24px, 5vw, 56px); box-shadow: 0 20px 60px rgba(17,19,24,.08); }
.prose-wrap:not(:has(.side-cta)) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.side-cta { position: sticky; top: 100px; padding: 28px; border-radius: 22px; background: var(--accent); color: #fff; overflow: hidden; }
.side-cta::after { content: "✦"; position: absolute; right: -14px; bottom: -40px; font-size: 9rem; line-height: 1; color: rgba(209,249,23,.25); }
.side-cta .kicker { color: var(--lime); }
.side-cta h2 { font-size: 1.8rem; }
.side-cta p { color: #dfe6ff; }
.side-cta .btn--primary { background: var(--lime); border-color: var(--lime); color: var(--ink); position: relative; z-index: 1; }
.side-cta .btn--primary:hover { background: #fff; border-color: #fff; }
@media (max-width: 960px) { .prose-wrap { grid-template-columns: 1fr; } .side-cta { position: static; } }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); font-weight: 600; }
.prose details { border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; background: var(--paper); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.prose details[open] { background: #fff; border-color: var(--accent); box-shadow: 0 10px 30px rgba(10,68,244,.08); }
.prose summary { position: relative; font-weight: 700; cursor: pointer; list-style: none; padding-right: 36px; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.1rem; line-height: 1; transition: transform .25s, background .25s; }
.prose details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.prose details[open] summary { margin-bottom: 10px; }
.prose details p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.wc-card { background: var(--card); border-radius: 22px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 20px 60px rgba(17,19,24,.08); margin-top: -48px; position: relative; z-index: 2; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--night); color: #c9ccd3; padding-top: clamp(56px, 8vw, 96px); font-size: .95rem; overflow: hidden; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .brand { margin-bottom: 18px; }
.site-footer h3 { color: var(--lime); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 20px; }
.site-footer__pay { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 8px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .85rem; }
.site-footer__word { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .85; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; user-select: none; padding-top: 20px; padding-bottom: 10px; text-align: center; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2a2e37; font-size: .82rem; }
.site-footer__legal p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* WooCommerce: grid ------------------------------------------------------- */
.wc-wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section); }
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 12px 32px rgba(17,19,24,.06); text-align: center; transition: transform .25s, box-shadow .25s; }
ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--accent), 0 24px 50px rgba(10,68,244,.18); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 0 0 4px; text-decoration: none; color: inherit; }
ul.products li.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 !important; background: var(--paper); transition: transform .4s; }
ul.products li.product:hover img { transform: scale(1.03); }
ul.products li.product .card-industry { display: inline-block; margin: 18px 20px 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
ul.products li.product .woocommerce-loop-product__title { margin: 0 20px 2px; padding: 0 !important; font: 800 1.15rem/1.2 var(--font-display) !important; font-stretch: 125% !important; text-transform: uppercase; }
ul.products li.product .price { display: block; margin: 0 20px 16px !important; padding: 0 !important; color: var(--muted) !important; font-weight: 600; font-size: .95rem !important; }
ul.products li.product .price .amount { color: var(--ink); font-weight: 700; }
ul.products li.product .btn { margin: auto 20px 20px; align-self: stretch; }
ul.products li.product .onsale { position: absolute; top: 12px; left: 12px; margin: 0; background: var(--accent); border-radius: 999px; padding: 4px 12px; min-height: 0; line-height: 1.4; color: #fff; font-size: .75rem; }
@media (max-width: 900px) { ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { ul.products { grid-template-columns: 1fr; } }

.pills ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.pills a { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pills a[aria-current="page"], .pills a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce-ordering select { min-height: 44px; border-radius: 999px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--card); font: inherit; }
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 40px 0 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 600; }
.woocommerce-pagination .current { background: var(--ink); color: #fff; }

/* WooCommerce: single product + customiser --------------------------------- */
.wc-wrap--product { padding-top: clamp(28px, 5vw, 56px); }
.single-product div.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > .markd-preview { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 96px; width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product .summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .up-sells { grid-column: 1 / -1; }
.single-product .product_title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .2em; }
.single-product .summary .price { font: 800 2rem/1 var(--font-display) !important; font-stretch: 125% !important; color: var(--ink) !important; margin-bottom: 18px; }
.single-product .product_meta { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.single-product .product_meta > span { display: block; }
@media (max-width: 900px) {
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .markd-preview,
	.single-product div.product .summary { grid-column: 1; grid-row: auto; position: static; }
}

.woocommerce-tabs ul.tabs { display: none; }
.woocommerce-tabs .panel { background: var(--card); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px) !important; box-shadow: var(--shadow); margin-top: 24px !important; }
.woocommerce-tabs .panel > h2:first-child { font-size: 1.6rem; }

.markd-preview__frame { position: relative; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.markd-preview__frame img { width: 100%; height: auto; margin: 0 !important; transition: opacity .2s; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.markd-preview__frame.is-loading img { opacity: .45; }
.markd-preview__frame.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: markd-spin .8s linear infinite; }
@keyframes markd-spin { to { transform: rotate(360deg); } }
.markd-preview__bg { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.markd-preview__bg button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: 600 .82rem var(--font-body); cursor: pointer; }
.markd-preview__bg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.markd-preview__note { margin-top: 10px; font-size: .8rem; color: var(--muted); }

.markd-custom { margin: 8px 0 20px; padding: 0; border: 0; }
.markd-field { margin-bottom: 18px; }
.markd-field > label, .markd-field > legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; padding: 0; }
.markd-field .req { color: var(--accent); }
.markd-field .hint { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 4px; }
.markd-field input[type="text"], .markd-field textarea, .markd-field select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--card); font: 500 1rem var(--font-body); color: var(--ink);
}
.markd-field input:focus, .markd-field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(10, 68, 244, .22); }
fieldset.markd-field, .markd-field fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }

.markd-palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.markd-palette { position: relative; }
.markd-palette input { position: absolute; opacity: 0; }
.markd-palette label { display: block; padding: 10px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--card); cursor: pointer; font-size: .82rem; font-weight: 600; }
.markd-palette input:checked + label { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.markd-palette input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.markd-swatches { display: flex; gap: 4px; margin-bottom: 6px; }
.markd-swatches span { flex: 1; height: 22px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .08); }
.markd-custom-colours { display: none; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.markd-custom-colours.is-open { display: grid; }
.markd-custom-colours label { font-size: .82rem; font-weight: 600; }
.markd-custom-colours input[type="color"] { display: block; width: 100%; height: 44px; padding: 2px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }

.markd-bundles { display: grid; gap: 10px; }
.markd-bundle { position: relative; }
.markd-bundle input { position: absolute; opacity: 0; }
.markd-bundle label { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--card); cursor: pointer; }
.markd-bundle input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.markd-bundle input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.markd-bundle__name { font-weight: 700; }
.markd-bundle__price { font-weight: 700; text-align: right; }
.markd-bundle__desc { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.markd-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 6px; font-weight: 700; }
.markd-total__price { font: 800 1.5rem/1 var(--font-display); font-stretch: 125%; }
.single-product form.cart { display: block !important; }
.single-product form.cart .quantity { display: none !important; }
.woocommerce div.product form.cart .button.single_add_to_cart_button, .woocommerce button.button.alt { background: var(--accent); border-color: var(--accent); color: #fff; }
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover, .woocommerce button.button.alt:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.single-product form.cart .single_add_to_cart_button { width: 100%; min-height: 56px; font-size: 1.05rem; float: none !important; }
.markd-assure { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.markd-assure .icon { color: var(--accent-2); }

/* Woo notices + forms ----------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; border-radius: var(--radius-sm); padding: 14px 18px !important; margin: 0 0 20px !important; background: var(--card); border: 0 !important; border-left: 4px solid var(--accent-2) !important; box-shadow: var(--shadow); }
.woocommerce-error { border-left-color: #c62828 !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button { float: right; min-height: 36px; padding: 6px 16px; }
.markd-downloads { list-style: none; padding: 0; margin: 0 0 24px; }
.markd-downloads li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Contact form ------------------------------------------------------------ */
.markd-contact { display: grid; gap: 16px; max-width: 640px; }
.markd-contact .markd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.wc-wrap:has(> .wc-card) { padding-top: 0; }
html, body { overflow-x: clip; }
.site-footer__word { font-size: clamp(3rem, 12.5vw, 10.5rem); }
.woocommerce-result-count { float: none !important; margin: 0 0 18px !important; display: inline-block; }
.woocommerce-ordering { float: right !important; margin: -8px 0 18px !important; }
@media (max-width: 560px) { .woocommerce-ordering { float: none !important; margin: 0 0 18px !important; } }
