/*
 * Hypely theme: tokens + components. Logical properties only (RTL-first, LTR-safe).
 * Sun is a FILL colour: never text, never the only state indicator. Text on Sun is ink.
 */

/* ---------- 1. Tokens: light default, dark by system preference or [data-theme] ---------- */
:root {
	--hy-paper: #FBF4E8; --hy-sand: #F2E6D3; --hy-card: #FFFDF8;
	--hy-ink: #1C1511; --hy-ink-2: #5B4D43; --hy-ink-3: #6F5F54;
	--hy-line: #E6D8C3; --hy-line-strong: #8A7868;
	--hy-sun: #FF5A1F; --hy-sun-text: #B8340A; --hy-butter: #FFC83D; --hy-sea: #0F4C4A; --hy-blush: #F6C7B0;
	--hy-on-sun: #1C1511; --hy-on-butter: #1C1511; --hy-on-sea: #FFF6E8;
	--hy-success: #1D6A44; --hy-danger: #B42318; --hy-warning: #8A5300; --hy-info: #1F5E8C;
	--hy-focus: #1C1511;
	--hy-st-pending-fg: #6F5F54;  --hy-st-pending-bg: #F2E6D3;
	--hy-st-progress-fg: #B8340A; --hy-st-progress-bg: #FFE6DA;
	--hy-st-partial-fg: #8A5300;  --hy-st-partial-bg: #FFF0C7;
	--hy-st-done-fg: #0F4C4A;     --hy-st-done-bg: #D9EDE6;
	--hy-st-failed-fg: #B42318;   --hy-st-failed-bg: #FCE4E0;
	--hy-shadow-1: 0 1px 0 rgb(28 21 17 / .06), 0 1px 2px rgb(28 21 17 / .06);
	--hy-shadow-2: 0 2px 4px rgb(28 21 17 / .05), 0 8px 24px rgb(120 70 30 / .10);
	--hy-shadow-3: 0 4px 8px rgb(28 21 17 / .06), 0 20px 48px rgb(120 70 30 / .16);
	--hy-shadow-sheet: 0 -8px 40px rgb(120 70 30 / .18);
	--hy-shadow-press: 0 4px 0 #1C1511;
	--hy-shadow-press-down: 0 1px 0 #1C1511;

	--hy-font: "Heebo", "Assistant", "Segoe UI", system-ui, -apple-system, "Arial Hebrew", sans-serif;
	--hy-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--hy-radius-control: 12px; --hy-radius-button: 16px; --hy-radius-card: 24px; --hy-radius-sheet: 32px;
	--hy-ease: cubic-bezier(.2, 0, 0, 1); --hy-ease-rise: cubic-bezier(.16, 1, .3, 1); --hy-ease-settle: cubic-bezier(.34, 1.3, .64, 1);
	--hy-gutter: 16px;
	--hy-container: 1200px;
	--hy-header-h: 64px;
	--hy-tabbar-h: 64px;

	/* Unprefixed aliases (docs/brand/IMPLEMENTATION.md names) */
	--paper: var(--hy-paper); --sand: var(--hy-sand); --card: var(--hy-card);
	--ink: var(--hy-ink); --ink-2: var(--hy-ink-2); --ink-3: var(--hy-ink-3);
	--line: var(--hy-line); --line-strong: var(--hy-line-strong);
	--sun: var(--hy-sun); --sun-text: var(--hy-sun-text); --butter: var(--hy-butter); --sea: var(--hy-sea); --blush: var(--hy-blush);
	--focus: var(--hy-focus);
	color-scheme: light;
}
@media (min-width: 768px) { :root { --hy-gutter: 32px; --hy-header-h: 72px; } }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--hy-paper: #17110D; --hy-sand: #2D221A; --hy-card: #221913;
		--hy-ink: #FBF1E2; --hy-ink-2: #CDBBA6; --hy-ink-3: #A89582;
		--hy-line: #3A2D23; --hy-line-strong: #8F7D6C;
		--hy-sun: #FF7A3D; --hy-sun-text: #FF8A57; --hy-butter: #FFC83D; --hy-sea: #1C6A64; --hy-blush: #7A4630;
		--hy-on-sun: #17110D; --hy-on-butter: #17110D; --hy-on-sea: #FFF6E8;
		--hy-success: #6FD3A0; --hy-danger: #FF8A7A; --hy-warning: #FFC83D; --hy-info: #7DB8E8;
		--hy-focus: #FBF1E2;
		--hy-st-pending-fg: #A89582;  --hy-st-pending-bg: #2D221A;
		--hy-st-progress-fg: #FF8A57; --hy-st-progress-bg: #3A2217;
		--hy-st-partial-fg: #FFC83D;  --hy-st-partial-bg: #3A2D0E;
		--hy-st-done-fg: #6FD3A0;     --hy-st-done-bg: #12302A;
		--hy-st-failed-fg: #FF8A7A;   --hy-st-failed-bg: #3B1C18;
		--hy-shadow-1: 0 1px 0 rgb(0 0 0 / .4);
		--hy-shadow-2: 0 8px 24px rgb(0 0 0 / .40);
		--hy-shadow-3: 0 20px 48px rgb(0 0 0 / .55);
		--hy-shadow-sheet: 0 -8px 40px rgb(0 0 0 / .55);
		--hy-shadow-press: 0 4px 0 #8A3412;
		--hy-shadow-press-down: 0 1px 0 #8A3412;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--hy-paper: #17110D; --hy-sand: #2D221A; --hy-card: #221913;
	--hy-ink: #FBF1E2; --hy-ink-2: #CDBBA6; --hy-ink-3: #A89582;
	--hy-line: #3A2D23; --hy-line-strong: #8F7D6C;
	--hy-sun: #FF7A3D; --hy-sun-text: #FF8A57; --hy-butter: #FFC83D; --hy-sea: #1C6A64; --hy-blush: #7A4630;
	--hy-on-sun: #17110D; --hy-on-butter: #17110D; --hy-on-sea: #FFF6E8;
	--hy-success: #6FD3A0; --hy-danger: #FF8A7A; --hy-warning: #FFC83D; --hy-info: #7DB8E8;
	--hy-focus: #FBF1E2;
	--hy-st-pending-fg: #A89582;  --hy-st-pending-bg: #2D221A;
	--hy-st-progress-fg: #FF8A57; --hy-st-progress-bg: #3A2217;
	--hy-st-partial-fg: #FFC83D;  --hy-st-partial-bg: #3A2D0E;
	--hy-st-done-fg: #6FD3A0;     --hy-st-done-bg: #12302A;
	--hy-st-failed-fg: #FF8A7A;   --hy-st-failed-bg: #3B1C18;
	--hy-shadow-1: 0 1px 0 rgb(0 0 0 / .4);
	--hy-shadow-2: 0 8px 24px rgb(0 0 0 / .40);
	--hy-shadow-3: 0 20px 48px rgb(0 0 0 / .55);
	--hy-shadow-sheet: 0 -8px 40px rgb(0 0 0 / .55);
	--hy-shadow-press: 0 4px 0 #8A3412;
	--hy-shadow-press-down: 0 1px 0 #8A3412;
	color-scheme: dark;
}

