/* EntropyZero website kit */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--color-fg); font-family: var(--font-sans); }

.ez-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Fixed logo watermark — bleeds off the right edge, sits behind all content */
.ez-watermark {
  position: fixed;
  top: 50%;
  right: -260px;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  background: url("assets/logo-mark.png") no-repeat center / contain;
  opacity: 0.11;
  pointer-events: none;
  z-index: 5;
  transition: opacity 300ms var(--ease-out);
}
.ez-watermark.is-hidden { opacity: 0; }
#root { position: relative; }
@media (max-width: 900px) { .ez-watermark { display: none; } }

/* Header */
.ez-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.ez-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.ez-brand { display: flex; align-items: center; gap: 10px; }
.ez-brand img { height: 40px; }
.ez-brand .wm { font-weight: 700; font-size: 20px; line-height: 1; }
.ez-brand .wm .b { color: var(--ez-classic-blue); }
.ez-brand .wm .o { color: var(--ez-vibrant-orange); }
.ez-nav { display: flex; gap: 28px; align-items: center; }
.ez-nav a { font-size: 14px; font-weight: 500; color: var(--ez-deep-navy); }
.ez-nav a:hover { color: var(--ez-classic-blue); text-decoration: none; }
.ez-nav a.active { color: var(--ez-classic-blue); }

/* Buttons */
.ez-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; line-height: 1; padding: 12px 22px; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer; transition: background 200ms, color 200ms, border-color 200ms; text-decoration: none; }
.ez-btn-primary { background: var(--ez-vibrant-orange); color: #fff; }
.ez-btn-primary:hover { background: #db6a1f; text-decoration: none; color: #fff; }
.ez-btn-secondary { background: var(--ez-classic-blue); color: #fff; }
.ez-btn-secondary:hover { background: var(--ez-deep-navy); text-decoration: none; color: #fff; }
.ez-btn-outline { background: #fff; color: var(--ez-classic-blue); border-color: var(--ez-classic-blue); }
.ez-btn-outline:hover { background: var(--ez-pale-blue); text-decoration: none; }
.ez-btn-ghost { background: transparent; color: var(--ez-classic-blue); }
.ez-btn-ghost:hover { background: var(--ez-pale-blue); text-decoration: none; }

/* Hero */
.ez-hero { position: relative; padding: 96px 0 120px; overflow: hidden; background: #fff; }
.ez-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; z-index: 1; }
.ez-hero .eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ez-vibrant-orange); margin-bottom: 16px; }
.ez-hero h1 { font-size: 60px; line-height: 1.06; font-weight: 700; color: var(--ez-deep-navy); margin: 0 0 14px; letter-spacing: -0.015em; }
.ez-hero .accent-tagline { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.3; color: var(--ez-vibrant-orange); margin: 0 0 22px; }
.ez-hero .lede { font-family: var(--font-serif); font-size: 19px; line-height: 1.55; color: var(--ez-dim-gray); max-width: 560px; margin: 0 0 28px; }
.ez-hero .actions { display: flex; gap: 12px; }
.ez-hero-mark img { width: 100%; max-width: 360px; }

/* Stats */
.ez-stats { background: var(--ez-pale-blue); padding: 56px 0; }
.ez-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }
.ez-stat .num { font-size: 56px; font-weight: 700; color: var(--ez-classic-blue); line-height: 1; letter-spacing: -0.02em; }
.ez-stat .num .o { color: var(--ez-vibrant-orange); }
.ez-stat .lbl { font-family: var(--font-serif); font-size: 14px; color: var(--ez-deep-navy); margin-top: 8px; max-width: 220px; line-height: 1.4; }

/* Section header */
.ez-section { padding: 96px 0; }
.ez-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ez-section-head .eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ez-vibrant-orange); }
.ez-section-head h2 { font-size: 46px; line-height: 1.1; font-weight: 700; color: var(--ez-deep-navy); margin: 10px 0 14px; letter-spacing: -0.01em; }
.ez-section-head p { font-family: var(--font-serif); font-size: 17px; color: var(--ez-dim-gray); margin: 0; line-height: 1.55; }

