/*
 * Neurogen theme styles. Only what theme.json cannot express:
 * glass surfaces, overlapping rounded sections, the header overlay,
 * icon buttons, and section grids. All values reference theme.json presets.
 */

:root {
	--ng-ink: var(--wp--preset--color--ink);
	--ng-teal: var(--wp--preset--color--teal);
	--ng-mint: var(--wp--preset--color--mint);
	--ng-r-sm: var(--wp--custom--radius--sm);
	--ng-r-md: var(--wp--custom--radius--md);
	--ng-r-lg: var(--wp--custom--radius--lg);
	--ng-r-xl: var(--wp--custom--radius--xl);
	--ng-gutter: var(--wp--preset--spacing--60);
	--ng-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 15 15 5M6.9 5H15v8.1' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ng-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='7.5' r='3.75' stroke='%23000' stroke-width='1.25'/%3E%3Cpath d='M3.4 16.9a7.5 7.5 0 0 1 13.2 0' stroke='%23000' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E");
	--ng-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M16.875 5.625 8.125 14.375 3.75 10' stroke='%23fff' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wp-site-blocks { position: relative; }
img { height: auto; max-width: 100%; }
mark.has-inline-color { background: none; }

/* Focus: visible on every interactive element */
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid var(--ng-mint);
	outline-offset: 3px;
	border-radius: 4px;
	box-shadow: 0 0 0 6px var(--ng-ink);
}
.skip-link:focus { z-index: 1000; }

/* ---------- layout: sections ---------- */
.ng-main { margin-block-start: 0; }
.ng-main > *, .wp-block-post-content > .ng-section, .wp-block-post-content > .wp-block-cover { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.ng-section { padding-block: var(--wp--preset--spacing--70); position: relative; }
.ng-section-tight { padding-block: var(--wp--preset--spacing--40); }
.ng-section-flush-top { padding-top: 0; }
.ng-round-top { border-radius: var(--ng-r-xl) var(--ng-r-xl) 0 0; margin-top: calc(-1 * var(--ng-r-xl)) !important; }
.ng-section:has(+ .ng-round-top), .wp-block-cover:has(+ .ng-round-top) { padding-bottom: calc(var(--wp--preset--spacing--70) + var(--ng-r-xl)); }
.ng-section-rule::before, .ng-section-rule-dark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(1, 53, 64, 0.2); }
.ng-section-rule-dark::before { background: rgba(255, 255, 255, 0.2); }

.ng-eyebrow { text-transform: uppercase; letter-spacing: 0; line-height: 1.25; margin: 0; }
.ng-head { max-width: var(--wp--custom--width--heading); margin-inline: auto !important; margin-bottom: var(--wp--preset--spacing--50); }
.ng-head-wide { max-width: var(--wp--custom--width--heading-wide); }
.ng-head > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.ng-head .ng-eyebrow + * { margin-block-start: 1.5rem; }
.ng-lede { max-width: var(--wp--custom--width--text); margin-inline: auto; }
.ng-on-fog, .ng-on-fog p, .ng-on-fog li { color: var(--wp--preset--color--pine); }

/* ---------- surfaces ---------- */
.ng-glass { background: var(--wp--custom--glass--dark); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border-radius: var(--ng-r-lg); }
.ng-glass-light { background: var(--wp--custom--glass--light); -webkit-backdrop-filter: blur(60px); backdrop-filter: blur(60px); border-radius: var(--ng-r-sm); }
.ng-outline-card { border: 1px solid var(--wp--custom--glass--border); border-radius: var(--ng-r-lg); }
.ng-soft-card { background: var(--wp--preset--color--cloud); border-radius: var(--ng-r-lg); padding: var(--wp--preset--spacing--50); height: 100%; box-sizing: border-box; }
.ng-soft-card > * + * { margin-block-start: var(--wp--preset--spacing--40); }