/* ---------- 2. Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--hy-header-h) + 16px); }
body { background: var(--hy-paper); color: var(--hy-ink); font-family: var(--hy-font); overflow-wrap: break-word; }
@media (min-width: 768px) { body { font-size: 1.125rem; } }
:lang(he) { letter-spacing: 0; }
::selection { background: var(--hy-butter); color: var(--hy-on-butter); }
:focus-visible { outline: 3px solid var(--hy-focus); outline-offset: 2px; }
img, svg { max-inline-size: 100%; }
bdi.mono, .mono { font-family: var(--hy-mono); direction: ltr; unicode-bidi: isolate; }
.tnum { font-variant-numeric: tabular-nums; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.skip-link { background: var(--hy-ink); color: var(--hy-paper); border-radius: var(--hy-radius-control); font-weight: 800; padding: 12px 20px; z-index: 100000; text-decoration: none; }
.skip-link:focus { inset-block-start: 8px; inset-inline-start: 8px; clip-path: none; height: auto; width: auto; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.hy-main { margin-block: 0 !important; }
.hy-main.alignfull { padding-inline: 0; }
.has-global-padding > .alignfull { margin-inline: 0; }

/* ---------- 3. Buttons ---------- */
.wp-block-button__link, .wp-element-button { transition: transform 90ms var(--hy-ease), box-shadow 90ms var(--hy-ease); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-decoration: none; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:active { transform: translateY(3px); box-shadow: var(--hy-shadow-press-down); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--hy-ink); color: var(--hy-paper); }
.wp-block-button.is-style-outline .wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.is-size-sm .wp-block-button__link { min-height: 40px; font-size: 1rem; padding-block: .4rem; padding-inline: 1.1rem; }
.wp-block-button.is-size-lg .wp-block-button__link { min-height: 56px; font-size: 1.1875rem; }

/* Directional arrow: authored pointing to inline-end for LTR, mirrored automatically in RTL. */
.hy-arrow-link, .is-arrow .wp-block-button__link { --hy-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='miter'%3E%3Cpath d='M3 12H20M14 5L21 12L14 19'/%3E%3C/svg%3E"); }
.hy-arrow-link::after, .is-arrow .wp-block-button__link::after {
	content: ""; inline-size: 1.1em; block-size: 1.1em; flex: none; display: inline-block; vertical-align: -.2em; margin-inline-start: .4em;
	background: currentColor; -webkit-mask: var(--hy-arrow) center / contain no-repeat; mask: var(--hy-arrow) center / contain no-repeat;
	transition: transform 160ms var(--hy-ease);
}
:dir(rtl) .hy-arrow-link::after, :dir(rtl) .is-arrow .wp-block-button__link::after { transform: scaleX(-1); }
.hy-arrow-link { font-weight: 800; text-decoration: none; }
.hy-arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hy-arrow-link:hover::after { transform: translateX(3px); }
:dir(rtl) .hy-arrow-link:hover::after { transform: scaleX(-1) translateX(3px); }

/* ---------- 4. Header ---------- */
.hy-site-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--hy-paper); border-block-end: 2px solid var(--hy-line); }
.admin-bar .hy-site-header { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
.hy-header { display: flex; align-items: center; gap: 12px; min-block-size: var(--hy-header-h); max-inline-size: var(--hy-container); margin-inline: auto; padding-inline: var(--hy-gutter); }
.hy-header > * { margin: 0 !important; }
.hy-logo { display: inline-flex; color: var(--hy-ink); line-height: 0; flex: none; border-radius: 8px; }
.hy-logo__svg { block-size: 36px; inline-size: auto; aspect-ratio: 318 / 100; }
@media (min-width: 768px) { .hy-logo__svg { block-size: 42px; } }
.hy-logo__dot { fill: var(--hy-sun); }
.hy-logo__mark { stroke: var(--hy-paper); }
.hy-header > .hy-chip-slot { margin-inline-start: auto !important; }
.hy-site-header .wp-block-navigation { font-size: 1rem; }
.hy-site-header .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 10px; min-block-size: 44px; display: inline-flex; align-items: center; }
.hy-site-header .wp-block-navigation-item__content:hover { background: var(--hy-sand); text-decoration: none; }
.hy-site-header .wp-block-navigation-item__content[aria-current="page"] { font-weight: 800; box-shadow: inset 0 -3px 0 var(--hy-sun); border-radius: 0; }
.hy-nav-desktop { display: none; margin-inline-start: 8px; flex: 0 0 auto; }
.hy-nav-desktop .wp-block-navigation__container { flex-wrap: nowrap; gap: 0; }
.hy-site-header .wp-block-button__link, .hy-account-link { white-space: nowrap; }
.hy-header .hy-header-cta { display: none; }
@media (max-width: 520px) { .hy-header > .hy-toggle { display: none; } .hy-header { gap: 8px; } }
@media (min-width: 782px) {
	.hy-nav-desktop { display: flex; }
	.hy-header .hy-header-cta { display: flex; }
	.hy-nav-more { display: none !important; }
}
.hy-header .wp-block-navigation__responsive-container-open { color: var(--hy-ink); min-inline-size: 44px; min-block-size: 44px; border-radius: 12px; border: 2px solid var(--hy-line-strong); justify-content: center; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--hy-paper) !important; color: var(--hy-ink) !important; padding: 24px var(--hy-gutter) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; font-weight: 800; padding-block: 12px; }
.wp-block-navigation__responsive-container-close { color: var(--hy-ink); }
.hy-account-link { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 16px; border: 2px solid var(--hy-ink); border-radius: 9999px; font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--hy-ink); white-space: nowrap; }
.hy-account-link:hover { background: var(--hy-ink); color: var(--hy-paper); }
.hy-chip-slot { display: flex; align-items: center; }
.hy-chip-slot .hy-app { font-size: .9375rem; }

