* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 42%, #f2f6f9 100%);
  color: var(--on-surface);
  font-family:
    Inter,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    "Segoe UI",
    system-ui,
    sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgb(247 249 251 / 72%);
  border-bottom: 1px solid var(--outline);
  backdrop-filter: blur(24px) saturate(1.25);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.launch-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 850;
}

.brand-icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgb(16 24 32 / 12%);
}

.nav-links {
  gap: 28px;
  color: var(--on-surface-muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a,
.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-links a[aria-current="page"] {
  color: var(--on-surface);
}

.header-cta,
.button {
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 850;
}

.header-cta {
  padding: 0 18px;
  background: var(--surface-ink);
  color: #fff;
  box-shadow: 0 14px 36px rgb(17 24 39 / 14%);
}

.hero {
  min-height: calc(100vh - 65px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: keep-all;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.3rem, 6.8vw, 6.4rem);
  font-weight: 880;
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.3rem);
  font-weight: 860;
}

h3 {
  font-size: clamp(1.36rem, 2vw, 1.8rem);
  font-weight: 820;
}

.hero-lede {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--on-surface-muted);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

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

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--surface-ink);
  color: #fff;
  box-shadow: 0 18px 42px rgb(17 24 39 / 16%);
}

.button.secondary {
  background: var(--surface-glass-strong);
  border-color: var(--outline);
  color: var(--on-surface);
  backdrop-filter: blur(18px);
}

.hero-stage {
  position: relative;
  min-height: 680px;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% -4% 8% 12%;
  z-index: -1;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgb(93 139 255 / 18%), transparent 34%),
    linear-gradient(315deg, rgb(12 107 98 / 18%), transparent 40%),
    rgb(255 255 255 / 54%);
  filter: blur(18px);
}

.phone-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 40px;
  background: #111827;
  box-shadow: var(--shadow-lift);
}

.phone-primary {
  right: 20%;
  bottom: 0;
  width: min(42vw, 330px);
  aspect-ratio: 394 / 900;
}

.phone-secondary {
  right: 0;
  bottom: 52px;
  width: min(33vw, 260px);
  aspect-ratio: 394 / 900;
  opacity: 0.96;
}

.screen-shot {
  display: block;
  width: 100%;
  height: 100%;
  background: #f8fbfd;
  object-fit: cover;
  object-position: top center;
}

.glass-panel {
  position: absolute;
  z-index: 4;
  border: 1px solid rgb(255 255 255 / 72%);
  background: var(--surface-glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(1.2);
}

.live-panel {
  top: 84px;
  left: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  width: min(290px, 56%);
  padding: 16px;
  border-radius: 18px;
}

.panel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: rgb(12 107 98 / 10%);
}

.panel-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid var(--primary);
  border-right-color: transparent;
  border-radius: 50%;
}

.glass-panel strong,
.glass-panel span {
  display: block;
}

.glass-panel strong {
  font-size: 1rem;
  line-height: 1.25;
}

.glass-panel span {
  color: var(--on-surface-muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.summary-panel {
  right: 36px;
  bottom: 32px;
  min-width: 230px;
  padding: 18px 20px;
  border-radius: 20px;
}

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 104px clamp(18px, 5vw, 32px);
}

.section-heading {
  max-width: 820px;
}

.section-heading p,
.privacy-copy p,
.launch-section p,
.feature-copy p {
  color: var(--on-surface-muted);
  font-size: 1.06rem;
}

.record-strip {
  border-top: 1px solid var(--outline);
  display: grid;
  gap: 34px;
}

.record-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.record-rail span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface-glass-strong);
  color: var(--on-surface);
  font-weight: 820;
  backdrop-filter: blur(18px);
}

.feature-flow {
  display: grid;
  gap: 26px;
}

.feature-row {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgb(255 255 255 / 88%), rgb(241 246 249 / 76%));
  box-shadow: 0 22px 70px rgb(24 37 51 / 8%);
  overflow: hidden;
}

.feature-row.reverse {
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-index {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-cool);
  font-size: 0.9rem;
  font-weight: 900;
}

.feature-copy {
  max-width: 560px;
}

.feature-media {
  margin: 0;
  justify-self: center;
  width: min(100%, 275px);
  aspect-ratio: 394 / 900;
  overflow: hidden;
  border: 9px solid #111827;
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow-soft);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.privacy-copy {
  position: sticky;
  top: 104px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary-strong);
  font-weight: 850;
}

.privacy-grid {
  display: grid;
  gap: 14px;
}

.privacy-grid article {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  background: var(--surface-glass-strong);
  backdrop-filter: blur(18px);
}

.privacy-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: rgb(12 107 98 / 10%);
}

.privacy-mark::before,
.privacy-mark::after {
  content: "";
  position: absolute;
}

.privacy-mark.lock::before {
  width: 18px;
  height: 15px;
  bottom: 12px;
  border: 3px solid var(--primary);
  border-radius: 5px;
}

