/* Base */
:root {
  --point: #f37737;
  --ink: #141414;
  --muted: #6d6a66;
  --line: #e7e1da;
  --paper: #fbf8f4;
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Helvetica Neue", Arial,
    sans-serif;
  --font-hero: "Hahmlet", "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", serif;
  --font-heading: var(--font-hero);
  --font-logo: "Literata", "Iowan Old Style", Georgia, serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

h1,
h2,
.section-heading h2,
.hero-title,
.editorial-heading,
.final-cta h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  word-break: keep-all;
}

.logo-link {
  font-family: var(--font-logo);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3,
.price-card strong,
.metric-card strong,
.metric-card p,
.faq-question {
  font-family: var(--font-body);
}

.hero-title {
  font-family: var(--font-hero);
  font-weight: 600;
  line-height: 1.28 !important;
}

.hero-illustration {
  max-width: 920px;
  margin: 28px auto 0;
}

.hero-illustration svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-illustration path,
.hero-illustration circle,
.hero-illustration rect,
.hero-illustration line,
.hero-illustration polygon {
  fill: none;
  stroke: #1f2a33;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.hero-illustration .hero-accent-fill {
  fill: var(--point);
  stroke: none;
}

.hero-illustration .hero-shadow-fill {
  fill: rgba(32, 32, 30, 0.08);
  stroke: none;
}

.hero-paper-fill {
  fill: #fffaf2;
}

.hero-paper-grid {
  opacity: 0.45;
  stroke: rgba(31, 42, 51, 0.11);
  stroke-width: 2;
}

.hero-quote-text {
  fill: #1f2a33;
  font-family: var(--font-logo);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-flow-base {
  opacity: 1;
}

.hero-flow-progress {
  stroke: var(--point);
  stroke-dasharray: 110 520;
  stroke-dashoffset: 120;
  animation: heroFlowProgress 3.6s ease-in-out infinite;
}

.hero-flow-arrow {
  fill: none;
}

.hero-illustration .hero-flow-dot {
  fill: var(--point);
  stroke: none;
  offset-path: path("M304 116c54 0 66-45 112-37 61 10 34 88-11 72-39-14-14-77 55-38 54 31 47 92 111 72 47-15 69-59 116-66");
  animation: heroFlowDot 3.6s ease-in-out infinite;
}

@keyframes heroFlowProgress {
  0% {
    stroke-dashoffset: 120;
    opacity: 0;
  }

  12%,
  86% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -520;
    opacity: 0;
  }
}

@keyframes heroFlowDot {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  10%,
  88% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

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

  .hero-flow-progress,
  .hero-flow-dot {
    animation: none;
  }

  .hero-flow-progress {
    opacity: 0;
  }

  .hero-flow-dot {
    offset-distance: 100%;
    opacity: 1;
  }
}

::selection {
  background: rgba(243, 119, 55, 0.22);
}

/* Shared Components */
.site-header {
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: rgba(231, 225, 218, 0.9);
  background: rgba(251, 248, 244, 0.9);
  box-shadow: 0 14px 42px rgba(49, 39, 30, 0.06);
  backdrop-filter: blur(18px);
}

.section-padding {
  padding-top: 112px;
  padding-bottom: 112px;
}

.eyebrow {
  color: var(--point);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-icon {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.nav-link,
.mobile-nav-link,
.footer-link {
  color: rgba(20, 20, 20, 0.72);
  text-align: center;
  transition: color 180ms ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.footer-link:hover,
.logo-link:hover {
  color: var(--point);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  border-radius: 0;
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: 600;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 0;
  background: var(--point);
  color: #fff;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(243, 119, 55, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.cta-button:hover {
  background: #df6122;
  box-shadow: 0 18px 36px rgba(243, 119, 55, 0.34);
  transform: translateY(-2px);
}

.cta-button:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.example-card:focus-visible,
.faq-question:focus-visible,
.footer-link:focus-visible,
.logo-link:focus-visible {
  outline: 3px solid rgba(243, 119, 55, 0.38);
  outline-offset: 4px;
}

.cta-button-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}

.mobile-menu-button {
  display: inline-flex;
  height: 42px;
  width: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  width: 17px;
  border-radius: 0;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Cards */
.soft-card,
.feature-card,
.price-card,
.example-card,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 60px rgba(49, 39, 30, 0.06);
}

.soft-card {
  min-height: 220px;
  padding: 28px;
}

.card-number {
  color: var(--point);
  font-size: 0.82rem;
  font-weight: 800;
}

.problem-list {
  display: grid;
  max-width: 860px;
  margin: 48px auto 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.problem-list li {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
}

.problem-list span {
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

.soft-card h3,
.feature-card h3,
.process-card h3 {
  margin-top: 32px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.42;
}

.feature-card {
  min-height: 0;
  padding: 30px 28px 32px;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card h3 {
  margin-top: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.72);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

.feature-card p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.process-grid {
  display: grid;
  max-width: 860px;
  margin: 56px auto 0;
  gap: 22px;
}

.process-card {
  position: relative;
  width: 100%;
  max-width: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 60px rgba(49, 39, 30, 0.06);
  padding: 30px 32px 30px;
  text-align: center;
}

.process-step {
  position: absolute;
  left: 50%;
  top: 0;
  color: var(--point);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.process-card h3 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.42;
}

.process-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.price-card ul {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.75;
}

.founder-heading h2 {
  color: #fff;
}

.founder-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.founder-content {
  display: grid;
  max-width: 860px;
  margin: 72px auto 0;
  justify-items: center;
}

.founder-card {
  display: grid;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.founder-portrait {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.founder-card-body {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.founder-name {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
}

.founder-role {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.founder-bullets {
  margin-top: 22px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.founder-bullets li {
  position: relative;
  padding-left: 16px;
}

.founder-bullets li + li {
  margin-top: 8px;
}

.founder-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 5px;
  height: 5px;
  background: var(--point);
}

.founder-socials {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.social-link {
  display: inline-grid;
  height: 34px;
  width: 34px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.social-link:hover {
  color: var(--point);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(243, 119, 55, 0.38);
  outline-offset: 4px;
}

.social-link svg {
  height: 28px;
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.price-card {
  max-width: 640px;
  margin: 56px auto 0;
  padding: 34px;
  text-align: left;
}

.price-discount {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.price-discount span {
  color: var(--point);
}

.price-discount .price-deadline {
  color: var(--point);
  font-weight: 600;
}

.price-deadline u {
  text-underline-offset: 3px;
}

.price-current {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.price-card li {
  position: relative;
  color: var(--ink);
  text-align: left;
  padding-left: 30px;
}

.price-card li + li {
  margin-top: 8px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.12em;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  background: rgba(243, 119, 55, 0.13);
  color: var(--point);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.example-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.example-card:hover {
  border-color: rgba(243, 119, 55, 0.42);
  box-shadow: 0 24px 70px rgba(49, 39, 30, 0.12);
  transform: translateY(-3px);
}

.example-card > img {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(243, 119, 55, 0.14), rgba(20, 20, 20, 0.04)),
    var(--paper);
}

.example-card > img:not([src]),
.example-card > img[src=""],
.example-card > img.is-empty {
  position: relative;
  opacity: 1;
}

.example-card div {
  padding: 26px;
}

.example-card h3 {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 600;
}

.example-logo {
  display: inline-block;
  width: auto;
  max-width: 110px;
  height: 24px;
  object-fit: contain;
  background: transparent;
  flex: 0 0 auto;
}

.example-logo-write {
  max-width: 118px;
  height: 24px;
}

.example-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.example-card h3 span {
  display: inline;
  margin-top: 0;
  color: var(--ink);
  font-weight: 600;
}

.example-card div > span {
  display: inline-flex;
  margin-top: 24px;
  color: var(--point);
  font-weight: 800;
}

.metric-card {
  padding: 38px;
}

.metric-card strong {
  color: var(--point);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card p {
  margin-top: 24px;
  max-width: 420px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
}

.review-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  padding: 30px;
}

.review-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.85;
}

.review-card strong {
  display: block;
  margin-top: 28px;
  color: #fff;
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 40px;
}

.faq-title {
  font-family: var(--font-body);
  font-size: clamp(4rem, 10vw, 6.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 500;
}

.faq-icon {
  position: relative;
  display: inline-flex;
  height: 26px;
  width: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  width: 10px;
  border-radius: 0;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 52px 28px 0;
  color: var(--muted);
  line-height: 1.85;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 0.42fr 1fr;
    align-items: start;
  }

  .founder-card {
    grid-template-columns: 0.6fr 1.4fr;
  }
}

.final-cta {
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(243, 119, 55, 0.22), transparent 32%),
    linear-gradient(135deg, #fff, #f5eee7);
  padding: clamp(42px, 8vw, 88px);
  text-align: center;
}

.final-cta h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 4.1vw, 3.7rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.final-cta p {
  max-width: 620px;
  margin: 20px auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 1023px) {
  .section-padding {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-icon {
    width: 80px;
    height: 80px;
  }

  .hero-illustration {
    margin-top: 48px;
  }

  .process-grid,
  .founder-content,
  .price-card {
    margin-top: 48px;
  }

  .footer-meta {
    align-items: center;
    text-align: center;
  }

  .faq-title {
    text-align: center;
  }

  .founder-card {
    display: flex;
    max-width: 560px;
    flex-direction: column;
  }

  .founder-portrait {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .founder-card-body {
    min-height: auto;
  }

}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  .section-padding {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-heading h2 {
    font-size: clamp(1.58rem, 7.2vw, 2.12rem);
    line-height: 1.22;
    word-break: keep-all;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.95rem;
    line-height: 1.75;
    word-break: keep-all;
  }

  .section-icon {
    width: 72px;
    height: 72px;
  }

  .hero-illustration {
    margin-top: 24px;
    width: 112%;
    transform: translateX(-5.5%);
  }

  .hero-illustration path,
  .hero-illustration circle {
    stroke-width: 7;
  }

  .soft-card,
  .feature-card,
  .process-card,
  .price-card,
  .metric-card {
    padding: 24px;
  }

  .metric-card p {
    font-size: 1rem;
    line-height: 1.65;
    word-break: keep-all;
  }

  .problem-list li {
    align-items: baseline;
    gap: 10px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .process-grid {
    gap: 18px;
  }

  .founder-content,
  .price-card,
  .process-grid,
  .problem-list {
    margin-top: 40px;
  }

  .example-card h3 {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .founder-card-body {
    padding: 28px;
  }

  .founder-name {
    font-size: 1.28rem;
  }

  .founder-bullets {
    font-size: 0.96rem;
    line-height: 1.7;
    word-break: keep-all;
  }

  .final-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  .section-heading h2 {
    font-size: clamp(1.5rem, 6.8vw, 1.95rem);
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .problem-list li {
    font-size: 0.9rem;
  }

  .metric-card {
    padding: 22px;
  }

  .metric-card p {
    font-size: 0.92rem;
  }
}