.hy-toggle { inline-size: 44px; block-size: 44px; border-radius: 12px; border: 2px solid var(--hy-line-strong); background: transparent; color: var(--hy-ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.hy-toggle:hover { background: var(--hy-sand); }
.hy-toggle__sun { display: none; }
:root[data-theme="dark"] .hy-toggle__sun { display: block; }
:root[data-theme="dark"] .hy-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .hy-toggle__sun { display: block; }
	:root:not([data-theme]) .hy-toggle__moon { display: none; }
}

/* ---------- 5. Mobile bottom tab bar ---------- */
.hy-tabbar { display: none; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; background: var(--hy-card); border-block-start: 2px solid var(--hy-line); padding-block-end: env(safe-area-inset-bottom); padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); box-shadow: var(--hy-shadow-sheet); }
.hy-tabbar__list { display: flex; list-style: none; margin: 0; padding: 0; }
.hy-tabbar__item { flex: 1 1 0; min-inline-size: 0; margin: 0; }
.hy-tabbar__link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-block-size: var(--hy-tabbar-h); color: var(--hy-ink-2); text-decoration: none; font-size: .78rem; font-weight: 500; line-height: 1.2; padding-block-start: 6px; }
.hy-tabbar__link:hover { color: var(--hy-ink); text-decoration: none; }
.hy-tabbar__link[aria-current="page"] { color: var(--hy-ink); font-weight: 800; }
.hy-tabbar__link[aria-current="page"]::before { content: ""; position: absolute; inset-block-start: 5px; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--hy-sun); }
.hy-tabbar__link[aria-current="page"] .hy-icon { transform: translateY(4px); }
.hy-tabbar__link .hy-icon { transition: transform 160ms var(--hy-ease); }
.hy-tabbar__link:focus-visible { outline-offset: -4px; }
@media (max-width: 781px) {
	.hy-tabbar { display: block; }
	body.hy-has-tabbar { padding-block-end: calc(var(--hy-tabbar-h) + env(safe-area-inset-bottom)); }
	html { scroll-padding-block-end: calc(var(--hy-tabbar-h) + 16px); }
}

/* ---------- 6. Shared building blocks ---------- */
.hy-section { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); padding-inline: var(--hy-gutter); }
.hy-section > * { max-inline-size: var(--hy-container); margin-inline: auto; }
.hy-section > .hy-narrow { max-inline-size: 820px; }
.hy-faq > * { max-inline-size: 820px; margin-inline: auto; }
.hy-faq > .hy-section-head, .hy-faq > .hy-lead { margin-inline: auto; }
.hy-section-head { margin-block-end: clamp(1.75rem, 1.2rem + 2vw, 3rem) !important; }
.hy-section-head > * { max-inline-size: 720px; margin-inline: 0 !important; }
.hy-section.hy-surface-sand { background: var(--hy-sand); }
.hy-eyebrow { color: var(--hy-sun-text); font-weight: 800; font-size: .9375rem; margin-block-end: .5rem !important; }
.hy-lead { font-size: 1.125rem; color: var(--hy-ink-2); max-inline-size: 60ch; }
.hy-meta { color: var(--hy-ink-3); font-size: .9375rem; }
.hy-more { margin-block-start: 1.5rem; }

.hy-card, .wp-block-group.is-style-card { background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); box-shadow: var(--hy-shadow-1); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.wp-block-group.is-style-sand { background: var(--hy-sand); border-radius: var(--hy-radius-card); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.wp-block-group.is-style-sea { background: var(--hy-sea); color: var(--hy-on-sea); border-radius: var(--hy-radius-card); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.wp-block-group.is-style-sea a { color: inherit; }

.hy-chips { inline-size: 100%; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hy-chip, .wp-block-categories.hy-cat-chips a, .hy-chips a {
	display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 16px; gap: .4em; border: 2px solid var(--hy-line-strong); border-radius: 9999px; background: transparent;
	color: var(--hy-ink); font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.hy-chip:hover, .wp-block-categories.hy-cat-chips a:hover, .hy-chips a:hover { border-color: var(--hy-ink); background: var(--hy-card); text-decoration: none; }
.hy-chip[aria-current="page"], .wp-block-categories.hy-cat-chips .current-cat a { background: var(--hy-ink); color: var(--hy-paper); border-color: var(--hy-ink); }
.wp-block-categories.hy-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.wp-block-categories.hy-cat-chips li { margin: 0; }
.hy-callout { border-inline-start: 4px solid var(--hy-sea); background: var(--hy-card); padding: 16px 20px; border-start-end-radius: 12px; border-end-end-radius: 12px; }
.hy-callout > :first-child { margin-block-start: 0; } .hy-callout > :last-child { margin-block-end: 0; }
.hy-check-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 14px; }
.hy-check-list li { position: relative; padding-inline-start: 36px; }
.hy-check-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .2em; inline-size: 24px; block-size: 24px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7.5 12.5L10.8 15.8L16.5 9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7.5 12.5L10.8 15.8L16.5 9'/%3E%3C/svg%3E") center / contain no-repeat; }
.hy-art { line-height: 0; }
.hy-art__img { inline-size: 100%; block-size: auto; aspect-ratio: var(--hy-art-ratio, auto); display: block; }
.hy-art--dark { display: none; }
:root[data-theme="dark"] .hy-art--light { display: none; }
:root[data-theme="dark"] .hy-art--dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .hy-art--light { display: none; }
	:root:not([data-theme]) .hy-art--dark { display: block; }
}

/* ---------- 7. Hero ---------- */
.hy-hero { padding-block: clamp(2rem, 1.2rem + 3vw, 4.5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-inline: var(--hy-gutter); }
.hy-hero__grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); max-inline-size: var(--hy-container); margin-inline: auto; align-items: start; }
@media (min-width: 960px) { .hy-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hy-hero__grid > * { margin: 0 !important; min-inline-size: 0; }
.hy-hero h1 { font-size: var(--wp--preset--font-size--hero); line-height: 1.02; font-weight: 900; margin-block: 0 .35em; text-wrap: balance; }
.hy-dot { display: inline-block; inline-size: .17em; block-size: .17em; border-radius: 50%; background: var(--hy-sun); margin-inline-start: .06em; vertical-align: baseline; animation: hy-dot 640ms var(--hy-ease-settle) 300ms both; }
@keyframes hy-dot { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
.hy-hero__sub { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); color: var(--hy-ink-2); max-inline-size: 34em; margin-block: 0 1.25rem; }
.hy-hero__actions { margin-block: 1.25rem 1.75rem; }
.hy-trust { margin-block: 0 1.25rem; font-size: 1rem; }
.hy-trust li { color: var(--hy-ink); }
.hy-hero__fine { color: var(--hy-ink-3); font-size: .875rem; margin-block-start: 1rem; }
.hy-hero__aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; min-inline-size: 0; }
.hy-hero__aside > * { margin: 0 !important; min-inline-size: 0; }
.hy-hero__art { display: none; border-radius: var(--hy-radius-card); overflow: hidden; }
.hy-hero__art .hy-art__img { aspect-ratio: 960 / 380; object-fit: cover; object-position: 50% 78%; }
@media (min-width: 960px) { .hy-hero__art { display: block; } }
.hy-builder-card { background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-sheet); box-shadow: var(--hy-shadow-3); padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); scroll-margin-block-start: calc(var(--hy-header-h) + 16px); min-block-size: 360px; }
.hy-builder-card__title { font-size: 1.375rem; font-weight: 800; margin: 0 0 .25rem; }
.hy-builder-card__desc { color: var(--hy-ink-2); font-size: .9375rem; margin: 0 0 1.25rem; }

