:root {
  --ih-header-z-index: 1200;
  --ih-header-offset: 74px;
}

html,
body {
  overflow-x: clip;
}

.ih-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--ih-header-z-index);
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(49, 48, 48, 0.08);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

/* Theme wrappers create clipping/inline formatting contexts that break sticky headers. */
.qodef-wrapper,
.qodef-wrapper-inner,
.qodef-wrapper .qodef-wrapper-inner,
.qodef-content,
.qodef-content-inner {
  display: block;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* Sticky footer: wrapper fills full viewport height, content grows to push footer down */
.qodef-wrapper {
  min-height: 100dvh;
}

.qodef-wrapper-inner {
  display: flex !important;
  flex-direction: column;
  min-height: 100dvh;
}

.qodef-content {
  flex: 1;
  padding-top: var(--ih-header-offset);
}

.ih-site-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.ih-site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ih-site-logo-img {
  display: block;
  height: 28px;
  width: auto;
}

.ih-footer-logo-img {
  display: block;
  height: 26px;
  width: auto;
  /* Make wordmark white on dark footer background */
  filter: brightness(0) invert(1);
  margin-bottom: 2px;
}

.ih-site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #1d1d1d;
}

.ih-site-nav a {
  color: inherit;
  position: relative;
  padding: 6px 0;
}

.ih-nav-dashboard-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #f3f5f5;
  border: 1px solid rgba(14, 143, 150, 0.12);
}

.ih-nav-dashboard-switch .ih-nav-switch-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #436468;
}

.ih-nav-dashboard-switch .ih-nav-switch-link.is-active {
  background: #0e8f96;
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 143, 150, 0.18);
}

.ih-nav-buyer-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.ih-nav-popover {
  position: relative;
}

.ih-nav-icon-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(14, 143, 150, 0.16);
  background: #f7f9f9;
  color: #436468;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ih-nav-icon-link svg {
  width: 18px;
  height: 18px;
}

.ih-nav-icon-link:hover {
  background: rgba(14, 143, 150, 0.08);
  color: #0e8f96;
  border-color: rgba(14, 143, 150, 0.26);
}

.ih-nav-icon-link.is-unread {
  position: relative;
  animation: ih-nav-notification-ring 1.8s ease-in-out infinite;
  border-color: rgba(14, 143, 150, 0.34);
  color: #0e8f96;
}

.ih-nav-icon-link.is-unread::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6c3f;
  box-shadow: 0 0 0 4px rgba(255, 108, 63, 0.16);
}

@keyframes ih-nav-notification-ring {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  15% {
    transform: translate3d(-1px, 0, 0) rotate(-8deg);
  }
  30% {
    transform: translate3d(1px, 0, 0) rotate(8deg);
  }
  45% {
    transform: translate3d(-1px, 0, 0) rotate(-6deg);
  }
  60% {
    transform: translate3d(1px, 0, 0) rotate(6deg);
  }
  75% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-nav-icon-link.is-unread {
    animation: none;
  }
}

.ih-nav-popover-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 360px;
  max-height: min(460px, calc(100vh - 120px));
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(49, 48, 48, 0.08);
  box-shadow: 0 22px 50px rgba(30, 30, 30, 0.14);
  padding: 14px;
  display: grid;
  gap: 10px;
  z-index: 1300;
  text-transform: none;
  letter-spacing: normal;
  color: #1f1f23;
}

.ih-nav-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(49, 48, 48, 0.08);
}

.ih-nav-popover-head strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ih-nav-popover-head a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e8f96;
}

.ih-nav-popover-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 14px;
  border-radius: 0;
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(49, 48, 48, 0.08);
  color: #2f2f31 !important;
  box-shadow: none;
}

.ih-nav-popover-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2f2;
  border: 1px solid rgba(14, 143, 150, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #6b6a67;
  flex-shrink: 0;
}

.ih-nav-popover-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ih-nav-popover-main {
  display: grid;
  gap: 6px;
  padding: 0 !important;
  color: inherit !important;
}

