:root {
  --ng-bg: #0a0f1a;
  --ng-surface: #121a2f;
  --ng-surface-2: #0f1628;
  --ng-gold: #e8d29a;
  --ng-gold-strong: #f4c95d;
  --ng-text: #f5f7fa;
  --ng-text-muted: #a8b1c5;
  --ng-border: #1e2740;
  --ng-border-gold: rgba(232, 210, 154, 0.38);
  --ng-success: #22c55e;
  --ng-info: #3b82f6;
  --ng-warning: #f59e0b;
  --ng-error: #ef4444;
  --ng-font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ng-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ng-container: 1240px;
  --ng-radius: 8px;
  --ng-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ng-bg);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 22, 40, 0.62), rgba(10, 15, 26, 0.96) 34rem),
    var(--ng-bg);
  color: var(--ng-text);
  font-family: var(--ng-font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .ng-site-header {
  top: 32px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ng-gold);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ng-gold-strong);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(244, 201, 93, 0.42);
  outline-offset: 3px;
}

.ng-btn:focus-visible,
.wp-block-button.ng-btn .wp-block-button__link:focus-visible,
.ng-form button:focus-visible,
.ng-header__login:focus-visible,
.ng-footer__login:focus-visible,
.ng-menu-toggle:focus-visible,
.ng-mobile-panel a:focus-visible {
  outline: none;
  border-color: var(--ng-gold-strong);
  box-shadow: none;
}

.ng-lang-switch a:focus-visible {
  outline: none;
  background: var(--ng-gold);
  color: var(--ng-bg);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ng-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(232, 210, 154, 0.12);
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(16px);
}

.editor-styles-wrapper .ng-editor-dynamic-preview {
  width: 100%;
  margin-block: 0 1.5rem;
  overflow: clip;
  border: 1px solid rgba(232, 210, 154, 0.18);
  border-radius: var(--ng-radius);
  background: var(--ng-bg);
}

