:root {
  --bg: #ffffff;
  --paper: #f7f8fb;
  --paper-strong: #f0f2f6;
  --ink: #20242b;
  --muted: #5e6877;
  --soft: #8a94a3;
  --line: #e4e8ef;
  --accent: #f2b616;
  --accent-dark: #c98d00;
  --footer: #111b27;
  --footer-muted: #aeb7c4;
  --shadow: 0 16px 46px rgba(27, 36, 50, 0.10);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(228, 232, 239, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 31, 43, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 188px;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 29px;
  color: #2a3038;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #231900;
  box-shadow: 0 12px 24px rgba(242, 182, 22, 0.28);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: #231900;
  background: #ffc928;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.section,
.section-band {
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 72px;
  padding-top: 70px;
  padding-bottom: 72px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 57%, rgba(249, 188, 34, 0.08) 100%),
    radial-gradient(circle at 82% 34%, rgba(242, 182, 22, 0.18), transparent 34%);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #1f242b;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 850;
  line-height: 1.12;
}

.hero-copy,
.section-copy,
.project-copy,
.project-media,
.studio-notes,
.capability-list article,
.roadmap article {
  min-width: 0;
}

.hero-copy h1 span {
  color: var(--accent-dark);
}

.hero-copy p {
  max-width: 620px;
  margin: 32px 0 0;
  color: #46505e;
  font-size: 19px;
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

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

.button-primary {
  background: var(--accent);
  color: #251a00;
  box-shadow: 0 18px 30px rgba(242, 182, 22, 0.30);
}

.button-secondary {
  background: #fff;
  color: #232a33;
  border-color: var(--accent);
}

.hero-brand {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 430px;
  padding: 46px;
  border: 1px solid rgba(242, 182, 22, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow);
}

.hero-brand img {
  width: min(250px, 46vw);
}

.hero-brand strong {
  margin-top: 22px;
  color: #20242b;
  font-size: clamp(56px, 6vw, 86px);
  font-weight: 900;
  line-height: 1;
}

.hero-brand span {
  color: #333b46;
  font-size: 20px;
  font-weight: 700;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 540px;
}

.section-copy.wide {
  max-width: 810px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

h2 {
  margin: 0;
  color: #20242b;
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 850;
  line-height: 1.28;
  overflow-wrap: break-word;
}

h3 {
  margin: 0;
  color: #20242b;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.35;
}

.section-copy p:not(.section-label),
.project-copy p {
  margin: 22px 0 0;
  color: var(--muted);
}

.company-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  align-items: start;
}

.studio-notes {
  display: grid;
  gap: 18px;
}

.studio-notes article {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.studio-notes strong {
  display: block;
  color: var(--accent-dark);
  font-size: 17px;
  font-weight: 850;
}

.studio-notes p {
  margin: 9px 0 0;
  color: var(--muted);
}

.technology-section {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.capability-list article {
  display: grid;
  align-content: start;
  gap: 17px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(31, 42, 58, 0.05);
}

.capability-list article:last-child {
  border-right: 1px solid var(--line);
}

.capability-visual {
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}

.capability-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-list p,
.roadmap p {
  margin: 0;
  color: var(--muted);
}

.project-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.85fr);
  gap: 84px;
  align-items: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 13px;
  border-radius: 6px;
  background: var(--paper-strong);
  color: #4e5968;
  font-size: 13px;
  font-weight: 800;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.download-button {
  min-width: 178px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.download-android {
  border-color: var(--accent);
  background: var(--accent);
  color: #251a00;
  box-shadow: 0 16px 28px rgba(242, 182, 22, 0.26);
}

.download-ios {
  background: #fff;
  color: #232a33;
}

.download-button.is-disabled {
  cursor: default;
  color: var(--soft);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.download-button.is-disabled:hover,
.download-button.is-disabled:focus-visible {
  transform: none;
}

.project-media {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 27, 39, 0.94), rgba(17, 27, 39, 0.88)),
    #111b27;
  box-shadow: var(--shadow);
}

.project-app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 182, 22, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.06);
}

.project-app-card img {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.project-app-card strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
}

.project-app-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 750;
}

.project-screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.project-screenshots img {
  width: 100%;
  aspect-ratio: 236 / 512;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #0a111b;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.project-media p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.portfolio-section {
  background: #fff;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent-dark);
  font-weight: 850;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  display: grid;
  align-content: start;
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.history-list time {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.history-list strong {
  margin-top: 10px;
  color: #20242b;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.4;
}

.history-list span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.growth-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.roadmap article {
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.roadmap article::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 26px;
  background: var(--accent);
}

.roadmap h3 {
  margin-bottom: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr 0.75fr;
  gap: 54px;
  padding: 62px max(24px, calc((100vw - var(--max)) / 2)) 32px;
  background: var(--footer);
  color: #fff;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
}

.footer-brand strong {
  display: block;
  font-size: 22px;
  font-weight: 850;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-contact {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 70px;
  }

  .hero-brand {
    min-height: 320px;
  }

  .company-section,
  .project-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .capability-list,
  .history-list,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-list article {
    min-height: 0;
  }

  .capability-list article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .section,
  .section-band {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .hero {
    padding-top: 54px;
    padding-bottom: 60px;
    background:
      linear-gradient(180deg, #fff 0%, #fff 64%, rgba(249, 188, 34, 0.08) 100%);
  }

  .hero-copy h1 {
    max-width: 11em;
    font-size: 34px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-copy p,
  .section-copy p:not(.section-label),
  .project-copy p {
    max-width: 20em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: 12em;
    font-size: 29px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 32px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-brand {
    min-height: 255px;
    padding: 30px;
  }

  .hero-brand img {
    width: 145px;
  }

  .hero-brand strong {
    font-size: 50px;
  }

  .hero-brand span {
    font-size: 16px;
  }

  .studio-notes article {
    padding: 22px;
  }

  .capability-list,
  .history-list,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .capability-visual {
    height: 124px;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
  }

  .project-media {
    padding: 18px;
  }

  .project-app-card {
    padding: 16px;
  }

  .project-app-card img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .project-app-card strong {
    font-size: 20px;
  }

  .project-screenshots {
    gap: 9px;
  }

  .roadmap article {
    min-height: 0;
    padding: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