/* ---------- buttons ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; box-sizing: border-box; transition: background-color .2s ease, color .2s ease; }
.wp-block-button[class*="is-style-ng-"] .wp-block-button__link { padding: 4px 1.5rem 4px 4px; }
.wp-block-button[class*="is-style-ng-"] .wp-block-button__link::before {
	content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
	background-color: var(--wp--preset--color--white);
	background-image: none;
	-webkit-mask: none; mask: none;
}
.wp-block-button[class*="is-style-ng-"] .wp-block-button__link::after {
	content: ""; position: absolute; width: 20px; height: 20px; margin-left: 10px;
	background-color: var(--ng-ink); -webkit-mask: var(--ng-arrow) center / contain no-repeat; mask: var(--ng-arrow) center / contain no-repeat;
}
.wp-block-button[class*="is-style-ng-"] .wp-block-button__link { position: relative; }
.is-style-ng-light .wp-block-button__link { background: var(--wp--preset--color--white); color: var(--ng-ink); }
.is-style-ng-light .wp-block-button__link::before { background-color: var(--ng-mint) !important; }
.is-style-ng-light .wp-block-button__link:hover, .is-style-ng-light .wp-block-button__link:focus { background: var(--ng-mint); }
.is-style-ng-light .wp-block-button__link:hover::before, .is-style-ng-light .wp-block-button__link:focus::before { background-color: var(--wp--preset--color--white) !important; }
.is-style-ng-mint .wp-block-button__link { background: var(--ng-mint); color: var(--ng-ink); }
.is-style-ng-glass .wp-block-button__link, .is-style-ng-account .wp-block-button__link { background: rgba(255, 255, 255, 0.1); color: var(--wp--preset--color--white); border: 1px solid rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.is-style-ng-glass .wp-block-button__link::before, .is-style-ng-account .wp-block-button__link::before { background-color: rgba(255, 255, 255, 0.25) !important; }
.is-style-ng-glass .wp-block-button__link::after, .is-style-ng-account .wp-block-button__link::after { background-color: var(--wp--preset--color--white); }
.is-style-ng-glass .wp-block-button__link:hover, .is-style-ng-account .wp-block-button__link:hover,
.is-style-ng-glass .wp-block-button__link:focus, .is-style-ng-account .wp-block-button__link:focus { background: rgba(255, 255, 255, 0.25); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-ng-account .wp-block-button__link::after { -webkit-mask-image: var(--ng-user); mask-image: var(--ng-user); }
.is-style-ng-order .wp-block-button__link { background: var(--wp--preset--color--white); color: var(--ng-ink); }
.is-style-ng-order .wp-block-button__link::before { background-color: var(--ng-mint) !important; }
.wp-block-button.is-style-ng-order .wp-block-button__link::after { width: 24px; height: 24px; margin-left: 8px; -webkit-mask-image: url(../icons/logomark-dark.svg); mask-image: url(../icons/logomark-dark.svg); }
.is-style-ng-plain .wp-block-button__link { background: transparent; color: var(--ng-ink); border: 1px solid var(--wp--preset--color--slate); padding: 0.75rem 1.5rem !important; }
.is-style-ng-plain .wp-block-button__link::before, .is-style-ng-plain .wp-block-button__link::after { display: none; }
.is-style-ng-plain .wp-block-button__link:hover, .is-style-ng-plain .wp-block-button__link:focus { background: var(--ng-ink); color: var(--wp--preset--color--white); }

/* ---------- header ---------- */
.ng-header-part { position: absolute; top: 36px; left: 0; right: 0; z-index: 20; }
.admin-bar .ng-header-part { top: 36px; }
.ng-header-part-light { position: relative; top: 0; padding-block: 36px 20px; }
.ng-header-row { gap: var(--wp--preset--spacing--30); }
.ng-logo-link { margin: 0; flex: none; }
.ng-logo-link img { width: 197px; height: 39px; display: block; }
.ng-nav { flex: 0 1 auto; color: var(--wp--preset--color--white); }
.ng-header-light .ng-nav { color: var(--ng-ink); }
.ng-nav a { color: inherit; }
.ng-nav .wp-block-navigation__container { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 100px; padding: 0 1.25rem; min-height: 60px; gap: 0; }
.ng-nav .wp-block-navigation-item__content { padding: 1.25rem 0.875rem !important; color: var(--wp--preset--color--white); }
.ng-header-light .ng-nav .wp-block-navigation__container { background: rgba(255, 255, 255, 0.4); border-color: var(--wp--preset--color--haze); }
.ng-header-light .ng-nav .wp-block-navigation-item__content, .ng-header-light .ng-nav .wp-block-navigation__responsive-container-open { color: var(--ng-ink); }
.ng-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 4px; }
.ng-nav .wp-block-navigation__submenu-container { background: var(--ng-ink) !important; border: 0 !important; border-radius: var(--ng-r-sm); padding: 0.5rem; min-width: 220px !important; }
.ng-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--wp--preset--color--white) !important; padding: 0.75rem 1rem !important; }
.ng-nav .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--white); padding: 12px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.ng-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ng-ink); color: var(--wp--preset--color--white); padding: 2rem var(--ng-gutter); }
.ng-nav .is-menu-open .wp-block-navigation__container { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; align-items: flex-start; }
.ng-nav .is-menu-open .wp-block-navigation-item__content { font-size: var(--wp--preset--font-size--lg); color: var(--wp--preset--color--white) !important; }
.ng-header-actions { gap: 12px; flex-wrap: nowrap; }
.ng-header .is-style-ng-account .wp-block-button__link, .ng-header .is-style-ng-order .wp-block-button__link { min-height: 60px; padding: 4px 1.75rem 4px 4px; }
.ng-header .wp-block-button__link::before { width: 52px !important; height: 52px !important; }
.ng-header .wp-block-button__link::after { margin-left: 16px !important; }
.ng-header .is-style-ng-order .wp-block-button__link::after { margin-left: 14px !important; }
.ng-header-light .is-style-ng-account .wp-block-button__link { color: var(--ng-ink); border-color: var(--wp--preset--color--haze); background: rgba(255, 255, 255, 0.4); }
.ng-header-light .is-style-ng-account .wp-block-button__link::before { background-color: var(--wp--preset--color--fog) !important; }
.ng-header-light .is-style-ng-account .wp-block-button__link::after { background-color: var(--ng-ink); }