.editor-styles-wrapper .ng-editor-dynamic-preview__label {
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid rgba(232, 210, 154, 0.14);
  color: var(--ng-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editor-styles-wrapper .ng-editor-dynamic-preview--chromeless {
  margin-block: 0 2rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.editor-styles-wrapper .ng-site-header {
  position: relative;
  top: auto;
  z-index: 1;
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-site-header {
  overflow: hidden;
  border: 1px solid rgba(232, 210, 154, 0.14);
  border-radius: var(--ng-radius);
  background: rgba(10, 15, 26, 0.92);
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__inner {
  width: min(100% - 1.5rem, 1280px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1rem;
  min-height: auto;
  padding-block: 1rem;
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__brand img {
  width: auto;
  height: 48px;
  max-width: 168px;
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__nav,
.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__nav a,
.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-header__actions > a,
.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-lang-switch {
  min-height: 34px;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(232, 210, 154, 0.18);
  border-radius: 6px;
  background: rgba(15, 22, 40, 0.72);
  font-size: 0.78rem;
  line-height: 1.1;
  white-space: nowrap;
}

.editor-styles-wrapper [data-ng-editor-block="napa-growth/editor-site-header"] .ng-menu-toggle {
  display: none;
}

.editor-styles-wrapper .ng-mobile-panel[hidden] {
  display: none;
}

.ng-header__inner,
.ng-footer__inner {
  width: min(100% - 2rem, var(--ng-container));
  margin-inline: auto;
}

.ng-header__inner {
  width: min(100% - 1.5rem, 1320px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 80px;
}

.ng-header__brand,
.ng-footer__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ng-header__brand img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 180px;
  max-height: none;
  object-fit: contain;
}

.ng-header__nav,
.ng-header__actions,
.ng-footer__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ng-header__nav {
  justify-content: center;
  min-width: 0;
}

.ng-header__nav ul,
.ng-mobile-panel__nav ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ng-header__nav li,
.ng-mobile-panel__nav li {
  margin: 0;
}

.ng-header__nav a,
.ng-mobile-panel a,
.ng-footer a {
  color: var(--ng-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.ng-header__nav a {
  padding: 0.55rem 0.2rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.ng-header__nav a:hover,
.ng-mobile-panel a:hover,
.ng-footer a:hover {
  color: var(--ng-gold);
}

.ng-header__actions {
  justify-content: flex-end;
}

.ng-menu-toggle {
  appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ng-border-gold);
  border-radius: 6px;
  background: rgba(232, 210, 154, 0.08);
  color: var(--ng-text);
  cursor: pointer;
}

.ng-menu-toggle__bars,
.ng-menu-toggle__bars::before,
.ng-menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.ng-menu-toggle__bars {
  position: relative;
}

.ng-menu-toggle__bars::before,
.ng-menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.ng-menu-toggle__bars::before {
  top: -7px;
}

.ng-menu-toggle__bars::after {
  top: 7px;
}

.ng-mobile-panel {
  width: min(100% - 2rem, var(--ng-container));
  margin: 0 auto 1rem;
  padding: 1rem;
  border: 1px solid rgba(232, 210, 154, 0.18);
  border-radius: 8px;
  background: rgba(15, 22, 40, 0.98);
  box-shadow: var(--ng-shadow);
}

.ng-mobile-panel[hidden] {
  display: none;
}

.ng-mobile-panel__nav,
.ng-mobile-panel__actions {
  display: grid;
  gap: 0.55rem;
}

.ng-mobile-panel__nav a,
.ng-mobile-panel__actions a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(245, 247, 250, 0.08);
  border-radius: 6px;
  background: rgba(245, 247, 250, 0.03);
}

.ng-mobile-panel__actions {
  margin-top: 1rem;
}

.ng-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.24rem;
  border: 1px solid rgba(232, 210, 154, 0.26);
  border-radius: 6px;
  background: rgba(232, 210, 154, 0.07);
  color: var(--ng-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.ng-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  border-radius: 4px;
  color: var(--ng-text-muted);
  text-decoration: none;
}

.ng-lang-switch a[aria-current="true"] {
  background: var(--ng-gold);
  color: var(--ng-bg);
}

.ng-lang-switch__separator {
  color: rgba(245, 247, 250, 0.36);
}

.ng-btn,
.wp-block-button.ng-btn .wp-block-button__link,
.ng-form button,
.ng-header__login,
.ng-footer__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-block-button.ng-btn {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.wp-block-button.ng-btn:hover {
  transform: none;
}

.ng-btn:hover,
.wp-block-button.ng-btn .wp-block-button__link:hover,
.ng-form button:hover,
.ng-header__login:hover,
.ng-footer__login:hover {
  transform: translateY(-1px);
}

.ng-btn--primary,
.wp-block-button.ng-btn--primary .wp-block-button__link,
.ng-form button {
  border-color: var(--ng-gold);
  background: var(--ng-gold);
  color: var(--ng-bg);
}

.ng-btn--primary:hover,
.wp-block-button.ng-btn--primary .wp-block-button__link:hover,
.ng-form button:hover {
  border-color: var(--ng-gold-strong);
  background: var(--ng-gold-strong);
  color: var(--ng-bg);
}

.ng-btn--secondary,
.wp-block-button.ng-btn--secondary .wp-block-button__link {
  border-color: var(--ng-border-gold);
  background: rgba(232, 210, 154, 0.07);
  color: var(--ng-gold);
}

.ng-btn--secondary:hover,
.wp-block-button.ng-btn--secondary .wp-block-button__link:hover {
  background: var(--ng-surface);
  color: var(--ng-gold-strong);
}

.ng-btn--ghost,
.wp-block-button.ng-btn--ghost .wp-block-button__link,
.ng-header__login,
.ng-footer__login {
  border-color: rgba(245, 247, 250, 0.14);
  background: rgba(245, 247, 250, 0.04);
  color: var(--ng-text);
}

.ng-link {
  color: var(--ng-gold);
  font-weight: 800;
  text-decoration: none;
}

.ng-link:hover {
  text-decoration: underline;
}

.ng-main {
  width: 100%;
}

.ng-page {
  width: min(100% - 2rem, var(--ng-container));
  margin-inline: auto;
  padding: 0 0 5rem;
}

.ng-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(245, 247, 250, 0.08);
}

.ng-section:first-child {
  padding-top: 4.5rem;
}

.ng-section--hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 3rem;
  min-height: 680px;
}

.ng-section--story {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.ng-section--cta {
  padding: 4rem;
  border: 1px solid rgba(232, 210, 154, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 26, 47, 0.96), rgba(15, 22, 40, 0.88));
}

.ng-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--ng-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.ng-section h1,
.ng-section h2,
.ng-section h3,
.ng-post-title {
  margin-top: 0;
  font-family: var(--ng-font-heading);
}

.ng-section h1 {
  max-width: 860px;
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 1.12;
}

.ng-section h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
}

.ng-section h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.ng-section p {
  max-width: 760px;
  color: var(--ng-text-muted);
}

.ng-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(245, 247, 250, 0.86);
  font-size: 1.14rem;
}

.ng-actions,
.ng-header__actions,
.ng-footer__actions {
  flex-wrap: wrap;
}

.ng-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.ng-hero__media,
.ng-story__media {
  min-width: 0;
}

.ng-hero__media img,
.ng-story__media img {
  display: block;
  width: 100%;
  border: 1px solid rgba(232, 210, 154, 0.18);
  border-radius: 8px;
  background: rgba(18, 26, 47, 0.66);
  box-shadow: var(--ng-shadow);
}

.ng-value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.ng-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.ng-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ng-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ng-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ng-card,
.ng-step,
.ng-package,
.ng-value,
.ng-role,
.ng-feature,
.ng-contact-card {
  min-width: 0;
  padding: 1.3rem;
  border: 1px solid rgba(245, 247, 250, 0.12);
  border-radius: 8px;
  background: rgba(18, 26, 47, 0.68);
}

.ng-card--highlight,
.ng-package--highlight {
  border-color: var(--ng-border-gold);
  background: rgba(232, 210, 154, 0.08);
}

.ng-card p,
.ng-step p,
.ng-package p,
.ng-value p,
.ng-role p,
.ng-feature p,
.ng-contact-card p {
  margin-bottom: 0;
}

.ng-card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  color: var(--ng-gold);
}

figure.ng-card__icon,
figure.ng-step__icon,
figure.ng-package__icon {
  margin-left: 0;
  margin-right: 0;
}

.ng-card__icon img,
.ng-step__icon img,
.ng-package__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ng-step__number,
.ng-package__price {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--ng-gold);
  font-weight: 900;
}

.ng-package {
  display: flex;
  flex-direction: column;
}

.ng-package .ng-actions {
  margin-top: auto;
  padding-top: 1.25rem;
}

.ng-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ng-list li {
  padding: 0.45rem 0;
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  color: var(--ng-text-muted);
}

.ng-list li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: var(--ng-gold);
  vertical-align: 0.08em;
}

.ng-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid rgba(245, 247, 250, 0.12);
  border-radius: 8px;
}

.ng-table,
.wp-block-table.ng-table table,
.ng-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(18, 26, 47, 0.58);
}

.ng-table th,
.ng-table td,
.wp-block-table.ng-table th,
.wp-block-table.ng-table td,
.ng-table-wrap th,
.ng-table-wrap td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(245, 247, 250, 0.09);
  text-align: left;
}

