@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --paper: #fffdf8;
  --ink: #24384f;
  --muted: #53687c;
  --blue: #087cbb;
  --sky: #55b5dc;
  --orange: #f1871f;
  --green: #9bc63d;
  --pink: #e463a2;
  --cream: #fff6e6;
  --line: #dce1e2;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: light;
  font-synthesis: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 13%, rgba(255, 244, 222, 0.72), transparent 27%),
    var(--paper);
  isolation: isolate;
}

.page__inner {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 2rem clamp(1.5rem, 4.3vw, 4rem) 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(26rem, 0.84fr) minmax(35rem, 1.16fr);
  min-height: 36.5rem;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.logo {
  display: block;
  width: clamp(20rem, 29vw, 25rem);
  height: auto;
}

.hero__message {
  margin-top: clamp(2.75rem, 5vw, 4.2rem);
}

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(3.25rem, 4.7vw, 4.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.17;
  text-wrap: balance;
}

.pink-dash {
  width: min(20rem, 76%);
  height: 0.2rem;
  margin: 1.5rem 0 1.4rem;
  background-image: linear-gradient(
    90deg,
    var(--pink) 0 0.9rem,
    transparent 0.9rem 1.8rem
  );
  background-size: 1.8rem 100%;
  border-radius: 99px;
}

.hero__text {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.26vw, 1.16rem);
  line-height: 1.72;
}

.hero__text strong {
  color: var(--blue);
  font-weight: 700;
}

.thanks {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.6rem 0 0;
  font-size: clamp(0.94rem, 1.17vw, 1.08rem);
}

.thanks svg {
  width: 1.8rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero__visual {
  position: relative;
  align-self: start;
  min-width: 0;
  margin: -1.2rem -3.5rem 0 -2rem;
}

.hero__visual::before {
  position: absolute;
  inset: -4rem -3rem 4rem 7rem;
  border-radius: 45% 35% 46% 42%;
  background: rgba(255, 247, 231, 0.72);
  content: "";
}

.hero__visual::after {
  position: absolute;
  bottom: 4rem;
  left: -1rem;
  width: 14rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 239, 208, 0.63);
  content: "";
}

.hero__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  animation: scene-float 7s var(--ease) infinite alternate;
}

.hero__floor {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 6%;
  width: 88%;
  height: 11%;
  border-radius: 50%;
  background: rgba(247, 181, 72, 0.12);
  filter: blur(0.35rem);
}

.top-trail {
  position: absolute;
  z-index: 1;
  top: -0.4rem;
  right: -2.5rem;
  width: 23rem;
}

.top-trail path,
.footer-trail path {
  fill: none;
  stroke: var(--green);
  stroke-dasharray: 0.025 0.045;
  stroke-linecap: round;
  stroke-width: 4;
  animation: dash-travel 20s linear infinite;
}

.dot-grid {
  width: 4rem;
  height: 4rem;
  background-image: radial-gradient(circle, var(--pink) 0.18rem, transparent 0.2rem);
  background-size: 1.25rem 1.25rem;
}

.dot-grid--hero {
  position: absolute;
  z-index: 3;
  top: 8.4rem;
  left: 46%;
}

.info-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(19rem, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
  margin-top: clamp(2.25rem, 3vw, 3rem);
}

.features-panel,
.contact-panel {
  border: 1px solid rgba(38, 67, 87, 0.05);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1.1rem 2.8rem rgba(54, 86, 104, 0.09);
}

.features-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2rem 1.2rem 2.2rem;
}

.feature {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 clamp(1rem, 2vw, 1.7rem);
}

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

.feature__header {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.feature__icon {
  display: grid;
  width: 4.8rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--feature-color);
  box-shadow: inset 0 -0.35rem 0.75rem rgba(27, 73, 83, 0.08);
  color: #fff;
}

