:root {
  --brand-blue: #2f49c8;
  --brand-blue-deep: #2946c5;
  --sky: #b9dcf6;
  --white: #ffffff;
  --container: 1136px;
  --side-padding: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--brand-blue);
  background: var(--brand-blue);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--side-padding) * 2), var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--sky);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background-image: url("./assets/hero-visual.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding-top: 24px;
}

.brand {
  width: max-content;
  display: block;
  text-decoration: none;
}

.brand-logo {
  width: 126px;
  height: auto;
  display: block;
}

.hero-copy {
  width: min(500px, 46%);
  margin-top: 159px;
}

.hero-kicker {
  margin: 0 0 8px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.025em;
  line-height: 1.4;
  white-space: nowrap;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 4.55vw, 60px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero-subtitle {
  margin: 39px 0 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.55;
}

.launch-note {
  width: 352px;
  min-height: 42px;
  display: flex;
  align-items: center;
  margin: 84px 0 0;
  padding: 0 36px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--brand-blue);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.contact {
  min-height: 255px;
  color: var(--white);
  background: var(--brand-blue);
}

.contact-inner {
  padding-top: 53px;
  padding-bottom: 24px;
}

.contact h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.contact-content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px 32px;
  align-items: center;
  margin-top: 25px;
}

.qr-list {
  display: grid;
  grid-template-columns: repeat(2, 92px);
  gap: 26px;
}

.qr-item {
  width: 92px;
  margin: 0;
  text-align: center;
}

.qr-item figcaption {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.qr-item img {
  width: 92px;
  height: 92px;
  display: block;
  background: var(--white);
  object-fit: contain;
  image-rendering: pixelated;
}

.qr-item p {
  margin: 4px -12px 0;
  font-size: 10px;
  white-space: nowrap;
}

.company-info {
  margin: 34px 0 0;
  align-self: start;
  font-style: normal;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

.company-info p {
  margin: 0 0 11px;
}

.company-info a {
  text-decoration: none;
}

.company-info a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  min-height: 65px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--brand-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
}

@media (max-width: 980px) {
  .hero {
    min-height: 720px;
  }

  .hero-inner {
    min-height: 720px;
  }

  .hero-copy {
    width: 54%;
    margin-top: 150px;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(42px, 6vw, 54px);
  }

  .hero-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 720px) {
  :root {
    --side-padding: 22px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-inner {
    order: 1;
    min-height: auto;
    padding-top: 22px;
  }

  .brand-logo {
    width: 124px;
  }

  .hero-copy {
    width: 100%;
    margin-top: 84px;
  }

  .hero-kicker {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 10px;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.08;
  }

  .hero-subtitle {
    max-width: 360px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.7;
  }

  .launch-note {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    margin-top: 38px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .hero-visual {
    position: relative;
    order: 2;
    width: 100%;
    height: 330px;
    margin-top: 34px;
    background-position: 68% center;
    background-size: auto 100%;
  }

  .contact-inner {
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .contact h2 {
    max-width: 430px;
    font-size: 21px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 28px;
  }

  .qr-list {
    grid-template-columns: repeat(2, minmax(0, 120px));
    gap: 28px;
  }

  .qr-item,
  .qr-item img {
    width: 112px;
    height: auto;
  }

  .qr-item img {
    aspect-ratio: 1;
  }

  .company-info {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.7;
  }

  .site-footer {
    min-height: 82px;
  }

  .site-footer p {
    font-size: 11px;
    line-height: 1.7;
  }
}

@media (max-width: 390px) {
  :root {
    --side-padding: 18px;
  }

  .brand-logo {
    width: 118px;
  }

  .hero-copy {
    margin-top: 68px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .launch-note {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .hero-visual {
    height: 290px;
  }

  .contact h2 {
    font-size: 19px;
  }

  .qr-list {
    gap: 20px;
  }

  .qr-item,
  .qr-item img {
    width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
