/*
Theme Name: iENGIE Landing
Theme URI: https://github.com/junzi-tech/engie-client-portal
Author: Junzi Tech
Description: Marketing site for iENGIE — Building Inspection Portal. Ported from the React landing page. The application itself lives on a separate host; this theme only links to it.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: iengie
*/

/* ==========================================================================
   Tokens — lifted verbatim from the React landing so the two cannot drift.
   ========================================================================== */
:root {
  --ie-bg: #0f172a;
  --ie-bg-deep: #0a0f1a;
  --ie-bg-features: #111827;
  --ie-bg-card: #1c1c29;
  --ie-bg-footer: #0a0e17;

  --ie-green: #15803d;
  --ie-green-mid: #16a34a;
  --ie-green-bright: #22c55e;
  --ie-orange: #ff6b00;

  --ie-text: #fff;
  --ie-text-60: rgba(255, 255, 255, 0.6);
  --ie-text-50: rgba(255, 255, 255, 0.5);
  --ie-text-45: rgba(255, 255, 255, 0.45);
  --ie-text-40: rgba(255, 255, 255, 0.4);
  --ie-text-30: rgba(255, 255, 255, 0.3);

  --ie-line: rgba(255, 255, 255, 0.08);
  --ie-line-soft: rgba(255, 255, 255, 0.06);

  --ie-max: 80rem; /* max-w-7xl */
  --ie-max-6: 72rem; /* max-w-6xl */
  --ie-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas,
    'Liberation Mono', monospace;
}

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

body {
  margin: 0;
  background: var(--ie-bg);
  color: var(--ie-text);
  font-family: 'Titillium Web', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--ie-green-bright);
  outline-offset: 2px;
}

.ie-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ie-shell {
  width: 100%;
  max-width: var(--ie-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .ie-shell {
    padding: 0 2rem;
  }
}

.ie-shell--narrow {
  max-width: var(--ie-max-6);
}

/* Reveal-on-scroll — the JS counterpart of the React useInView hook.
   Without JS every section stays visible, so the page degrades to plain HTML. */
.ie-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ie-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .ie-reveal,
html:not(.js) .ie-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ie-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ie-scroll-cue__chevron {
    animation: none;
  }
}

/* ==========================================================================
   Brand mark
   ========================================================================== */
.ie-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.ie-brand__disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  width: var(--disc, 40px);
  height: var(--disc, 40px);
  padding: calc(var(--disc, 40px) * 0.1);
}

.ie-brand__disc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ie-brand__word {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: calc(var(--disc, 40px) * 0.42);
}

.ie-brand__word em {
  font-style: normal;
  color: var(--ie-orange);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.ie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ie-btn--primary {
  background: linear-gradient(135deg, var(--ie-green), var(--ie-green-mid));
  color: #fff;
  box-shadow: 0 0 30px rgba(21, 128, 61, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ie-btn--primary:hover {
  transform: scale(1.03);
}

.ie-btn--ghost {
  color: var(--ie-text-60);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ie-btn__arrow {
  transition: transform 0.3s ease;
}

.ie-btn:hover .ie-btn__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.ie-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ie-header.is-scrolled {
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ie-line);
}

.ie-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .ie-header__bar {
    height: 5rem;
  }
}

.ie-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ie-header__nav {
    display: flex;
  }
}

.ie-header__nav a:not(.ie-btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ie-text-60);
  transition: color 0.2s ease;
}

.ie-header__nav a:not(.ie-btn):hover {
  color: #fff;
}

.ie-header__nav .ie-btn {
  padding: 0.625rem 1.25rem;
  box-shadow: 0 0 24px rgba(21, 128, 61, 0.25);
}

.ie-header__toggle {
  display: inline-flex;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: var(--ie-text-60);
  cursor: pointer;
}

@media (min-width: 768px) {
  .ie-header__toggle {
    display: none;
  }
}

.ie-header__toggle .ie-icon-close,
.ie-header__toggle[aria-expanded='true'] .ie-icon-menu {
  display: none;
}

.ie-header__toggle[aria-expanded='true'] .ie-icon-close {
  display: block;
}

.ie-header__mobile {
  display: none;
  padding: 0.25rem 1.5rem 1.25rem;
  background: rgba(10, 15, 26, 0.97);
  border-bottom: 1px solid var(--ie-line);
}

.ie-header__mobile.is-open {
  display: block;
}

@media (min-width: 768px) {
  .ie-header__mobile.is-open {
    display: none;
  }
}

.ie-header__mobile a:not(.ie-btn) {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.ie-header__mobile .ie-btn {
  display: flex;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem 1.25rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.ie-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0a0f1a 0%,
    #0f172a 40%,
    #1e293b 70%,
    #0f172a 100%
  );
}

.ie-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.ie-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ie-orb--green {
  width: 700px;
  height: 700px;
  top: 10%;
  right: -5%;
  opacity: 0.2;
  filter: blur(80px);
  background: radial-gradient(
    circle,
    rgba(21, 128, 61, 0.4) 0%,
    rgba(21, 128, 61, 0.1) 40%,
    transparent 70%
  );
}