.ih-nav-popover-main::before,
.ih-nav-popover-main::after,
.ih-nav-popover-action::before,
.ih-nav-popover-action::after {
  display: none !important;
}

.ih-nav-popover-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ih-nav-popover-item strong {
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.3;
  font-weight: 700;
}

.ih-nav-popover-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #5f5d5a;
  white-space: normal;
}

.ih-nav-popover-item span {
  font-size: 11px;
  color: #8a8782;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.ih-nav-popover-item em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e8f96;
}

.ih-nav-popover-item:hover {
  background: rgba(14, 143, 150, 0.05);
}

.ih-nav-popover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.ih-nav-popover-action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px !important;
  border-radius: 999px;
  border: 1px solid rgba(14, 143, 150, 0.18);
  background: #ffffff;
  color: #0e8f96 !important;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}

.ih-nav-popover-action.is-primary {
  background: #0e8f96;
  border-color: #0e8f96;
  color: #ffffff !important;
}

.ih-nav-popover-action:hover {
  background: rgba(14, 143, 150, 0.08);
}

.ih-nav-popover-action.is-primary:hover {
  background: #0c7d83;
}

.ih-nav-popover-empty {
  padding: 12px;
  border-radius: 14px;
  background: #fbfbfa;
  color: #6b6a67;
  font-size: 12px;
  line-height: 1.6;
}

.ih-nav-popover-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid rgba(49, 48, 48, 0.08);
}

.ih-nav-popover-footer a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2f67e8;
}

.ih-site-nav a:not(.ih-nav-cta):not(.ih-nav-switch-link):not(.ih-nav-icon-link)::after,
.ih-site-nav a:not(.ih-nav-cta):not(.ih-nav-switch-link):not(.ih-nav-icon-link)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(14, 143, 150, 0.24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.ih-site-nav a:not(.ih-nav-cta):not(.ih-nav-switch-link):not(.ih-nav-icon-link):hover::after {
  transform: scaleX(1);
}

.ih-home-logo-track {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-left: 0;
  width: 100%;
  color: #5b5a58;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ih-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 154px;
  padding: 0 24px;
  border-radius: 999px;
  background: #0e8f96;
  color: #ffffff;
  border: 1px solid rgba(14, 143, 150, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(14, 143, 150, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  color: #ffffff !important;
}

.ih-nav-cta:hover {
  background: #0c7d83;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(14, 143, 150, 0.2);
}

.ih-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 112px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(14, 143, 150, 0.18);
  background: #f9fbfb;
  color: #31565a !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ih-nav-login:hover {
  background: rgba(14, 143, 150, 0.05);
  border-color: rgba(14, 143, 150, 0.3);
  color: #0e8f96 !important;
  transform: translateY(-1px);
}

.ih-nav-profile {
  position: relative;
}

.ih-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(14, 143, 150, 0.2);
  background: #0e8f96;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(14, 143, 150, 0.2);
}

.ih-nav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  min-width: 240px;
  box-shadow: 0 22px 50px rgba(30, 30, 30, 0.14);
  display: grid;
  gap: 8px;
  font-size: 13px;
  z-index: 1300;
}

.ih-nav-menu-head {
  border-bottom: 1px solid rgba(49, 48, 48, 0.08);
  padding-bottom: 12px;
  margin-bottom: 8px;
  display: grid;
  gap: 4px;
}

.ih-nav-menu-head strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ih-nav-menu-head span {
  color: #6b6a67;
  font-size: 12px;
}

.ih-nav-menu a {
  color: #303036;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ih-nav-menu a:hover {
  background: rgba(14, 143, 150, 0.08);
  color: #0e8f96;
}

.ih-site-footer {
  background: #0f0f0f;
  color: #ffffff;
  padding: 56px 0 24px;
}

.ih-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  align-items: start;
}

.ih-footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.ih-site-footer h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ih-site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.ih-site-footer ul a {
  color: inherit;
}

