/* base */

:root {
  --orange: #f97316;
  --orange-deep: #c2410c;
  --cream: #fff8ec;
  --nav: rgba(255, 236, 204, 0.96);
  --ink: #1b1c1d;
  --muted: #5d5d5d;
  --line: #efe6d6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

ul {
  list-style: none;
}

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

[id] {
  scroll-margin-top: 80px;
}

/* nav */

nav.top_nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  background-color: var(--nav);
}

nav.top_nav .logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
}

nav.top_nav .logo img {
  width: 40px;
  height: 40px;
}

nav.top_nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 13px;
}

nav.top_nav li.nav_download {
  display: none;
}

/* buttons */

.btn_download {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  background-color: var(--orange-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

a.btn_download:hover {
  background-color: #9a3412;
}

.btn_download.is_disabled {
  background-color: #e7e2da;
  color: #5f5a52;
  cursor: default;
}

/* sections */

main section {
  padding: 60px 0;
}

main section.bg_cream {
  background-color: var(--cream);
}

main section.bg_white {
  background-color: #fff;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.feature_text {
  flex: 1 1 0;
  min-width: 0;
}

.content_main_title {
  font-size: 26px;
  font-weight: 700;
}

.content_sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

kbd {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}

/* hero */

.hero .hero_icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.hero .btn_download {
  margin-top: 28px;
}

.hero .hero_note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hero .hero_note a {
  text-decoration: underline;
}

/* screenshot slots: replace .shot_empty with an <img class="shot_img"> once captured */

.shot {
  flex: 1 1 0;
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

.shot_empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  border: 2px dashed #e9d8bd;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
}

.shot_empty img {
  width: 48px;
  height: 48px;
  opacity: 0.55;
}

.shot_empty strong {
  color: var(--ink);
  font-size: 16px;
}

.shot_empty::after {
  content: "스크린샷 준비 중";
}

.shot_img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* More, Clip */

.more {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.content_sub_title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}

.more_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 44px;
}

.more_item img {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--cream);
}

.sub_title {
  font-size: 17px;
  font-weight: 700;
}

.sub_contents {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* guide */

.guide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.guide > .content_main_title {
  text-align: center;
}

.guide_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.guide_card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.guide_card h3 {
  font-size: 16px;
}

.guide_card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide_card a {
  color: var(--orange-deep);
  text-decoration: underline;
}

/* call to action */

main section.cta {
  padding: 70px 15px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.cta p {
  margin-bottom: 26px;
  font-size: 22px;
  font-weight: 700;
}

.cta .btn_download.is_disabled {
  background-color: #3a3a3a;
  color: #e6e6e6;
}

/* terms and 404 */

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 15px 72px;
}

.doc h1 {
  font-size: 26px;
  line-height: 1.35;
}

.doc h2 {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.doc h3 {
  margin-top: 22px;
  font-size: 15px;
}

.doc p {
  margin-top: 10px;
  color: #33363a;
  font-size: 14px;
  line-height: 1.75;
}

.doc ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
}

.doc li {
  margin-top: 6px;
  color: #33363a;
  font-size: 14px;
  line-height: 1.75;
}

.not_found {
  padding: 96px 15px;
  text-align: center;
}

.not_found p {
  margin: 12px 0 28px;
  color: var(--muted);
}

/* footer */

footer {
  padding: 30px 15px 16px;
  background-color: #f6f6f6;
  color: #212121;
  font-size: 16px;
}

footer p.company_info {
  padding: 10px 0;
  font-weight: 700;
}

footer address {
  margin-bottom: 20px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

footer nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
}

footer nav a {
  text-decoration: underline;
}

footer .footer_info_button {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

footer .footer_info_button span {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

footer .footer_info_button a {
  padding: 10px 20px;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

footer .footer_info_button a:hover {
  background-color: #e5e5e5;
}

footer .copyright {
  color: var(--muted);
  font-size: 12px;
}

/* desktop */

@media (min-width: 640px) {
  nav.top_nav {
    padding: 8px 30px;
  }

  nav.top_nav ul {
    gap: 2rem;
  }

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

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

@media (min-width: 992px) {
  nav.top_nav li.nav_download {
    display: block;
  }

  nav.top_nav .btn_download {
    padding: 10px 22px;
    font-size: 14px;
  }

  main section {
    padding: 90px 0;
  }

  .feature {
    flex-direction: row;
    gap: 72px;
    padding: 0 30px;
    text-align: left;
  }

  .feature.reverse .feature_text {
    order: 2;
  }

  .content_main_title {
    font-size: 36px;
  }

  .content_sub {
    font-size: 20px;
  }

  .hero .content_main_title {
    font-size: 48px;
    line-height: 1.3;
  }

  .hero .hero_icon {
    margin-left: 0;
  }

  .content_sub_title {
    font-size: 22px;
  }

  .more_grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
  }

  .sub_title {
    font-size: 22px;
  }

  .sub_contents {
    font-size: 16px;
  }

  .cta p {
    font-size: 30px;
  }

  .doc h1 {
    font-size: 32px;
  }

  .doc p,
  .doc li {
    font-size: 15px;
  }

  footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 30px 30px;
  }

  footer .footer_info_button a {
    width: 400px;
  }

  footer .copyright {
    width: 100%;
  }
}
