@font-face {
  font-family: "LINESeedKR";
  src: url("https://cdn.jsdelivr.net/gh/sweetherofonts/fontshero_pack3/lineseedkr-bd/lineseedkr-bd-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedKR";
  src: url("https://cdn.jsdelivr.net/gh/sweetherofonts/fontshero_pack3/lineseedkr-bd/lineseedkr-bd-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedKR";
  src: url("https://cdn.jsdelivr.net/gh/sweetherofonts/fontshero_pack3/lineseedkr-bd/lineseedkr-bd-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "LINESeedKR", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: #040d23;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background {
  z-index: -2;
  background-image: url("./이미지 자료/배경이미지.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__overlay {
  z-index: -1;
  background: rgba(4, 13, 35, 0.42);
}

.header,
.hero-content {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(40px, 6vw, 96px);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.18);
}

.share-button:focus-visible {
  outline: 3px solid #b8c5ff;
  outline-offset: 3px;
}

.share-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.share-icon--x {
  fill: currentColor;
  stroke: none;
}

.share-icon--link {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  padding-top: clamp(10px, 2vh, 24px);
  padding-bottom: clamp(32px, 5vh, 64px);
}

.left-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.service-name {
  margin: 0;
  color: #fff;
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 18px rgba(0, 8, 30, 0.14);
}

.description {
  max-width: none;
  margin: clamp(28px, 4vh, 42px) 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.signup-area {
  max-width: 560px;
  margin-top: clamp(36px, 7vh, 80px);
}

.signup-description {
  margin: 0 0 14px 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.signup-form {
  min-width: 0;
}

.form-row {
  display: flex;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(3, 11, 35, 0.22);
  transition: box-shadow 160ms ease;
}

.form-row:focus-within {
  box-shadow: 0 0 0 3px rgba(139, 162, 255, 0.65), 0 14px 35px rgba(3, 11, 35, 0.22);
}

.input-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding-left: 18px;
  background: #fff;
}

.email-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  fill: none;
  stroke: #99a0ad;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.signup-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17213a;
  font-size: 16px;
}

.signup-form input::placeholder {
  color: #969da9;
  opacity: 1;
}

.signup-form button {
  flex: 0 0 clamp(136px, 10vw, 148px);
  border: 0;
  background: linear-gradient(135deg, #526cff, #4862f4);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 160ms ease;
}

.signup-form button:hover {
  filter: brightness(1.07);
}

.signup-form button:focus-visible,
.modal__confirm:focus-visible,
.logo:focus-visible {
  outline: 3px solid #b8c5ff;
  outline-offset: 3px;
}

.form-error {
  min-height: 22px;
  margin: 8px 4px 0;
  color: #ffd1d8;
  font-size: 14px;
  line-height: 1.4;
}

.visual {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transform: translate(3%, 20px);
}

.visual img {
  display: block;
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 23, 0.6);
  backdrop-filter: blur(6px);
}

.modal__panel {
  width: min(100%, 430px);
  padding: 38px 34px 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(15, 27, 58, 0.96);
  box-shadow: 0 24px 70px rgba(0, 5, 22, 0.4);
  color: #fff;
  text-align: center;
}

.modal__panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.modal__panel p {
  margin: 15px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
}

.modal__confirm {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #526cff, #4862f4);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .hero {
    overflow: visible;
  }

  .hero__background,
  .hero__overlay {
    position: fixed;
  }

  .hero__background {
    background-position: 42% center;
  }

  .header,
  .hero-content {
    padding-inline: clamp(22px, 6vw, 40px);
  }

  .header {
    height: 82px;
  }

  .logo {
    font-size: 30px;
  }

  .share-actions {
    gap: 8px;
  }

  .share-button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .share-icon {
    width: 20px;
    height: 20px;
  }

  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(100svh - 82px);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .left-content {
    display: contents;
  }

  .service-intro {
    order: 1;
  }

  .service-name {
    font-size: clamp(64px, 22vw, 92px);
  }

  .description {
    max-width: 560px;
    margin-top: 22px;
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.38;
    text-wrap: pretty;
    white-space: normal;
  }

  .visual {
    order: 2;
    margin: clamp(18px, 5vh, 40px) auto 0;
    transform: none;
  }

  .visual img {
    width: min(88vw, 460px);
    max-height: 48vh;
  }

  .signup-area {
    order: 3;
    width: 100%;
    max-width: 560px;
    margin-top: clamp(14px, 3vh, 28px);
  }

  .signup-description {
    margin-left: 2px;
    font-size: 15px;
  }

  .form-row {
    height: 56px;
  }

  .input-wrap {
    padding-left: 18px;
  }

  .email-icon {
    margin-right: 11px;
  }

  .signup-form button {
    flex-basis: 112px;
  }
}

@media (max-width: 350px) {
  .form-row {
    gap: 10px;
    height: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
  }

  .form-row:focus-within {
    box-shadow: none;
  }

  .input-wrap,
  .signup-form button {
    flex-basis: auto;
    width: 100%;
    height: 54px;
    border-radius: 13px;
  }
}

@media (min-width: 769px) and (max-height: 700px) {
  .header {
    height: 76px;
  }

  .hero-content {
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
    padding-top: 0;
    padding-bottom: 24px;
  }

  .service-name {
    font-size: clamp(68px, 12vh, 92px);
  }

  .description {
    margin-top: 22px;
    font-size: clamp(25px, 4.8vh, 34px);
  }

  .signup-area {
    margin-top: clamp(28px, 5vh, 42px);
  }

  .visual img {
    max-height: calc(100svh - 105px);
  }
}

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