/* ---------- hero ---------- */
.ng-hero.wp-block-cover { margin: 12px calc(12px - var(--wp--style--root--padding-left, 0px)) 0 !important; width: auto !important; max-width: none !important; min-height: min(855px, 100vh); border-radius: var(--ng-r-xl); padding: 160px calc(var(--ng-gutter) - 12px) 140px; align-items: center; overflow: visible; box-sizing: border-box; }
.ng-hero .wp-block-cover__image-background, .ng-hero .wp-block-cover__background { border-radius: var(--ng-r-xl); }
.ng-hero::after { content: ""; position: absolute; left: 50%; bottom: -80px; width: 160px; height: 160px; transform: translateX(-50%); border-radius: 50%; background: var(--wp--preset--color--mist) url(../icons/logomark-dark.svg) center / 89px 90px no-repeat; z-index: 2; }
.ng-hero + * { padding-top: calc(var(--wp--preset--spacing--70) + 40px); }
.ng-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--content-size); width: 100%; }
.ng-hero h1 { max-width: 12.5em; margin: 1.25rem 0; }
.ng-hero-lede { max-width: 39em; }
.ng-hero-cols .wp-block-column:first-child:not(:only-child) .ng-hero-lede { max-width: 26em; }
.ng-hero-copy .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }
.ng-tag, .ng-pills li { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 125px; padding: 0.75rem 1rem 0.75rem 0.875rem; line-height: 1; margin: 0; }
.ng-tag::before, .ng-pills li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ng-mint); flex: none; }
.ng-included { padding: 40px; max-width: 346px; margin-left: auto !important; }
.ng-included > * + * { margin-block-start: 1rem; }
.ng-included-row { gap: 20px; }
.ng-included-row p { margin: 0; line-height: 1.2; }
.ng-icon { margin: 0; flex: none; }
.ng-included .ng-icon img { width: 24px; height: 24px; display: block; }

/* ---------- press ---------- */
.ng-press { max-width: 1010px; margin-inline: auto !important; opacity: 0.9; }
.ng-press img { width: 100%; aspect-ratio: 1280 / 36; }

/* ---------- grids ---------- */
.ng-grid-3, .ng-grid-2 { gap: var(--wp--preset--spacing--30) !important; }
.ng-grid-4, .ng-feature-grid, .ng-benefit-grid, .ng-advisor-grid, .ng-logo-grid { display: grid; gap: var(--wp--preset--spacing--30); }
.ng-grid-4 > *, .ng-feature-grid > *, .ng-benefit-grid > *, .ng-advisor-grid > *, .ng-logo-grid > * { margin: 0 !important; max-width: none !important; }
.ng-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: var(--wp--preset--spacing--50); }

/* intro cards */
.ng-intro-card { border-radius: var(--ng-r-lg); overflow: hidden; aspect-ratio: 1; min-height: 0 !important; padding: 40px 32px !important; align-items: flex-start !important; box-sizing: border-box; height: 100%; }
.ng-intro-card .wp-block-cover__image-background { border-radius: var(--ng-r-lg); }
.ng-intro-card .wp-block-cover__background { background: linear-gradient(180deg, rgba(1, 53, 64, 0.6) 0%, rgba(1, 53, 64, 0) 55%) !important; opacity: 1 !important; border-radius: var(--ng-r-lg); }
.ng-intro-card-plain { background: linear-gradient(180deg, var(--wp--preset--color--teal) 0%, var(--wp--preset--color--fog) 100%); }
.ng-intro-card h3, .ng-intro-card p { margin: 0 0 0.5rem; }
.ng-graphic { margin: 1.5rem auto 0 !important; text-align: center; }
.ng-graphic img { max-width: min(236px, 80%); }
.ng-graphic-sm img { max-width: 109px; }
.ng-pills { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ng-pills li { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--white); background: rgba(1, 53, 64, 0.35); border: 1px solid rgba(255, 255, 255, 0.5); }
.ng-pills-left { align-items: flex-start; }

