@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

:root {
  --ink: #111827;
  --ink-2: #2c3445;
  --muted: #667085;
  --line: #e3e8f0;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #145fe8;
  --blue-soft: #eef5ff;
  --lime: #c9f238;
  --dark: #101522;
  --radius: 8px;
  --max: 1120px;
  --shadow: 0 18px 54px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.03;
  font-weight: 850;
}

h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 850;
}

h3 {
  font-size: 23px;
  line-height: 1.26;
  font-weight: 850;
}

.line {
  display: block;
}

.highlight-text {
  position: relative;
  display: inline-block;
  padding: 0 0.03em;
  color: var(--lime);
  background: linear-gradient(transparent 62%, rgba(201, 242, 56, 0.24) 62%);
}

.services-section .highlight-text {
  color: var(--blue);
  background: linear-gradient(transparent 58%, rgba(201, 242, 56, 0.82) 58%);
}

.clean-hero .highlight-text {
  color: var(--blue);
  background: linear-gradient(transparent 58%, rgba(201, 242, 56, 0.72) 58%);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link img {
  width: 250px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(227, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
}

.site-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 760;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
  outline: none;
}

.menu-toggle {
  display: none;
  min-width: 66px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.clean-hero,
.results-hero {
  padding: 148px 0 92px;
  background:
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

.clean-hero-inner,
.results-hero-inner {
  max-width: 860px;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.66;
  font-weight: 640;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 850;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.button:focus-visible {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.statement-section,
.promise-section,
.services-section,
.process-section,
.proof-preview-section,
.fit-section,
.contact-section,
.result-section {
  padding: clamp(76px, 8vw, 112px) 0;
}

.statement-section,
.process-section,
.proof-preview-section {
  color: var(--white);
  background: var(--dark);
}

.statement-section {
  padding: clamp(104px, 10vw, 154px) 0;
}

.promise-section {
  background:
    linear-gradient(135deg, rgba(20, 95, 232, 0.1) 0%, rgba(247, 249, 252, 0.96) 46%, rgba(201, 242, 56, 0.22) 100%);
  border-top: 1px solid rgba(20, 95, 232, 0.08);
  border-bottom: 1px solid rgba(20, 95, 232, 0.12);
}

.statement-grid,
.promise-grid,
.process-layout,
.proof-preview-layout,
.fit-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.statement-grid {
  align-items: center;
}

.promise-grid {
  align-items: end;
}

.promise-grid > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.promise-grid > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.64;
  font-weight: 800;
}

.promise-section .highlight-text {
  color: var(--blue);
  background: linear-gradient(transparent 58%, rgba(201, 242, 56, 0.82) 58%);
}

.statement-grid p,
.contact-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 650;
}

.statement-copy-block {
  max-width: 780px;
}

.statement-copy-block h2 {
  margin-bottom: 24px;
}

.statement-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.statement-button {
  min-width: clamp(340px, 29vw, 430px);
  min-height: 72px;
  margin-top: clamp(70px, 7vw, 104px);
  padding: 0 44px;
  border-color: rgba(201, 242, 56, 0.9);
  color: var(--dark);
  font-size: clamp(18px, 1.55vw, 22px);
  background: var(--lime);
  box-shadow: 0 24px 56px rgba(201, 242, 56, 0.2);
}

.statement-button:hover,
.statement-button:focus-visible {
  border-color: var(--white);
  color: var(--dark);
  background: var(--white);
}

.thread-profile-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.thread-profile-card img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
}

#contact-title {
  line-height: 1.2;
}

#contact-title .line + .line {
  margin-top: 8px;
}

.services-section,
.fit-section,
.result-section {
  background: var(--white);
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-item {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.service-item span,
.process-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.service-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 650;
}

.process-section .eyebrow,
.proof-preview-section .eyebrow,
.contact-section .eyebrow {
  color: var(--lime);
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.process-list li {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.process-list span {
  margin-bottom: 10px;
  color: var(--lime);
}

.process-list strong {
  display: block;
  color: var(--white);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 850;
}

.proof-preview-layout {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.18fr);
  align-items: start;
}

.proof-preview-copy {
  position: relative;
  z-index: 1;
}

.proof-preview-copy p:not(.eyebrow) {
  max-width: 360px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 700;
}

.proof-preview-copy .button {
  margin-top: 30px;
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: transparent;
}

.proof-preview-copy .button:hover,
.proof-preview-copy .button:focus-visible {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.proof-preview-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.proof-preview-button {
  min-width: min(100%, 420px);
  min-height: 68px;
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
  font-size: 22px;
  box-shadow: 0 18px 44px rgba(201, 242, 56, 0.16);
}

.proof-preview-button:hover,
.proof-preview-button:focus-visible {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.review-marquee {
  position: relative;
  height: 660px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
  border-radius: var(--radius);
}

.review-marquee::before,
.review-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 78px;
  pointer-events: none;
}

.review-marquee::before {
  top: 0;
  background: linear-gradient(180deg, var(--dark), rgba(16, 21, 34, 0));
}

.review-marquee::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--dark), rgba(16, 21, 34, 0));
}