.ih-site-footer ul a:hover {
  color: #ffffff;
}

.ih-footer-legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.ih-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ih-footer-legal-links a {
  color: rgba(255, 255, 255, 0.72);
}

.ih-footer-legal-links a:hover {
  color: #ffffff;
}

.ih-legal-page {
  background: #ffffff;
  padding: 36px 0 64px;
  font-family: "Montserrat", sans-serif;
  color: #313030;
}

.ih-legal-shell {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.ih-legal-hero {
  display: grid;
  gap: 12px;
  padding: 28px 30px;
  border-radius: 18px;
  background: #fffdfc;
  border: 1px solid rgba(49, 48, 48, 0.08);
  box-shadow: none;
}

.ih-legal-hero-copy {
  width: 100%;
  display: grid;
  gap: 12px;
}

.ih-legal-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #969694;
}

.ih-legal-hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.1rem, 3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #313030;
  font-weight: 700;
  text-wrap: balance;
}

.ih-legal-hero p {
  margin: 0;
  max-width: min(100%, 72ch);
  font-size: 17px;
  line-height: 1.75;
  color: #5b5a58;
  font-weight: 400;
}

.ih-legal-updated {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #969694;
}

.ih-legal-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ih-legal-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fffdfc;
  border: 1px solid rgba(49, 48, 48, 0.08);
  box-shadow: none;
}

.ih-legal-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #313030;
  font-weight: 700;
}

.ih-legal-copy {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.ih-legal-copy p,
.ih-legal-copy li {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5b5a58;
  font-weight: 400;
}

.ih-legal-copy ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

/* ── Hamburger + Mobile Drawer ────────────────────────── */

/* Desktop: show desktop nav, hide mobile controls */
.ih-mobile-nav-right { display: none; }
.ih-hamburger        { display: none; }
.ih-mobile-overlay   { display: none; }
.ih-mobile-drawer    { display: none; }

@media (max-width: 900px) {
  :root {
    --ih-header-offset: 64px;
  }

  /* Keep header single-row */
  .ih-site-shell {
    flex-direction: row;
    align-items: center;
    padding: 0 0;
    height: 64px;
  }

  /* Hide desktop nav links */
  .ih-desktop-nav {
    display: none !important;
  }

  /* Show mobile right cluster */
  .ih-mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  /* Small CTA pill */
  .ih-mobile-cta {
    display: inline-flex !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    min-height: 36px !important;
  }

  /* Hamburger button */
  .ih-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .ih-hamburger:hover {
    background: #f3f2f0;
  }

  .ih-hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1d1d1d;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  .ih-hamburger-bar.is-open:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ih-hamburger-bar.is-open:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .ih-hamburger-bar.is-open:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Overlay */
  .ih-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1198;
    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(2px);
    animation: ih-fade-in 0.2s ease;
  }

  /* Drawer */
  .ih-mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1199;
    width: min(320px, 85vw);
    background: #ffffff;
    box-shadow: -8px 0 40px rgba(15, 15, 15, 0.14);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }

  .ih-mobile-drawer.is-open {
    transform: translateX(0);
  }

  /* Drawer header */
  .ih-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(49, 48, 48, 0.08);
    flex-shrink: 0;
  }

  .ih-mobile-drawer-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f2f0;
    border-radius: 8px;
    cursor: pointer;
    color: #313030;
  }

  /* Drawer nav links */
  .ih-mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
  }

  .ih-mobile-drawer-link {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1d;
    text-decoration: none;
    border-bottom: 1px solid rgba(49, 48, 48, 0.06);
    transition: background 0.15s, color 0.15s;
    letter-spacing: -0.01em;
  }

  .ih-mobile-drawer-link:hover {
    background: #f8f7f4;
    color: #0e8f96;
  }

  /* Drawer footer */
  .ih-mobile-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(49, 48, 48, 0.08);
    flex-shrink: 0;
  }

  /* Auth buttons */
  .ih-mobile-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ih-mobile-drawer-cta {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    background: #FF7A59;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
  }

  .ih-mobile-drawer-cta:hover {
    background: #e8623f;
  }

  .ih-mobile-drawer-login {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 999px;
    border: 1px solid rgba(49, 48, 48, 0.14);
    color: #313030 !important;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
  }

  .ih-mobile-drawer-login:hover {
    background: #f3f2f0;
  }

  /* Logged-in user row */
  .ih-mobile-drawer-user {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .ih-mobile-drawer-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #0e8f96;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .ih-mobile-drawer-user strong {
    display: block;
    font-size: 0.92rem;
    color: #1d1d1d;
  }

  .ih-mobile-drawer-user span {
    display: block;
    font-size: 0.78rem;
    color: #8a8880;
    margin-top: 2px;
  }

  .ih-footer-legal {
    flex-direction: column;
    align-items: center;
  }

  .ih-legal-page {
    padding: 28px 0 52px;
  }

  .ih-legal-hero {
    padding: 24px;
  }

  .ih-legal-hero-copy {
    width: 100%;
  }

  .ih-legal-hero h1 {
    max-width: 100%;
  }

  .ih-legal-sections {
    grid-template-columns: 1fr;
  }
}