/* kit stage (Why Neurogen / What's Included) */
.ng-kit-stage { background-repeat: no-repeat; background-position: center bottom; background-size: max(100%, 1100px) auto; min-height: 1015px; box-sizing: border-box; }
.ng-kit-stage-closed { background-image: url(../images/why-neurogen-bg.webp); }
.ng-kit-stage-open { background-image: url(../images/whats-included-kit-bg.webp); min-height: 1065px; padding-top: calc(var(--wp--preset--spacing--70) + 80px) !important; }
.ng-feature-grid { grid-template-columns: repeat(2, minmax(0, 384px)); justify-content: space-between; row-gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--70); }
.ng-feature-grid-5 { grid-template-columns: repeat(3, minmax(0, 384px)); margin-top: 300px; }
.ng-feature { padding: 24px; gap: 16px; }
.ng-feature .ng-icon img { width: 52px; height: 52px; display: block; }
.ng-feature-copy > * { margin: 0; }
.ng-feature-copy p { margin-top: 8px; color: var(--wp--preset--color--pine); }

/* how it works cards */
.ng-step-card { padding: 32px 28px; }
.ng-step-card > * { margin-block: 0 12px; }

/* timeline */
.ng-timeline { position: relative; max-width: 1171px; margin-inline: auto !important; }
.ng-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dotted rgba(255, 255, 255, 0.5); }
.ng-tl-step { gap: 0 !important; margin-block: 40px !important; position: relative; }
.ng-tl-step::before { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -17px; border-radius: 50%; background: var(--ng-mint); border: 12px solid var(--ng-mint); box-shadow: inset 0 0 0 6px var(--ng-mint), inset 0 0 0 12px var(--ng-teal); box-sizing: border-box; z-index: 1; }
.ng-tl-copy { padding-inline: 0 120px; }
.ng-tl-flip .ng-tl-copy { padding-inline: 120px 0; }
.ng-tl-media { padding-inline: 120px 0; }
.ng-tl-flip .ng-tl-media { padding-inline: 0 120px; }
.ng-tl-copy h3 { margin: 1.5rem 0; }
.ng-step-text { max-width: 304px; }
.ng-media-card { aspect-ratio: 522 / 413; display: flex; align-items: center; justify-content: center; }
.ng-media-card .ng-graphic { margin: 0 !important; }
.ng-media-card .ng-graphic img { max-width: min(330px, 70%); }
.ng-photo { margin: 0; }
.ng-photo img { width: 100%; border-radius: var(--ng-r-lg); display: block; aspect-ratio: 522 / 413; object-fit: cover; }
.ng-photo-tall img { aspect-ratio: 630 / 522; }
.ng-photo-wide img { aspect-ratio: 1280 / 620; border-radius: var(--ng-r-lg); margin-top: var(--wp--preset--spacing--50); }

/* benefits */
.ng-benefit-grid { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--wp--preset--color--fog); border-bottom: 1px solid var(--wp--preset--color--fog); }
.ng-benefit { padding: 40px; border-left: 1px solid var(--wp--preset--color--fog); box-sizing: border-box; }
.ng-benefit > * { margin-block: 0; }
.ng-benefit h3 { margin-top: 56px; }
.ng-benefit p { margin-top: 16px; max-width: 235px; }
.ng-benefit .ng-icon img { width: 52px; height: 52px; display: block; }
.ng-benefit-kit { grid-column: span 2; border-left: 0; padding-left: 0; background: url(../images/benefits-kit.webp) right bottom / cover no-repeat; min-height: 312px; }
.ng-benefit-kit h3 { margin-top: 0; max-width: 344px; }
.ng-benefit-kit .ng-price, .ng-price { font-family: var(--wp--preset--font-family--heading); font-weight: 500; line-height: 1; margin: 0; }
.ng-benefit-kit .wp-block-group { margin-top: 32px; gap: 24px; }
.ng-benefit-kit .wp-block-group p { margin: 0; }
.ng-benefit:nth-child(4) { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--fog); }
.ng-benefit:nth-child(n+5) { border-top: 1px solid var(--wp--preset--color--fog); }
.ng-benefit-cta { background: var(--wp--preset--color--pale); display: flex; align-items: center; justify-content: center; }