.ng-table th,
.wp-block-table.ng-table th,
.ng-table-wrap th {
  color: var(--ng-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.ng-faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ng-faq__item {
  border: 1px solid rgba(245, 247, 250, 0.12);
  border-radius: 8px;
  background: rgba(18, 26, 47, 0.7);
  overflow: hidden;
}

.ng-faq__question,
.ng-faq__item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 1rem 1.15rem;
  color: var(--ng-text);
  font-weight: 800;
}

.ng-faq__question::-webkit-details-marker,
.ng-faq__item > summary::-webkit-details-marker {
  display: none;
}

.ng-faq__question::after,
.ng-faq__item > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--ng-text);
  font-size: 1.4rem;
  line-height: 1;
}

.ng-faq__item[open] .ng-faq__question::after,
.ng-faq__item[open] > summary::after {
  content: "-";
  color: var(--ng-gold);
}

.ng-faq__answer,
.ng-faq__item > p {
  color: var(--ng-text-muted);
  padding: 0 1.15rem 1.15rem;
}

.ng-faq__answer p,
.ng-faq__item > p {
  margin: 0;
}

.ng-form-embed,
.ng-form {
  margin-top: 1.5rem;
}

.ng-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.ng-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ng-gold);
  font-size: 0.85rem;
  font-weight: 800;
}

.ng-form input,
.ng-form select,
.ng-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(245, 247, 250, 0.14);
  border-radius: 6px;
  background: rgba(10, 15, 26, 0.62);
  color: var(--ng-text);
  font: inherit;
  padding: 0.78rem 0.85rem;
}

.ng-form textarea {
  resize: vertical;
}

.ng-form__wide,
.ng-form button {
  grid-column: 1 / -1;
}