/* Capability grid */
.ez-caps-section { background: var(--ez-deep-navy); color: #fff; }
.ez-caps-section .ez-section-head h2 { color: #fff; }
.ez-caps-section .ez-section-head p { color: #cfdce5; }
.ez-caps-section .ez-section-head .eyebrow { color: var(--ez-light-orange); }
.ez-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.ez-cap-flip { background: transparent; perspective: 1200px; height: 300px; }
.ez-cap-inner { position: relative; width: 100%; height: 100%; transition: transform 500ms var(--ease-in-out); transform-style: preserve-3d; }
.ez-cap-flip:hover .ez-cap-inner { transform: rotateY(180deg); }
.ez-cap-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.12); }
.ez-cap-front { background: rgba(255,255,255,0.04); align-items: center; justify-content: center; text-align: center; gap: 18px; }
.ez-cap-front img { width: 76px; height: 76px; border-radius: 50%; display: block; }
.ez-cap-front h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 0; line-height: 1.25; }
.ez-cap-back { background: rgba(255,255,255,0.07); border-color: var(--ez-vibrant-orange); transform: rotateY(180deg); justify-content: center; }
.ez-cap-back h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.25; }
.ez-cap-back p { font-size: 14px; color: #cfdce5; margin: 0; line-height: 1.6; }

/* Differentiators */
.ez-diff { background: var(--ez-pale-orange); }
.ez-diff .ez-section-head h2 { color: var(--ez-deep-navy); }
.ez-diff .ez-section-head p { color: var(--ez-dim-gray); }
.ez-diff .ez-section-head .eyebrow { color: var(--ez-vibrant-orange); }
.ez-diff .ez-section-head { text-align: left; max-width: none; margin-bottom: 48px; }
.ez-diff-list { display: flex; flex-direction: column; gap: 0; }
.ez-diff-row { display: flex; gap: 20px; align-items: flex-start; background: transparent; border: none; border-bottom: 1px solid #f0d9c4; border-radius: 0; padding: 22px 4px; opacity: 0; transform: translateX(-48px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
.ez-diff-row:last-child { border-bottom: none; }
.ez-diff-list.is-revealed .ez-diff-row { opacity: 1; transform: translateX(0); }
.ez-diff-row:hover { box-shadow: none; }
.ez-diff-check { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ez-vibrant-orange); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ez-diff-check svg { width: 16px; height: 16px; display: block; }
.ez-diff-body { flex: 1; min-width: 0; }
.ez-diff-row h3 { font-size: 22px; font-weight: 700; color: var(--ez-deep-navy); margin: 0; line-height: 1.25; letter-spacing: -0.005em; }
.ez-diff-row p { font-family: var(--font-serif); font-size: 15px; color: var(--ez-dim-gray); line-height: 1.6; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 320ms var(--ease-out), opacity 240ms var(--ease-out), margin-top 320ms var(--ease-out); }
.ez-diff-row:hover p, .ez-diff-row:focus-within p { max-height: 140px; opacity: 1; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .ez-diff-row { opacity: 1; transform: none; transition: none; }
  .ez-diff-row p { transition: none; }
}

/* Clients */
.ez-clients { background: #fff; padding-top: 140px; }
.ez-clients-head { text-align: center; max-width: 720px; }
.ez-clients-head .eyebrow { justify-content: center; }
.ez-clients-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  /* Soft fade on the left/right so logos enter and exit gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.ez-clients-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ez-clients-scroll 40s linear infinite;
}
.ez-clients-marquee:hover .ez-clients-track { animation-play-state: paused; }
.ez-clients-track .ez-client-tile {
  flex: 0 0 220px;
}
@keyframes ez-clients-scroll {
  from { transform: translateX(0); }
  /* The track contains the logo list duplicated once, so translating by exactly
     50% lands the second copy where the first copy started — seamless loop. */
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ez-clients-track { animation: none; }
}
.ez-client-tile { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: border-color 200ms, box-shadow 200ms; }
.ez-client-tile:hover { border-color: var(--ez-vibrant-orange); box-shadow: var(--shadow-sm); }
.ez-client-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Solution feature */
.ez-feature { background: var(--ez-deep-navy); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.ez-feature::before { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(91,163,208,0.35) 0%, transparent 70%); pointer-events: none; }
.ez-feature-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.ez-feature .eyebrow { color: var(--ez-light-orange); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.ez-feature h2 { font-size: 42px; line-height: 1.1; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: -0.01em; }
.ez-feature p { font-family: var(--font-serif); color: #cfdce5; font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.ez-feature ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ez-feature li { display: flex; gap: 10px; font-size: 14px; color: #e6edf2; }
.ez-feature li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ez-vibrant-orange); flex-shrink: 0; margin-top: 7px; }
.ez-feature-img { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.ez-feature-img img { width: 100%; display: block; }

/* CTA */
.ez-cta { padding: 96px 0; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--ez-pale-orange) 100%); }
.ez-cta h2 { font-size: 42px; font-weight: 700; color: var(--ez-deep-navy); margin: 0 0 14px; letter-spacing: -0.01em; }
.ez-cta p { font-family: var(--font-serif); font-size: 18px; color: var(--ez-dim-gray); margin: 0 0 28px; }
.ez-cta-actions { display: flex; gap: 12px; justify-content: center; }

/* Footer */
.ez-footer { background: var(--ez-deep-navy); color: #cfdce5; padding: 56px 0 28px; }
.ez-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.ez-footer h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ez-light-orange); margin: 0 0 14px; font-weight: 700; }
.ez-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ez-footer a { color: #cfdce5; font-size: 14px; }
.ez-footer a:hover { color: #fff; text-decoration: none; }
.ez-footer .brand-block img { height: 56px; background: #fff; padding: 8px; border-radius: 8px; margin-bottom: 14px; }
.ez-footer .blurb { font-family: var(--font-serif); font-size: 14px; color: #a9b8c4; line-height: 1.5; max-width: 320px; }
.ez-footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: #8a99a6; }