.feature__icon svg {
  width: 2.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.feature h2 {
  margin: 0;
  color: var(--feature-color);
  font-size: clamp(1rem, 1.36vw, 1.22rem);
  font-weight: 700;
}

.feature p {
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(0.88rem, 1.06vw, 1rem);
  line-height: 1.75;
}

.feature__dots {
  width: 4.6rem;
  height: 0.6rem;
  margin-top: auto;
  background-image: radial-gradient(circle, var(--feature-color) 0.12rem, transparent 0.15rem);
  background-size: 0.9rem 0.6rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: 1.55rem 1.7rem 1.35rem;
}

.contact-panel > h2 {
  margin: 0 0 0.65rem;
  color: var(--pink);
  font-size: clamp(1.75rem, 2.25vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.contact-panel address {
  display: grid;
  font-style: normal;
}

.contact-panel address a,
.contact-location {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 4.2rem;
  border-bottom: 2px dotted rgba(70, 91, 105, 0.18);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
}

.contact-panel address a {
  text-decoration: none;
  transition:
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.contact-panel address a:hover {
  color: var(--blue);
  transform: translateX(0.25rem);
}

.contact-panel address a:active {
  transform: translateX(0.25rem) scale(0.98);
}

.contact-panel address a:focus-visible {
  border-radius: 0.5rem;
  outline: 3px solid rgba(8, 124, 187, 0.24);
  outline-offset: 0.25rem;
}

.contact-panel address > :last-child {
  border-bottom: 0;
}

.contact-icon {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
}

.contact-icon svg {
  width: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-icon--green {
  background: rgba(148, 197, 54, 0.15);
  color: var(--green);
}

.contact-icon--orange {
  background: rgba(241, 135, 31, 0.13);
  color: var(--orange);
}

.contact-icon--blue {
  background: rgba(85, 181, 220, 0.14);
  color: var(--blue);
}

.contact-icon--pink {
  background: rgba(228, 99, 162, 0.13);
  color: var(--pink);
}

.site-footer {
  position: relative;
  display: grid;
  min-height: 8.7rem;
  margin-top: 1.7rem;
  place-items: end center;
  overflow: hidden;
  padding: 0 1.5rem 1.25rem;
}

.footer-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-wave path {
  fill: #e8f6ff;
}

.site-footer p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.site-footer p span {
  margin-inline: 0.7rem;
}

.dot-grid--footer {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 1.2rem;
}

.footer-trail {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: -0.4rem;
  width: 20rem;
}

.footer-trail path {
  stroke: var(--sky);
}

.footer-gear {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 1.6rem;
  width: 4.5rem;
  overflow: visible;
  animation: gear-turn 16s linear infinite;
}

.footer-gear path {
  fill: #ffc20f;
}

.footer-gear circle {
  fill: #e8f6ff;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  animation: reveal 820ms var(--ease) var(--delay, 0ms) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scene-float {
  to {
    transform: translate3d(0, -0.5rem, 0);
  }
}

@keyframes dash-travel {
  to {
    stroke-dashoffset: -1;
  }
}

@keyframes gear-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .page__inner {
    padding-inline: 2.5rem;
  }

  .hero {
    grid-template-columns: minmax(23rem, 0.88fr) minmax(29rem, 1.12fr);
    min-height: 33.5rem;
  }

  .logo {
    width: 21rem;
  }

  h1 {
    font-size: clamp(3rem, 5.5vw, 3.7rem);
  }

  .hero__message {
    margin-top: 2.7rem;
  }

  .hero__visual {
    margin-top: 0.5rem;
  }

  .feature__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .feature__icon {
    width: 4.1rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(23rem, 1.1fr);
    min-height: 32rem;
  }

  .logo {
    width: 19rem;
  }

  .hero__message {
    margin-top: 2.1rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero__text {
    font-size: 0.95rem;
  }

  .thanks {
    font-size: 0.88rem;
  }

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

  .contact-panel {
    min-height: 19rem;
  }

  .contact-panel address a {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .page__inner {
    padding: 1.25rem 1.25rem 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .logo {
    width: min(19rem, 82vw);
  }

  .hero__message {
    margin-top: 3.25rem;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.5rem);
    line-height: 1.12;
  }

  .pink-dash {
    margin-block: 1.3rem;
  }

  .hero__text {
    max-width: 38rem;
    font-size: 1rem;
  }

  .thanks {
    font-size: 0.95rem;
  }

  .hero__visual {
    width: min(48rem, 116%);
    margin: 1.5rem -8% -0.75rem;
  }

  .hero__visual::before {
    inset: 0 -2rem 2rem 6rem;
  }

  .dot-grid--hero {
    top: 8.5rem;
    right: -1rem;
    left: auto;
  }

  .top-trail {
    top: 1rem;
    right: -11rem;
  }

  .info-grid {
    margin-top: 2rem;
  }

  .features-panel {
    padding-inline: 0.75rem;
  }

  .site-footer {
    min-height: 10rem;
    padding-bottom: 1rem;
  }

  .site-footer p {
    max-width: 20rem;
    line-height: 1.7;
  }

  .footer-gear {
    right: 3%;
    bottom: 3.5rem;
    width: 3.6rem;
  }

  .footer-trail {
    opacity: 0.7;
  }
}

@media (max-width: 600px) {
  .features-panel {
    grid-template-columns: 1fr;
    padding: 0 1.35rem;
  }

  .feature {
    padding: 1.65rem 0;
  }

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

  .feature__header {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
  }

  .feature__icon {
    width: 4.3rem;
  }

  .feature h2 {
    font-size: 1.15rem;
  }

  .feature p {
    font-size: 0.95rem;
  }

  .contact-panel {
    min-height: 18rem;
    padding-inline: 1.3rem;
  }

  .contact-panel address a,
  .contact-location {
    font-size: 0.94rem;
  }

  .dot-grid--footer {
    left: -1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
