/*
  InvestorLady global base
  - Design tokens from approved landing.
  - Header/footer live only here.
*/

:root {
  --il-bg: #061827;
  --il-bg-soft: #092238;
  --il-bg-card: rgba(10, 34, 55, 0.78);
  --il-bg-card-solid: #0a2237;
  --il-border: rgba(255, 255, 255, 0.12);
  --il-border-strong: rgba(231, 173, 70, 0.35);
  --il-text: #f7fbff;
  --il-text-soft: #b8c6d6;
  --il-text-muted: #7f92a8;
  --il-gold: #e7ad46;
  --il-gold-2: #ffd98c;
  --il-gold-dark: #9d6825;
  --il-cyan: #28e2c4;
  --il-emerald: #18b493;
  --il-danger: #ff6b6b;
  --il-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --il-shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.28);
  --il-radius-xs: 10px;
  --il-radius-sm: 16px;
  --il-radius: 24px;
  --il-radius-lg: 34px;
  --il-container: 1180px;
  --il-section-y: clamp(64px, 8vw, 116px);
  --il-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --il-bg: #f6f0e4;
  --il-bg-soft: #fff7eb;
  --il-bg-card: rgba(255, 255, 255, 0.78);
  --il-bg-card-solid: #ffffff;
  --il-border: rgba(6, 24, 39, 0.13);
  --il-border-strong: rgba(157, 104, 37, 0.36);
  --il-text: #061827;
  --il-text-soft: #31495d;
  --il-text-muted: #52677a;
  --il-gold: #c9862d;
  --il-gold-2: #935d18;
  --il-gold-dark: #7a4d16;
  --il-cyan: #087e75;
  --il-emerald: #087b66;
  --il-danger: #b42334;
  --il-shadow: 0 24px 90px rgba(6, 24, 39, 0.13);
  --il-shadow-soft: 0 18px 55px rgba(6, 24, 39, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  color: var(--il-text);
  font-family: var(--il-font);
  background:
    radial-gradient(circle at 18% 10%, rgba(231, 173, 70, 0.14), transparent 26rem),
    radial-gradient(circle at 88% 6%, rgba(40, 226, 196, 0.11), transparent 26rem),
    linear-gradient(180deg, #04111d 0%, var(--il-bg) 42%, #03101d 100%);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  transition: background 220ms ease, color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% -35% -10%;
  height: 56vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(231, 173, 70, 0.12), transparent 68%);
  filter: blur(24px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
ul,
ol,
figure {
  margin-top: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

p:last-child,
ul:last-child,
ol:last-child,
figure:last-child {
  margin-bottom: 0;
}

::selection {
  color: #07131f;
  background: var(--il-gold-2);
}

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

.il-skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 12px 16px;
  color: #07131f;
  background: var(--il-gold-2);
  border-radius: var(--il-radius-xs);
}

:focus-visible {
  outline: 3px solid rgba(255, 217, 140, 0.92);
  outline-offset: 4px;
}

.il-container {
  width: min(100% - 32px, var(--il-container));
  margin-inline: auto;
  min-width: 0;
}

.il-section {
  position: relative;
  padding-block: var(--il-section-y);
}

.il-site-content,
.il-site-main,
.il-entry-content,
.site,
.site-content,
.entry-content {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

@supports not (overflow-x: clip) {
  .il-site-content,
  .il-site-main,
  .il-entry-content,
  .site,
  .site-content,
  .entry-content {
    overflow-x: hidden;
  }
}

.home .il-site-content,
.home .il-site-main,
.home .il-entry-content,
.home .site,
.home .site-content,
.home .entry-content,
.page-id-18 .il-site-content,
.page-id-18 .il-site-main,
.page-id-18 .il-entry-content,
.page-id-18 .site,
.page-id-18 .site-content,
.page-id-18 .entry-content {
  overflow: visible;
}

body.home,
body.page-id-18 {
  overflow-x: clip;
  overflow-y: visible;
}

.il-entry-content figure[class*="il-"] > br,
.il-entry-content figure[class*="il-"] > p:empty,
.il-entry-content [class*="il-visual"] > br,
.il-entry-content [class*="il-photo"] > br {
  display: none;
}

.il-section-heading {
  max-width: 710px;
}

.il-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.il-section-heading--inline {
  display: grid;
  gap: 22px;
  align-items: end;
  max-width: none;
  margin-bottom: 34px;
}

.il-section-heading--inline > p,
.il-section-heading--inline > div + p {
  max-width: 520px;
  color: var(--il-text-soft);
}

.il-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--il-gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.il-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--il-gold));
}

