.dfao-hero {
  --dfao-hero-blue-950: #082653;
  --dfao-hero-blue-900: #123b73;
  --dfao-hero-blue-700: #2b5fc5;
  --dfao-hero-green-500: #6fc377;
  --dfao-hero-green-100: #eaf8ed;
  --dfao-hero-ink: #122033;
  --dfao-hero-muted: #61738b;
  --dfao-hero-line: #dce5ef;
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--dfao-hero-ink);
  background:
    radial-gradient(circle at 8% 9%, rgba(111, 195, 119, .16), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(43, 95, 197, .09), transparent 28rem),
    linear-gradient(120deg, #fff 0%, #f8fbfc 100%);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

.dfao-hero__inner {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  min-height: clamp(650px, calc(100svh - 129px), 790px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 57fr) minmax(420px, 43fr);
  gap: clamp(34px, 5vw, 82px);
}

.dfao-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: center;
  padding: clamp(62px, 6vw, 96px) 0;
  animation: dfao-hero-reveal .75s cubic-bezier(.22, .75, .28, 1) both;
}

.dfao-hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #287039;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.dfao-hero__eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: var(--dfao-hero-green-500);
  content: "";
}

.dfao-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--dfao-hero-blue-950);
  font-size: clamp(45px, 4.25vw, 70px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.dfao-hero__lead {
  max-width: 730px;
  margin: 25px 0 0;
  color: var(--dfao-hero-muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.7;
}

.dfao-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dfao-hero__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--dfao-hero-line);
  border-radius: 11px;
  color: var(--dfao-hero-blue-900);
  background: rgba(255, 255, 255, .78);
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dfao-hero__button--primary {
  border-color: var(--dfao-hero-blue-700);
  color: #fff;
  background: var(--dfao-hero-blue-700);
  box-shadow: 0 14px 30px rgba(43, 95, 197, .22);
}

.dfao-hero__button:hover {
  border-color: rgba(43, 95, 197, .45);
  color: var(--dfao-hero-blue-900);
  box-shadow: 0 12px 26px rgba(8, 38, 83, .1);
  transform: translateY(-2px);
}

.dfao-hero__button--primary:hover {
  color: #fff;
  background: var(--dfao-hero-blue-900);
}

.dfao-hero__button:focus-visible {
  outline: 3px solid rgba(43, 95, 197, .3);
  outline-offset: 3px;
}

.dfao-hero__trust {
  display: grid;
  max-width: 760px;
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--dfao-hero-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  list-style: none;
}

.dfao-hero__trust li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #41536a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.dfao-hero__trust li::before {
  position: absolute;
  top: .35em;
  left: 1px;
  width: 10px;
  height: 10px;
  border: 3px solid #dff2e2;
  border-radius: 50%;
  background: var(--dfao-hero-green-500);
  box-shadow: 0 0 0 1px var(--dfao-hero-green-500);
  content: "";
}

.dfao-hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
  align-items: end;
  justify-items: center;
  padding: 44px 18px 0;
  isolation: isolate;
}

.dfao-hero__visual::before {
  position: absolute;
  z-index: -3;
  right: -32%;
  bottom: 0;
  width: 125%;
  height: 88%;
  border-radius: 50% 0 0 0;
  background:
    radial-gradient(circle at 45% 42%, rgba(78, 139, 222, .6), transparent 25%),
    linear-gradient(145deg, #173f79 0%, #0a2b59 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  content: "";
}

.dfao-hero__media {
  position: relative;
  z-index: 2;
  width: min(400px, 84%);
  height: min(585px, calc(100% - 58px));
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 210px 210px 28px 28px;
  background: var(--dfao-hero-blue-900);
  box-shadow:
    0 35px 80px rgba(8, 38, 83, .26),
    0 0 0 10px rgba(255, 255, 255, .06);
  animation: dfao-hero-portrait-float 7s ease-in-out infinite;
}

.dfao-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 28, 63, .68) 0%, transparent 29%);
  content: "";
  pointer-events: none;
}