.review-column {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.review-track {
  display: grid;
  gap: 0;
  animation: reviewScrollUp 34s linear infinite;
}

.review-column-down .review-track {
  animation-name: reviewScrollDown;
  animation-duration: 38s;
}

.review-column-late .review-track {
  animation-duration: 42s;
}

.review-stack {
  display: grid;
  gap: 14px;
  padding-bottom: 14px;
}

.review-stack img {
  width: 100%;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

@keyframes reviewScrollUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes reviewScrollDown {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

.fit-list {
  display: grid;
  gap: 10px;
}

.fit-list p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 760;
}

.fit-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.fit-button {
  width: min(100%, 420px);
  min-height: 64px;
  font-size: 20px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14);
}

.contact-section {
  color: var(--white);
  background: #101827;
}

.contact-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-logo-frame {
  width: 100%;
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.contact-logo-frame img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(1.28);
}

.contact-person {
  margin-top: 24px;
}

.contact-person strong {
  display: block;
  font-size: 27px;
  font-weight: 850;
}

.contact-person span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 760;
}

.contact-card dl {
  margin: 24px 0 0;
  display: grid;
}

.contact-card dl div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-card dt {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.contact-card dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.result-tabs {
  position: sticky;
  top: 74px;
  z-index: 20;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.tab-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.tab-row a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.split-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 650;
}

.result-grid,
.case-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-masonry {
  grid-template-columns: repeat(4, 1fr);
}

.result-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.07);
}

.result-wide {
  grid-column: span 2;
}

.result-card img {
  width: 100%;
  height: 320px;
  padding: 18px;
  object-fit: contain;
  object-position: top center;
  background: #f3f6fb;
}

.result-wide img {
  height: 360px;
}

.case-masonry .result-card img {
  height: 260px;
}

.result-card figcaption {
  padding: 18px;
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
}

.result-card strong {
  font-size: 18px;
  font-weight: 850;
}

.result-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.66);
  background: #080d16;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 480ms ease,
    transform 480ms ease;
}

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

.type-group[data-type-ready="true"] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em);
  filter: blur(3px);
}

.type-group[data-type-ready="true"].is-typing .char {
  animation: charTypeIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--char-delay, 0ms);
}

.draw-underline::after {
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: -0.055em;
  height: 0.075em;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M4 6 C21 4.7 36 7.1 54 5.5 S91 4.8 116 6.1' fill='none' stroke='%23c9f238' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M6 7 C25 6.1 42 7.6 61 6.4 S92 6.1 115 7' fill='none' stroke='%239ccf22' stroke-width='.55' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.96;
  transform: scaleX(0) rotate(-1.1deg);
  transform-origin: left center;
}

.highlight-text.draw-underline,
.clean-hero .draw-underline,
.promise-section .draw-underline {
  background: none;
}

.type-group.is-typing .draw-underline::after {
  animation: underlineDraw 720ms cubic-bezier(0.18, 0.8, 0.22, 1) forwards;
  animation-delay: var(--underline-delay, 0ms);
}

.clean-hero .draw-underline::after {
  bottom: -0.1em;
  height: 0.16em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath d='M4 11 C21 7 36 13 54 9 S91 7 116 11' fill='none' stroke='%23c9f238' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M6 13 C25 10 42 15 61 11 S92 10 115 13' fill='none' stroke='%239ccf22' stroke-width='1.1' stroke-linecap='round' opacity='.48'/%3E%3C/svg%3E");
}

.motion-rise {
  transform: translateY(34px);
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.18, 0.8, 0.22, 1);
  transition-delay: var(--rise-delay, 0ms);
}

.motion-rise.is-visible {
  transform: translateY(0);
}

.thread-profile-card.motion-rise {
  transform: translateY(42px) scale(0.985);
}

.thread-profile-card.motion-rise.is-visible {
  transform: translateY(0) scale(1);
}

@keyframes charTypeIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes underlineDraw {
  0% {
    opacity: 0;
    transform: scaleX(0) rotate(-1.1deg);
  }

  38% {
    opacity: 1;
  }

  72% {
    transform: scaleX(1.03) rotate(-1.1deg);
  }

  to {
    opacity: 0.96;
    transform: scaleX(1) rotate(-1.1deg);
  }
}

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

  .reveal,
  .motion-rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .type-group[data-type-ready="true"] .char {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .draw-underline::after {
    transform: scaleX(1);
    animation: none;
  }

  .review-track {
    animation: none;
  }
}

@media (max-width: 980px) {
  .statement-grid,
  .promise-grid,
  .process-layout,
  .proof-preview-layout,
  .fit-grid,
  .contact-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section-inner,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand-link img {
    width: 190px;
    height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px;
  }

  .statement-button {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    margin-top: 44px;
    padding: 0 22px;
  }

  .clean-hero,
  .results-hero {
    padding: 112px 0 68px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
  }

  h2 {
    font-size: clamp(31px, 8.5vw, 42px);
  }

  .button {
    width: 100%;
  }

  .statement-section,
  .promise-section,
  .services-section,
  .process-section,
  .proof-preview-section,
  .fit-section,
  .contact-section,
  .result-section {
    padding: 68px 0;
  }

  .review-marquee {
    height: 590px;
    gap: 10px;
  }

  .review-stack {
    gap: 10px;
    padding-bottom: 10px;
  }

  .service-list,
  .result-grid,
  .case-masonry {
    grid-template-columns: 1fr;
  }

  .result-wide {
    grid-column: auto;
  }

  .result-card img,
  .result-wide img,
  .case-masonry .result-card img {
    height: auto;
    max-height: 420px;
    padding: 12px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-logo-frame {
    min-height: 210px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .section-inner,
  .nav-shell {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .contact-card dd {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .review-marquee {
    height: 500px;
    gap: 8px;
  }

  .review-stack {
    gap: 8px;
    padding-bottom: 8px;
  }
}
