:root {
  --bg: #fffdf9;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --text: #2c1f17;
  --muted: #7d6759;
  --line: rgba(81, 53, 35, 0.16);
  --brown: #6f4429;
  --brown-dark: #3a2418;
  --gold: #d6a052;
  --cream: #fff2df;
  --shadow: 0 28px 80px rgba(83, 52, 30, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  /* 추천 3: 거의 흰색 캔버스, 카드만 따뜻하게 */
  background: #fffdf9;
  overflow-x: hidden;
}

body::before { display: none; }

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

.page-glow { display: none; }

.page-glow-a {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  top: 18rem;
  background: rgba(224, 157, 80, 0.2);
}

.page-glow-b {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: 52rem;
  background: rgba(119, 73, 43, 0.16);
}

.site-header {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1120px, calc(100% - 2rem));
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(61, 38, 22, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(58, 36, 24, 0.14);
}


.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brown-dark);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.header-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.header-cta,
.primary-button {
  background: var(--brown-dark);
  color: white;
  box-shadow: 0 16px 38px rgba(58, 36, 24, 0.22);
}

.ghost-button {
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.header-cta:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(58, 36, 24, 0.18);
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
  padding-top: 8rem;
}


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

.hero-description {
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-title,
.center-copy h2,
.feature-copy h2,
.plus-card h2 {
  margin: 0;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-title {
  font-size: clamp(4.2rem, 9vw, 8.2rem);
}

.hero-description,
.center-copy p,
.feature-copy p,
.plus-card p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.phone {
  position: absolute;
  width: 310px;
  height: 632px;
  border-radius: 48px;
  padding: 13px;
  background: linear-gradient(145deg, #5b3925, #23150f 70%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.18);
}

.phone-main {
  right: 3rem;
  top: 0;
  transform: rotate(5deg);
}

.phone-back {
  left: 0.6rem;
  top: 7rem;
  width: 240px;
  height: 500px;
  opacity: 0.92;
  transform: rotate(-10deg);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: #1a100b;
  z-index: 2;
}

.phone-notch.small {
  width: 74px;
  height: 22px;
}

.app-screen {
  width: 100%;
  height: 100%;
  padding: 4.5rem 1.2rem 1.2rem;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 0%, rgba(214, 160, 82, 0.38), transparent 14rem),
    linear-gradient(180deg, #fff5e9, #f3dcc1);
}

.app-screen.muted {
  padding-top: 4.4rem;
  background: linear-gradient(180deg, #fffaf4, #ecd4b8);
}

.screen-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.screen-overline {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.screen-header h2,
.app-screen h3 {
  margin: 0.25rem 0 0;
  font-size: 2.1rem;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.tiny-badge {
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  color: white;
  background: var(--brown-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.coffee-card.large {
  margin-top: 2rem;
  padding: 1.5rem;
  min-height: 170px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.coffee-card span,
.brew-steps span,
.recipe-metrics span,
.option span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.coffee-card strong {
  font-size: 3rem;
  letter-spacing: -0.06em;
}

.brew-steps {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.brew-steps div,
.mini-list {
  padding: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.68);
}

.mini-list {
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.mini-list span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #7d4d2e, #ddb06a);
}

.mini-list p { margin: 0; font-weight: 800; }

.center-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-copy p {
  margin-left: auto;
  margin-right: auto;
}

.center-copy h2,
.feature-copy h2,
.plus-card h2 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.glass-card,
.feature-panel,
.plus-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(24px);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.glass-card {
  padding: 2rem;
  min-height: 260px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 2rem;
  border-radius: 18px;
  background: var(--brown-dark);
  color: white;
  font-weight: 800;
}

.glass-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-panel {
  min-height: 460px;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(255,241,220,0.58));
}

.panel-top {
  position: relative;
  min-height: 180px;
  padding: 1.45rem 1.6rem;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 219, 151, 0.35), transparent 10rem),
    linear-gradient(135deg, #3a2418, #8d5a37);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.panel-copy {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.panel-top span {
  display: block;
  opacity: 0.78;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.panel-top strong {
  display: block;
  font-size: clamp(2rem, 3.1vw, 2.3rem);
  letter-spacing: -0.06em;
  line-height: 1.18;
  white-space: nowrap;
}

.recipe-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.recipe-metrics div,
.option {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(255,255,255,0.72);
}

.recipe-metrics strong,
.option strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.meter {
  height: 12px;
  margin-top: 1.4rem;
  border-radius: 999px;
  background: rgba(58, 36, 24, 0.1);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brown), var(--gold));
}

.phone-card {
  min-height: 520px;
  padding: 3rem 2rem;
  display: grid;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 1.1rem;
}

.timeline div {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 26px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.76);
}

.timeline span {
  width: 14px;
  height: 14px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--brown-dark);
  box-shadow: 0 0 0 7px rgba(111, 68, 41, 0.1);
}

.timeline p { margin: 0; color: var(--muted); }
.timeline strong { color: var(--text); margin-right: 0.5rem; }

.plus-card {
  padding: clamp(2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(214,160,82,0.28), transparent 20rem),
    rgba(255,255,255,0.56);
}

.plus-options {
  display: grid;
  gap: 1rem;
}

.feature-intro {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.feature-intro h2 {
  max-width: 620px;
  font-size: clamp(4.2rem, 7.4vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: -0.085em;
}

.feature-intro .plus-options {
  align-self: center;
}

.feature-intro .option {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.65rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 44px rgba(83, 52, 30, 0.08);
}

.feature-intro .option span {
  color: var(--muted);
  font-weight: 800;
}

.feature-intro .option strong {
  font-size: 1.65rem;
}

.final-cta {
  padding-top: 5rem;
}

.final-cta .primary-button {
  margin-top: 1.4rem;
}

.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer strong { color: var(--text); }
.footer p { margin: 0.35rem 0 0; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(54px) scale(0.985);
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

@media (max-width: 880px) {
  .site-header { top: 0.8rem; }
  .nav { display: none; }
  .section { padding: 6rem 0; }
  .hero,
  .feature,
  .plus-card {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 8rem;
  }
  .hero-visual {
    min-height: 560px;
  }
  .phone-main {
    right: 0;
  }
  .phone-back {
    left: 0;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .feature-b .feature-copy {
    order: -1;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-title { font-size: 4.2rem; }
  .center-copy h2,
  .feature-copy h2,
  .plus-card h2 { font-size: 3.2rem; }
  .feature-intro h2 { font-size: 3.6rem; }
  .header-cta { display: none; }
  .hero-visual { min-height: 500px; }
  .phone-main {
    width: 260px;
    height: 532px;
    right: -0.5rem;
  }
  .phone-back {
    width: 200px;
    height: 420px;
    left: -1rem;
  }
  .recipe-metrics { grid-template-columns: 1fr; }
  .panel-copy { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .header-cta,
  .primary-button,
  .ghost-button {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.setup-section {
  align-items: center;
}

.setup-section .feature-copy h2 {
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.085em;
}

.setup-panel {
  min-height: 430px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(214,160,82,0.28), transparent 18rem),
    rgba(255,255,255,0.56);
}

.setup-panel .option {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.65rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 44px rgba(83, 52, 30, 0.08);
}

.setup-panel .option strong {
  font-size: 1.65rem;
}

@media (max-width: 560px) {
  .setup-section .feature-copy h2 { font-size: 3.6rem; }
}

.nowrap { white-space: nowrap; }

/* Navigation layout 1: Apple-style minimal */
.site-header.nav-minimal {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 64px;
  border: 0;
  border-bottom: 1px solid rgba(81, 53, 35, 0.1);
  border-radius: 0;
  background: rgba(255, 248, 238, 0.72);
  box-shadow: none;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
}

.brand-text {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  gap: 0.7rem;
}

.brand-text span {
  line-height: 1;
}

.site-header.nav-minimal .header-cta {
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(58, 36, 24, 0.12);
  background: rgba(58, 36, 24, 0.92);
  box-shadow: 0 10px 28px rgba(58, 36, 24, 0.16);
  font-size: 0.88rem;
}

.site-header.nav-minimal .header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(58, 36, 24, 0.18);
}

@media (max-width: 880px) {
  .site-header.nav-minimal {
    top: 0;
    height: 60px;
    padding: 0 1.2rem;
  }
}

@media (max-width: 560px) {
  .site-header.nav-minimal {
    width: 100%;
    height: 56px;
    padding: 0 1rem;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .site-header.nav-minimal .header-cta {
    display: inline-flex;
    min-height: 36px;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }
}

/* Improved readability for multi-line Korean headings */
.hero-title {
  line-height: 1.1;
}

.center-copy h2,
.feature-copy h2,
.plus-card h2 {
  line-height: 1.12;
}

.feature-intro h2,
.setup-section .feature-copy h2 {
  line-height: 1.08;
}

.screen-header h2 {
  line-height: 1.12;
}

@media (max-width: 560px) {
  .hero-title {
    line-height: 1.12;
  }

  .center-copy h2,
  .feature-copy h2,
  .plus-card h2 {
    line-height: 1.14;
  }
}


/* Navigation text links restored */
.site-header.nav-minimal {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  column-gap: 1rem;
  background: rgba(255, 253, 249, 0.78);
}

.site-header.nav-minimal .brand {
  justify-self: start;
}

.site-header.nav-minimal .header-cta {
  justify-self: end;
}

.header-nav {
  justify-self: center;
  gap: clamp(1.35rem, 3vw, 2.9rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.header-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgba(105, 82, 67, 0.92);
  font-size: clamp(1rem, 1.25vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.header-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 880px) {
  .site-header.nav-minimal {
    display: flex;
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }
}


/* Refine navigation typography */
.site-header.nav-minimal .brand-text {
  font-weight: 600;
  letter-spacing: -0.035em;
}

.site-header.nav-minimal .header-nav a {
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* Footer contact/policy links: slightly stronger for readability */
.footer a {
  font-weight: 560;
  color: rgba(110, 86, 70, 0.86);
}

/* Share section card height refinement */
#share .phone-card {
  min-height: 380px;
  padding: 2.2rem 2rem;
}

#share .timeline {
  gap: 0.9rem;
}

#share .timeline div {
  padding: 1.05rem 1.15rem;
}

@media (max-width: 880px) {
  #share .phone-card {
    min-height: 340px;
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 560px) {
  #share .phone-card {
    min-height: 300px;
    padding: 1.4rem 1rem;
  }
}

/* Compact timeline cards: reduce empty vertical space */
.feature-b .phone-card {
  min-height: 400px;
  padding: 1.9rem 2rem;
}

.feature-b .timeline {
  gap: 0.85rem;
}

.feature-b .timeline div {
  padding: 0.95rem 1.1rem;
  border-radius: 24px;
}

/* Share card has only 3 rows, so it can be even tighter */
#share .phone-card {
  min-height: 320px;
  padding: 1.65rem 2rem;
}

@media (max-width: 880px) {
  .feature-b .phone-card {
    min-height: 360px;
    padding: 1.6rem 1.35rem;
  }

  #share .phone-card {
    min-height: 300px;
    padding: 1.4rem 1.2rem;
  }
}

@media (max-width: 560px) {
  .feature-b .phone-card {
    min-height: auto;
    padding: 1.25rem 1rem;
  }

  .feature-b .timeline {
    gap: 0.7rem;
  }

  .feature-b .timeline div {
    padding: 0.85rem 0.9rem;
  }
}

/* Legal document page */
.legal-page {
  padding-top: 64px;
}

.legal-hero {
  padding: 7rem 0 3rem;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.075em;
}

.legal-summary {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.8;
  word-break: keep-all;
}

.legal-effective {
  display: inline-flex;
  margin: 1.4rem 0 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-content {
  max-width: 860px;
  padding: 3rem clamp(1.25rem, 4vw, 3.5rem) 5rem;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(83, 52, 30, 0.1);
}

.legal-content h2 {
  margin: 3rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.legal-content h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  word-break: keep-all;
}

.legal-content p {
  margin: 0.8rem 0;
}

.legal-content ul,
.legal-content ol {
  margin: 0.9rem 0 1.2rem;
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--brown-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


.legal-table-wrap {
  width: 100%;
  margin: 1.2rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
  word-break: keep-all;
}

.legal-table th {
  color: var(--text);
  font-weight: 800;
  background: rgba(246, 238, 227, 0.72);
}

.legal-table td:first-child {
  width: 38%;
  color: var(--brown-dark);
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 880px) {
  .legal-page {
    padding-top: 60px;
  }

  .legal-hero {
    padding: 5rem 0 2.5rem;
  }
}

@media (max-width: 560px) {
  .legal-page {
    padding-top: 56px;
  }

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

  .legal-summary {
    font-size: 1.04rem;
  }

  .legal-content {
    border-radius: 28px;
  }
}

/* Legal pages should show the document immediately without landing-page reveal spacing. */
.legal-page .reveal {
  opacity: 1;
  transform: none;
}

.legal-page .section {
  padding-top: 0;
  padding-bottom: 0;
}

.legal-hero {
  padding: 2rem 0 1.4rem;
}

.legal-content {
  margin-bottom: 5rem;
}

@media (max-width: 880px) {
  .legal-hero {
    padding: 1.6rem 0 1.2rem;
  }
}

@media (max-width: 560px) {
  .legal-hero {
    padding: 1.25rem 0 1rem;
  }
}

/* Legal page layout refinement: align document card with hero/title width. */
.legal-page {
  padding-top: 80px;
}

.legal-page .legal-hero.section,
.legal-page .legal-content.section {
  width: min(1120px, calc(100% - 3rem));
}

.legal-page .legal-hero {
  padding-top: 3.5rem;
  padding-bottom: 1.75rem;
}

.legal-page .legal-content {
  max-width: none;
  margin-top: 0.5rem;
  padding-top: clamp(2.75rem, 5vw, 4rem);
}

@media (max-width: 880px) {
  .legal-page {
    padding-top: 72px;
  }

  .legal-page .legal-hero.section,
  .legal-page .legal-content.section {
    width: min(100% - 2.4rem, 1120px);
  }

  .legal-page .legal-hero {
    padding-top: 2.6rem;
  }
}

@media (max-width: 560px) {
  .legal-page {
    padding-top: 64px;
  }

  .legal-page .legal-hero.section,
  .legal-page .legal-content.section {
    width: min(100% - 2rem, 1120px);
  }

  .legal-page .legal-hero {
    padding-top: 2rem;
  }

  .legal-page .legal-content {
    padding-top: 2rem;
  }
}


/* Legal hero copy should use the same width as the title area. */
.legal-page .legal-summary {
  max-width: none;
  width: 100%;
}

@media (max-width: 560px) {
  .legal-page .legal-summary {
    max-width: none;
  }
}


/* Legal final alignment: use one shared width for hero, summary, and document card. */
.legal-page .legal-hero.section,
.legal-page .legal-content.section {
  width: min(1280px, calc(100% - clamp(2rem, 6vw, 7rem)));
}

.legal-page .legal-summary {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 880px) {
  .legal-page .legal-hero.section,
  .legal-page .legal-content.section {
    width: min(100% - 2.4rem, 1280px);
  }
}

@media (max-width: 560px) {
  .legal-page .legal-hero.section,
  .legal-page .legal-content.section {
    width: min(100% - 2rem, 1280px);
  }
}

/* Legal pages: use one shared shell for header, hero, content, and footer. */
:root {
  --legal-shell-width: 1280px;
  --legal-shell-gutter: clamp(2rem, 6vw, 7rem);
}

.legal-document .site-header,
.legal-document .legal-hero.section,
.legal-document .legal-content.section,
.legal-document .footer {
  width: min(var(--legal-shell-width), calc(100% - var(--legal-shell-gutter)));
}

.legal-document .legal-summary {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 880px) {
  .legal-document {
    --legal-shell-gutter: 2.4rem;
  }
}

@media (max-width: 560px) {
  .legal-document {
    --legal-shell-gutter: 2rem;
  }
}

/* Legal pages: optical leading alignment for oversized Korean titles. */
.legal-document .legal-hero h1 {
  margin-left: -0.075em;
}

@media (max-width: 560px) {
  .legal-document .legal-hero h1 {
    margin-left: -0.045em;
  }
}


/* Final hero only: real app screenshots with selected overlap layout. */
.screenshot-stack {
  position: relative;
  min-height: 700px;
  isolation: isolate;
}

.screenshot-stack::before {
  content: "";
  position: absolute;
  inset: 4% -4% 2% -8%;
  border-radius: 48%;
  background:
    radial-gradient(circle at 62% 32%, rgba(214, 160, 82, 0.18), transparent 26rem),
    radial-gradient(circle at 32% 72%, rgba(95, 58, 35, 0.10), transparent 22rem);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.screenshot-device {
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  border: 8px solid rgba(0, 0, 0, 0.96);
  border-radius: 44px;
  background: transparent;
  box-shadow: none;
}

.screenshot-device img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-device-main {
  right: 0.1rem;
  top: 0.4rem;
  width: min(390px, 72%);
  z-index: 1;
  transform: rotate(5deg);
}

.screenshot-device-back {
  left: 0.2rem;
  top: 8rem;
  width: min(300px, 56%);
  z-index: 2;
  opacity: 0.98;
  transform: rotate(-11deg);
}

@media (max-width: 880px) {
  .screenshot-stack {
    min-height: 660px;
  }

  .screenshot-device-main {
    right: 0.2rem;
    width: min(390px, 68vw);
  }

  .screenshot-device-back {
    left: 0.2rem;
    top: 7.8rem;
    width: min(300px, 52vw);
  }
}

@media (max-width: 560px) {
  .screenshot-stack {
    min-height: 530px;
  }

  .screenshot-device {
    border-width: 6px;
    border-radius: 34px;
  }

  .screenshot-device-main {
    right: -0.1rem;
    width: min(300px, 70vw);
  }

  .screenshot-device-back {
    left: -0.15rem;
    top: 6.8rem;
    width: min(230px, 54vw);
  }
}

/* Header language toggle */
.site-header.nav-minimal .language-toggle {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  line-height: 1;
}

.site-header.nav-minimal .language-toggle:focus-visible {
  outline: 3px solid rgba(58, 36, 24, 0.22);
  outline-offset: 3px;
}

/* Header flag language switcher */
.site-header.nav-minimal .language-flags {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.28rem;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(58, 36, 24, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.nav-minimal .language-flag {
  width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  opacity: 0.46;
  transform: scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-header.nav-minimal .language-flag img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.site-header.nav-minimal .language-flag.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 6px 16px rgba(58, 36, 24, 0.14);
}

.site-header.nav-minimal .language-flag:hover {
  opacity: 1;
  transform: scale(1.03);
}

.site-header.nav-minimal .language-flag:focus-visible {
  outline: 3px solid rgba(58, 36, 24, 0.22);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .site-header.nav-minimal .language-flags {
    gap: 0.4rem;
    padding: 0.24rem;
  }

  .site-header.nav-minimal .language-flag {
    width: 31px;
    height: 22px;
  }
}

/* Header emoji language menu */
.site-header.nav-minimal .language-flags,
.site-header.nav-minimal .language-flag {
  display: none;
}

.site-header.nav-minimal .language-menu {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-header.nav-minimal .language-menu-button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 48px;
  height: 40px;
  padding: 0 0.62rem;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brown-dark);
  font-family: inherit;
  box-shadow: 0 10px 26px rgba(58, 36, 24, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.nav-minimal .language-menu-button:hover,
.site-header.nav-minimal .language-menu.is-open .language-menu-button {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(58, 36, 24, 0.12);
}

.site-header.nav-minimal .language-menu-button:focus-visible,
.site-header.nav-minimal .language-menu-item:focus-visible {
  outline: 3px solid rgba(58, 36, 24, 0.22);
  outline-offset: 3px;
}

.site-header.nav-minimal .language-menu-current-flag,
.site-header.nav-minimal .language-menu-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.site-header.nav-minimal .language-menu-caret {
  margin-top: -0.16rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(58, 36, 24, 0.62);
}

.site-header.nav-minimal .language-menu-list {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 148px;
  padding: 0.42rem;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(58, 36, 24, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header.nav-minimal .language-menu.is-open .language-menu-list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.site-header.nav-minimal .language-menu-item {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  padding: 0.64rem 0.72rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brown-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.site-header.nav-minimal .language-menu-item:hover,
.site-header.nav-minimal .language-menu-item.is-active {
  background: rgba(111, 68, 41, 0.08);
}

@media (max-width: 560px) {
  .site-header.nav-minimal .language-menu-button {
    min-width: 44px;
    height: 38px;
    padding: 0 0.56rem;
  }

  .site-header.nav-minimal .language-menu-current-flag,
  .site-header.nav-minimal .language-menu-flag {
    font-size: 1.18rem;
  }
}

/* Header text language list */
.site-header.nav-minimal .language-menu {
  display: none;
}

.site-header.nav-minimal .language-list {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(58, 36, 24, 0.24);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-header.nav-minimal .language-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.08rem;
  color: rgba(58, 36, 24, 0.38);
  line-height: 1;
  opacity: 1;
}

.site-header.nav-minimal .language-list-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header.nav-minimal .language-list-item {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(58, 36, 24, 0.38);
  font-family: "Inter", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: inherit;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-header.nav-minimal .language-list-item:hover,
.site-header.nav-minimal .language-list-item.is-active {
  color: #3a2418;
  font-weight: 650;
  opacity: 1;
}

.site-header.nav-minimal .language-list-item:hover {
  background: transparent;
}

.site-header.nav-minimal .language-list-item:focus-visible {
  outline: 2px solid rgba(58, 36, 24, 0.18);
  outline-offset: 4px;
}

.site-header.nav-minimal .language-list-separator {
  color: rgba(58, 36, 24, 0.2);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 560px) {
  .site-header.nav-minimal .language-list {
    gap: 0.34rem;
    font-size: 0.86rem;
  }

  .site-header.nav-minimal .language-list-icon {
    width: 1rem;
    height: 1rem;
  }

  .site-header.nav-minimal .language-list-separator {
    font-size: 0.72rem;
  }
}


[data-legal-content][hidden] {
  display: none !important;
}
