:root {
  --bg: #ebebeb;
  --bg-secondary: #10151d;
  --panel: rgba(19, 23, 31, 0.86);
  --panel-strong: #171c25;
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(22, 22, 22, 0.14);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #565656;
  --muted: #7f7f7f;
  --accent: #111111;
  --accent-soft: #111111;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --page-width: 1220px;
  --font-display: "Space Grotesk", "Apple SD Gothic Neo", "Noto Sans KR",
    sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-display);
  background: var(--bg);
}

body.home-page {
  background: var(--bg);
}

body.policy-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #ececec 0%, #e6e6e6 100%);
}

body.home-page::before {
  content: none;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.home-canvas {
  position: relative;
  min-height: 100vh;
}

.home-header {
  display: flex;
  justify-content: flex-end;
  padding: 22px 36px 0;
}

.home-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  color: #a7a7a7;
}

.home-nav a {
  transition: color 180ms ease;
}

.home-nav a:hover,
.home-nav .is-active {
  color: #111111;
}

.policy-page .home-nav a {
  color: #9a9a9a;
}

.policy-page .home-nav a:hover,
.policy-page .home-nav .is-active {
  color: #111111;
}

.home-hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 72px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: min(18vh, 180px) 24px 230px;
  text-align: center;
}

.home-kicker,
.eyebrow {
  margin-bottom: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b8b8b;
}

.home-title,
.policy-header h1,
.policy-section h2 {
  letter-spacing: -0.05em;
}

.home-title {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.2vw, 5.8rem);
  line-height: 1.02;
  font-weight: 300;
  color: #585858;
}

.home-title span {
  font-family: "Gamja Flower", cursive;
  font-size: 0.92em;
  color: #444444;
}

.home-subtitle,
.policy-meta,
.policy-article p {
  max-width: 30ch;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.home-duck {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}

.home-duck-peek {
  position: absolute;
  left: 50%;
  bottom: -42%;
  width: min(42vw, 520px);
  transform: translateX(-50%);
}

.duck-reveal {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.duck-reveal-frame {
  position: relative;
  width: min(52vw, 680px);
  margin: -300px auto 48px;
}

.feature-showcase {
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto;
  padding: 16px 0 80px;
}

.feature-section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.feature-kicker {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.feature-section-heading h2,
.home-contact h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: #4f4f4f;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding: 60px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
}

.feature-story-reverse {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 0.95fr);
}

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

.feature-story-reverse .feature-story-media {
  order: 1;
}

.feature-label {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e8e8e;
}

.feature-story h3 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #393939;
}

.feature-story-copy p:last-child,
.home-contact p:last-child {
  max-width: 42ch;
  margin-bottom: 0;
  color: #666666;
  line-height: 1.85;
  font-size: 1.02rem;
}

.home-contact p:last-child {
  max-width: none;
  white-space: nowrap;
}

.feature-story-media {
  display: flex;
  justify-content: center;
}

.feature-story-media img {
  width: min(100%, 330px);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.home-contact {
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto 80px;
  padding: 34px 30px;
}

.home-contact p:last-child span {
  color: #2f2f2f;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.policy-shell {
  max-width: 980px;
  padding: 20px 0 64px;
}

.policy-canvas {
  min-height: 100vh;
}

.policy-header,
.policy-section {
  padding: 34px;
}

.policy-header {
  margin-top: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
}

.policy-header h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: 0.98;
  font-weight: 300;
  color: #4f4f4f;
}

.policy-meta {
  max-width: none;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.policy-intro {
  max-width: 60ch;
  margin-bottom: 0;
  color: #6f6f6f;
  line-height: 1.9;
  font-size: 1.02rem;
}

.policy-layout {
  display: grid;
  gap: 16px;
}

.policy-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
}

.policy-nav a {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e8e8e;
  padding: 9px 14px;
  border-radius: 999px;
}

.policy-nav a:hover {
  color: #222222;
  background: rgba(17, 17, 17, 0.05);
}

.policy-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 300;
  color: #505050;
}

.policy-article + .policy-article {
  margin-top: 22px;
}

.policy-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
}

.policy-article h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.35;
  color: #303030;
}

.policy-article p {
  max-width: 66ch;
  color: #666666;
  font-size: 1rem;
  line-height: 1.9;
}

.policy-article a {
  color: #2f2f2f;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.policy-article p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .home-duck-peek {
    width: min(54vw, 500px);
    bottom: -34%;
  }

  .duck-reveal-frame {
    width: min(66vw, 620px);
    margin-top: -140px;
  }

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

  .feature-story-reverse .feature-story-copy,
  .feature-story-reverse .feature-story-media {
    order: initial;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .home-shell,
  .policy-shell {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .policy-header,
  .policy-section {
    padding: 24px;
  }

  .policy-nav {
    justify-content: flex-start;
  }

  .home-header {
    padding: 18px 20px 0;
  }

  .home-nav {
    gap: 18px;
    font-size: 0.8rem;
  }

  .home-hero {
    min-height: calc(100vh - 60px);
    padding-top: min(20vh, 150px);
    padding-bottom: 180px;
  }

  .home-duck-peek {
    width: min(72vw, 460px);
    bottom: -28%;
  }

  .duck-reveal-frame {
    width: min(78vw, 520px);
    margin-top: -100px;
    margin-bottom: 30px;
  }

  .feature-showcase,
  .home-contact {
    width: min(calc(100% - 24px), 1100px);
  }

  .feature-story {
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .policy-header h1 {
    font-size: 2.75rem;
  }

  .policy-header,
  .policy-section {
    padding: 22px;
    border-radius: 26px;
  }

  .policy-nav {
    border-radius: 22px;
  }

  .home-nav {
    gap: 14px;
  }

  .home-title {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }

  .home-subtitle,
  .policy-meta,
  .policy-article p {
    font-size: 0.97rem;
  }

  .home-duck-peek {
    width: min(92vw, 380px);
    bottom: -18%;
  }

  .duck-reveal {
    padding: 0 12px;
  }

  .duck-reveal-frame {
    width: min(92vw, 430px);
    margin-top: -70px;
  }

  .feature-showcase {
    width: min(calc(100% - 24px), 1100px);
    padding-bottom: 48px;
  }

  .feature-story,
  .home-contact {
    padding: 22px;
    border-radius: 26px;
  }

  .policy-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-nav a {
    text-align: center;
  }
}