h1,
h2,
h3 {
  color: var(--il-text);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6.2vw, 4.55rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 4.6vw, 3.75rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
}

.il-section-lead,
.il-section-heading p {
  color: var(--il-text-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.il-button,
.il-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 8px;
  padding: 13px 20px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  border: 0;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.il-button {
  position: relative;
  isolation: isolate;
  color: #07131f;
  background: linear-gradient(135deg, var(--il-gold-2), var(--il-gold));
  box-shadow: 0 18px 42px rgba(231, 173, 70, 0.26);
}

.il-button:hover {
  color: #07131f;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(231, 173, 70, 0.34);
}

.il-button--ghost {
  color: var(--il-text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--il-border);
  box-shadow: none;
}

.il-button--ghost:hover {
  color: var(--il-gold-2);
  border-color: rgba(231, 173, 70, 0.34);
  box-shadow: none;
}

.il-button--small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.il-button--full {
  width: 100%;
}

.il-link-button {
  min-height: 40px;
  padding: 10px 12px;
  color: var(--il-text-soft);
}

.il-link-button:hover {
  color: var(--il-gold-2);
}

.il-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 10px;
  color: var(--il-gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(231, 173, 70, 0.1);
  border: 1px solid rgba(231, 173, 70, 0.24);
  border-radius: 999px;
}

.il-panel,
.il-benefit-card,
.il-image-card,
.il-pricing-card,
.il-calculator-card,
.il-founder-card,
.il-service-card,
.il-testimonial-card,
.il-contact-form,
.il-final-cta__inner,
.il-risk-note,
.il-module-card,
.il-member-card,
.il-offer-card {
  background: var(--il-bg-card);
  border: 1px solid var(--il-border);
  border-radius: var(--il-radius);
  box-shadow: var(--il-shadow-soft);
  backdrop-filter: blur(18px);
}

.il-card-grid,
.il-benefit-grid,
.il-result-grid,
.il-input-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.il-two-col,
.il-course__grid,
.il-calculator__grid,
.il-about__grid,
.il-contact__grid,
.il-faq__grid,
.il-footer__grid {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  min-width: 0;
}

.il-card-grid > *,
.il-benefit-grid > *,
.il-result-grid > *,
.il-input-grid > *,
.il-two-col > *,
.il-course__grid > *,
.il-calculator__grid > *,
.il-about__grid > *,
.il-contact__grid > *,
.il-faq__grid > *,
.il-footer__grid > *,
.il-panel,
.il-benefit-card,
.il-image-card,
.il-pricing-card,
.il-calculator-card,
.il-founder-card,
.il-service-card,
.il-testimonial-card,
.il-contact-form,
.il-final-cta__inner,
.il-risk-note,
.il-module-card,
.il-member-card,
.il-offer-card {
  min-width: 0;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.il-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 17, 29, 0.74);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

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

.il-site-header.is-scrolled {
  background: rgba(4, 17, 29, 0.92);
  border-color: rgba(231, 173, 70, 0.13);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.il-header__inner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 16px;
  align-items: center;
  min-height: 78px;
}

.il-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.il-brand__logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(231, 173, 70, 0.48);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(6, 24, 39, 0.06);
}

.il-brand__logo-mark {
  display: inline-grid;
  place-items: center;
  color: #07131f;
  font-weight: 950;
  background: linear-gradient(135deg, var(--il-gold-2), var(--il-gold));
}

.il-brand__text {
  display: grid;
  line-height: 1.02;
}

.il-brand__text span {
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.il-brand__text small {
  margin-top: 4px;
  color: var(--il-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.il-menu-toggle {
  display: inline-grid;
  justify-self: end;
  gap: 5px;
  width: 46px;
  height: 46px;
  place-content: center;
  color: var(--il-text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--il-border);
  border-radius: 999px;
}

.il-menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.has-open-menu .il-menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.has-open-menu .il-menu-toggle__line:nth-child(2) {
  opacity: 0;
}

body.has-open-menu .il-menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.il-primary-nav {
  position: fixed;
  inset: 78px 16px auto 16px;
  display: grid;
  gap: 18px;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  background: rgba(8, 29, 48, 0.97);
  border: 1px solid var(--il-border);
  border-radius: var(--il-radius);
  box-shadow: var(--il-shadow);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

body.has-open-menu .il-primary-nav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.il-nav-list {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.il-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px;
  color: var(--il-text-soft);
  font-size: 0.95rem;
  font-weight: 850;
  border-radius: 12px;
  transition: color 180ms ease, background 180ms ease;
}

.il-nav-list a:hover,
.il-nav-list a.is-active {
  color: var(--il-text);
  background: rgba(255, 255, 255, 0.06);
}

.il-nav-list .menu-item-has-children {
  position: relative;
  min-width: 0;
}

.il-nav-list .menu-item-has-children > a::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
}

.il-nav-list .sub-menu {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 4px 0 0;
  padding: 8px;
  list-style: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--il-border);
  border-radius: 14px;
}

.il-nav-list .sub-menu a {
  padding: 10px 12px;
  font-size: 0.88rem;
  white-space: normal;
}

.il-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.il-theme-toggle {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--il-text-soft);
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--il-border);
  border-radius: 999px;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.il-theme-toggle:hover {
  color: var(--il-text);
  border-color: rgba(231, 173, 70, 0.34);
  transform: translateY(-1px);
}

.il-theme-toggle__track {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--il-border);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.il-theme-toggle__track::before,
.il-theme-toggle__track::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 0.66rem;
  line-height: 1;
}

.il-theme-toggle__track::before {
  content: "â˜¾";
  left: 7px;
  color: var(--il-gold-2);
}

.il-theme-toggle__track::after {
  content: "â˜€";
  right: 6px;
  color: var(--il-text-muted);
}

.il-theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 2;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--il-gold-2), var(--il-gold));
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