/* leadership */
.ng-exec-card { background: rgba(255, 255, 255, 0.4); border-radius: var(--ng-r-lg); height: 100%; overflow: hidden; }
.ng-exec-card > * { margin: 0; }
.ng-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ng-r-lg); display: block; }
.ng-exec-copy { padding: 32px; }
.ng-exec-copy > * { margin-block: 0 12px; }
.ng-exec-copy ul { margin-top: 20px; }

/* advisors */
.ng-advisor-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.ng-advisor { padding: 22px; gap: 24px; border: 1px solid rgba(65, 104, 112, 0.35); border-radius: var(--ng-r-md); }
.ng-avatar { margin: 0; flex: none; }
.ng-avatar img { width: 108px; height: 108px; border-radius: 50%; border: 4px solid var(--ng-teal); box-sizing: border-box; display: block; }
.ng-advisor-copy { border-left: 1px solid rgba(65, 104, 112, 0.35); padding-left: 24px; }
.ng-advisor-copy > * { margin-block: 0 8px; }

/* logos */
.ng-logo-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 960px; margin-inline: auto !important; }
.ng-logo-grid-dark { max-width: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ng-logo-card { border: 1px solid var(--wp--preset--color--slate); border-radius: var(--ng-r-md); min-height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; box-sizing: border-box; }
.ng-logo-grid-dark .ng-logo-card { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.ng-logo { margin: 0 !important; }
.ng-logo img { max-height: 56px; max-width: 200px; width: auto; display: block; }
.ng-soon { font-size: 0.625rem; text-transform: uppercase; margin: 0 !important; }

/* collage CTA */
.ng-collage-cta { overflow: hidden; }
.ng-rays { background-image: repeating-conic-gradient(from -90deg at 50% 100%, rgba(255, 255, 255, 0.07) 0deg 4deg, transparent 4deg 15deg); }
.ng-rays.has-fog-to-teal-gradient-background { background-image: repeating-conic-gradient(from -90deg at 50% 100%, rgba(255, 255, 255, 0.09) 0deg 4deg, transparent 4deg 15deg), var(--wp--preset--gradient--fog-to-teal); }
.ng-collage { margin: 0 auto !important; max-width: 1064px !important; }
.ng-collage img { width: 100%; aspect-ratio: 1064 / 545; display: block; }
.ng-collage-copy { max-width: 563px; margin: -253px auto 0 !important; position: relative; }
.ng-collage-copy > * + * { margin-block-start: var(--wp--preset--spacing--40); }

/* pricing */
.ng-price-kit { padding: 52px; height: 100%; box-sizing: border-box; overflow: hidden; position: relative; min-height: 480px; }
.ng-price-kit h3 { max-width: 344px; margin: 0; }
.ng-kit-img { position: absolute; right: -60px; bottom: 0; margin: 0 !important; width: 90%; }
.ng-kit-img img { width: 100%; aspect-ratio: 1400 / 670; display: block; }
.ng-price-kit .ng-pills { position: absolute; left: 52px; bottom: 52px; }
.ng-price-kit .ng-pills li { font-size: var(--wp--preset--font-size--sm); }
.ng-price-list { padding: 52px; height: 100%; box-sizing: border-box; }
.ng-price-list > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.ng-checks { list-style: none; padding: 0 !important; }
.ng-checks li { position: relative; padding-left: 40px; margin-bottom: 12px; color: var(--wp--preset--color--white); }
.ng-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--ng-check) center / contain no-repeat; }
.ng-price-list .wp-block-group p { margin: 0; }

/* about */
.ng-story-cols { gap: var(--wp--preset--spacing--50) !important; }
.ng-story-cols h2 { margin-top: 1.5rem; }
.ng-diff-cols { gap: var(--wp--preset--spacing--70) !important; }
.ng-diff-cols h2 { margin-block: 1.5rem; }
.ng-kit-chip { background: rgba(1, 53, 64, 0.45) !important; padding: 16px 24px 16px 16px; gap: 16px; border-radius: var(--ng-r-sm); display: inline-flex; margin-top: var(--wp--preset--spacing--40); }
.ng-kit-chip p { margin: 0; max-width: 150px; line-height: 1.2; font-family: var(--wp--preset--font-family--heading); }
.ng-kit-mini { margin: 0; }
.ng-kit-mini img { width: 120px; display: block; }
.ng-diff-list { border: 1px solid var(--wp--custom--glass--border); border-radius: var(--ng-r-lg); overflow: hidden; }
.ng-diff-row { padding: 28px 32px; margin: 0 !important; border-top: 1px solid var(--wp--custom--glass--border); }
.ng-diff-row:first-child { border-top: 0; }
.ng-diff-row-active { background: rgba(255, 255, 255, 0.12); padding-block: 40px; }
.ng-diff-row .wp-block-group { gap: 24px; }
.ng-diff-row h3, .ng-diff-row p { margin: 0; }
.ng-diff-row p { margin-top: 8px; }
.ng-diff-row .ng-icon img { width: 52px; height: 52px; display: block; }

