:root {
  --navy: #061d5f;
  --muted: #64708a;
  --rule: rgba(6, 29, 95, 0.2);
  --line: rgba(6, 29, 95, 0.14);
  --green: #4eac39;
  --paper: #fdfdfb;
  --wave: #dce9fb;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--navy);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 44%, rgba(226, 235, 247, 0.34), transparent 18rem),
    radial-gradient(circle at 34% 31%, rgba(220, 233, 228, 0.22), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #fff 58%, #fbfdff 100%);
}

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

.page-shell {
  position: relative;
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 46px clamp(34px, 4.8vw, 74px) 0;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 58px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.brand-word {
  display: inline-flex;
  align-items: center;
}

.brand-word img {
  width: 132px;
  height: auto;
  display: block;
}

.menu-button {
  display: inline-grid;
  width: 32px;
  height: 28px;
  padding: 5px 2px;
  border: 0;
  place-items: center stretch;
  color: var(--navy);
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 0;
  place-items: center;
  align-content: center;
  padding-bottom: min(18vh, 136px);
  text-align: center;
}

.hero-mark {
  width: clamp(215px, 18.4vw, 298px);
  height: auto;
  display: block;
  margin-bottom: 28px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 10px 16px rgba(6, 29, 95, 0.05));
}

h1 {
  margin: 0;
  line-height: 0;
}

.hero-word {
  width: clamp(380px, 27vw, 520px);
  height: auto;
  display: block;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--navy);
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.tagline-rule {
  width: 66px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule));
}

.tagline-rule:last-child {
  background: linear-gradient(90deg, var(--rule), transparent);
}

.tagline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 266px;
  min-height: 54px;
  gap: 17px;
  margin-top: 44px;
  padding: 0 25px;
  border: 1px solid rgba(6, 29, 95, 0.16);
  border-radius: 999px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 9px 23px rgba(6, 29, 95, 0.09);
  backdrop-filter: blur(12px);
}

.domain-word {
  display: inline-flex;
  align-items: center;
}

.domain-word img {
  width: auto;
  height: 22px;
  display: block;
}

.primary-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.primary-link .arrow {
  color: var(--green);
  width: 25px;
}

.icp-record {
  margin: 16px 0 0;
  color: rgba(6, 29, 95, 0.58);
  font-size: 10px;
  line-height: 1.4;
}

.icp-record a:hover {
  color: var(--navy);
}

.waves {
  position: absolute;
  right: -9vw;
  bottom: -8vh;
  left: -9vw;
  z-index: 1;
  height: 34vh;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 10%, rgba(0, 0, 0, 0.78) 32%, black 100%);
}

.wave {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
  height: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    radial-gradient(ellipse at 32% 66%, rgba(118, 143, 205, 0.18), transparent 30%),
    radial-gradient(ellipse at 73% 58%, rgba(152, 181, 229, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(235, 242, 255, 0.48), rgba(251, 253, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 16px 34px rgba(255, 255, 255, 0.24),
    0 -18px 56px rgba(139, 167, 216, 0.09);
  backdrop-filter: blur(24px) saturate(1.12);
}

.wave-a {
  bottom: -4%;
  transform: translateX(-23%) rotate(-3deg);
}

.wave-b {
  bottom: -13%;
  opacity: 0.54;
  transform: translateX(22%) rotate(2.8deg);
}

.wave-c {
  bottom: -28%;
  opacity: 0.32;
  transform: translateX(-2%) rotate(0.8deg);
}

.glass-sheen,
.mist,
.particle-field {
  position: absolute;
  display: block;
  pointer-events: none;
}

.glass-sheen {
  z-index: 3;
  right: 2vw;
  left: 2vw;
  height: 74px;
  border-radius: 50%;
  opacity: 0.72;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(1px);
}

.glass-sheen-a {
  top: 25%;
  transform: translateX(-16%) rotate(-4deg);
}

.glass-sheen-b {
  top: 52%;
  opacity: 0.44;
  transform: translateX(18%) rotate(3deg);
}

.mist {
  right: 0;
  left: 0;
  z-index: 4;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  filter: blur(26px);
}

.mist-a {
  top: 4%;
}

.mist-b {
  bottom: 0;
  opacity: 0.55;
  transform: scaleY(-1);
}

.particle-field {
  inset: 0;
  z-index: 2;
  opacity: 0.66;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 0.75px, transparent 1.45px),
    radial-gradient(circle, rgba(96, 132, 194, 0.16) 0 0.8px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 0.9px, transparent 1.6px);
  background-position: 8% 26%, 43% 62%, 82% 38%;
  background-size: 58px 38px, 86px 58px, 116px 74px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.26) 18%, black 58%, transparent 100%);
}

@media (max-width: 720px) {
  .page-shell {
    padding: 28px 22px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 42px;
  }

  .brand-word {
    font-size: 22px;
  }

  .hero {
    padding-bottom: 14vh;
  }

  .hero-mark {
    width: clamp(160px, 48vw, 220px);
  }

  .brand-word {
    font-size: 23px;
  }

  .brand-word img {
    width: 98px;
  }

  .hero-word {
    width: clamp(270px, 72vw, 370px);
  }

  .tagline {
    gap: 9px;
    margin-top: 22px;
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .tagline-rule {
    width: 34px;
  }

  .primary-link {
    min-width: 220px;
    min-height: 50px;
    gap: 12px;
    margin-top: 34px;
    font-size: 18px;
  }

  .domain-word img {
    width: auto;
    height: 20px;
  }

  .icp-record {
    margin-top: 13px;
    font-size: 10px;
  }

  .waves {
    height: 29vh;
  }
}
