:root {
  --bg: #fff7f1;
  --bg-soft: #fff2e8;
  --paper: rgba(255, 250, 245, 0.72);
  --surface: #fffaf7;
  --ink: #171310;
  --muted: #675d56;
  --line: rgba(23, 19, 16, 0.1);
  --orange: #ff7a33;
  --orange-deep: #ea5a1f;
  --orange-soft: #ffd7c1;
  --green: #58a964;
  --green-soft: #dff0de;
  --shadow: 0 30px 80px rgba(134, 56, 16, 0.14);
  --radius-xl: 40px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 122, 51, 0.24), transparent 30%),
    radial-gradient(circle at 15% 25%, rgba(88, 169, 100, 0.1), transparent 18%),
    linear-gradient(180deg, #fff9f5 0%, #fff4ee 36%, #fff7f1 100%);
}

html[lang='en'] body {
  font-family: 'Inter', 'Noto Sans KR', system-ui, sans-serif;
}

html[lang^='zh'] body {
  font-family: 'Noto Sans SC', 'Noto Sans KR', system-ui, sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 19, 16, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 16, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 85%);
}

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

body, button, input, textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  word-break: keep-all;
  text-wrap: balance;
}

html[lang='en'] .hero-title {
  max-width: 8.2ch;
  font-size: clamp(2.42rem, 5.9vw, 5.7rem);
  letter-spacing: -0.042em;
}

html[lang='en'] .section-heading h2,
html[lang='en'] .community-panel h2,
html[lang='en'] .join-panel h2 {
  max-width: 15ch;
  line-height: 1.08;
}

html[lang='en'] .audience-item h3,
html[lang='en'] .possibility-copy h3,
html[lang='en'] .community-line strong {
  line-height: 1.14;
}

html[lang^='zh'] h1,
html[lang^='zh'] h2,
html[lang^='zh'] h3 {
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

html[lang^='zh'] .eyebrow,
html[lang^='zh'] .section-kicker {
  letter-spacing: 0.02em;
}

html[lang^='zh'] .hero-title {
  max-width: 6.8ch;
  font-size: clamp(2.56rem, 6.6vw, 6.2rem);
  letter-spacing: -0.034em;
}

html[lang^='zh'] .section-heading h2,
html[lang^='zh'] .community-panel h2,
html[lang^='zh'] .join-panel h2 {
  max-width: 11ch;
  line-height: 1.18;
}

html[lang^='zh'] .audience-item h3,
html[lang^='zh'] .possibility-copy h3,
html[lang^='zh'] .community-line strong {
  line-height: 1.24;
}

html[lang^='zh'] .possibility-name {
  letter-spacing: 0;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  transition: padding 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding: 14px 18px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 249, 245, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(32, 24, 20, 0.08);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(255, 122, 51, 0.18);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.site-nav {
  display: inline-flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: rgba(23, 19, 16, 0.76);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange-deep);
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(23, 19, 16, 0.08);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(32, 24, 20, 0.06);
}

.locale-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(23, 19, 16, 0.64);
  min-width: 54px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.locale-button:hover,
.locale-button:focus-visible {
  color: var(--orange-deep);
}

.locale-button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  box-shadow: 0 8px 18px rgba(255, 122, 51, 0.22);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0 84px;
  min-height: calc(100svh - 96px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange-deep);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.community-panel h2,
.join-panel h2,
.audience-item h3,
.possibility-copy h3 {
  margin: 0;
}

.hero-title {
  display: grid;
  gap: 0.11em;
  width: fit-content;
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.section-heading h2,
.community-panel h2,
.join-panel h2 {
  letter-spacing: -0.03em;
  line-height: 1.14;
  max-width: 13ch;
}

.hero-body {
  margin: 28px 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  box-shadow: 0 18px 34px rgba(255, 122, 51, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 44px rgba(255, 122, 51, 0.38);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(23, 19, 16, 0.1);
  backdrop-filter: blur(10px);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 19, 16, 0.07);
  color: rgba(23, 19, 16, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-stage::before,
.hero-stage::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.hero-stage::before {
  width: 430px;
  height: 430px;
  top: 28px;
  right: 42px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 183, 147, 0.86), rgba(255, 122, 51, 0.58) 58%, rgba(255, 122, 51, 0) 74%);
  filter: blur(12px);
}

.hero-stage::after {
  width: 260px;
  height: 260px;
  left: 10px;
  bottom: 30px;
  background: radial-gradient(circle at center, rgba(88, 169, 100, 0.24), rgba(88, 169, 100, 0) 70%);
}

.hero-stage-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 125, 53, 0.18), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 19, 16, 0.62);
  font-size: 0.9rem;
  font-weight: 700;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(88, 169, 100, 0.14);
}

.prompt-bubble {
  max-width: 80%;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 26px;
  line-height: 1.65;
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(32, 24, 20, 0.08);
}

.prompt-bubble-user {
  color: white;
  margin-left: auto;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
}

.prompt-bubble-assistant {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 19, 16, 0.07);
}

.output-ribbons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.output-ribbons span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.03em;
  border: 1px solid rgba(23, 19, 16, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(32, 24, 20, 0.08);
  animation: floatY 7s ease-in-out infinite;
}

.output-ribbons span:nth-child(2n) {
  animation-delay: -1.2s;
}

.output-ribbons span:nth-child(3n) {
  animation-delay: -2.6s;
}