/* page CTA */
.ng-page-cta.wp-block-cover { min-height: 720px; padding: var(--wp--preset--spacing--70) var(--ng-gutter); align-items: flex-start; }
.ng-page-cta .wp-block-cover__background { background: linear-gradient(180deg, rgba(1, 53, 64, 0.75) 0%, rgba(1, 53, 64, 0.1) 55%, rgba(1, 53, 64, 0.9) 100%) !important; opacity: 1 !important; }
.ng-page-cta .wp-block-cover__inner-container { max-width: 563px; margin-inline: auto; }
.ng-page-cta .wp-block-cover__inner-container > * + * { margin-block-start: var(--wp--preset--spacing--40); }

/* ---------- blog ---------- */
.ng-blog-hero { margin: 12px 12px 0 !important; box-sizing: border-box; border-radius: var(--ng-r-xl); padding: 196px var(--ng-gutter) 320px; }
.ng-blog-hero h1 { margin: 0; }
.ng-blog-featured { margin-top: -270px !important; position: relative; padding-inline: var(--ng-gutter); }
.ng-post-featured { background: var(--wp--preset--color--white); border-radius: var(--ng-r-lg); padding: 12px; display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: center; }
.ng-post-featured > * { margin: 0 !important; }
.ng-post-thumb { margin: 0; }
.ng-post-thumb img { border-radius: var(--ng-r-md); width: 100%; object-fit: cover; display: block; }
.ng-post-card-copy { padding: 28px; }
.ng-post-card-copy > * { margin-block: 0 12px; }
.ng-post-card-copy a { text-decoration: none; }
.ng-post-card-copy a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ng-post-author { gap: 12px; margin-top: 24px !important; color: var(--ng-ink); }
.ng-avatar-sm img, .ng-avatar-sm { border-radius: 50%; }
.ng-avatar-sm img { width: 28px; height: 28px; overflow: hidden; font-size: 0; background: var(--wp--preset--color--fog); display: block; }
.ng-author-portrait img { overflow: hidden; font-size: 0; background: var(--wp--preset--color--fog); }
.ng-read-more { display: inline-block; margin-top: 12px !important; padding: 0.75rem 1.5rem; border: 1px solid var(--wp--preset--color--slate); border-radius: 100px; text-decoration: none; font-size: var(--wp--preset--font-size--sm); }
.ng-read-more:hover { background: var(--ng-ink); color: var(--wp--preset--color--white); }
.ng-blog-grid { padding: var(--wp--preset--spacing--70) var(--ng-gutter); }
.ng-query-grid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.ng-query-grid-list > li { margin: 0 !important; }
.ng-post-card { background: var(--wp--preset--color--white); border-radius: var(--ng-r-md); padding: 8px; display: grid; grid-template-columns: 1fr 200px; height: 100%; box-sizing: border-box; }
.ng-post-card > * { margin: 0 !important; }
.ng-post-card-sm { grid-template-columns: 1fr; }
.ng-query-related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin-top: var(--wp--preset--spacing--50); }
.ng-query-related-list > li { margin: 0 !important; }
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50); }
.wp-block-query-pagination a { display: inline-block; padding: 0.75rem 1.5rem; border: 1px solid var(--wp--preset--color--slate); border-radius: 100px; text-decoration: none; font-size: var(--wp--preset--font-size--sm); }

