:root {
  color-scheme: light;
  --ink: #11100e;
  --muted: #6d655b;
  --paper: #f8f0e4;
  --paper-deep: #eadcc8;
  --line: rgba(17, 16, 14, 0.16);
  --white: #fffaf1;
  --ember: #d35d2d;
  --moss: #59735a;
  --shadow: 0 24px 80px rgba(33, 25, 17, 0.14);
  --display: "GmarketSansBold", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 18% 8%, rgba(211, 93, 45, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 4%, rgba(89, 115, 90, 0.18), transparent 24rem),
    linear-gradient(145deg, var(--paper), #fffaf1 44%, var(--paper-deep));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(17, 16, 14, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 14, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 16, 14, 0.12);
  border-radius: 8px;
  background: url("/app_icon.jpg") center / cover no-repeat, var(--white);
  box-shadow: 0 8px 18px rgba(17, 16, 14, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 56px;
  align-items: center;
  padding: 52px 0 82px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.56);
  font-size: 13px;
  font-weight: 800;
}

.wave-hero-icon {
  display: block;
  width: clamp(86px, 12vw, 132px);
  height: clamp(86px, 12vw, 132px);
  margin-bottom: 22px;
  border-radius: 24%;
  box-shadow: 0 20px 52px rgba(17, 16, 14, 0.18);
}

.app-screenshot-card {
  width: min(100%, 320px);
  justify-self: center;
  padding: 12px;
  border: 1px solid rgba(17, 16, 14, 0.14);
  border-radius: 42px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
}

.app-screenshot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #fbfaf6;
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.app-screenshot-active {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: wave-capture-pulse 8.8s ease-in-out infinite;
}

.app-screenshot-calm {
  position: relative;
}
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(17, 16, 14, 0.08);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

h1 {
  max-width: 720px;
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.12;
  overflow-wrap: normal;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #3f3932;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.62;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(17, 16, 14, 0.16);
}

.button.secondary {
  background: rgba(255, 250, 241, 0.62);
  color: var(--ink);
  box-shadow: none;
}

.device-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(17, 16, 14, 0.18);
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 250, 241, 0.92), rgba(234, 220, 200, 0.8)),
    var(--white);
  box-shadow: var(--shadow);
}

.device-card::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 30px;
  content: "";
}

.visual-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 16, 14, 0.13);
  border-radius: 48% 52% 46% 54% / 53% 46% 54% 47%;
  content: "";
  animation: drift 12s ease-in-out infinite alternate;
}

.visual-orbit::after {
  inset: 38px;
  border-color: rgba(211, 93, 45, 0.24);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 16px rgba(17, 16, 14, 0.03);
}

.core::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
  animation: listen 2.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.wave-line {
  position: absolute;
  right: 28px;
  bottom: 32px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  height: 92px;
  padding: 18px;
  border: 1px solid rgba(17, 16, 14, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.42);
}

.wave-line span {
  width: 8px;
  height: calc(18px + var(--h) * 1px);
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.78;
  animation: meter 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -95ms);
}

.meta-strip {
  position: absolute;
  top: 32px;
  right: 34px;
  left: 34px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.link-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 241, 0.62);
  box-shadow: 0 12px 38px rgba(33, 25, 17, 0.06);
}

.card p,
.link-card p,
.privacy-block p,
.privacy-block li {
  color: var(--muted);
  line-height: 1.72;
  letter-spacing: -0.018em;
  word-break: keep-all;
}

.card p,
.link-card p {
  margin: 14px 0 0;
}

.mono-url {
  display: inline-block;
  max-width: 100%;
  margin-top: 18px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(17, 16, 14, 0.18);
  border-radius: 34px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.notice p {
  margin: 0;
  color: rgba(255, 250, 241, 0.76);
  line-height: 1.72;
}

.notice a {
  color: var(--white);
  font-weight: 900;
}

.table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 241, 0.72);
}

.row {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.row:first-child {
  border-top: 0;
}

.row > * {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.row strong {
  color: var(--ink);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 42px 0 80px;
}

.privacy-aside {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.58);
}

.privacy-aside a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.privacy-aside a:hover {
  color: var(--ink);
}

.privacy-block {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.privacy-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.privacy-block h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4.3vw, 44px);
}

.privacy-block ul {
  padding-left: 20px;
}

.footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@keyframes drift {
  from {
    transform: rotate(-4deg) scale(0.98);
  }

  to {
    transform: rotate(9deg) scale(1.04);
  }
}

@keyframes listen {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.92);
  }

  46% {
    transform: translate(-39%, -57%) scale(1.34);
  }

  68% {
    transform: translate(-58%, -42%) scale(1.08);
  }
}

@keyframes meter {
  from {
    transform: scaleY(0.65);
  }

  to {
    transform: scaleY(1.22);
  }
}

@keyframes wave-capture-pulse {
  0%,
  54%,
  100% {
    opacity: 0;
  }

  63%,
  74% {
    opacity: 1;
  }

  58%,
  82% {
    opacity: 0.18;
  }
}

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

@media (max-width: 840px) {
  .hero,
  .section-head,
  .notice,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .grid,
  .link-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .device-card {
    min-height: 460px;
  }

  .app-screenshot-card {
    max-width: 320px;
  }

  .privacy-aside {
    position: static;
  }

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

  .row > * + * {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    gap: 34px;
    padding: 28px 0 58px;
  }

  .device-card {
    min-height: 390px;
    border-radius: 30px;
  }

  .app-screenshot-card {
    max-width: 285px;
    border-radius: 34px;
  }

  .app-screenshot {
    border-radius: 26px;
  }

  .app-screenshot-frame {
    border-radius: 26px;
  }

  .core {
    width: 144px;
  }

  .wave-line {
    right: 18px;
    bottom: 22px;
    left: 18px;
    gap: 4px;
    padding: 14px;
  }

  .wave-line span {
    width: 6px;
  }

  .section {
    padding: 56px 0;
  }

  .footer .shell {
    flex-direction: column;
  }
}
