@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Latin-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fefefe;
  --surface: #ffffff;
  --text: rgb(28, 37, 53);
  --muted: rgb(102, 112, 133);
  --footer: #1c2535;
  --footer-text: #eff3ff;
  --line: rgb(104, 63, 237);
  --green: rgb(39, 211, 102);
  --purple: #7558ff;
  --shadow: 0 22px 54px rgba(53, 63, 91, 0.08);
  --header-height: 5rem;
  --container: min(100% - 2rem, 83rem);
  color-scheme: light;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  color: var(--text);
  font-family:
    "Inter", "Inter Placeholder", "Avenir Next", "SF Pro Display", "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.site-header {
  position: relative;
  z-index: 2;
  min-height: var(--header-height);
  height: var(--header-height);
  display: grid;
  place-items: center;
  padding: max(0.5rem, env(safe-area-inset-top)) clamp(1rem, 2.6vw, 3rem) 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(38, 55, 90, 0.08);
}

.brand img {
  width: clamp(8rem, 11vw, 10rem);
  height: auto;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero__section {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  min-height: 100%;
  padding: clamp(2.25rem, 4.6vw, 4.5rem) 1rem clamp(2.5rem, 4.8vw, 4.5rem);
  background: transparent;
}

.hero__glow {
  position: absolute;
  top: 0;
  right: -6%;
  bottom: 0;
  width: min(48vw, 50rem);
  z-index: 0;
  background:
    radial-gradient(
      circle at 62% 42%,
      rgba(145, 111, 255, 0.68) 0%,
      rgba(145, 111, 255, 0.58) 18%,
      rgba(167, 140, 255, 0.4) 36%,
      rgba(196, 178, 255, 0.26) 54%,
      rgba(226, 218, 255, 0.14) 70%,
      rgba(255, 255, 255, 0) 96%
    ),
    linear-gradient(
      270deg,
      rgba(157, 128, 255, 0.26) 0%,
      rgba(178, 155, 255, 0.18) 24%,
      rgba(210, 197, 255, 0.1) 48%,
      rgba(255, 255, 255, 0) 100%
    );
  filter: blur(28px);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.hero__glow::after {
  content: "";
  position: absolute;
  top: 46%;
  right: 12%;
  width: 78%;
  height: 7.5rem;
  background: linear-gradient(
    270deg,
    rgba(144, 111, 255, 0.22) 0%,
    rgba(157, 128, 255, 0.18) 28%,
    rgba(191, 173, 255, 0.1) 56%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(18px);
  opacity: 0.95;
  transform: translateY(-50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 78rem);
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  margin: 0 auto;
  max-width: 70rem;
  font-size: 2.875rem;
  line-height: 3.125rem;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: rgb(28, 37, 53);
}

.hero__title-accent {
  color: var(--green);
  font-weight: 700;
}

.hero__title-break {
  display: inline;
}

.hero__copy {
  margin: clamp(1.5rem, 2.4vw, 2.1rem) auto 0;
  max-width: 67rem;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: rgb(102, 112, 133);
  font-weight: 600;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 30rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1.15rem 2rem;
  border: 2px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  color: rgb(104, 63, 237);
  font-size: clamp(1rem, 1.15vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(120, 90, 255, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero__cta::after {
  content: "•";
  margin-left: 0.45rem;
  font-size: 0.95em;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(120, 90, 255, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

.hero__cta:focus-visible {
  outline: 2px solid rgba(117, 88, 255, 0.3);
  outline-offset: 4px;
}

.hero__watermark {
  position: absolute;
  right: -1.5rem;
  bottom: 7rem;
  z-index: 1;
  width: clamp(11rem, 20vw, 19rem);
  height: auto;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.15rem max(clamp(1rem, 2.6vw, 3rem), env(safe-area-inset-right))
    max(1.15rem, env(safe-area-inset-bottom))
    max(clamp(1rem, 2.6vw, 3rem), env(safe-area-inset-left));
  background: var(--footer);
  color: var(--footer-text);
}

.site-footer__copy,
.site-footer__link,
.site-footer__mail {
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 500;
  opacity: 0.96;
}

.site-footer__link {
  text-align: center;
}

.site-footer__right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.socials a {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.socials a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 5rem;
  }

  .hero__section {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .hero__glow {
    right: -14%;
    width: 56vw;
    filter: blur(20px);
  }

  .hero__copy {
    max-width: 48rem;
    line-height: 1.24;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .site-footer__right {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 1.5rem, 40rem);
    --header-height: 5rem;
  }

  .site-header {
    height: auto;
    min-height: var(--header-height);
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: 0.75rem;
  }

  .hero__section {
    padding-top: 2.8rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    max-width: 22rem;
    font-size: clamp(2.25rem, 11vw, 2.875rem);
    line-height: 1.05;
  }

  .hero__copy {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.34;
    letter-spacing: -0.02em;
    font-weight: 600;
  }

  .hero__title-break {
    display: none;
  }

  .hero__cta {
    width: min(100%, 22rem);
    min-width: 0;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    font-size: 0.98rem;
  }

  .hero__glow {
    right: -38%;
    width: 88vw;
    filter: blur(20px);
  }

  .hero__glow::after {
    top: 44%;
    right: 18%;
    width: 68%;
    height: 5rem;
  }

  .hero__section::before {
    inset: 18% 16% auto auto;
    width: 10rem;
  }

  .hero__watermark {
    right: -1.4rem;
    bottom: 1.4rem;
    width: 9.5rem;
  }

  .site-footer {
    padding-top: 1.35rem;
    gap: 0.9rem;
  }

  .site-footer__copy,
  .site-footer__link,
  .site-footer__mail {
    font-size: 0.92rem;
  }

  .site-footer__right {
    flex-direction: column;
    gap: 0.95rem;
  }
}

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