:root {
  --paper: #f7f1e5;
  --paper-strong: #fffaf0;
  --ink: #18223a;
  --ink-soft: #495165;
  --orange: #d74f24;
  --orange-dark: #aa3516;
  --mint: #78c99b;
  --line: rgba(24, 34, 58, 0.22);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.section,
footer {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
}

.header-navs,
.primary-nav,
.language-nav {
  display: flex;
  align-items: center;
}

.header-navs {
  gap: clamp(1rem, 2.5vw, 2rem);
}

.primary-nav {
  gap: clamp(1rem, 3vw, 2.5rem);
}

.primary-nav a,
.language-nav {
  font-size: 0.82rem;
}

.primary-nav a {
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.language-nav {
  gap: 0.45rem;
  white-space: nowrap;
}

.language-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.language-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.language-current {
  font-weight: 800;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.55rem 0.9rem;
  transition: background-color 160ms ease, color 160ms ease;
}

a.nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding-block: 5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 0.6rem;
  height: 0.6rem;
  background: var(--mint);
}

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

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.7rem, 7.2vw, 6.7rem);
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

html[lang="ko"] h1 {
  font-size: clamp(2.1rem, 11vw, 4.8rem);
  word-break: keep-all;
}

html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] p,
html[lang="ko"] li {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.brand-statement {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  border-top: 2px solid var(--orange);
  padding-top: 0.65rem;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.prompt-card {
  position: relative;
  background: var(--paper-strong);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--mint);
}

.prompt-card::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  top: -2.25rem;
  right: -2.25rem;
  border-radius: 50%;
  background: var(--orange);
  z-index: -1;
}

.prompt-card-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  min-height: 225px;
  display: flex;
  align-items: center;
  padding: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.story-path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding: 1rem;
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-path i {
  height: 1px;
  background: var(--line);
}

.prompt-card > p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker p {
  margin: 0;
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: clamp(0.78rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  word-spacing: clamp(0.5rem, 3vw, 2.5rem);
}

.ticker span {
  color: var(--mint);
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.steps li {
  min-height: 280px;
  padding: 1.4rem clamp(1.25rem, 3vw, 2.2rem) 1rem;
  border-right: 1px solid var(--line);
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.step-number {
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.steps h3 {
  margin: 4rem 0 0.75rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.steps p {
  max-width: 32ch;
  color: var(--ink-soft);
}

.possibilities {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(4rem, 10vw, 9rem);
  background: var(--ink);
  color: var(--paper);
  padding-inline: max(1.25rem, calc((100% - var(--max-width)) / 2));
}

.eyebrow.light {
  color: #ffc0a8;
}

.possibilities h2 {
  max-width: 780px;
}

.possibilities-copy > p:last-child {
  max-width: 620px;
  color: #c8cbd3;
  font-size: 1.1rem;
}

.feature-list {
  align-self: center;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(247, 241, 229, 0.3);
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(247, 241, 229, 0.3);
  padding: 1rem 0;
  font-weight: 700;
}

.feature-list span {
  color: var(--mint);
}

.final-cta {
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-cta > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  border-bottom: 2px solid var(--orange);
  padding: 0.5rem 0;
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--ink);
  padding-block: 2rem;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

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

  .hero {
    min-height: auto;
    padding-block: 4.5rem 6rem;
  }

  .prompt-card {
    width: min(92%, 520px);
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .steps li,
  .steps li:first-child,
  .steps li:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
  }

  .steps h3 {
    margin-top: 2rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 68px;
  }

  .site-header {
    gap: 1rem;
  }

  .header-navs {
    gap: 0.75rem;
  }

  .primary-nav {
    gap: 0;
  }

  .primary-nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .language-nav {
    font-size: 0.75rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }

  html[lang="ko"] h1 {
    font-size: clamp(2.1rem, 11vw, 4.8rem);
  }

  blockquote {
    min-height: 190px;
    padding: 1.5rem;
  }

  .prompt-card::before {
    right: -1rem;
  }
}

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

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

@media (forced-colors: active) {
  .brand-mark,
  .eyebrow > span {
    border: 1px solid CanvasText;
  }
}