.ng-form button {
  width: fit-content;
  cursor: pointer;
}

.ng-note {
  color: var(--ng-text-muted);
  font-size: 0.9rem;
}

.ng-site-footer {
  border-top: 1px solid rgba(245, 247, 250, 0.1);
  background: rgba(6, 10, 18, 0.78);
}

.ng-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.8fr);
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.ng-footer__logo img {
  width: auto;
  height: 72px;
  max-width: 220px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.ng-footer__brand p {
  max-width: 340px;
  color: var(--ng-text-muted);
}

.ng-footer__columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ng-footer__column h2 {
  margin: 0 0 0.75rem;
  color: var(--ng-gold);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ng-footer__column ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ng-footer__column li,
.ng-footer__column p {
  margin: 0;
  color: var(--ng-text-muted);
  font-size: 0.9rem;
}

.ng-footer__bottom {
  width: min(100% - 2rem, var(--ng-container));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  color: var(--ng-text-muted);
  font-size: 0.88rem;
}

.ng-main--post {
  width: min(100% - 2rem, 860px);
  padding: 4rem 0;
}

/* REV4 refinements: icon-rich, easier to scan, closer to Napa Growth reference */
.ng-page {
  max-width: var(--ng-container);
}

.ng-section {
  padding: 4.75rem 0;
}

.ng-section--compact {
  padding: 2.5rem 0 3.5rem;
}

.ng-section--hero {
  min-height: 540px;
  gap: 3rem;
}

.ng-section:first-child.ng-section--hero {
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
}

.ng-section h1 {
  letter-spacing: 0;
}

.ng-section h2 {
  letter-spacing: 0;
}

.ng-header__brand img {
  width: auto;
  height: 54px;
  max-width: 180px;
  max-height: none;
  object-fit: contain;
}

.ng-footer__logo img {
  width: auto;
  height: 72px;
  max-width: 220px;
  max-height: none;
  object-fit: contain;
}

.ng-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ng-value-strip {
  margin-top: 0;
}

.ng-value-strip .ng-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.85rem;
  align-items: center;
  min-height: 112px;
}

.ng-value-strip .ng-card h3,
.ng-value-strip .ng-card p {
  margin: 0;
}

.ng-value-strip .ng-card__icon {
  grid-row: 1 / span 2;
  margin: 0;
}

.ng-card__icon,
.ng-step__icon,
.ng-package__icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(232, 210, 154, 0.18));
}

.ng-step {
  position: relative;
  min-height: 235px;
}

.ng-step__number {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.ng-step__icon {
  width: 68px;
  height: 68px;
  margin: 0 0 1rem;
}

.ng-package {
  position: relative;
  text-align: left;
}

.ng-package__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
}

.ng-package__badge {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--ng-gold);
  color: var(--ng-bg);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ng-section--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ng-section--cta .ng-actions {
  margin-top: 0;
  flex: 0 0 auto;
}

.ng-section__head p {
  max-width: 700px;
}