/* ── Small phones: nav + footer ─────────────────────── */
@media (max-width: 600px) {
  :root {
    --ih-header-offset: 64px;
  }

  .ih-site-shell {
    width: calc(100% - 28px);
    padding: 10px 0;
    gap: 10px;
  }

  .ih-site-logo-img {
    height: 24px;
  }

  .ih-site-nav {
    gap: 8px 12px;
    font-size: 12px;
  }

  /* Footer columns: 2-col grid on small phones */
  .ih-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  /* Brand description spans full width */
  .ih-footer-brand {
    grid-column: 1 / -1;
  }

  .ih-site-footer {
    padding: 36px 0 20px;
  }

  .ih-footer-legal {
    margin-top: 24px;
    font-size: 11px;
  }

  .ih-footer-legal-links {
    gap: 12px;
  }
}

/* ── Very small phones: ≤360px ─────────────────────── */
@media (max-width: 360px) {
  :root {
    --ih-header-offset: 60px;
  }

  /* Footer full single column */
  .ih-footer-grid {
    grid-template-columns: 1fr;
  }

  .ih-site-nav {
    font-size: 11.5px;
    gap: 6px 10px;
  }
}

.ihx-home {
  --ihx-ink: #1e1d1b;
  --ihx-muted: #5d5b57;
  --ihx-accent: #0e8f96;
  --ihx-accent-strong: #0c7d83;
  --ihx-soft: #f3f2ef;
  --ihx-card: #ffffff;
  --ihx-border: rgba(30, 29, 27, 0.08);
  --ihx-shadow: 0 18px 38px rgba(30, 29, 27, 0.12);
  font-family: "Montserrat", sans-serif;
  background: #f6f5f2;
  color: var(--ihx-ink);
}

.ihx-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.ihx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 143, 150, 0.22);
  background: rgba(14, 143, 150, 0.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ihx-accent-strong);
}

.ihx-hero {
  padding: 72px 0 56px;
  background: #ffffff;
}

.ihx-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}

.ihx-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ihx-ink);
}

.ihx-hero-copy h1 span {
  color: var(--ihx-accent);
}

.ihx-hero-copy p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ihx-muted);
  max-width: 48ch;
}

.ihx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.ihx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ihx-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(14, 143, 150, 0.2);
}

.ihx-button:hover,
.ihx-button:focus-visible {
  background: var(--ihx-accent-strong);
}

.ihx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ihx-ink);
}

.ihx-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ihx-popular {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 12px;
  color: var(--ihx-muted);
}

.ihx-popular span {
  font-weight: 700;
  color: var(--ihx-ink);
}

.ihx-popular a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  font-weight: 600;
}

.ihx-trust {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.ihx-trust span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ihx-muted);
}

