/* ==========================================================================
   Bookzenix theme
   Ink + marigold, ruled like an appointment book.
   ========================================================================== */

:root {
	--ink: #121735;
	--ink-2: #0b0f2b;
	--ink-soft: #2b315c;
	--paper: #f6f7fb;
	--white: #ffffff;
	--sun: #ffb020;
	--sun-deep: #e59600;
	--sun-soft: #fff3d9;
	--mint: #0f9d6e;
	--mint-soft: #e3f6ef;
	--line: #dfe2ee;
	--muted: #555b7d;

	--font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

	--step--1: .875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5625rem;
	--step-3: 1.953rem;
	--step-4: clamp(2rem, 3.2vw + 1rem, 2.75rem);
	--step-5: clamp(2.5rem, 4.6vw + 1rem, 4.25rem);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius-lg: 20px;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 0 rgba(18, 23, 53, .04), 0 12px 32px -12px rgba(18, 23, 53, .22), 0 32px 64px -32px rgba(18, 23, 53, .18);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--ink); }

.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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 0; }
.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(720px + var(--gutter) * 2); }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.h2 { font-size: var(--step-4); }
.h3 { font-size: var(--step-2); }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.4em;
	border: 2px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-deep); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-soft); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.link-quiet { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font-weight: 600; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.link-arrow { font-weight: 600; }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 251, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(18, 23, 53, .5); }
.admin-bar .site-header { top: 32px; }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-display); font-weight: 750; font-size: 1.375rem; letter-spacing: -.035em; }
.brand__logo { max-height: 40px; width: auto; }
.brand--light { color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; }
.site-nav__list a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.site-nav__list a:hover { color: var(--ink); background: rgba(18, 23, 53, .05); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.site-nav__list .sub-menu { display: none; }
.site-nav__actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
	/* Faint ruling, like the lines of an appointment book. */
	background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(18, 23, 53, .055) 47px 48px);
	background-position: 0 24px;
}
.hero__wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 20px; }
.hero__kicker::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero__title { font-size: var(--step-5); font-weight: 760; letter-spacing: -.04em; line-height: 1.02; max-width: 13ch; margin-bottom: 24px; }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9375rem; color: var(--ink-soft); }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .ico { color: var(--mint); stroke-width: 2.4; }
.hero__demo-note { margin: 14px 4px 0; font-size: var(--step--1); color: var(--muted); }

/* Booking demo ---------------------------------------------------------- */
.demo { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.demo::before { content: ''; position: absolute; inset: -10px 18px auto auto; width: 74px; height: 22px; background: var(--sun); border-radius: 6px; transform: rotate(4deg); opacity: .95; z-index: -1; }
.demo__head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.demo__dot { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--ink) 0 25%, var(--sun) 0 50%, var(--ink) 0 75%, var(--sun) 0); }
.demo__studio { margin: 0; font-weight: 700; font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.02em; }
.demo__studio span { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--step--1); color: var(--muted); letter-spacing: 0; }
.demo__group { border: 0; margin: 0; padding: 18px 0 0; min-width: 0; }
.demo__group legend { font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-bottom: 8px; padding: 0; }
.demo input { position: absolute; opacity: 0; pointer-events: none; }

.demo__services { display: grid; gap: 6px; }
.chip span { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; transition: border-color .15s, background-color .15s; }
.chip small { color: var(--muted); font-size: var(--step--1); }
.chip input:checked + span { border-color: var(--ink); background: var(--sun-soft); box-shadow: inset 3px 0 0 var(--sun); }

.demo__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.day span { display: grid; place-items: center; padding: 8px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; line-height: 1.15; }
.day small { font-size: .75rem; color: var(--muted); }
.day b { font-family: var(--font-display); font-size: 1.25rem; }
.day input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.day input:checked + span small { color: rgba(255, 255, 255, .7); }