.ie-orb--blue {
  width: 500px;
  height: 500px;
  bottom: 5%;
  left: 10%;
  opacity: 0.1;
  filter: blur(100px);
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.5) 0%,
    transparent 70%
  );
}

.ie-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.ie-hero__cols {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ie-hero__cols {
    grid-template-columns: 1fr 1fr;
  }
}

.ie-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ie-hero__eyebrow span {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ie-text-40);
}

.ie-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.ie-gradient-text {
  background: linear-gradient(135deg, var(--ie-green-bright), var(--ie-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ie-hero__lede {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ie-text-50);
}

.ie-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Browser frame around the demo video */
.ie-frame {
  border: 1px solid var(--ie-line);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(21, 128, 61, 0.08);
}

.ie-frame--lg {
  border-radius: 1rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(21, 128, 61, 0.06);
}

.ie-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--ie-bg-card);
  border-bottom: 1px solid var(--ie-line-soft);
}

.ie-frame__dots {
  display: flex;
  gap: 0.375rem;
}

.ie-frame__dots i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}

.ie-frame__dots i:nth-child(1) {
  background: #ff5f57;
}
.ie-frame__dots i:nth-child(2) {
  background: #febc2e;
}
.ie-frame__dots i:nth-child(3) {
  background: #28c840;
}

.ie-frame__url {
  flex: 1;
  margin: 0 1rem;
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ie-text-30);
  font-size: 0.75rem;
}

.ie-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

/* The hero visual is both a reveal target and permanently tilted, so it has to
   restate the tilt in each reveal state — `.ie-reveal.is-visible { transform: none }`
   would otherwise flatten it the moment it animates in. */
.ie-hero__visual.ie-reveal {
  transform: translateY(40px) perspective(1200px) rotateY(-5deg);
}

.ie-hero__visual.ie-reveal.is-visible {
  transform: perspective(1200px) rotateY(-2deg);
}

@media (prefers-reduced-motion: reduce) {
  .ie-hero__visual.ie-reveal {
    transform: perspective(1200px) rotateY(-2deg);
  }
}

.ie-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ie-scroll-cue__chevron {
  animation: ie-bounce 1s infinite;
}

@keyframes ie-bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.ie-section {
  position: relative;
  padding: 7rem 0;
}

@media (min-width: 1024px) {
  .ie-section {
    padding: 9rem 0;
  }
}

.ie-section__head {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .ie-section__head {
    margin-bottom: 5rem;
  }
}

.ie-section__head h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .ie-section__head h2 {
    font-size: 2.25rem;
  }
}

.ie-rule {
  width: 4rem;
  height: 4px;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--ie-green), var(--ie-green-bright));
}

.ie-section__head p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--ie-text-40);
}

/* ==========================================================================
   Features
   ========================================================================== */
.ie-features {
  background: var(--ie-bg-features);
}

.ie-features__topline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(21, 128, 61, 0.3),
    transparent
  );
}

.ie-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ie-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.ie-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--ie-bg-card);
  border: 1px solid var(--ie-line-soft);
}

@media (min-width: 1024px) {
  .ie-card {
    padding: 2rem;
  }
}

.ie-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  box-shadow: inset 0 0 30px var(--glow), 0 0 40px var(--glow);
  pointer-events: none;
}

.ie-card:hover::after {
  opacity: 1;
}

.ie-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: var(--tint);
  color: var(--accent);
}

.ie-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ie-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ie-text-45);
}

/* ==========================================================================
   Demo + stats
   ========================================================================== */
.ie-demo {
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 50%, #0f172a 100%);
}

.ie-demo__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(100px);
  background: radial-gradient(
    circle,
    rgba(21, 128, 61, 0.3) 0%,
    transparent 70%
  );
}

.ie-demo__player {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto 5rem;
}

.ie-stats {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .ie-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ie-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 0.75rem;
  background: var(--tint);
  color: var(--accent);
}

.ie-stat__value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 1024px) {
  .ie-stat__value {
    font-size: 3rem;
  }
}

.ie-stat p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ie-text-40);
}

/* ==========================================================================
   Proposal
   ========================================================================== */
.ie-proposal {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
}

.ie-proposal__glow {
  position: absolute;
  top: -10%;
  left: -8%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(90px);
  background: radial-gradient(
    circle,
    rgba(21, 128, 61, 0.35) 0%,
    transparent 70%
  );
}

.ie-proposal__cols {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ie-proposal__cols {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.ie-proposal h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.ie-proposal__lede {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ie-text-50);
}

.ie-proof {
  display: grid;
  gap: 1rem;
}

.ie-proof li {
  display: flex;
  gap: 0.75rem;
}

.ie-proof__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(34, 197, 94, 0.12);
  color: var(--ie-green-bright);
}

