:root {
  --navy: #163f67;
  --navy-dark: #0d2844;
  --green: #78b43f;
  --green-soft: #e8f4dc;
  --blue-soft: #edf4fb;
  --ink: #17202c;
  --muted: #5a6a7f;
  --line: #dce7f0;
  --surface: #ffffff;
  --page: #f5f8fb;
  --shadow: 0 24px 70px rgba(20, 55, 88, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 231, 240, 0.86);
  background: rgba(245, 248, 251, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
footer a:hover {
  color: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.language-switch a.active {
  color: #fff;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 7vw, 94px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 251, 0.74)),
    url("assets/workgo-cover.png") center bottom / cover no-repeat;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 7vw, 94px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 251, 0.78)),
    url("assets/workgo-cover.png") center bottom / cover no-repeat;
}

.home-copy {
  max-width: 760px;
}

.home-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.title-shot,
.phone-layer {
  border: 1px solid rgba(220, 231, 240, 0.9);
  box-shadow: var(--shadow);
}

.title-shot {
  width: min(340px, 72vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  object-fit: cover;
  transform: translateX(-72px) rotate(-3deg);
}

.phone-layer {
  position: absolute;
  right: clamp(0px, 4vw, 42px);
  bottom: 0;
  width: min(300px, 66vw);
  aspect-ratio: 390 / 844;
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  background: #fff;
}

.workflow-section {
  max-width: none;
  background: var(--navy-dark);
}

.workflow-section .section-heading,
.workflow-section .screen-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.workflow-section h2 {
  color: #fff;
}

.map-message {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 6vw, 76px);
}

.guide-bridge {
  max-width: none;
  text-align: center;
  background: #fff;
}

.guide-bridge h2,
.guide-bridge p,
.guide-bridge .button {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.guide-bridge p:not(.eyebrow) {
  color: var(--muted);
}

.guide-bridge .button {
  margin-top: 14px;
}

.hero-copy,
.section {
  max-width: 1180px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--navy-dark);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 20px;
  line-height: 1.32;
}

.lead {
  max-width: 720px;
  color: #34475d;
  font-size: clamp(18px, 2vw, 22px);
}

.usage-pill {
  display: inline-grid;
  gap: 2px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #cfe2bd;
  border-radius: 8px;
  background: rgba(232, 244, 220, 0.88);
  color: #314b22;
}

.usage-pill strong {
  color: var(--navy-dark);
  font-size: 18px;
}

.usage-pill span {
  font-size: 14px;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--navy);
}

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

.trust-row {
  margin: 34px 0 0;
}

.trust-row div {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.trust-row dt {
  color: var(--navy);
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
}

.cover {
  aspect-ratio: 9 / 16;
  width: 100%;
  border: 1px solid rgba(220, 231, 240, 0.9);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.api-card {
  position: absolute;
  right: -28px;
  bottom: 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  width: min(280px, 80%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(13, 40, 68, 0.18);
}

.api-card strong {
  color: var(--navy);
}

.api-card small {
  grid-column: 2;
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--green);
}

.section {
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 28px);
}

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

.section-heading p:not(.eyebrow),
.apply-copy > p,
.security p,
.faq p {
  color: var(--muted);
}

.free-usage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.free-copy a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 900;
}

.usage-board {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.usage-board div {
  display: grid;
  gap: 2px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.usage-board span,
.usage-board small {
  color: var(--muted);
}

.usage-board strong {
  color: var(--navy);
  font-size: clamp(54px, 7vw, 84px);
  line-height: 1;
}

.usage-board ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-board li {
  position: relative;
  padding-left: 22px;
  color: #34475d;
}

.usage-board li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.feature-grid,
.steps,
.security-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.step,
.security-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 55, 88, 0.07);
}

.feature-grid article {
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--green-soft);
  font-size: 22px;
  font-weight: 900;
}

.guide {
  max-width: none;
  background: #fff;
}

.guide .section-heading,
.guide .steps,
.guide-layout {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.detailed-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step {
  position: relative;
  padding: 26px 22px 24px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.step a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}

.click-path {
  position: sticky;
  top: 88px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.click-path h3 {
  margin-bottom: 14px;
}

.click-path ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #34475d;
  font-size: 14px;
}

.apply {
  display: grid;
  grid-template-columns: minmax(220px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
}

.phone-shot {
  justify-self: center;
  padding: 14px;
  border-radius: 28px;
  background: #0d2844;
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: min(330px, 80vw);
  border-radius: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.check-list li {
  counter-increment: check;
  position: relative;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-list li::before {
  content: counter(check);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.notice {
  padding: 20px;
  border: 1px solid #cfe2bd;
  border-radius: 8px;
  background: var(--green-soft);
}

.notice strong {
  color: var(--navy);
}

.notice p {
  margin: 8px 0 0;
  color: #405430;
}

.gallery {
  max-width: none;
  background: var(--navy-dark);
}

.gallery .section-heading,
.screen-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.gallery h2 {
  color: #fff;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
}

.screen-grid img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  background: #f5f8fb;
}

.screen-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 900;
}

.compact {
  margin-bottom: 24px;
}

.security {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 6vw, 76px);
}

.security-list {
  grid-template-columns: 1fr;
}

.security-list article {
  padding: 22px 24px;
}

.disclaimer-card {
  border-color: #cfe2bd;
  background: var(--green-soft);
}

.disclaimer-card p {
  color: #405430;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy-dark);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  max-width: none;
  text-align: center;
  background: #fff;
}

.final-cta h2,
.final-cta p,
.final-cta .button {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta p:not(.eyebrow) {
  color: var(--muted);
}

.final-cta .button {
  margin-top: 14px;
}

.policy-page {
  background: #fff;
}

.policy-card {
  max-width: 920px;
}

.policy-card h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 5vw, 58px);
}

.policy-card h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.policy-card p {
  color: #34475d;
}

.policy-date {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #c9d9e8;
  background: var(--navy-dark);
}

footer div {
  display: grid;
  gap: 2px;
}

footer strong {
  color: #fff;
}

footer a {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.is-visible {
  animation: rise 0.62s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .home-hero,
  .apply,
  .security,
  .free-usage,
  .guide-layout,
  .map-message {
    grid-template-columns: 1fr;
  }

  .home-visual {
    min-height: 560px;
  }

  .title-shot {
    transform: translateX(-44px) rotate(-3deg);
  }

  .click-path {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    width: min(340px, 100%);
  }

  .feature-grid,
  .steps,
  .detailed-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .language-switch {
    align-self: flex-end;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    padding-top: 34px;
  }

  .home-hero {
    padding-top: 34px;
  }

  .home-visual {
    min-height: 500px;
  }

  .title-shot {
    width: min(260px, 68vw);
    transform: translateX(-34px) rotate(-3deg);
  }

  .phone-layer {
    width: min(235px, 62vw);
  }

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

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

  .api-card {
    right: 12px;
    bottom: 24px;
  }

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

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

  .is-visible {
    animation: none;
  }
}