/* ---------- 8. How it works ---------- */
.hy-steps { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0 auto; counter-reset: step; }
@media (min-width: 768px) { .hy-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hy-step { counter-increment: step; display: flex; flex-direction: column; gap: 12px; }
.hy-step .hy-art { inline-size: 96px; margin-block-end: 4px; }
.hy-step__num { font-weight: 800; font-size: .9375rem; color: var(--hy-ink-3); font-variant-numeric: tabular-nums; }
.hy-step__num::before { content: counter(step); display: inline-grid; place-items: center; inline-size: 32px; block-size: 32px; border: 2px solid var(--hy-ink); border-radius: 50%; color: var(--hy-ink); font-weight: 800; margin-inline-end: 8px; }
.hy-step h3 { font-size: 1.375rem; margin: 0; }
.hy-step p { margin: 0; color: var(--hy-ink-2); font-size: 1rem; }

/* ---------- 9. Platform grid ---------- */
.hy-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 auto; }
@media (min-width: 640px) { .hy-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .hy-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.hy-platform { margin: 0; }
.hy-platform a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-block-size: 88px; padding: 16px 18px; background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); text-decoration: none; color: var(--hy-ink); transition: border-color 160ms var(--hy-ease), transform 160ms var(--hy-ease); }
.hy-platform a:hover { border-color: var(--hy-ink); transform: translateY(-2px); }
.hy-platform__name { display: block; font-weight: 800; font-size: 1.1875rem; line-height: 1.2; }
.hy-platform__latin { display: block; color: var(--hy-ink-3); font-size: .875rem; font-weight: 500; }
.hy-platform a::after { content: ""; inline-size: 20px; block-size: 20px; flex: none; background: currentColor; -webkit-mask: var(--hy-arrow) center / contain no-repeat; mask: var(--hy-arrow) center / contain no-repeat; --hy-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='miter'%3E%3Cpath d='M3 12H20M14 5L21 12L14 19'/%3E%3C/svg%3E"); }
:dir(rtl) .hy-platform a::after { transform: scaleX(-1); }
.hy-platform--all a { background: var(--hy-ink); color: var(--hy-paper); border-color: var(--hy-ink); }
.hy-platform--all .hy-platform__latin { color: inherit; opacity: .8; }
.hy-platform--all a:hover { transform: translateY(-2px); }

/* ---------- 10. Honesty, track teaser, cancel, final CTA ---------- */
.hy-honesty { background: var(--hy-sea); color: var(--hy-on-sea); }
.hy-honesty a { color: inherit; }
.hy-honesty h2, .hy-honesty h3 { color: inherit; }
.hy-honesty .hy-eyebrow { color: var(--hy-butter); }
.hy-honesty__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 900px) { .hy-honesty__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.hy-honesty__grid > * { margin: 0 !important; }
.hy-honesty__body { font-size: 1.125rem; line-height: 1.7; }
.hy-honesty .hy-check-list li { font-size: 1.0625rem; }
.hy-honesty .hy-check-list li::before { color: var(--hy-butter); }

.hy-track { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .hy-track { grid-template-columns: 1fr 1fr; } }
.hy-track__form { display: flex; flex-wrap: wrap; gap: 12px; }
.hy-track__form label { flex: 1 0 100%; font-weight: 700; font-size: .9375rem; }
.hy-track__form input[type="text"] { flex: 1 1 200px; min-block-size: 56px; border: 2px solid var(--hy-line-strong); border-radius: var(--hy-radius-control); background: var(--hy-card); color: var(--hy-ink); font: inherit; font-family: var(--hy-mono); font-size: 1.0625rem; padding-inline: 16px; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.hy-track__form input::placeholder { color: var(--hy-ink-3); }
.hy-track__form button { min-block-size: 56px; padding-inline: 28px; border: 0; border-radius: var(--hy-radius-button); background: var(--hy-sun); color: var(--hy-on-sun); font: inherit; font-weight: 800; font-size: 1.125rem; cursor: pointer; box-shadow: var(--hy-shadow-press); transition: transform 90ms var(--hy-ease), box-shadow 90ms var(--hy-ease); }
.hy-track__form button:active { transform: translateY(3px); box-shadow: var(--hy-shadow-press-down); }
.hy-track__steps { display: flex; flex-wrap: wrap; gap: 8px 4px; list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9375rem; color: var(--hy-ink-2); }
.hy-track__steps li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hy-track__steps li + li::before { content: ""; inline-size: 18px; block-size: 2px; background: var(--hy-line-strong); }

.hy-cancel { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 768px) { .hy-cancel { grid-template-columns: 1fr auto; } }
.hy-cancel > * { margin: 0 !important; }
.hy-cancel h2, .hy-cancel h3 { font-size: 1.5rem; margin: 0 0 .5rem; }

.hy-final { text-align: center; }
.hy-final > * { margin-inline: auto; }
.hy-final .hy-art { max-inline-size: 360px; margin-block-end: 1.5rem; }
.hy-final h2 { font-size: var(--wp--preset--font-size--display); font-weight: 900; margin: 0 0 .5rem; }
.hy-final p { max-inline-size: 36em; margin-inline: auto; color: var(--hy-ink-2); }
.hy-final .wp-block-buttons { justify-content: center; margin-block-start: 1.5rem; }

/* FAQ accordion (core/details) */
.hy-faq-list { border-block-start: 2px solid var(--hy-line); }
.wp-block-details.hy-faq-item { border-block-end: 2px solid var(--hy-line); margin: 0; }
.hy-faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 64px; padding-block: 14px; font-weight: 700; font-size: 1.125rem; line-height: 1.4; }
.hy-faq-item > summary::-webkit-details-marker { display: none; }
.hy-faq-item > summary::marker { content: ""; }
.hy-faq-item > summary::after { content: ""; flex: none; inline-size: 28px; block-size: 28px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M12 5V19M5 12H19'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M12 5V19M5 12H19'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 240ms var(--hy-ease); }
.hy-faq-item[open] > summary::after { transform: rotate(45deg); }
.hy-faq-item > summary:hover { color: var(--hy-sun-text); }
.hy-faq-item > :not(summary) { color: var(--hy-ink-2); max-inline-size: 65ch; font-size: 1.0625rem; }
.hy-faq-item > p:last-child { margin-block-end: 1.25rem; }
.hy-faq-item[open] > summary { padding-block-end: 8px; }

/* ---------- 11. Footer ---------- */
.hy-footer { background: var(--hy-sand); border-block-start: 2px solid var(--hy-line); margin-block-start: 0 !important; }
.hy-footer__inner { max-inline-size: var(--hy-container); margin-inline: auto; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--hy-gutter) 1.5rem; }
.hy-footer__inner > * { margin-block: 0 !important; }
.hy-footer__cancel { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; background: var(--hy-card); border: 2px solid var(--hy-ink); border-radius: var(--hy-radius-card); padding: 18px 22px; margin-block-end: 2.5rem !important; }
.hy-footer__cancel p { margin: 0 !important; max-inline-size: 52ch; font-size: .9375rem; color: var(--hy-ink-2); }
.hy-footer__cancel strong { display: block; font-size: 1.1875rem; color: var(--hy-ink); }
.hy-footer__cols { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .hy-footer__cols { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } }
.hy-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .hy-footer__brand { grid-column: auto; } }
.hy-footer__cols > * { margin: 0 !important; }
.hy-footer__brand p { color: var(--hy-ink-2); font-size: .9375rem; max-inline-size: 34ch; margin-block: 12px 0 !important; }
.hy-footer h2, .hy-footer .hy-footer__h { font-size: 1rem; font-weight: 800; margin: 0 0 .75rem; color: var(--hy-ink); }
.hy-footer .wp-block-navigation { font-size: .9375rem; font-weight: 500; }
.hy-footer .wp-block-navigation__container { gap: 0; align-items: flex-start; }
.hy-footer .wp-block-navigation-item__content { display: inline-flex; min-block-size: 40px; align-items: center; color: var(--hy-ink-2); text-decoration: none; }
.hy-footer .wp-block-navigation-item__content:hover { color: var(--hy-ink); text-decoration: underline; }
.hy-business { display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 2rem 0 0; padding-block-start: 1.5rem; border-block-start: 2px solid var(--hy-line); font-size: .9375rem; }
.hy-business dt { color: var(--hy-ink-3); font-size: .8125rem; font-weight: 500; }
.hy-business dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hy-footer__fine { margin-block-start: 1.5rem !important; padding-block-start: 1.25rem; border-block-start: 2px solid var(--hy-line); color: var(--hy-ink-3); font-size: .8125rem; display: grid; gap: 8px; }
.hy-footer__fine p { margin: 0 !important; max-inline-size: 90ch; }