.ng-card,
.ng-step,
.ng-package {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.ng-card:hover,
.ng-step:hover,
.ng-package:hover {
  border-color: rgba(232,210,154,0.36);
  background: rgba(18, 26, 47, 0.86);
}

/* REV5 homepage simplification and symbol system */
.ng-section--tiers,
.ng-section--symbols {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.ng-tier-grid .ng-card,
.ng-symbol-grid .ng-card {
  text-align: center;
}

.ng-tier-grid .ng-card__icon {
  width: 108px;
  height: 108px;
  margin-inline: auto;
}

.ng-symbol-grid .ng-card__icon {
  width: 72px;
  height: 72px;
  margin-inline: auto;
}

.ng-symbol-grid .ng-card p,
.ng-tier-grid .ng-card p {
  margin-inline: auto;
  max-width: 14rem;
}

.ng-symbol-grid .ng-card .ng-link,
.ng-tier-grid .ng-card .ng-link {
  display: inline-flex;
  margin-top: 0.75rem;
}

.ng-card img[aria-hidden="true"],
.ng-step img[aria-hidden="true"],
.ng-package img[aria-hidden="true"] {
  pointer-events: none;
  user-select: none;
}

.ng-section--faq .ng-section__head {
  max-width: 720px;
}

@media (max-width: 1180px) {
  .ng-symbol-grid.ng-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ng-symbol-grid.ng-grid--6,
  .ng-tier-grid.ng-grid--4 {
    grid-template-columns: 1fr;
  }
  .ng-tier-grid .ng-card__icon {
    width: 88px;
    height: 88px;
  }
}

/* REV7 visual correction: lighter homepage, exact symbol system and one-frame buttons */
.ng-header__brand img {
  width: 190px;
  height: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.ng-footer__logo img {
  width: 220px;
  height: auto;
  max-width: 220px;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.ng-btn,
.ng-header__login,
.ng-footer__login,
.ng-lang-switch,
.ng-mobile-panel__nav a,
.ng-mobile-panel__actions a {
  box-shadow: none;
}

.ng-btn--secondary,
.wp-block-button.ng-btn--secondary .wp-block-button__link,
.ng-header__login,
.ng-footer__login {
  background: rgba(18, 26, 47, 0.52);
  border-color: rgba(232, 210, 154, 0.32);
}

.ng-lang-switch {
  border-color: rgba(232, 210, 154, 0.24);
  background: transparent;
  padding: 0.18rem;
}

.ng-section--hero {
  min-height: 560px;
}

.ng-section--compact {
  padding-top: 2.2rem;
  padding-bottom: 3rem;
}

.ng-section--cards,
.ng-section--modules,
.ng-section--tiers,
.ng-section--faq {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.ng-card,
.ng-step,
.ng-package,
.ng-faq__item,
.ng-table-wrap {
  border: 1px solid rgba(245, 247, 250, 0.12);
  background: linear-gradient(180deg, rgba(18, 26, 47, 0.72), rgba(15, 22, 40, 0.62));
}

.ng-card--highlight,
.ng-package--highlight {
  border: 1px solid rgba(232, 210, 154, 0.54);
}

.ng-card__icon,
.ng-step__icon,
.ng-package__icon {
  filter: drop-shadow(0 0 18px rgba(232, 210, 154, 0.22));
}

.ng-card__icon {
  width: 64px;
  height: 64px;
}

.ng-step__icon {
  width: 72px;
  height: 72px;
}

.ng-symbol-grid .ng-card,
.ng-tier-grid .ng-card {
  text-align: center;
}

.ng-symbol-grid .ng-card__icon {
  width: 82px;
  height: 82px;
  margin-inline: auto;
}

.ng-tier-grid .ng-card__icon {
  width: 112px;
  height: 112px;
  margin-inline: auto;
}

.ng-role-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.ng-role-detail {
  min-width: 0;
  padding: 1.45rem;
  border: 1px solid rgba(245, 247, 250, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 26, 47, 0.74), rgba(15, 22, 40, 0.62));
}

.ng-role-detail img {
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 18px rgba(232, 210, 154, 0.22));
}

.ng-role-detail h3 {
  color: var(--ng-text);
  font-size: 1.3rem;
}

.ng-role-detail h4 {
  margin: 1.2rem 0 0.35rem;
  color: var(--ng-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.ng-role-detail p {
  color: var(--ng-text-muted);
}

.ng-quote {
  max-width: 760px;
  margin: 2rem 0 0;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--ng-gold);
  border-radius: 0 8px 8px 0;
  background: rgba(232, 210, 154, 0.07);
  color: var(--ng-text);
  font-size: 1.15rem;
  font-weight: 700;
}

.ng-quote span {
  color: var(--ng-text-muted);
  font-weight: 600;
}

.ng-section--narrow .ng-section__head p {
  max-width: 980px;
}

@media (max-width: 1200px) {
  .ng-header__brand img {
    width: 168px;
    max-width: 168px;
  }
  .ng-role-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ng-header__brand img {
    width: 148px;
    max-width: 148px;
  }
  .ng-section--hero {
    min-height: auto;
  }
  .ng-card__icon,
  .ng-step__icon {
    width: 60px;
    height: 60px;
  }
  .ng-symbol-grid .ng-card__icon,
  .ng-tier-grid .ng-card__icon {
    width: 86px;
    height: 86px;
  }
}

/* REV10 design system alignment */
:root {
  --ng-bg: #0A0F1A;
  --ng-surface: #121A2F;
  --ng-surface-2: #0F1626;
  --ng-gold: #E8D29A;
  --ng-text: #F5F7FA;
  --ng-text-muted: #A8B1C5;
  --ng-border: #1E2740;
  --ng-border-soft: rgba(232,210,154,.18);
  --ng-border-gold: rgba(232,210,154,.62);
  --ng-container: 1180px;
  --ng-radius: 8px;
}

body {
  background:
    linear-gradient(180deg, rgba(18,26,47,.52) 0, rgba(10,15,26,.98) 28rem),
    var(--ng-bg);
  color: var(--ng-text);
}

.ng-site-header {
  border-bottom: 1px solid var(--ng-border);
  background: rgba(10,15,26,.9);
}

.ng-header__inner {
  min-height: 74px;
  width: min(100% - 2rem, 1280px);
}

.ng-header__brand img {
  width: 172px;
  max-width: 172px;
}

.ng-header__nav a {
  color: rgba(245,247,250,.84);
  font-size: .82rem;
}

.ng-page {
  width: min(100% - 2rem, var(--ng-container));
  padding-bottom: 5.5rem;
}

.ng-section {
  padding: 5.75rem 0;
  border-bottom: 1px solid rgba(30,39,64,.78);
}

.ng-section:first-child.ng-section--hero {
  padding-top: 4.25rem;
  padding-bottom: 4.5rem;
}

.ng-section--hero {
  min-height: 640px;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .9fr);
}

.ng-section h1 {
  max-width: 860px;
  font-size: 4.75rem;
  font-weight: 800;
  line-height: 1.02;
}

.ng-section h2 {
  max-width: 820px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.08;
}

.ng-section h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.ng-eyebrow {
  color: var(--ng-gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ng-lead {
  color: var(--ng-text-muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.ng-section p,
.ng-list li,
.ng-faq__answer,
.ng-note {
  color: var(--ng-text-muted);
}

.ng-card,
.ng-step,
.ng-package,
.ng-value,
.ng-role,
.ng-feature,
.ng-contact-card,
.ng-role-detail,
.ng-faq__item,
.ng-table-wrap {
  border: 1px solid var(--ng-border);
  border-radius: var(--ng-radius);
  background: linear-gradient(180deg, rgba(18,26,47,.92), rgba(15,22,38,.84));
  box-shadow: none;
}

.ng-card:hover,
.ng-step:hover,
.ng-package:hover,
.ng-role-detail:hover {
  border-color: rgba(232,210,154,.42);
  background: linear-gradient(180deg, rgba(18,26,47,1), rgba(15,22,38,.94));
}

.ng-card--highlight,
.ng-package--highlight {
  border: 1px solid rgba(232,210,154,.72);
  background: linear-gradient(180deg, rgba(35,33,40,.84), rgba(18,26,47,.92));
}

.ng-card__icon,
.ng-step__icon,
.ng-package__icon,
.ng-role-detail img {
  filter: none;
}

.ng-card__icon {
  width: 56px;
  height: 56px;
}

.ng-step__icon {
  width: 64px;
  height: 64px;
}

.ng-package__icon {
  width: 92px;
  height: 92px;
}

.ng-value-strip {
  gap: 1.25rem;
}

.ng-value-strip .ng-card {
  min-height: 118px;
  padding: 1.35rem;
}

.ng-symbol-grid .ng-card {
  min-height: 240px;
}

.ng-btn,
.wp-block-button.ng-btn .wp-block-button__link,
.ng-form button,
.ng-header__login,
.ng-footer__login {
  min-height: 48px;
  padding: .8rem 1.15rem;
  border-radius: 8px;
  box-shadow: none;
}

.ng-btn--primary,
.wp-block-button.ng-btn--primary .wp-block-button__link,
.ng-form button {
  border: 0;
  background: var(--ng-gold);
  color: var(--ng-bg);
}

.ng-btn--primary:hover,
.wp-block-button.ng-btn--primary .wp-block-button__link:hover,
.ng-form button:hover {
  border: 0;
  background: #f0dca7;
  color: var(--ng-bg);
}

.ng-btn--secondary,
.wp-block-button.ng-btn--secondary .wp-block-button__link {
  border: 1px solid rgba(232,210,154,.65);
  background: rgba(15,22,38,.72);
  color: var(--ng-text);
}

.ng-btn--secondary:hover,
.wp-block-button.ng-btn--secondary .wp-block-button__link:hover {
  border-color: rgba(232,210,154,.65);
  background: var(--ng-surface);
  color: var(--ng-gold);
}

.ng-btn--ghost,
.wp-block-button.ng-btn--ghost .wp-block-button__link,
.ng-header__login,
.ng-footer__login {
  border: 1px solid var(--ng-border);
  background: transparent;
  color: var(--ng-text);
}

.ng-link {
  color: var(--ng-gold);
}

.ng-link:hover {
  color: #f0dca7;
}

.ng-lang-switch {
  border: 0;
  background: transparent;
  color: var(--ng-text-muted);
}

.ng-lang-switch a[aria-current="true"] {
  background: transparent;
  color: var(--ng-gold);
}

.ng-hero__media img,
.ng-story__media img {
  border: 1px solid var(--ng-border);
  border-radius: var(--ng-radius);
  background: var(--ng-surface);
  box-shadow: none;
}

.ng-section--story {
  align-items: center;
}

.ng-section--cta {
  border: 1px solid var(--ng-border);
  border-radius: var(--ng-radius);
  background: linear-gradient(180deg, rgba(18,26,47,.96), rgba(15,22,38,.92));
}

.ng-faq__item {
  background: rgba(18,26,47,.84);
}

.ng-faq__question,
.ng-faq__item > summary {
  color: var(--ng-text);
}

.ng-faq__question::after,
.ng-faq__item > summary::after {
  color: var(--ng-gold);
}

.ng-site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--ng-border);
  background: var(--ng-bg);
}

.ng-footer__inner {
  width: min(100% - 2rem, 1280px);
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.85fr);
  gap: 2.25rem;
  padding: 2rem;
  border: 1px solid var(--ng-border);
  border-radius: var(--ng-radius);
  background: linear-gradient(180deg, rgba(18,26,47,.82), rgba(10,15,26,.74));
}

.ng-footer__logo img {
  width: 188px;
  max-width: 188px;
}

.ng-footer__brand p {
  color: var(--ng-text);
  font-size: 1rem;
  font-weight: 700;
}

.ng-footer__columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

.ng-footer__column h2 {
  color: var(--ng-gold);
  font-size: .78rem;
  letter-spacing: 0;
}

.ng-footer__column li,
.ng-footer__column p,
.ng-footer a {
  color: var(--ng-text-muted);
  font-size: .88rem;
}

.ng-footer a:hover {
  color: var(--ng-gold);
}

.ng-footer__bottom {
  width: min(100% - 2rem, 1280px);
  padding: 1rem 0 0;
}

@media (max-width: 1200px) {
  .ng-header__inner {
    grid-template-columns: auto auto;
  }

  .ng-header__nav,
  .ng-header__actions {
    display: none;
  }

  .ng-menu-toggle {
    display: inline-flex;
  }

  .ng-section--hero,
  .ng-section--story {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ng-grid--6,
  .ng-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ng-section {
    padding: 4.5rem 0;
  }

  .ng-section h1 {
    font-size: 3.4rem;
    line-height: 1.08;
  }

  .ng-section h2 {
    font-size: 2.45rem;
  }

  .ng-grid--3,
  .ng-grid--4,
  .ng-value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ng-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ng-header__inner,
  .ng-page,
  .ng-footer__inner,
  .ng-footer__bottom {
    width: min(100% - 1.25rem, var(--ng-container));
  }

  .ng-header__inner {
    min-height: 68px;
  }

  .ng-header__brand img {
    width: 146px;
    max-width: 146px;
  }

  .ng-section:first-child.ng-section--hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .ng-section {
    padding: 3.75rem 0;
  }

  .ng-section h1 {
    font-size: 2.65rem;
  }

  .ng-section h2 {
    font-size: 2rem;
  }

  .ng-lead {
    font-size: 1.02rem;
  }

  .ng-grid--2,
  .ng-grid--3,
  .ng-grid--4,
  .ng-grid--6,
  .ng-value-strip,
  .ng-footer__columns,
  .ng-form {
    grid-template-columns: 1fr;
  }

  .ng-actions,
  .ng-footer__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ng-actions a,
  .ng-actions .ng-btn,
  .wp-block-button.ng-btn .wp-block-button__link {
    width: 100%;
  }

  .ng-footer__inner,
  .ng-section--cta {
    padding: 1.5rem;
  }

  .ng-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .ng-section h1 {
    font-size: 2.35rem;
  }

  .ng-section h2 {
    font-size: 1.78rem;
  }

  .ng-card,
  .ng-step,
  .ng-package,
  .ng-role-detail {
    padding: 1.15rem;
  }
}
