:root {
  /* Parcel Chart — teal pulse brand (from idea logo assets) */
  --ink: #14383a;
  --teal-deep: #1f4f52;
  --teal: #3f7f82;
  --teal-soft: #9fc5c7;
  --mist: #e7f2f2;
  --paper: #f7fbfb;
  --white: #ffffff;
  --accent: #2f9a8f;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 12% 18%, rgba(63, 127, 130, 0.22), transparent 58%),
    radial-gradient(900px 620px at 88% 78%, rgba(47, 154, 143, 0.16), transparent 55%),
    linear-gradient(155deg, var(--mist), var(--paper) 42%, #d9ebec);
  min-height: 100%;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  max-width: 1120px;
  margin: 0 auto;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 34rem;
  animation: rise 0.85s ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  animation: settle 1s ease-out both;
}

.brand img {
  width: clamp(2.5rem, 5vw, 3.25rem);
  height: auto;
  display: block;
}

.headline {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.95s 0.08s ease-out both;
}

.lede {
  margin: 0;
  max-width: 28rem;
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 78%, white);
  animation: rise 1s 0.14s ease-out both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  animation: rise 1.05s 0.2s ease-out both;
}

.cta a {
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.55rem;
  padding: 0.85rem 1.25rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cta a.primary {
  background: var(--teal-deep);
  color: var(--white);
}

.cta a.primary:hover,
.cta a.primary:focus-visible {
  background: var(--teal);
  transform: translateY(-1px);
}

.cta a.ghost {
  color: var(--teal-deep);
  border: 1.5px solid color-mix(in srgb, var(--teal-deep) 35%, transparent);
  background: color-mix(in srgb, var(--white) 55%, transparent);
}

.cta a.ghost:hover,
.cta a.ghost:focus-visible {
  border-color: var(--teal);
  background: var(--white);
}

.visual {
  justify-self: center;
  width: min(100%, 420px);
  animation: settle 1.15s 0.1s ease-out both;
}

.visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(20, 56, 58, 0.18));
}

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

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }

  .visual {
    width: min(100%, 460px);
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-block,
  .brand,
  .headline,
  .lede,
  .cta,
  .visual {
    animation: none;
  }

  .cta a {
    transition: none;
  }
}