/* ---------- 12. Pages ---------- */
.hy-page-head { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem) var(--hy-gutter) clamp(1rem, .5rem + 1.5vw, 2rem); max-inline-size: var(--hy-container); margin-inline: auto; }
.hy-page-head > * { margin-block: 0 !important; max-inline-size: 820px; }
.hy-page-head .wp-block-post-title { font-size: var(--wp--preset--font-size--display); font-weight: 900; line-height: 1.08; text-wrap: balance; }
.hy-page-body { padding: 0 var(--hy-gutter) clamp(2.5rem, 2rem + 3vw, 5rem); max-inline-size: var(--hy-container); margin-inline: auto; }
.hy-page-body .hy-app { max-inline-size: 100%; }
.hy-widget-slot { background: transparent; }
.wp-block-post-content > *:first-child { margin-block-start: 0; }

/* Legal long-form */
.hy-legal { display: grid; gap: 2rem; }
@media (min-width: 960px) { .hy-legal { grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; } }
.hy-legal > * { margin: 0 !important; }
.hy-legal-toc { background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); padding: 18px 20px; font-size: .9375rem; }
@media (min-width: 960px) { .hy-legal-toc { position: sticky; inset-block-start: calc(var(--hy-header-h) + 24px); max-block-size: calc(100vh - var(--hy-header-h) - 48px); overflow: auto; } }
.hy-legal-toc__title { font-weight: 800; margin: 0 0 8px; }
.hy-legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hy-legal-toc a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--hy-ink-2); min-block-size: 40px; }
.hy-legal-toc a:hover { background: var(--hy-sand); color: var(--hy-ink); }
.hy-legal-body { max-inline-size: 760px; font-size: 1.0625rem; line-height: 1.75; }
.hy-legal-body h2 { font-size: 1.5rem; margin-block: 2.5rem .75rem; scroll-margin-block-start: calc(var(--hy-header-h) + 16px); }
.hy-legal-body ul, .hy-legal-body ol { padding-inline-start: 1.4em; }
.hy-legal-body li + li { margin-block-start: .4em; }
.hy-table { overflow-x: auto; }
.hy-table table { inline-size: 100%; border-collapse: collapse; }
.hy-table th, .hy-table td { text-align: start; padding: 12px 14px; border: 2px solid var(--hy-line); vertical-align: top; }
.hy-table th { background: var(--hy-sand); font-weight: 800; }
.hy-table figcaption { color: var(--hy-ink-3); font-size: .875rem; text-align: start; }

/* 404 and empty states */
.hy-404 { text-align: center; padding: clamp(2.5rem, 2rem + 4vw, 6rem) var(--hy-gutter); max-inline-size: 720px; margin-inline: auto; }
.hy-404 .hy-art { max-inline-size: 420px; margin: 0 auto 2rem; border-radius: var(--hy-radius-card); overflow: hidden; }
.hy-404 h1 { font-size: var(--wp--preset--font-size--display); font-weight: 900; margin: 0 0 .5rem; }
.hy-404 p { color: var(--hy-ink-2); }
.hy-404 .wp-block-buttons { justify-content: center; margin-block: 1.5rem; }
.hy-404 .wp-block-search { max-inline-size: 460px; margin: 1.5rem auto 0; }

/* Search form */
.wp-block-search__inside-wrapper { gap: 8px; }
.wp-block-search__input { min-block-size: 52px; border: 2px solid var(--hy-line-strong) !important; border-radius: var(--hy-radius-control) !important; background: var(--hy-card); color: var(--hy-ink); font: inherit; padding-inline: 16px; }
.wp-block-search__button { min-block-size: 52px; border-radius: var(--hy-radius-button) !important; background: var(--hy-ink) !important; color: var(--hy-paper) !important; font-weight: 800; border: 0 !important; margin: 0 !important; padding-inline: 22px !important; }