/* ---------- single ---------- */
.ng-single-head { padding-block: var(--wp--preset--spacing--50) calc(var(--wp--preset--spacing--70) + 40px); }
.ng-single-top { gap: var(--wp--preset--spacing--50) !important; }
.ng-single-meta > * { margin-block: 0; }
.ng-single-meta .wp-block-post-title { margin-bottom: 56px; max-width: 522px; }
.ng-meta-label { margin-top: 20px !important; color: var(--wp--preset--color--teal); }
.ng-meta-value { text-transform: none !important; font-size: var(--wp--preset--font-size--base) !important; color: var(--ng-ink) !important; margin-top: 8px !important; }
.ng-single-meta .ng-post-author { margin-top: 8px !important; }
.ng-single-image img { border-radius: var(--ng-r-lg); width: 100%; object-fit: cover; display: block; }
.ng-article-wrap { padding-inline: var(--ng-gutter); }
.ng-article .wp-block-post-content > * { margin-block: 0 1rem; }
.ng-article .wp-block-post-content { font-size: var(--wp--preset--font-size--sm); line-height: 1.57; }
.ng-article .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--2-xl); margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--wp--preset--color--fog); }
.ng-article .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--xl); margin-top: 2.5rem; }
.ng-article .wp-block-post-content h3.ng-subhead, .ng-article .wp-block-post-content h4 { font-size: var(--wp--preset--font-size--base); font-family: var(--wp--preset--font-family--body); line-height: 1.5; margin-top: 1.5rem; }
.ng-article .ng-article-lede { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--lg); line-height: 1.5; color: var(--ng-ink); margin-bottom: 2rem; }
.ng-toc { border: 1px solid var(--wp--preset--color--fog); border-radius: var(--ng-r-md); padding: 24px; margin-bottom: 2.5rem !important; }
.ng-toc ul { list-style: none; padding: 0 !important; margin: 12px 0 0; }
.ng-toc li { margin-bottom: 12px; font-size: var(--wp--preset--font-size--base); color: var(--ng-ink); }
.ng-toc a { text-decoration: none; }
.ng-toc a:hover { text-decoration: underline; }
.ng-callout { background: var(--wp--preset--color--mist); border-radius: var(--ng-r-md); padding: 40px; margin-top: 3rem !important; }
.ng-callout h3 { margin-top: 0 !important; }
.ng-callout .wp-block-button__link { background: var(--ng-teal); color: var(--wp--preset--color--white); padding: 0.75rem 1.5rem; }
.ng-author-box { background: var(--wp--preset--color--mist); border-radius: var(--ng-r-md); padding: 20px; gap: 40px; margin-top: 20px !important; }
.ng-author-portrait img { border-radius: var(--ng-r-sm); display: block; }
.ng-author-copy > * { margin-block: 0 12px; }
.ng-author-name { font-family: var(--wp--preset--font-family--heading); color: var(--ng-ink); }
.ng-related { padding-inline: var(--ng-gutter); }

/* plain + 404 */
.ng-plain { padding: var(--wp--preset--spacing--70) var(--ng-gutter); }
.ng-404 { text-align: center; min-height: 40vh; }
.ng-404 > * + * { margin-block-start: var(--wp--preset--spacing--40); }