.dfao-hero__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.dfao-hero__media figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: grid;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
}

.dfao-hero__media figcaption strong {
  font-size: 15.5px;
  letter-spacing: .015em;
}

.dfao-hero__media figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
}

.dfao-hero__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(74, 148, 218, .26);
  border-radius: 50%;
  pointer-events: none;
}

.dfao-hero__orbit::after {
  position: absolute;
  top: 11%;
  left: 13%;
  width: 11px;
  height: 11px;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: var(--dfao-hero-green-500);
  box-shadow: 0 0 22px rgba(111, 195, 119, .72);
  content: "";
}

.dfao-hero__orbit--one {
  top: 12%;
  right: -6%;
  width: 420px;
  height: 420px;
  animation: dfao-hero-orbit 20s linear infinite;
}

.dfao-hero__orbit--two {
  right: 3%;
  bottom: 4%;
  width: 285px;
  height: 285px;
  border-color: rgba(255, 255, 255, .1);
  animation: dfao-hero-orbit-reverse 17s linear infinite;
}

.dfao-hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.dfao-hero__glow--one {
  top: 10%;
  right: 9%;
  width: 90px;
  height: 90px;
  background: rgba(111, 195, 119, .2);
  animation: dfao-hero-drift 8s ease-in-out infinite;
}

.dfao-hero__glow--two {
  bottom: 13%;
  left: 3%;
  width: 130px;
  height: 130px;
  background: rgba(43, 95, 197, .15);
  animation: dfao-hero-drift 9s ease-in-out -3s infinite reverse;
}

.dfao-hero__floating-note {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 15%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  color: var(--dfao-hero-blue-900);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(8, 38, 83, .18);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(12px);
  animation: dfao-hero-note-float 6s ease-in-out -1s infinite;
}

.dfao-hero__floating-note span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dfao-hero-green-500);
  box-shadow: 0 0 0 4px var(--dfao-hero-green-100);
}

@keyframes dfao-hero-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dfao-hero-portrait-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes dfao-hero-note-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-6px, -7px, 0);
  }
}

@keyframes dfao-hero-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dfao-hero-orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes dfao-hero-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.08);
  }
}

@media (max-width: 1100px) {
  .dfao-hero__inner {
    grid-template-columns: minmax(0, 56fr) minmax(360px, 44fr);
    gap: 34px;
  }

  .dfao-hero h1 {
    font-size: clamp(43px, 5vw, 61px);
  }

  .dfao-hero__trust {
    grid-template-columns: 1fr;
  }

  .dfao-hero__media {
    width: min(370px, 92%);
  }
}

@media (max-width: 820px) {
  .dfao-hero__inner {
    width: min(100% - 36px, 680px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dfao-hero__content {
    padding: 58px 0 42px;
  }

  .dfao-hero__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dfao-hero__visual {
    min-height: 610px;
    padding-top: 34px;
  }

  .dfao-hero__visual::before {
    right: -35%;
    width: 155%;
    height: 87%;
  }

  .dfao-hero__media {
    width: min(390px, 76vw);
    height: 560px;
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .dfao-hero__inner {
    width: min(100% - 32px, 680px);
  }

  .dfao-hero__content {
    padding: 46px 0 34px;
  }

  .dfao-hero h1 {
    font-size: clamp(39px, 11.7vw, 50px);
  }

  .dfao-hero__lead {
    margin-top: 21px;
    font-size: 17px;
  }

  .dfao-hero__actions,
  .dfao-hero__trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dfao-hero__button {
    width: 100%;
  }

  .dfao-hero__visual {
    min-height: 520px;
    padding-inline: 0;
  }

  .dfao-hero__media {
    width: min(330px, 84vw);
    height: 485px;
    border-radius: 180px 180px 24px 24px;
  }

  .dfao-hero__floating-note {
    right: -4px;
    bottom: 12%;
  }

  .dfao-hero__orbit--one {
    right: -30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfao-hero *,
  .dfao-hero *::before,
  .dfao-hero *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