/* ---------- 13. Editorial / blog ---------- */
.hy-blog-head { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem) var(--hy-gutter) 0; max-inline-size: var(--hy-container); margin-inline: auto; }
.hy-blog-head > * { margin-block: 0 0 1rem !important; }
.hy-blog-head h1 { font-size: var(--wp--preset--font-size--display); font-weight: 900; text-wrap: balance; }
.hy-blog-wrap { padding: 1.25rem var(--hy-gutter) clamp(2.5rem, 2rem + 3vw, 5rem); max-inline-size: var(--hy-container); margin-inline: auto; }
.hy-blog-wrap > * + * { margin-block-start: 2rem; }
.hy-posts { display: grid !important; grid-template-columns: 1fr !important; gap: 24px !important; padding: 0; list-style: none; }
@media (min-width: 640px) { .hy-posts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1024px) { .hy-posts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px !important; } }
.hy-posts > li { margin: 0; }
.hy-post-card { display: flex; flex-direction: column; block-size: 100%; background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); overflow: hidden; box-shadow: var(--hy-shadow-1); transition: border-color 160ms var(--hy-ease), transform 160ms var(--hy-ease); }
.hy-post-card:hover { border-color: var(--hy-ink); transform: translateY(-2px); }
.hy-post-card .wp-block-post-featured-image { margin: 0; background: var(--hy-sand); }
.hy-post-card .wp-block-post-featured-image img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hy-post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hy-post-card__body > * { margin: 0 !important; }
.hy-post-card .wp-block-post-title { font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.hy-post-card .wp-block-post-title a { text-decoration: none; }
.hy-post-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.hy-post-card { position: relative; }
.hy-post-card .wp-block-post-excerpt { color: var(--hy-ink-2); font-size: .9375rem; line-height: 1.6; }
.hy-post-card .wp-block-post-excerpt__more-link { display: none; }
.hy-post-card .hy-post-meta { margin-block-start: auto !important; padding-block-start: 8px !important; }
.hy-post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--hy-ink-3); font-size: .875rem; align-items: center; }
.hy-post-meta > * { margin: 0 !important; }
.hy-post-meta a { color: inherit; text-decoration: none; }
.hy-post-meta a:hover { color: var(--hy-ink); text-decoration: underline; }
.hy-cat-label { font-weight: 800; font-size: .8125rem; color: var(--hy-sun-text); }
.hy-cat-label a { text-decoration: none; position: relative; z-index: 1; color: inherit; }
.hy-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-block-start: 2.5rem; }
.hy-pagination a, .hy-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; min-block-size: 44px; padding-inline: 14px; border: 2px solid var(--hy-line-strong); border-radius: 9999px; text-decoration: none; font-weight: 700; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
.hy-pagination a:hover { border-color: var(--hy-ink); background: var(--hy-card); }
.hy-pagination .current { background: var(--hy-ink); color: var(--hy-paper); border-color: var(--hy-ink); }
.hy-pagination .wp-block-query-pagination-numbers { display: contents; }
.hy-pagination .wp-block-query-pagination-previous::before, .hy-pagination .wp-block-query-pagination-next::after { content: ""; inline-size: 1em; block-size: 1em; background: currentColor; -webkit-mask: var(--hy-arrow) center / contain no-repeat; mask: var(--hy-arrow) center / contain no-repeat; --hy-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='miter'%3E%3Cpath d='M3 12H20M14 5L21 12L14 19'/%3E%3C/svg%3E"); margin-inline: .35em; }
.hy-pagination .wp-block-query-pagination-previous::before { transform: scaleX(-1); }
:dir(rtl) .hy-pagination .wp-block-query-pagination-previous::before { transform: none; }
:dir(rtl) .hy-pagination .wp-block-query-pagination-next::after { transform: scaleX(-1); }
.hy-empty { background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; max-inline-size: 640px; margin-inline: auto; }
.hy-empty .wp-block-buttons { justify-content: center; }

/* Single article */
.hy-article-head { max-inline-size: var(--hy-container); margin-inline: auto; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem) var(--hy-gutter) 0; }
.hy-article-head > * { margin-block: 0 0 1rem !important; max-inline-size: 880px; }
.hy-article-head h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); font-weight: 900; line-height: 1.12; text-wrap: balance; }
.hy-article-head .hy-dek { font-size: 1.1875rem; color: var(--hy-ink-2); line-height: 1.6; }
.hy-article-hero { max-inline-size: var(--hy-container); margin-inline: auto; padding-inline: var(--hy-gutter); margin-block: .5rem 0; }
.hy-article-hero img { border-radius: var(--hy-radius-card); inline-size: 100%; object-fit: cover; aspect-ratio: 16 / 9; block-size: auto; background: var(--hy-sand); }
.hy-article-layout { max-inline-size: var(--hy-container); margin-inline: auto; padding: 1.5rem var(--hy-gutter) clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: 1.5rem 3.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .hy-article-layout { grid-template-columns: minmax(0, 65ch) 280px; justify-content: center; } .hy-article-layout > .hy-article-aside { order: 2; } .hy-article-layout > .hy-article-main { order: 1; } }
.hy-article-layout > * { margin: 0 !important; min-inline-size: 0; }
.hy-article-aside { align-self: start; }
@media (min-width: 1024px) { .hy-article-aside { position: sticky; inset-block-start: calc(var(--hy-header-h) + 24px); } }
.wp-block-details.hy-toc-wrap { background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); padding: 4px 18px; font-size: .9375rem; }
.hy-toc-wrap > summary { cursor: pointer; font-weight: 800; min-block-size: 48px; display: flex; align-items: center; list-style: none; }
.hy-toc-wrap > summary::-webkit-details-marker { display: none; }
.hy-toc-wrap > summary::after { content: ""; margin-inline-start: auto; inline-size: 12px; block-size: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 160ms var(--hy-ease); }
.hy-toc-wrap[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.hy-toc-wrap:not(:has(nav, ol, ul)) { display: none; }
.hy-toc-wrap ol, .hy-toc-wrap ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.hy-toc-wrap ol ol, .hy-toc-wrap ul ul { padding-inline-start: 14px; margin: 0; }
.hy-toc-wrap a { display: block; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--hy-ink-2); line-height: 1.4; }
.hy-toc-wrap a:hover { background: var(--hy-sand); color: var(--hy-ink); }
@media (min-width: 1024px) {
	.hy-toc-wrap > summary { pointer-events: none; }
	.hy-toc-wrap > summary::after { display: none; }
	.hy-toc-wrap::details-content { content-visibility: visible; display: block; block-size: auto; }
	.hy-article-aside .hy-toc-wrap { max-block-size: calc(100vh - var(--hy-header-h) - 120px); overflow: auto; }
}

