:root {
  --indigo: #1E1B3A;
  --blue: #1E487A;
  --steel: #6B8AA7;
  --coral: #FF5A4E;
  --warm: #FFF8F5;
  --paper: #FFFFFF;
  --soft: #F2F4F8;
  --line: rgba(30, 27, 58, 0.12);
  --muted: #60647A;
  --max: 1180px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px rgba(30, 27, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--indigo);
  background:
    radial-gradient(circle at 92% 8%, rgba(91, 66, 243, 0.09), transparent 28rem),
    radial-gradient(circle at 8% 24%, rgba(255, 90, 78, 0.07), transparent 24rem),
    var(--warm);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ersifor-wordmark { display: block; width: auto; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--coral); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.56); }
main { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) 0 84px;
}
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 18px; color: var(--coral); font-size: 0.76rem; line-height: 1.4; font-weight: 800; letter-spacing: 0.15em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 14ch; font-size: clamp(3.2rem, 6.8vw, 6.2rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 780; }
.hero-text { max-width: 650px; margin: 32px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750; letter-spacing: -0.01em; }
.button.primary { background: var(--indigo); color: white; box-shadow: 0 10px 28px rgba(30, 27, 58, 0.18); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.68); color: var(--indigo); }
.button:hover { transform: translateY(-1px); }
.beta-note { margin: 20px 0 0; color: var(--steel); font-size: 0.86rem; font-weight: 650; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(30, 27, 58, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(242,240,248,0.94));
  box-shadow: var(--shadow);
}
.product-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -76px; top: -84px; border-radius: 50%; background: rgba(255, 90, 78, 0.12); }
.product-status { position: relative; z-index: 1; margin: 0 0 34px; color: var(--coral); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.galebri-wordmark { position: relative; z-index: 1; display: block; width: min(100%, 360px); height: auto; margin: 0 0 12px; }
.brand-relationship { position: relative; z-index: 1; margin: 0; color: var(--steel); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.025em; }
.product-card h3 { position: relative; z-index: 1; margin: 44px 0 14px; max-width: 14ch; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.product-card > p:not(.product-status):not(.brand-relationship) { position: relative; z-index: 1; color: var(--muted); }
.product-pills { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.product-pills span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 700; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 96px; }
.principle { padding: 32px; border-top: 1px solid var(--line); }
.principle-index { color: var(--coral); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.12em; }
.principle h2 { margin: 16px 0 10px; font-size: 1.22rem; letter-spacing: -0.025em; }
.principle p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.partnership { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(42px, 8vw, 110px); padding: 84px 0; border-top: 1px solid var(--line); }
.partnership h2 { margin: 0; max-width: 14ch; font-size: clamp(2.3rem, 4.2vw, 4.3rem); line-height: 1.02; letter-spacing: -0.05em; }
.partnership-copy { align-self: end; }
.partnership-copy p { color: var(--muted); font-size: 1.04rem; }
.partnership-note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.84rem !important; }
.contact { margin: 30px 0 76px; padding: clamp(38px, 6vw, 64px); border-radius: var(--radius-lg); background: var(--indigo); color: white; display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.eyebrow.light { color: #FF8A80; }
.contact h2 { margin: 0; font-size: clamp(2.7rem, 5.2vw, 5rem); line-height: 0.98; letter-spacing: -0.05em; }
.contact p:not(.eyebrow) { max-width: 600px; margin: 18px 0 0; color: rgba(255,255,255,0.72); }
.button.coral { flex: 0 0 auto; background: var(--coral); color: white; }
.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--steel); font-size: 0.82rem; }
.footer-wordmark { width: auto; height: 20px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@media (max-width: 900px) {
  .site-header { min-height: 82px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  h1 { max-width: 13ch; }
  .product-card { min-height: auto; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principle { padding: 26px 0; }
  .partnership { grid-template-columns: 1fr; gap: 30px; }
  .contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .site-header, main, .site-footer { width: min(calc(100% - 32px), var(--max)); }
  .ersifor-wordmark { height: 28px; }
  .nav-cta { padding: 9px 13px; font-size: 0.82rem; }
  .hero { padding: 48px 0 64px; }
  h1 { max-width: 12ch; font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-text { margin-top: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .product-card { padding: 30px 24px; border-radius: 22px; }
  .galebri-wordmark { width: min(100%, 290px); }
  .principles { padding-bottom: 64px; }
  .partnership { padding: 64px 0; }
  .contact { margin-bottom: 48px; padding: 34px 24px; border-radius: 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}


/* ERSIFOR SITE R3 RECOVERY V2 VISUAL REFINEMENT 2026-10-11 */

.hero {
  align-items: start;
  gap: clamp(40px, 5.5vw, 72px);
  padding-top: clamp(60px, 7vw, 92px);
  padding-bottom: 48px;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.9vw, 5.35rem);
}

.hero-text {
  margin-top: 26px;
}

.product-card {
  align-self: start;
  min-height: 0;
  padding: clamp(30px, 4vw, 44px);
}

.product-status {
  margin-bottom: 22px;
}

.galebri-wordmark {
  width: min(100%, 420px);
  max-height: 86px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
}

.brand-relationship {
  margin-bottom: 0;
}

.product-card h3 {
  margin-top: 28px;
}

.principles {
  gap: 14px;
  padding-top: 0;
  padding-bottom: 64px;
  align-items: stretch;
}

.principle {
  padding: 26px 26px 28px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
}

.principle h2 {
  margin-top: 14px;
}

.partnership {
  padding-top: 62px;
  padding-bottom: 62px;
}

.contact {
  margin-top: 18px;
  margin-bottom: 58px;
}

.site-header .brand {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero {
    gap: 34px;
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .principles {
    gap: 12px;
  }

  .principle {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12.8vw, 3.9rem);
  }

  .galebri-wordmark {
    width: min(100%, 330px);
    max-height: 74px;
  }

  .principles {
    padding-bottom: 48px;
  }

  .principle {
    padding: 22px;
  }

  .partnership {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .contact {
    margin-bottom: 44px;
  }
}
/* ERSIFOR SITE R3 FINAL POLISH */
@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.55rem, 11.6vw, 3.55rem);
  }

  .principles {
    padding-bottom: 34px;
  }

  .partnership {
    padding-top: 40px;
    padding-bottom: 48px;
  }
}