.ie-proof strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.ie-proof span {
  display: block;
  font-size: 0.875rem;
  color: var(--ie-text-45);
}

.ie-formcard {
  border-radius: 1rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
  .ie-formcard {
    padding: 2.25rem;
  }
}

.ie-field {
  margin-bottom: 1.25rem;
}

.ie-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.ie-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  transition: border-color 0.2s ease;
}

.ie-input::placeholder {
  color: var(--ie-text-30);
}

.ie-input:focus {
  border-color: rgba(34, 197, 94, 0.6);
}

.ie-input option {
  background: #0f172a;
}

textarea.ie-input {
  resize: none;
}

.ie-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ie-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.ie-row--city {
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 0.75rem;
}

.ie-divider {
  margin: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ie-form__error {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #f87171;
}

.ie-form__submit {
  width: 100%;
}

.ie-form__submit[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.ie-form__note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ie-text-30);
}

.ie-form__done {
  padding: 3.5rem 0;
  text-align: center;
}

.ie-form__done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--ie-green-bright);
}

.ie-form__done h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ie-form__done p {
  max-width: 24rem;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--ie-text-50);
}

.ie-form__again {
  margin-top: 1.5rem;
  background: none;
  border: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ie-green-bright);
  cursor: pointer;
}

/* Honeypot — visible only to bots that fill every field they find. */
.ie-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ie-footer {
  background: var(--ie-bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ie-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .ie-footer__inner {
    flex-direction: row;
  }
}

.ie-footer__id strong {
  font-size: 0.875rem;
  font-weight: 700;
}

.ie-footer__id em {
  font-style: normal;
  color: var(--ie-orange);
}

.ie-footer__id p {
  font-size: 0.75rem;
  color: var(--ie-text-30);
}

.ie-footer__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ie-footer__links a {
  font-size: 0.875rem;
  color: var(--ie-text-40);
  transition: color 0.2s ease;
}

.ie-footer__links a:hover {
  color: #fff;
}

.ie-footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Pricing — orange denotes measurement, green denotes action. Do not mix.
   ========================================================================== */
.ie-pricing {
  background: var(--ie-bg-deep);
  min-height: 100vh;
}

.ie-pricing__intro {
  padding: 9rem 0 3.5rem;
}

.ie-eyebrow {
  font-family: var(--ie-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ie-orange);
  margin-bottom: 1.5rem;
}

.ie-pricing h1 {
  max-width: 48rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
}

.ie-pricing__lede {
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ie-text-50);
}

.ie-bands {
  display: grid;
  gap: 3.5rem 2.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .ie-bands {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ie-band {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ie-band__axis {
  position: relative;
  margin-bottom: 1.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.ie-band__tick {
  position: absolute;
  top: -3px;
  left: 0;
  width: 1px;
  height: 7px;
  background: var(--ie-orange);
  opacity: 0.55;
}

.ie-band--recommended .ie-band__tick {
  width: 100%;
  height: 3px;
  opacity: 1;
}

.ie-band__qualifier {
  margin-bottom: 1.75rem;
  font-family: var(--ie-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.ie-band--recommended .ie-band__qualifier {
  color: var(--ie-orange);
}

.ie-band h2 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.ie-band__price {
  margin-bottom: 2rem;
}

.ie-band__basis {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--ie-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ie-band__amount {
  font-family: var(--ie-mono);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ie-band__amount i {
  font-style: normal;
  font-size: 1.4rem;
  color: var(--ie-text-40);
}

.ie-band__scope {
  flex: 1;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.ie-band__scope li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ie-text-60);
}

.ie-band__scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--ie-text-30);
}

.ie-band__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s ease;
}

.ie-band--recommended .ie-band__cta {
  background: var(--ie-green-mid);
  color: #fff;
  border-color: transparent;
}

.ie-consultants {
  padding: 4rem 0;
  border-top: 1px solid var(--ie-line);
  background: rgba(255, 255, 255, 0.015);
}

.ie-consultants__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ie-consultants__inner {
    grid-template-columns: 1fr auto;
  }
}

.ie-consultants__eyebrow {
  margin-bottom: 1rem;
  font-family: var(--ie-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ie-consultants h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.ie-consultants p {
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ie-text-50);
}

.ie-consultants .ie-band__cta {
  justify-content: center;
  flex-shrink: 0;
  border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Editorial pages (posts, legal, 404) — WordPress needs somewhere to render.
   ========================================================================== */
.ie-page {
  padding: 9rem 0 6rem;
}

.ie-page h1 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.ie-prose {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.ie-prose h2,
.ie-prose h3 {
  margin: 2.5rem 0 1rem;
  color: #fff;
  font-weight: 600;
}

.ie-prose p,
.ie-prose ul,
.ie-prose ol {
  margin-bottom: 1.25rem;
}

.ie-prose ul,
.ie-prose ol {
  padding-left: 1.25rem;
  list-style: disc;
}

.ie-prose a {
  color: var(--ie-green-bright);
  text-decoration: underline;
}