.demo__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot span { display: block; text-align: center; padding: 9px 0; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-variant-numeric: tabular-nums; font-weight: 500; font-size: .9375rem; }
.slot input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--white); }
.slot.is-taken span { cursor: not-allowed; color: #a3a8c2; text-decoration: line-through; background: repeating-linear-gradient(135deg, #f3f4f8 0 6px, #fff 6px 12px); }
.chip input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.chip span:hover, .day span:hover, .slot:not(.is-taken) span:hover { border-color: var(--ink-soft); }

.demo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.demo__summary { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

.demo__done { padding: 24px 6px 8px; text-align: left; }
.demo__done:focus { outline: none; }
.demo__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--white); margin-bottom: 16px; animation: bzx-pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.demo__tick .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.demo__done-title { font-family: var(--font-display); font-weight: 750; font-size: var(--step-3); letter-spacing: -.03em; margin: 0 0 4px; }
.demo__done-meta { color: var(--muted); }
.demo__done-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 24px; padding: 16px; background: var(--paper); border-radius: var(--radius); }
.demo__done-list li { display: flex; gap: 10px; align-items: center; font-size: .9375rem; }
.demo__done-list .ico { color: var(--mint); }
@keyframes bzx-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Trades strip --------------------------------------------------------- */
.trades { background: var(--ink); color: var(--white); padding: 22px 0; }
.trades__wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.trades__label { margin: 0; font-weight: 600; color: var(--sun); white-space: nowrap; }
.trades__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; color: rgba(255, 255, 255, .82); font-size: .9375rem; }

/* Sections --------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--white); border-block: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p { color: var(--muted); font-size: var(--step-1); margin: 0; }

/* Steps (a real sequence, so numbered) --------------------------------- */
.steps .h2 { margin-bottom: 40px; }
.steps__list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps__list li { counter-increment: step; padding: 28px 28px 0 0; position: relative; }
.steps__list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__list li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 750; font-size: 3.25rem; line-height: 1; color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 18px; }
.steps__list h3 { font-size: var(--step-1); }
.steps__list p { color: var(--muted); margin: 0; }

/* Feature board -------------------------------------------------------- */
.board { padding-top: 0; }
.board__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }
.tile { border-top: 2px solid var(--ink); padding-top: 22px; }
.tile .ico { width: 30px; height: 30px; color: var(--ink); margin-bottom: 14px; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--muted); margin: 0; }
.tile--lead { grid-row: span 2; background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.tile--lead .ico { color: var(--sun); width: 40px; height: 40px; }
.tile--lead h3 { font-size: var(--step-3); max-width: 14ch; }
.tile--lead p { color: rgba(255, 255, 255, .78); }
.tile__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.tile__tags li { font-size: var(--step--1); padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.board__more { margin: 48px 0 0; }

/* Integrations --------------------------------------------------------- */
.integrations { padding-top: 0; }
.integrations__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding-top: var(--section); border-top: 1px solid var(--line); }
.integrations__wrap p { color: var(--muted); }
.integrations__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.integrations__list li { padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; }

/* Pricing ----------------------------------------------------------------- */
.pricing__switch { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; }
.section--flush-top .pricing__switch { background: var(--white); }
.pricing__switch button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-soft); }
.pricing__switch [aria-checked="true"] { background: var(--ink); color: var(--white); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan__name { font-size: var(--step-2); margin: 0; }
.plan__flag { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.plan__summary { color: var(--muted); font-size: .9375rem; min-height: 4.8em; margin: 10px 0 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan__amount { font-family: var(--font-display); font-weight: 750; font-size: 2.75rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--muted); font-size: .9375rem; }
.plan__sites { font-weight: 600; margin: 10px 0 20px; font-size: .9375rem; }
.plan__features { list-style: none; display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; }
.plan__features .ico { color: var(--mint); stroke-width: 2.4; margin-top: 2px; width: 1.1em; height: 1.1em; }
.plan--featured { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.plan--featured .plan__summary, .plan--featured .plan__per { color: rgba(255, 255, 255, .72); }
.plan--featured .plan__features { border-color: rgba(255, 255, 255, .16); }
.plan--featured .plan__features .ico { color: var(--sun); }
.pricing__note { margin: 28px 0 0; font-size: var(--step--1); color: var(--muted); max-width: 80ch; }
[hidden] { display: none !important; }

/* Compare table */
.compare .h2 { margin-bottom: 28px; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.compare__table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9375rem; }
.compare__table th, .compare__table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table th[scope="row"] { text-align: left; font-weight: 500; }
.compare__table thead th { font-family: var(--font-display); font-size: 1.125rem; background: var(--paper); }
.compare__table thead th:nth-child(4) { background: var(--sun-soft); }
.compare__table .yes .ico { color: var(--mint); stroke-width: 2.6; }
.compare__table .no { color: #a3a8c2; }

/* FAQ ------------------------------------------------------------------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq__intro p { color: var(--muted); }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.125rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121735' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 44px 20px 0; margin: 0; max-width: 70ch; }

/* CTA band ------------------------------------------------------------ */
.cta { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 40px; background: repeating-linear-gradient(to bottom, var(--sun) 0 22px, transparent 22px 34px); opacity: .9; transform: rotate(-8deg); }
.cta__wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; position: relative; z-index: 1; }
.cta__title { font-size: var(--step-4); max-width: 18ch; }
.cta__text { color: rgba(255, 255, 255, .78); max-width: 56ch; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-right: 160px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: .9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { max-width: 40ch; margin-top: 16px; }
.site-footer__mor { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); font-size: var(--step--1); }
.site-footer__mor .ico { color: var(--sun); margin-top: 2px; }
.site-footer__title { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--sun); letter-spacing: 0; margin-bottom: 14px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--step--1); }
.site-footer__base p { margin: 0; }
.site-footer__social { list-style: none; display: flex; gap: 18px; }
.site-footer__wp { width: 100%; color: rgba(255, 255, 255, .45); }

/* Inner page header ---------------------------------------------------- */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-head__title { font-size: var(--step-5); font-weight: 760; letter-spacing: -.04em; max-width: 18ch; margin-bottom: 16px; }
.page-head__lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin: 0; }
.page-head__meta { color: var(--muted); margin: 0; }
.page-head--legal .page-head__title, .page-head--post .page-head__title { font-size: var(--step-4); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--step--1); color: var(--muted); margin-bottom: 20px; }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: #b5b9cf; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--sun); }