.output-ribbons span:last-child {
  background: rgba(223, 240, 222, 0.9);
}

.hero-poster {
  position: absolute;
  left: -12px;
  bottom: 14px;
  z-index: 1;
  width: 270px;
  padding: 24px 24px 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 225, 204, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(255, 122, 51, 0.12);
  transform: rotate(-8deg);
}

.hero-poster p {
  margin: 0;
  color: rgba(23, 19, 16, 0.65);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-poster strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.statement,
.audience,
.possibility,
.community,
.join {
  padding: 84px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

.section-heading h2,
.community-panel h2,
.join-panel h2 {
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
}

.statement-lead {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.statement-body p,
.community-panel p,
.join-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.contrast-lines {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contrast-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contrast-line span {
  color: rgba(23, 19, 16, 0.6);
}

.contrast-line strong {
  letter-spacing: -0.03em;
}

.audience-list,
.possibility-rows,
.community-lines {
  border-top: 1px solid var(--line);
}

.audience-item,
.possibility-row,
.community-line {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.audience-item {
  grid-template-columns: 88px minmax(0, 1fr);
}

.audience-index,
.possibility-name {
  color: rgba(23, 19, 16, 0.38);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audience-item h3,
.possibility-copy h3,
.community-line strong {
  margin: 0;
  letter-spacing: -0.024em;
  line-height: 1.18;
}

.audience-item h3 {
  max-width: 15ch;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.audience-item p,
.possibility-copy p,
.community-line span {
  margin: 10px 0 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.8;
}

.audience-item:hover,
.possibility-row:hover,
.community-line:hover {
  background: linear-gradient(90deg, rgba(255, 122, 51, 0.07), rgba(255, 122, 51, 0));
}

.possibility-row {
  grid-template-columns: 140px minmax(0, 1fr);
}

.possibility-name {
  font-size: 1rem;
  color: var(--orange-deep);
}

.possibility-copy h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: start;
}

.community-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 226, 205, 0.7), rgba(255, 255, 255, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 44px rgba(255, 122, 51, 0.08);
}

.community-panel h2,
.join-panel h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}

.community-line {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
}

.community-line strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.join {
  padding-top: 24px;
  padding-bottom: 110px;
}

.join-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 52px);
  border-radius: 42px;
  color: white;
  background: linear-gradient(135deg, #ff7a33 0%, #ef6320 56%, #d44e16 100%);
  box-shadow: 0 30px 60px rgba(255, 122, 51, 0.26);
}

.join-panel::before,
.join-panel::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.join-panel::before {
  width: 320px;
  height: 320px;
  top: -90px;
  right: -40px;
  background: radial-gradient(circle, rgba(255, 210, 189, 0.36), rgba(255, 210, 189, 0) 72%);
}

.join-panel::after {
  width: 240px;
  height: 240px;
  left: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(88, 169, 100, 0.24), rgba(88, 169, 100, 0) 72%);
}

.join-panel .section-kicker,
.join-panel p,
.join-panel small,
.join-panel h2 {
  position: relative;
  z-index: 1;
}

.join-panel .section-kicker {
  color: rgba(255, 246, 240, 0.85);
}

.join-panel p {
  max-width: 42rem;
  color: rgba(255, 246, 240, 0.9);
}

.join-panel .button-primary {
  background: white;
  color: var(--ink);
}

.join-panel .button-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.join-panel small {
  display: inline-block;
  margin-top: 22px;
  color: rgba(255, 246, 240, 0.84);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html[lang='ko'] .hero .eyebrow {
  letter-spacing: 0.12em;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .statement-grid,
  .community {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
    gap: 34px;
  }

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

  .community-panel {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(var(--max-width), calc(100% - 20px));
    padding: 16px 0;
  }

  .site-header.is-scrolled {
    padding: 12px 14px;
    border-radius: 26px;
  }

  .header-controls {
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .locale-switcher {
    padding: 3px;
  }

  .locale-button {
    min-width: 48px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .section {
    width: min(var(--max-width), calc(100% - 20px));
  }

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

  .hero-title {
    gap: 0.14em;
    letter-spacing: -0.022em;
  }

  .section-heading h2,
  .community-panel h2,
  .join-panel h2 {
    max-width: none;
    line-height: 1.18;
  }

  .audience-item h3,
  .possibility-copy h3,
  .community-line strong {
    max-width: none;
    line-height: 1.22;
  }

  .hero-body {
    font-size: 1rem;
  }

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

  .hero-stage-panel {
    padding: 20px;
    border-radius: 28px;
  }

  .hero-poster {
    width: 180px;
    left: 0;
    bottom: -12px;
    padding: 18px 18px 22px;
  }

  .prompt-bubble {
    max-width: 92%;
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .output-ribbons span {
    min-height: 46px;
    font-size: 0.92rem;
  }

  .statement,
  .audience,
  .possibility,
  .community,
  .join {
    padding: 64px 0;
  }

  .contrast-line,
  .community-line,
  .audience-item,
  .possibility-row {
    grid-template-columns: 1fr;
  }

  .audience-item,
  .possibility-row,
  .community-line {
    gap: 10px;
    padding: 20px 0;
  }

  .community-panel {
    padding: 26px;
    border-radius: 28px;
  }

  .join {
    padding-top: 12px;
    padding-bottom: 80px;
  }

  .join-panel {
    border-radius: 30px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