html[data-theme="light"] .il-theme-toggle__thumb {
  transform: translateX(18px);
}

html[data-theme="light"] .il-theme-toggle__track::before {
  color: var(--il-text-muted);
}

html[data-theme="light"] .il-theme-toggle__track::after {
  color: var(--il-gold-2);
}

/* Footer */
.il-site-footer {
  padding-block: 54px 22px;
  background: #030f1b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.il-footer__grid {
  align-items: start;
}

.il-footer__brand p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--il-text-soft);
}

.il-footer-nav {
  display: grid;
  gap: 10px;
}

.il-footer-nav ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.il-footer-nav li {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}

.il-footer-nav li::marker {
  content: "";
}

.il-footer-nav a,
.il-footer__bottom a {
  display: inline-flex;
  max-width: max-content;
  color: var(--il-text-soft);
  font-weight: 800;
}

.il-footer-nav a:hover,
.il-footer__bottom a:hover {
  color: var(--il-gold-2);
}

.il-footer__credit {
  opacity: 0.72;
}

.il-risk-note {
  padding: 22px;
  box-shadow: none;
}

.il-risk-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--il-gold-2);
}

.il-footer__bottom {
  display: grid;
  gap: 12px;
  padding-top: 28px;
  margin-top: 34px;
  color: var(--il-text-muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.il-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* WordPress and Storefront hardening */
.storefront-breadcrumb,
.widget-area,
.site-search,
.storefront-handheld-footer-bar,
.site-header-cart,
.woocommerce-active .site-header .site-header-cart {
  display: none !important;
}

.il-page-header {
  padding-block: clamp(54px, 8vw, 92px) 28px;
}

.il-page-header h1 {
  max-width: 880px;
}

.il-commerce-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--il-text);
  background: var(--il-bg-card-solid);
  border: 1px solid var(--il-border-strong);
  border-radius: var(--il-radius-xs);
  box-shadow: var(--il-shadow-soft);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 16% 8%, rgba(201, 134, 45, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(8, 126, 117, 0.12), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, var(--il-bg) 48%, #eef5f4 100%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(6, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 24, 39, 0.045) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
}

html[data-theme="light"] body::after {
  background: radial-gradient(ellipse at center, rgba(201, 134, 45, 0.16), transparent 68%);
}

html[data-theme="light"] .il-site-header {
  background: rgba(255, 250, 241, 0.78);
  border-bottom-color: rgba(6, 24, 39, 0.1);
}

html[data-theme="light"] .il-site-header.is-scrolled {
  background: rgba(255, 252, 246, 0.94);
  border-color: rgba(157, 104, 37, 0.18);
  box-shadow: 0 12px 34px rgba(6, 24, 39, 0.11);
}

html[data-theme="light"] .il-primary-nav {
  background: rgba(255, 252, 246, 0.97);
}

html[data-theme="light"] .il-menu-toggle,
html[data-theme="light"] .il-theme-toggle,
html[data-theme="light"] .il-button--ghost {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .il-nav-list a:hover,
html[data-theme="light"] .il-nav-list a.is-active {
  background: rgba(6, 24, 39, 0.055);
}

html[data-theme="light"] .il-nav-list .sub-menu {
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .il-site-footer {
  background: #f0e8dc;
  border-top-color: rgba(6, 24, 39, 0.08);
}

html[data-theme="light"] .il-footer__bottom {
  border-top-color: rgba(6, 24, 39, 0.1);
}

@media (min-width: 640px) {
  .il-container {
    width: min(100% - 48px, var(--il-container));
  }

  .il-header__inner {
    min-height: 84px;
  }

  .il-primary-nav {
    inset-top: 84px;
  }

  .il-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  html {
    scroll-padding-top: 98px;
  }

  .il-section-heading--inline {
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  }

  .il-menu-toggle {
    display: none;
  }

  .il-header__inner {
    grid-template-columns: auto 1fr;
    gap: 34px;
  }

  .il-brand__logo {
    width: 60px;
    height: 60px;
  }

  .il-primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .il-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .il-nav-list a {
    padding: 10px 9px;
    font-size: 0.88rem;
  }

  .il-nav-list .sub-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    z-index: 20;
    display: none;
    min-width: 224px;
    margin: 0;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    background: rgba(8, 29, 48, 0.98);
    border-color: rgba(231, 173, 70, 0.18);
    box-shadow: var(--il-shadow);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .il-nav-list .menu-item-has-children:hover > .sub-menu,
  .il-nav-list .menu-item-has-children:focus-within > .sub-menu {
    display: grid;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  html[data-theme="light"] .il-nav-list .sub-menu {
    background: rgba(255, 252, 246, 0.98);
  }

  .il-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .il-theme-toggle {
    grid-column: auto;
    width: auto;
    min-height: 42px;
    padding-inline: 10px 12px;
  }

  .il-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.45fr) minmax(300px, 0.75fr);
    gap: 36px;
  }
}

@media (min-width: 1180px) {
  .il-nav-list a {
    padding-inline: 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 767px) {
  :root {
    --il-section-y: clamp(52px, 14vw, 74px);
  }

  .il-container {
    width: min(100% - 28px, var(--il-container));
  }

  .il-header__inner {
    min-height: 70px;
  }

  .il-brand__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .il-brand__text span {
    font-size: 0.92rem;
  }

  .il-brand__text small {
    font-size: 0.64rem;
  }

  .il-primary-nav {
    inset: 70px 14px auto 14px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }

  .il-button,
  .il-link-button {
    width: 100%;
    min-height: 46px;
  }

  .il-site-footer {
    padding-block: 44px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