.ihx-trust div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7772;
}

.ihx-hero-visual {
  display: grid;
}

.ihx-hero-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: var(--ihx-soft);
  border: 1px solid var(--ihx-border);
  box-shadow: var(--ihx-shadow);
}

.ihx-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ihx-muted);
}

.ihx-hero-card-body {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.ihx-hero-brand {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--ihx-border);
  display: grid;
  gap: 8px;
}

.ihx-hero-brand span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 143, 150, 0.12);
  color: var(--ihx-accent);
  font-weight: 800;
}

.ihx-hero-brand small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ihx-muted);
}

.ihx-hero-brand strong {
  font-size: 18px;
  line-height: 1.3;
}

.ihx-hero-brand p {
  margin: 0;
  color: var(--ihx-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ihx-hero-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ihx-hero-media figure,
.ihx-hero-media-main {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  min-height: 120px;
}

.ihx-hero-media-main {
  grid-column: span 3;
}

.ihx-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ihx-hero-swatch {
  grid-column: span 3;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(30, 29, 27, 0.18);
  background: #ffffff;
  display: grid;
  gap: 8px;
}

.ihx-hero-swatch span {
  font-size: 12px;
  color: var(--ihx-muted);
}

.ihx-hero-swatch div {
  display: flex;
  gap: 6px;
}

.ihx-hero-swatch i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0e8f96;
}

.ihx-hero-swatch i:nth-child(2) {
  background: #f0c04a;
}

.ihx-hero-swatch i:nth-child(3) {
  background: #f26a7a;
}

.ihx-hero-swatch i:nth-child(4) {
  background: #2d2c2a;
}

.ihx-hero-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ihx-accent-strong);
  box-shadow: 0 10px 20px rgba(30, 29, 27, 0.1);
}

.ihx-hero-testimonials {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ihx-hero-testimonials article {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  display: grid;
  gap: 8px;
}

.ihx-hero-testimonials div {
  font-size: 12px;
  color: #f0b640;
}

.ihx-hero-testimonials span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ihx-ink);
}

.ihx-hero-testimonials p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ihx-muted);
}

.ihx-hero-testimonials strong {
  font-size: 13px;
}

.ihx-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.ihx-section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  letter-spacing: -0.04em;
}

.ihx-section-head p {
  margin: 0;
  color: var(--ihx-muted);
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.6;
}

.ihx-browse {
  padding: 72px 0;
  background: #1f1e1d;
  color: #ffffff;
}

.ihx-browse .ihx-kicker {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.ihx-browse .ihx-link {
  color: #ffffff;
}

.ihx-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ihx-category-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.ihx-category-card span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.ihx-category-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.ihx-category-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.ihx-category-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ihx-category-card figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #ffffff;
}

.ihx-category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ihx-deliverables {
  padding: 72px 0;
  background: #ffffff;
}

.ihx-deliverables-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.ihx-deliverables-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
}

.ihx-deliverables-copy p {
  margin: 0 0 20px;
  color: var(--ihx-muted);
  line-height: 1.7;
}

.ihx-deliverables-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.ihx-deliverables-metrics div {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--ihx-border);
  background: var(--ihx-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ihx-deliverables-metrics strong {
  font-size: 18px;
}

.ihx-deliverables-content {
  display: grid;
  gap: 20px;
}

.ihx-deliverables-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ihx-deliverables-cards article {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  display: grid;
  gap: 8px;
  min-height: 140px;
}

.ihx-deliverables-cards span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ihx-muted);
}

.ihx-deliverables-cards h3 {
  margin: 0;
  font-size: 16px;
}

.ihx-deliverables-cards p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ihx-muted);
}

.ihx-deliverables-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ihx-deliverables-gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ihx-border);
  background: var(--ihx-soft);
}

.ihx-deliverables-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.ihx-portfolio {
  padding: 72px 0;
  background: var(--ihx-soft);
}

.ihx-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ihx-filter-row button {
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ihx-muted);
}