.privacy-mark.lock::after {
  width: 14px;
  height: 12px;
  top: 11px;
  border: 3px solid var(--primary);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.privacy-mark.family::before {
  width: 9px;
  height: 9px;
  top: 12px;
  left: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 13px 0 0 rgb(12 107 98 / 55%);
}

.privacy-mark.family::after {
  width: 25px;
  height: 12px;
  left: 10px;
  bottom: 11px;
  border: 3px solid var(--primary);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
}

.privacy-mark.delete::before {
  width: 20px;
  height: 20px;
  bottom: 10px;
  border: 3px solid var(--primary);
  border-radius: 5px;
}

.privacy-mark.delete::after {
  width: 24px;
  height: 3px;
  top: 12px;
  border-radius: 999px;
  background: var(--primary);
}

.privacy-grid h3,
.privacy-grid p {
  grid-column: 2;
}

.privacy-grid p {
  margin: 8px 0 0;
  color: var(--on-surface-muted);
}

.launch-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
  padding-block: 72px;
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.launch-section > div:first-child {
  max-width: 720px;
}

.launch-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 30px 20px 42px;
  color: var(--on-surface-muted);
  border-top: 1px solid var(--outline);
  font-size: 0.94rem;
}

.site-footer span:first-child {
  color: var(--on-surface);
  font-weight: 900;
}

.legal-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 32px) 72px;
}

.legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--outline);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgb(93 139 255 / 13%), transparent 36%),
    linear-gradient(315deg, rgb(12 107 98 / 15%), transparent 38%),
    rgb(255 255 255 / 76%);
  box-shadow: var(--shadow-soft);
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 10% 6% auto auto;
  width: 270px;
  height: 270px;
  border-radius: 48px;
  background: rgb(228 105 88 / 10%);
  filter: blur(12px);
  transform: rotate(12deg);
}

.legal-hero-copy,
.legal-contact {
  position: relative;
  z-index: 1;
}

.legal-page h1 {
  max-width: 820px;
  font-size: clamp(2.85rem, 6vw, 5.5rem);
}

.legal-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgb(12 107 98 / 14%);
  border-radius: 999px;
  background: rgb(12 107 98 / 9%);
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 850;
}

.legal-description {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--on-surface-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.legal-meta,
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta {
  margin-top: 24px;
}

.legal-meta span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface-glass-strong);
  color: var(--on-surface-muted);
  font-size: 0.94rem;
  backdrop-filter: blur(18px);
}

.legal-meta strong {
  color: var(--on-surface);
}

.legal-actions {
  margin-top: 28px;
}

.legal-contact {
  display: grid;
  justify-items: start;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  box-shadow: 0 20px 54px rgb(24 37 51 / 9%);
  backdrop-filter: blur(20px);
}

.legal-contact .brand-icon {
  width: 48px;
  height: 48px;
}

.legal-contact span {
  color: var(--on-surface-muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.legal-contact a {
  max-width: 100%;
  color: var(--on-surface);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.legal-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.legal-highlight {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  box-shadow: 0 18px 48px rgb(24 37 51 / 6%);
  backdrop-filter: blur(18px);
}

.legal-highlight p {
  margin: 0;
  color: var(--on-surface);
  font-size: 1.02rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin-top: 18px;
}

.legal-reference-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--surface-glass-strong);
  backdrop-filter: blur(18px);
}

.legal-reference-panel h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.legal-reference-panel p {
  margin: 0;
  color: var(--on-surface-muted);
  font-size: 0.94rem;
}

.reference-links {
  display: grid;
  gap: 10px;
}

.reference-links a {
  padding-top: 10px;
  border-top: 1px solid var(--outline);
  color: var(--primary-strong);
  font-size: 0.94rem;
  font-weight: 850;
}

.legal-sections {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 18px 48px rgb(24 37 51 / 5%);
}

.legal-section h2 {
  font-size: clamp(1.34rem, 2.5vw, 2rem);
  line-height: 1.22;
}

.legal-section h3 {
  margin-top: 18px;
  color: var(--on-surface);
  font-size: 1.02rem;
  line-height: 1.25;
}

.legal-lead {
  margin: 12px 0 0;
  color: var(--on-surface-muted);
  font-size: 1rem;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--on-surface-muted);
}

.legal-section li {
  padding-left: 4px;
}

.legal-subsection {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--outline);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .privacy-section,
  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .phone-primary {
    left: 18%;
    right: auto;
    width: min(56vw, 320px);
  }

  .phone-secondary {
    right: 7%;
    width: min(43vw, 240px);
  }

  .privacy-copy {
    position: static;
  }

  .legal-reference-panel {
    position: static;
  }

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

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .launch-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .header-cta {
    padding-inline: 14px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-actions,
  .launch-actions,
  .legal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 560px;
    margin-inline: 0;
  }

  .phone-primary {
    left: 10%;
    width: min(67vw, 285px);
  }

  .phone-secondary {
    right: 2%;
    bottom: 70px;
    width: min(48vw, 205px);
  }

  .live-panel {
    top: 22px;
    width: min(300px, 86%);
  }

  .summary-panel {
    right: 16px;
    bottom: 14px;
    min-width: 205px;
  }

  .section {
    padding-block: 78px;
  }

  .feature-row {
    min-height: auto;
  }

  .feature-media {
    width: min(100%, 235px);
  }

  .legal-page h1 {
    font-size: 3.1rem;
  }

  .legal-hero,
  .legal-section {
    border-radius: var(--radius-lg);
  }

  .legal-highlights {
    grid-template-columns: 1fr;
  }

  .privacy-grid article {
    grid-template-columns: 1fr;
  }

  .privacy-grid h3,
  .privacy-grid p {
    grid-column: auto;
  }
}

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

  .button,
  .nav-links a {
    transition: none;
  }
}