.hy-prose { font-size: 1.125rem; line-height: 1.75; color: var(--hy-ink); }
@media (min-width: 768px) { .hy-prose { font-size: 1.1875rem; } }
.hy-prose > * { max-inline-size: 65ch; }
.hy-prose > * + * { margin-block-start: 1.25em; }
.hy-prose p { line-height: 1.75; }
.hy-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); margin-block-start: 2.2em; line-height: 1.25; scroll-margin-block-start: calc(var(--hy-header-h) + 16px); text-wrap: balance; }
.hy-prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-block-start: 1.9em; line-height: 1.3; scroll-margin-block-start: calc(var(--hy-header-h) + 16px); }
.hy-prose h2 + *, .hy-prose h3 + * { margin-block-start: .6em; }
.hy-prose a { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--hy-line-strong); }
.hy-prose a:hover { text-decoration-color: currentColor; }
.hy-prose ul, .hy-prose ol { padding-inline-start: 1.5em; padding-inline-end: 0; }
.hy-prose li + li { margin-block-start: .5em; }
.hy-prose img, .hy-prose video { border-radius: var(--hy-radius-control); block-size: auto; }
.hy-prose figure { margin-inline: 0; }
.hy-prose figcaption { color: var(--hy-ink-3); font-size: .9375rem; margin-block-start: .5rem; }
.hy-prose blockquote, .wp-block-quote { border: 0; border-inline-start: 4px solid var(--hy-ink); padding: 4px 1.25rem; margin-inline: 0; color: var(--hy-ink); font-size: 1.1875em; font-weight: 500; }
.hy-prose hr { border: 0; border-block-start: 2px solid var(--hy-line); max-inline-size: 65ch; }
.hy-prose table { inline-size: 100%; border-collapse: collapse; font-size: .9375em; }
.hy-prose th, .hy-prose td { text-align: start; padding: 10px 12px; border: 2px solid var(--hy-line); }
.hy-prose th { background: var(--hy-sand); }
.hy-prose code { font-family: var(--hy-mono); font-size: .88em; background: var(--hy-sand); padding: .1em .35em; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.hy-prose pre { direction: ltr; text-align: left; overflow-x: auto; background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-control); padding: 1rem; font-size: .9rem; }
.hy-prose pre code { background: none; padding: 0; }
.hy-prose .alignwide { max-inline-size: min(100%, 960px); }
.hy-prose > .hy-inline-cta { max-inline-size: 65ch; }