.ihx-filter-row button.is-active {
  background: var(--ihx-accent);
  color: #ffffff;
  border-color: transparent;
}

.ihx-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ihx-portfolio-grid article {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  display: grid;
}

.ihx-portfolio-grid figure {
  margin: 0;
  background: var(--ihx-soft);
}

.ihx-portfolio-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ihx-portfolio-grid div {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.ihx-portfolio-grid small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ihx-muted);
}

.ihx-portfolio-grid strong {
  font-size: 16px;
}

.ihx-portfolio-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ihx-muted);
}

.ihx-process {
  padding: 72px 0;
  background: #1f1e1d;
  color: #ffffff;
}

.ihx-process .ihx-kicker {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.ihx-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ihx-process-grid article {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 10px;
}

.ihx-process-grid span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.ihx-process-grid h3 {
  margin: 0;
  font-size: 18px;
}

.ihx-process-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.ihx-process-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.ihx-process-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ihx-process-grid svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.ihx-guarantee {
  padding: 60px 0;
  background: #ffffff;
}

.ihx-guarantee-panel {
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid var(--ihx-border);
  background: var(--ihx-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}

.ihx-guarantee-panel p {
  margin: 0;
  max-width: 48ch;
  color: var(--ihx-muted);
  line-height: 1.6;
}

.ihx-faq {
  padding: 72px 0;
  background: #ffffff;
}

.ihx-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ihx-faq-grid details {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--ihx-border);
  background: var(--ihx-soft);
}

.ihx-faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.ihx-faq-grid p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ihx-muted);
}

.ihx-final {
  padding: 72px 0 90px;
  background: var(--ihx-soft);
}

.ihx-final-panel {
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--ihx-border);
  background: #ffffff;
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: start;
}

.ihx-final-visual {
  position: relative;
  margin: 0;
  width: min(420px, 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ihx-border);
  background: var(--ihx-soft);
}

.ihx-final-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.ihx-final-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ihx-final-approved {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ihx-accent-strong);
}

.ihx-final-swatches {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
}

.ihx-final-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0e8f96;
}

.ihx-final-swatches i:nth-child(2) {
  background: #f26a7a;
}

.ihx-final-swatches i:nth-child(3) {
  background: #f0c04a;
}

@media (max-width: 1100px) {
  .ihx-hero-grid,
  .ihx-deliverables-grid {
    grid-template-columns: 1fr;
  }

  .ihx-category-grid,
  .ihx-portfolio-grid,
  .ihx-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ihx-hero-testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ihx-category-grid,
  .ihx-portfolio-grid,
  .ihx-process-grid,
  .ihx-deliverables-cards,
  .ihx-faq-grid {
    grid-template-columns: 1fr;
  }

  .ihx-hero-media {
    grid-template-columns: 1fr;
  }

  .ihx-hero-media-main {
    grid-column: auto;
  }
}

/* Ensure home content is visible even if reveal JS does not run. */
.ih-home-page [data-home-reveal],
.ih-home-page [data-home-reveal="left"] {
  opacity: 1;
  transform: none;
}

/* Fallbacks for other pages using reveal/scroll animations. */
.ih-blog-modern [data-blog-reveal],
.ih-blog-modern [data-blog-reveal="left"],
.ih-blog-page [data-blog-reveal],
.ih-blog-page [data-blog-reveal="left"],
.ih-category-page [data-category-reveal],
.ih-category-page [data-category-reveal="left"],
.ih-categories-page [data-reveal],
.ih-categories-page [data-reveal="left"],
.ih-portfolio-page [data-portfolio-reveal],
.ih-portfolio-page [data-portfolio-reveal="left"],
.ih-how-page [data-how-reveal],
.ih-how-page [data-how-reveal="left"] {
  opacity: 1;
  transform: none;
}

.ih-single-page [data-single-reveal],
.ih-single-page [data-single-reveal="left"] {
  opacity: 1;
  transform: none;
}

@keyframes ih-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
