:root {
  --bg: #f3f5f7;
  --left-blue: #364f78;
  --accent: #ff6f2d;
  --card-radius: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #223;
}

/* top band container */
.top {
  margin: 0 auto;
  position: relative;
  height: 450px;
  overflow: visible;
  /* max-width: var(--content-width); */
}

/* back arrow */
.back {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 30;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* diagonal split */
.diagonal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* left wedge */
.left-wedge {
  flex: 0.7;
  background: var(--left-blue);
  color: #fff;
  position: relative;
  clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  padding: 56px 72px;
  z-index: 10;
  width: 100%;
}

.left-wedge .eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 18px;
}

.left-wedge h1 {
  margin: 0;
  font-size: 44px;
  color: #fff;
  font-weight: 800;
}

/* right image area - positioned absolutely to overlay */
.right-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.right-img img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center right;
}

/* card area */
.card {
  max-width: calc(var(--content-width) - 20px);
  margin: -72px auto 20px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 18px 40px rgba(23, 35, 50, 0.12);
  padding: 34px 44px;
  position: relative;
  z-index: 40;
}

.card p {
  margin: 0 0 18px 0;
  color: #5b656b;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 800px) {
  .top {
    height: auto;
    max-width: none;
  }

  .diagonal {
    position: static;
    flex-direction: column;
  }

  .right-img {
    display: none !important;
  }

  .left-wedge {
    clip-path: none;
    padding: 22px 20px;
  }

  .card {
    margin: 18px auto 32px;
    padding: 20px;
    max-width: 96%;
  }

  .card p {
    font-size: 15px;
  }
}