.hy-inline-cta { background: var(--hy-sand); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: grid; gap: 1rem; font-size: 1rem; line-height: 1.6; }
.hy-inline-cta > * { margin: 0 !important; }
.hy-inline-cta h2, .hy-inline-cta h3, .hy-inline-cta p.hy-inline-cta__title { font-size: 1.375rem !important; font-weight: 800; line-height: 1.25; margin: 0 !important; }
.hy-inline-cta p { color: var(--hy-ink-2); }
.hy-article-foot { max-inline-size: var(--hy-container); margin-inline: auto; padding: 0 var(--hy-gutter) clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: 2rem; }
.hy-article-foot > * { margin: 0 !important; max-inline-size: 65ch; }
.hy-article-foot > .hy-related, .hy-article-foot > .hy-footer-cta { max-inline-size: none; }
@media (min-width: 1024px) { .hy-article-foot > :not(.hy-related):not(.hy-footer-cta) { margin-inline: 0 !important; } }
.hy-author { display: grid; gap: 4px; background: var(--hy-card); border: 2px solid var(--hy-line); border-radius: var(--hy-radius-card); padding: 18px 22px; font-size: 1rem; }
.hy-author > * { margin: 0 !important; }
.hy-author .wp-block-post-author-name { font-weight: 800; font-size: 1.1875rem; }
.hy-author .wp-block-post-author__byline { font-size: .875rem; color: var(--hy-ink-3); }
.hy-author .wp-block-post-author__bio { color: var(--hy-ink-2); font-size: .9375rem; }
.hy-author .wp-block-post-author__content { display: grid; gap: 4px; }
.hy-share { display: grid; gap: 10px; }
.hy-share__title { font-weight: 800; margin: 0; font-size: .9375rem; }
.hy-share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hy-share__list li { margin: 0; }
.hy-reading-time { color: inherit; }
.hy-related h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.hy-footer-cta { background: var(--hy-sea); color: var(--hy-on-sea); border-radius: var(--hy-radius-sheet); padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: grid; gap: 1rem; }
.hy-footer-cta > * { margin: 0 !important; }
.hy-footer-cta h2 { color: inherit; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 900; }
.hy-footer-cta p { max-inline-size: 48ch; color: inherit; opacity: .92; }
.hy-footer-cta .wp-block-button__link { box-shadow: 0 4px 0 #0A2F2D; }
.hy-footer-cta .is-style-outline .wp-block-button__link { color: var(--hy-on-sea); border-color: var(--hy-on-sea); }
.hy-footer-cta .is-style-outline .wp-block-button__link:hover { background: var(--hy-on-sea); color: var(--hy-sea); }

/* ---------- 14. Widget mount compatibility ---------- */
.hy-app { font-family: var(--hy-font); color: var(--hy-ink); }
.hy-widget-placeholder { border: 2px dashed var(--hy-line-strong); border-radius: var(--hy-radius-card); padding: 20px; color: var(--hy-ink-3); font-size: .9375rem; background: var(--hy-card); }

/* ---------- 15. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 90ms !important; animation-iteration-count: 1 !important; transition-duration: 90ms !important; scroll-behavior: auto !important; }
	.hy-platform a:hover, .hy-post-card:hover { transform: none; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
@media print { .hy-tabbar, .hy-site-header, .hy-toggle { display: none !important; } body { padding: 0 !important; } }

.hy-footer__theme { align-items: center; gap: 10px; }
.hy-footer__theme p { margin: 0 !important; font-weight: 600; }

.hy-faq-page > .hy-chips { margin-block: 0 2rem; }
.hy-footer__theme { justify-content: flex-start; }

/* ---------- Layout stability: reserve the space a client-rendered widget will fill ---------- */
.hy-widget-slot > .hy-widget-mount, .hy-widget-slot .hy-widget-mount { min-block-size: 72vh; }
.hy-builder-card { min-block-size: 420px; }
@media (min-width: 960px) { .hy-builder-card { min-block-size: 1300px; } }
.hy-builder-slot .hy-widget-builder, .hy-platform-services .hy-widget-services { min-block-size: 480px; }

/* ---------- Article TOC: the template's collapsible TOC is the only one (the SEO plugin's auto-insert is vetoed in functions.php) ---------- */
.hy-toc-wrap .hypely-toc { border: 0; padding: 0; margin: 0; background: transparent; }
.hy-toc-wrap .hypely-toc__title { display: none; }
.hy-toc-wrap:not(:has(.hypely-toc)) { display: none; }

/* Date labels (core post-date has no prefix attribute). */
.hy-post-meta .wp-block-post-date:not(.hy-modified-date) time::before { content: "פורסם: "; }
.hy-post-meta .hy-modified-date time::before { content: "עודכן: "; }

/* ---------- 16. Illustrations (inline SVG, assets/illustrations; see hypely_illustration()) ----------
   Colours inside the art are var(--hy-*), so one file serves both themes. --hy-art-ground is the tile colour
   (override to transparent when the art sits on a surface of its own); --hy-art-floor is the dark "plinth". */
:root { --hy-art-floor: var(--hy-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hy-art-floor: #100A07; } }
:root[data-theme="dark"] { --hy-art-floor: #100A07; }

.hy-ill { display: block; inline-size: 100%; aspect-ratio: var(--hy-ill-w) / var(--hy-ill-h); line-height: 0; content-visibility: auto; contain-intrinsic-size: auto 200px; }
.hy-ill > svg { display: block; inline-size: 100%; block-size: 100%; }
html[dir="rtl"] .hy-ill > svg[data-hy-dir] { transform: scaleX(-1); }
.hy-ill--cover { border-radius: var(--hy-radius-card); overflow: hidden; }
.hy-cover-fallback { margin: 0; line-height: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hy-sand); }
.hy-cover-fallback .hy-ill { block-size: 100%; aspect-ratio: auto; border-radius: 0; }
.hy-article-hero .hy-cover-fallback { aspect-ratio: 16 / 9; border-radius: var(--hy-radius-card); }
.hy-ill--divider { max-inline-size: var(--hy-container); margin-inline: auto; padding-inline: var(--hy-gutter); aspect-ratio: auto; block-size: 32px; }
.hy-ill--divider > svg { block-size: 100%; }

/* Page head with art: title and breadcrumbs on one side, the art on the other (stacks without :has support). */
.hy-page-head, .hy-blog-head { position: relative; isolation: isolate; }
.hy-main { overflow-x: clip; }
.hy-page-head:has(.hy-page-art), .hy-blog-head:has(.hy-page-art) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1rem, .5rem + 3vw, 3rem); align-items: center; }
.hy-page-head:has(.hy-page-art) > *, .hy-blog-head:has(.hy-page-art) > * { grid-column: 1; }
.hy-page-head:has(.hy-page-art) > .hy-page-art, .hy-blog-head:has(.hy-page-art) > .hy-page-art { grid-column: 2; grid-row: 1 / span 6; max-inline-size: none; margin: 0 !important; }
.hy-page-art .hy-ill--spot { inline-size: 84px; }
.hy-page-art .hy-ill--hero { inline-size: 150px; }
.hy-page-art .hy-ill--cover { inline-size: 150px; }
@media (min-width: 768px) {
	.hy-page-art .hy-ill--spot { inline-size: 200px; }
	.hy-page-art .hy-ill--hero { inline-size: 380px; }
	.hy-page-art .hy-ill--cover { inline-size: 280px; }
}
.hy-page-art__bg { position: absolute; inset-block: 0; inset-inline: auto; inset-inline-start: 50%; margin-inline-start: -50vw; inline-size: 100vw; z-index: -1; pointer-events: none; overflow: hidden; opacity: .75; max-inline-size: none !important; }
html[dir="rtl"] .hy-page-art__bg { inset-inline-start: auto; inset-inline-end: 50%; margin-inline: 0 -50vw; }
.hy-page-art__bg .hy-ill { block-size: 100%; aspect-ratio: auto; }
.hy-page-art__bg svg { inline-size: 100%; block-size: 100%; }
.hy-page-head:has(.hy-page-art), .hy-blog-head:has(.hy-page-art) { padding-block-end: clamp(1.25rem, 1rem + 2vw, 2.5rem); }

/* How it works: step art fills the top of each card; the connecting line sits above the row on wide screens. */
.hy-step .hy-ill--step { inline-size: min(100%, 168px); margin-block: -4px 4px; }
.hy-ill--connector { display: none; max-inline-size: var(--hy-container); margin: 0 auto -10px; }
@media (min-width: 768px) { .hy-ill--connector { display: block; } }
.hy-honesty .hy-art, .hy-honesty .hy-ill { max-inline-size: 150px; margin-block-end: 1rem; }
.hy-track .hy-ill--spot, .hy-faq .hy-ill--spot { inline-size: 112px; margin-block-end: 1rem; }
.hy-cancel .hy-ill { inline-size: 96px; }
@media (min-width: 768px) { .hy-cancel:has(.hy-ill) { grid-template-columns: auto 1fr auto; column-gap: 1.75rem; } .hy-cancel .hy-ill { inline-size: 120px; } }
.hy-empty .hy-art, .hy-empty .hy-ill { max-inline-size: 240px; margin: 0 auto 1rem; border-radius: var(--hy-radius-card); overflow: hidden; }
.hy-final .hy-ill { max-inline-size: 360px; margin: 0 auto 1.5rem; }
.hy-404 .hy-ill { max-inline-size: 420px; margin: 0 auto 2rem; }

/* Sun-dot rise: the dot of a platform hero settles into place once. Reduced motion: no animation at all. */
@media (prefers-reduced-motion: no-preference) {
	.hy-ill--hero circle[fill*="--hy-sun"], .hy-ill--state circle[fill*="--hy-sun"] { transform-box: fill-box; animation: hy-sun-rise 900ms var(--hy-ease-rise) 120ms both; }
}
@keyframes hy-sun-rise { from { transform: translateY(26px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hy-ill circle { animation: none !important; } }

/* Low-contrast section patterns (mask technique: one file, token colour, both themes).
   Usage: <div class="hy-pattern hy-pattern--arches"></div> or add the class to any section. */
.hy-pattern { position: relative; }
.hy-pattern::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--hy-line); opacity: .7; -webkit-mask: var(--hy-pattern) 0 0 / var(--hy-pattern-size, 96px) repeat; mask: var(--hy-pattern) 0 0 / var(--hy-pattern-size, 96px) repeat; }
.hy-pattern--arches { --hy-pattern: url("../illustrations/pattern-arches.svg"); }
.hy-pattern--bars { --hy-pattern: url("../illustrations/pattern-bars.svg"); }
.hy-pattern--squares { --hy-pattern: url("../illustrations/pattern-squares.svg"); --hy-pattern-size: 64px; }
.hy-pattern--ripples { --hy-pattern: url("../illustrations/pattern-ripples.svg"); --hy-pattern-size: 96px 48px; }
.hy-pattern--horizon { --hy-pattern: url("../illustrations/pattern-horizon.svg"); --hy-pattern-size: 96px 64px; }
.hy-pattern--scales { --hy-pattern: url("../illustrations/pattern-scales.svg"); --hy-pattern-size: 48px; }