/* Prose --------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-3); margin-top: 2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.6em; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sun-deep); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sun); font-size: var(--step-1); }
.prose img { border-radius: var(--radius); }
.prose code { background: #eceef6; padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.prose pre { background: var(--ink); color: #e9ebf7; padding: 20px; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.prose--spaced { margin-top: 56px; }
.entry-hero { margin: 0 0 40px; }
.entry-hero img { width: 100%; border-radius: var(--radius-lg); }
.entry-content--wide > * { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.entry-content--wide > .alignfull { max-width: none; padding-inline: 0; }

/* Features page ------------------------------------------------------------ */
.features-full__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.feat-group__title { display: flex; gap: 12px; align-items: center; font-size: var(--step-2); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.feat-group__title .ico { width: 28px; height: 28px; }
.feat-group__list { list-style: none; }
.feat-group__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-tag { flex: none; align-self: center; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eceef6; color: var(--ink-soft); }
.plan-tag--standard { background: var(--mint-soft); color: #0a6d4d; }
.plan-tag--pro { background: var(--sun-soft); color: #8a5a00; }
.plan-tag--elite { background: var(--ink); color: var(--white); }
.deliver { margin-top: 72px; padding: 36px; border-radius: var(--radius-lg); background: var(--sun-soft); border: 1px solid #f4dca6; }
.deliver ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; margin: 8px 0 28px; }
.deliver li { padding-left: 28px; position: relative; }
.deliver li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px; background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }

/* About -------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 24px; }
.facts dl { margin: 0; }
.facts dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Contact ------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field input, .field select, .field textarea, .search-form input {
	width: 100%; padding: 12px 14px; border: 1px solid #c9cde0; border-radius: var(--radius-sm); background: var(--white); min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 176, 32, .55); }
.form__hp { position: absolute; left: -9999px; }
.form__legal { font-size: var(--step--1); color: var(--muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; }
.notice--ok { background: var(--mint-soft); color: #0a5c41; }
.notice--err { background: #fde8e8; color: #8c1d1d; }
.contact__refund { margin-top: 24px; color: var(--muted); font-size: .9375rem; }

/* Legal ------------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: .9375rem; }
.legal__toc-title { font-weight: 700; margin-bottom: 10px; }
.legal__toc ol { list-style: none; counter-reset: toc; border-left: 2px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); }
.legal__toc a::before { content: counter(toc) '. '; color: var(--muted); }
.legal__toc a:hover { border-color: var(--sun); color: var(--ink); }
.legal__body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); max-width: none; }
.legal__body > :first-child { margin-top: 0; }
.legal__body h2 { font-size: var(--step-2); }
.legal .legal__toc[hidden] + .legal__body { grid-column: 1 / -1; }

/* Blog ---------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.card__meta { font-size: var(--step--1); color: var(--muted); margin-bottom: 8px; }
.card__cat { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--sun-soft); color: #8a5a00; font-weight: 600; }
.card__title { font-size: var(--step-1); }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.card__excerpt { color: var(--muted); margin: 0; }
.sticky .card__title::before { content: 'Pinned: '; color: var(--sun-deep); }
.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--white); }
.nav-links .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-again { margin-bottom: 40px; }
.empty { padding: 48px; background: var(--white); border: 1px dashed #c9cde0; border-radius: var(--radius-lg); }

.post-single__foot { margin-top: 48px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tags a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: var(--step--1); background: var(--white); }
.author-box { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 32px; }
.author-box img { border-radius: 50%; }
.author-box__name { font-weight: 700; margin-bottom: 4px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 64px; }
.post-nav__next { text-align: right; grid-column: 2; }
.comments { padding-bottom: 64px; }
.comments__list { list-style: none; }

/* Thank you / 404 ------------------------------------------------------- */
.thanks__wrap, .notfound__wrap { max-width: calc(760px + var(--gutter) * 2); }
.thanks__tick { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--white); margin-bottom: 28px; }
.thanks__tick .ico { width: 38px; height: 38px; stroke-width: 2.6; }
.thanks__title { max-width: 16ch; }
.thanks__steps { margin: 0 0 32px 1.2em; display: grid; gap: 10px; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: .9; letter-spacing: -.06em; color: var(--sun); -webkit-text-stroke: 2px var(--ink); margin: 0 0 16px; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-weight: 600; }

/* WordPress core classes ---------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
.bypostauthor { }

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1080px) {
	.pricing__grid { grid-template-columns: repeat(2, 1fr); }
	.posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: 72px 0 auto 0; z-index: 40;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(18, 23, 53, .4);
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .site-nav { top: 118px; }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.125rem; }
	.site-nav__actions { justify-content: space-between; }

	.hero__wrap, .integrations__wrap, .faq__wrap, .about, .contact, .legal, .cta__wrap { grid-template-columns: 1fr; }
	.hero__title { max-width: 16ch; }
	.board__grid { grid-template-columns: repeat(2, 1fr); }
	.tile--lead { grid-column: 1 / -1; grid-row: auto; }
	.legal__toc { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.cta__actions { padding-right: 0; }
	.cta::after { width: 160px; height: 160px; right: -50px; bottom: -70px; }
}

@media (max-width: 720px) {
	.steps__list { grid-template-columns: 1fr; border-top: 0; }
	.steps__list li, .steps__list li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
	.steps__list li:first-child { border-top: 2px solid var(--ink); }
	.board__grid, .features-full__grid, .posts, .deliver ul { grid-template-columns: 1fr; }
	.pricing__grid { grid-template-columns: 1fr; }
	.plan__summary { min-height: 0; }
	.form__row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.demo { padding: 16px; }
	.demo__foot { flex-direction: column; align-items: stretch; }
	.demo__foot .btn { width: 100%; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: 1; text-align: left; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: 118px; }
}

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

@media print {
	.site-header, .site-footer, .cta, .legal__toc { display: none; }
	body { background: #fff; }
	.legal__body { border: 0; padding: 0; }
}

/* Licence-server shortcode ([bls_pricing]) -------------------------------
   Gives the plugin's markup the theme's type, colours and buttons without
   needing its class names. Plugin styles with higher specificity still win. */
.bls-pricing { font-family: var(--font-body); color: var(--ink); }
.bls-pricing h2, .bls-pricing h3, .bls-pricing h4 { font-family: var(--font-display); letter-spacing: -.025em; }
.bls-pricing a.button, .bls-pricing button, .bls-pricing .button, .bls-pricing input[type="submit"], .bls-pricing [class*="btn"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7em 1.4em;
	border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
	font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.bls-pricing a.button:hover, .bls-pricing button:hover, .bls-pricing .button:hover, .bls-pricing [class*="btn"]:hover { background: var(--ink); color: var(--white); }
.bls-pricing [class*="featured"] a.button, .bls-pricing [class*="popular"] a.button,
.bls-pricing [class*="featured"] button, .bls-pricing [class*="popular"] button { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.bls-pricing table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.bls-pricing th, .bls-pricing td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.bls-pricing ul { list-style: none; padding: 0; }
.bls-pricing li { padding: 4px 0; }

/* Account ------------------------------------------------------------------ */
.page-head--account .page-head__title { font-size: var(--step-4); }
.account-signout { margin-left: 12px; font-weight: 600; }
.purchased { display: flex; gap: 18px; align-items: flex-start; padding: 24px; margin-bottom: 24px; border-radius: var(--radius-lg); background: var(--mint-soft); border: 1px solid #bfe8d8; }
.purchased__tick { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--white); }
.purchased__tick .ico { width: 24px; height: 24px; stroke-width: 2.6; }
.purchased__title { font-size: var(--step-1); margin-bottom: 4px; }
.purchased p { margin: 0; color: #19493a; max-width: 70ch; }

.signin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.signin__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.signin__card--main { border: 2px solid var(--ink); }
.signin__help { color: var(--muted); }
.signin__card form p { margin: 0 0 16px; }
.signin__card label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.signin__card input[type="text"], .signin__card input[type="password"], .signin__card input[type="email"] { width: 100%; padding: 12px 14px; min-height: 48px; border: 1px solid #c9cde0; border-radius: var(--radius-sm); background: var(--white); }
.signin__card input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 176, 32, .55); }
.signin__card .login-remember label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.signin__card .login-submit input { min-height: 48px; padding: .7em 1.4em; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; cursor: pointer; width: 100%; }
.signin__card .login-submit input:hover { background: var(--ink-soft); }
.signin__links { margin: 0; font-size: .9375rem; }
.signin__foot { margin-top: 24px; color: var(--muted); font-size: .9375rem; max-width: 80ch; }

.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.account__nav ul { list-style: none; display: grid; gap: 2px; }
.account__nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.account__nav a:hover { background: rgba(18, 23, 53, .05); color: var(--ink); }
.account__nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.account__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 40px); min-width: 0; }
.account__panel .empty { padding: 28px; }
.account__hint { margin: 20px 0 0; color: var(--muted); font-size: .9375rem; }
.account__list { margin: 0 0 24px 1.2em; display: grid; gap: 6px; }
.form--plain { border: 0; padding: 0; background: none; }
.field__help { display: block; margin-top: 6px; color: var(--muted); font-size: var(--step--1); }
.field-set { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 4px; margin: 8px 0 24px; }
.field-set legend { font-weight: 700; padding: 0 6px; }

.licences { display: grid; gap: 16px; }
.licence { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.licence__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.licence__name { font-size: var(--step-1); margin: 0; }
.licence__key { display: flex; gap: 8px; margin-bottom: 16px; }
.licence__key input { flex: 1; min-width: 0; min-height: 40px; padding: 8px 12px; border: 1px dashed #b5b9cf; border-radius: var(--radius-sm); background: var(--paper); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9375rem; letter-spacing: .02em; }
.licence__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.licence__meta dt { font-size: var(--step--1); color: var(--muted); }
.licence__meta dd { margin: 2px 0 0; font-weight: 600; }
.pill { font-size: .8125rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: var(--mint-soft); color: #0a5c41; }
.pill--warn { background: var(--sun-soft); color: #8a5a00; }
.pill--off { background: #eceef6; color: var(--muted); }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.btn--danger { border-color: #b42318; color: #b42318; background: transparent; }
.btn--danger:hover { background: #b42318; color: var(--white); }

@media (max-width: 960px) {
	.signin, .account { grid-template-columns: 1fr; }
	.account__nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.account__nav a { border: 1px solid var(--line); background: var(--white); }
}
@media (max-width: 720px) {
	.licence__meta { grid-template-columns: 1fr 1fr; }
	.licence__key { flex-direction: column; }
}
