@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --canvas: #f1f5f8;
  --ink: #1d2228;
  --muted: #5f6872;
  --blue: #075bd3;
  --blue-deep: #0e48a9;
  --orange: #ffad00;
  --line: #e7eaee;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Open Sans", sans-serif;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 48px 24px 82px;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape-blue {
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
}

.shape-top {
  top: -34px;
  left: -42px;
  width: 180px;
  height: 180px;
  border-radius: 44% 56% 50% 50%;
}

.shape-left {
  bottom: 27%;
  left: -58px;
  width: 220px;
  height: 140px;
  border-radius: 20% 62% 66% 16%;
  transform: rotate(-7deg);
}

.shape-orange {
  top: 11%;
  right: max(7vw, 58px);
  width: 170px;
  height: 260px;
  background: var(--orange);
  border-radius: 52% 48% 49% 51% / 43% 57% 43% 57%;
  transform: rotate(4deg);
}

.flyer {
  z-index: 1;
  display: grid;
  width: min(930px, 100%);
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 30, 45, 0.04);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(32, 55, 82, 0.12);
}

.intro,
.contact {
  padding: 54px 52px;
}

.intro {
  display: flex;
  min-height: 475px;
  flex-direction: column;
}

.contact {
  border-left: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: math, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 430px;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 0.97;
}

h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  line-height: 1.04;
}

.lead,
.contact > p:not(.eyebrow) {
  max-width: 380px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.services {
  display: grid;
  gap: 8px 20px;
  grid-template-columns: 1fr 1fr;
  margin: 32px 0 34px;
  padding: 0;
  list-style: none;
  color: #343a42;
  font-size: 0.92rem;
  font-weight: 650;
}

.services li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  content: "•";
}

.services li {
  position: relative;
  padding-left: 16px;
}

.quiet-link,
.email {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.quiet-link {
  margin-top: auto;
}

.quiet-link:hover,
.email:hover {
  text-decoration: underline;
}

.button {
  display: block;
  width: 100%;
  margin-top: 34px;
  padding: 15px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.email {
  display: block;
  margin-top: 18px;
  text-align: center;
}

footer {
  position: absolute;
  z-index: 1;
  bottom: 31px;
  color: #7e8790;
  font-size: 0.66rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .page-shell {
    display: block;
    padding: 30px 18px 86px;
  }

  .shape-top {
    top: -92px;
    left: -68px;
  }

  .shape-left {
    bottom: 16%;
    left: -120px;
  }

  .shape-orange {
    top: auto;
    right: -72px;
    bottom: 5%;
    width: 155px;
    height: 218px;
    opacity: 0.95;
  }

  .flyer {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .intro,
  .contact {
    min-height: 0;
    padding: 40px 30px;
  }

  .contact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
