/* emPOWER marketing — brand greens (match app brand scale), no purple AI defaults */
:root {
  --ink: #0c1f17;
  --ink-soft: #1a3d2e;
  --foam: #f3faf6;
  --mist: #d8eee3;
  --leaf: #047857;
  --leaf-bright: #059669;
  --leaf-deep: #064e3b;
  --sand: #e8f0ea;
  --line: rgba(6, 78, 59, 0.14);
  --shadow: 0 24px 60px rgba(6, 78, 59, 0.12);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(900px 500px at 92% 8%, rgba(4, 120, 87, 0.18), transparent 50%),
    linear-gradient(165deg, #f7fcf9 0%, #e7f3ec 42%, #d9ebe2 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='%23047857' stroke-opacity='0.07' d='M0 60h120M60 0v120'/%3E%3C/svg%3E");
  z-index: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Top bar — brand only, no competing chrome */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0 0.5rem;
  animation: rise 0.7s ease-out both;
}

.top__mark {
  width: min(168px, 42vw);
}

.top__nav {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.top__nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--leaf);
}

/* Hero — one composition: brand, one line, one sentence, one CTA group */
.hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 5.5rem);
  padding: 2.5rem 0 4.5rem;
  gap: 2rem;
}

.hero__copy {
  max-width: 38rem;
  animation: rise 0.85s 0.08s ease-out both;
}

.hero__logo {
  width: min(340px, 78vw);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 10px 24px rgba(6, 78, 59, 0.12));
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.16s ease-out both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.55rem;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--leaf-bright);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(180deg, var(--leaf-bright), var(--leaf));
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #10b981, var(--leaf));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--leaf-deep);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(4, 120, 87, 0.35);
}

/* Detail section — one job: product story for SEO */
.detail {
  padding: 0 0 5rem;
  animation: rise 1s 0.22s ease-out both;
}

.detail__inner {
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.detail h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 560;
  letter-spacing: -0.015em;
}

.detail__intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.detail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.detail__list li {
  padding-left: 1.15rem;
  border-left: 3px solid var(--leaf-bright);
  color: var(--ink-soft);
}

.detail__list strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 0.15rem;
}

.foot {
  padding: 0 0 2.5rem;
  color: rgba(12, 31, 23, 0.62);
  font-size: 0.9rem;
}

.foot a {
  color: var(--leaf);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero {
    min-height: calc(100vh - 4.5rem);
    padding-top: 1.5rem;
  }

  .cta {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