/* ---------- footer ---------- */
.ng-footer-part { background: var(--ng-teal); padding: 12px; display: block; }
.ng-footer { border-radius: var(--ng-r-xl); padding: 180px calc(var(--ng-gutter) - 12px) 48px; position: relative; margin-top: 80px; }
.ng-footer::before { content: ""; position: absolute; left: 50%; top: -80px; width: 160px; height: 160px; transform: translateX(-50%); border-radius: 50%; background: var(--ng-ink) url(../icons/logomark-light.svg) center / 89px 90px no-repeat; }
.ng-footer-top { gap: var(--wp--preset--spacing--40) !important; margin-bottom: 100px; }
.ng-footer-col > * { margin: 0; }
.ng-footer-links, .ng-legal-links { list-style: none; padding: 0 !important; margin: 24px 0 0 !important; }
.ng-footer-links li { margin-bottom: 8px; font-size: var(--wp--preset--font-size--sm); }
.ng-footer a { color: var(--wp--preset--color--white); text-decoration: none; }
.ng-footer a:hover, .ng-footer a:focus { text-decoration: underline; text-underline-offset: 4px; }
.ng-legal-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 !important; font-size: var(--wp--preset--font-size--sm); }
.ng-footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-block: 24px; }
.ng-footer-copy { padding-top: 32px; }
.ng-footer-copy p { margin: 0; }
.ng-social .wp-social-link { background: rgba(255, 255, 255, 0.12) !important; border-radius: 50%; padding: 6px; }
.ng-footer .wp-block-button.is-style-ng-mint .wp-block-button__link::after { width: 24px; height: 24px; margin-left: 8px; -webkit-mask-image: url(../icons/logomark-dark.svg); mask-image: url(../icons/logomark-dark.svg); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.ng-header-actions .is-style-ng-account { display: none; }
	.ng-feature-grid, .ng-feature-grid-5 { grid-template-columns: repeat(2, 1fr); }
	.ng-benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.ng-benefit { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--wp--preset--color--fog); }
	.ng-benefit:nth-child(even) { padding-left: 32px !important; border-left: 1px solid var(--wp--preset--color--fog) !important; }
	.ng-benefit-kit { grid-column: span 2; border-top: 0; }
	.ng-benefit-kit + .ng-benefit { padding-left: 0 !important; border-left: 0 !important; }
	.ng-benefit-cta { grid-column: span 2; padding: 32px !important; border-left: 0 !important; }
	.ng-tl-copy, .ng-tl-flip .ng-tl-copy { padding-inline: 0 48px; }
	.ng-tl-flip .ng-tl-copy { padding-inline: 48px 0; }
	.ng-tl-media { padding-inline: 48px 0; }
	.ng-tl-flip .ng-tl-media { padding-inline: 0 48px; }
}
@media (max-width: 781px) {
	.ng-header-part { top: 24px; }
	.ng-header-part-light { padding-block: 24px 12px; }
	.ng-logo-link img { width: 150px; height: 30px; }
	.ng-header .is-style-ng-order .wp-block-button__link { min-height: 48px; padding-right: 1rem; }
	.ng-header .wp-block-button__link::before { width: 40px !important; height: 40px !important; }
	.ng-header .is-style-ng-order .wp-block-button__link::after { margin-left: 8px !important; }
	.ng-hero.wp-block-cover { padding: 120px 20px 120px; min-height: 0; }
	.ng-hero .wp-block-cover__image-background { object-position: 70% center; }
	.ng-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(1, 53, 64, 0.55), rgba(1, 53, 64, 0.35)) !important; opacity: 1 !important; }
	.ng-included { margin: 32px 0 0 !important; max-width: none; padding: 28px; }
	.ng-hero::after, .ng-footer::before { width: 112px; height: 112px; bottom: -56px; background-size: 62px 63px; }
	.ng-footer::before { top: -56px; bottom: auto; }
	.ng-hero + * { padding-top: calc(var(--wp--preset--spacing--70) + 40px); }
	.ng-intro-card { aspect-ratio: auto; min-height: 380px !important; }
	.ng-kit-stage { min-height: 0; padding-bottom: 72vw !important; background-size: 170% auto; }
	.ng-kit-stage-open { padding-top: var(--wp--preset--spacing--70) !important; padding-bottom: 70vw !important; }
	.ng-feature-grid, .ng-feature-grid-5 { grid-template-columns: 1fr; margin-top: var(--wp--preset--spacing--50); }
	.ng-benefit-grid { grid-template-columns: 1fr; }
	.ng-benefit, .ng-benefit:nth-child(even) { padding: 28px 0 !important; border-left: 0 !important; }
	.ng-benefit-kit, .ng-benefit-cta { grid-column: auto; }
	.ng-benefit-kit { background-size: 75% auto; background-position: right bottom; padding-bottom: 150px !important; }
	.ng-benefit h3 { margin-top: 24px; }
	.ng-timeline::before, .ng-tl-step::before { display: none; }
	.ng-tl-step { margin-block: 56px !important; gap: 24px !important; }
	.ng-tl-copy, .ng-tl-media, .ng-tl-flip .ng-tl-copy, .ng-tl-flip .ng-tl-media { padding-inline: 0; }
	.ng-tl-flip .ng-tl-media { order: 2; }
	.ng-collage-copy { margin-top: 24px !important; }
	.ng-price-kit { min-height: 420px; padding: 28px; }
	.ng-price-kit .ng-pills { left: 28px; bottom: 28px; }
	.ng-price-list { padding: 28px; }
	.ng-advisor { gap: 16px; padding: 16px; }
	.ng-avatar img { width: 80px; height: 80px; }
	.ng-advisor-copy { padding-left: 16px; }
	.ng-logo-grid, .ng-logo-grid-dark { grid-template-columns: repeat(2, 1fr); }
	.ng-logo-card { min-height: 110px; padding: 16px; }
	.ng-logo img { max-width: 120px; max-height: 40px; }
	.ng-page-cta.wp-block-cover { min-height: 600px; }
	.ng-blog-hero { padding: 140px 20px 260px; }
	.ng-blog-featured { margin-top: -220px !important; }
	.ng-post-featured { grid-template-columns: 1fr; gap: 0; }
	.ng-query-grid-list, .ng-query-related-list { grid-template-columns: 1fr; }
	.ng-post-card { grid-template-columns: 1fr 120px; }
	.ng-author-box { flex-wrap: wrap !important; gap: 20px; }
	.ng-footer { padding: 120px 20px 32px; }
	.ng-footer-top { margin-bottom: 48px; }
	.ng-footer .ng-header-actions { justify-content: flex-start !important; }
	.ng-footer .ng-header-actions .is-style-ng-account { display: block; }
	.ng-diff-row { padding: 20px; }
	.ng-callout { padding: 24px; }
}
