:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #fbfbfd;
  --surface: #ffffff;
  --surface-warm: #faf7f1;
  --line: #d8d2c4;
  --line-strong: #1d1d1f;
  --blue: #0a84ff;
  --red: #e94b3c;
  --yellow: #f7c948;
  --green: #2fbf71;
  --shadow: 0 20px 60px rgba(29, 29, 31, 0.12);
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 58%, #ffffff 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 68px;
  width: var(--container);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

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

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-links a {
  border-radius: 8px;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
}

.nav-links a:hover {
  background: rgba(10, 132, 255, 0.1);
  color: var(--ink);
}

.button {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.button.disabled,
.button[aria-disabled="true"] {
  border-color: #bbb5aa;
  color: #77716a;
  cursor: not-allowed;
  transform: none;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  margin: 0 auto;
  min-height: calc(100vh - 68px);
  padding: 70px 0 32px;
  width: var(--container);
}

.hero-copy {
  align-self: center;
  padding-bottom: 48px;
}

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

h1 {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 760;
  line-height: 0.94;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 740;
  line-height: 1.04;
}

h3 {
  font-size: 22px;
  font-weight: 720;
  line-height: 1.2;
}

.lede {
  color: #353538;
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 520;
  line-height: 1.35;
  margin-top: 28px;
  max-width: 640px;
}

.body-copy {
  color: var(--muted);
  margin-top: 16px;
  max-width: 720px;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.proof-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.proof-list li {
  align-items: center;
  color: #3f3f46;
  display: flex;
  font-size: 15px;
  gap: 10px;
}

.proof-list li::before {
  background: var(--green);
  border: 2px solid var(--line-strong);
  content: "";
  height: 11px;
  width: 11px;
}

.hero-media {
  align-self: center;
  min-height: 620px;
  position: relative;
}

.mondrian-field {
  border: 3px solid var(--line-strong);
  display: grid;
  grid-template-columns: 1.05fr 0.65fr 0.9fr 0.45fr;
  grid-template-rows: 0.72fr 0.48fr 0.7fr 0.55fr;
  height: 560px;
  inset: 18px 0 auto 42px;
  position: absolute;
  width: min(680px, 92%);
}

.mondrian-field span {
  background: #ffffff;
  border: 2px solid var(--line-strong);
}

.mondrian-field span:nth-child(1) {
  background: var(--yellow);
  grid-column: span 2;
}

.mondrian-field span:nth-child(2) {
  background: #ffffff;
}

.mondrian-field span:nth-child(3) {
  background: var(--blue);
}

.mondrian-field span:nth-child(5) {
  background: var(--red);
  grid-row: span 2;
}

.mondrian-field span:nth-child(7) {
  background: var(--surface-warm);
  grid-column: span 2;
}

.mondrian-field span:nth-child(10) {
  background: var(--green);
}

.app-frame {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 29, 31, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 96px;
  width: min(670px, 90%);
}

.window-bar {
  align-items: center;
  background: #f6f6f7;
  border-bottom: 1px solid rgba(29, 29, 31, 0.12);
  display: flex;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
}

.window-dot {
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.window-dot.red {
  background: #ff5f57;
}

.window-dot.yellow {
  background: #ffbd2e;
}

.window-dot.green {
  background: #28c840;
}

.app-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.section {
  margin: 0 auto;
  padding: 86px 0;
  width: var(--container);
}

.section.band {
  background: var(--surface-warm);
  border-block: 1px solid rgba(29, 29, 31, 0.08);
  max-width: none;
  width: 100%;
}

.section.band > .section-inner {
  margin: 0 auto;
  width: var(--container);
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

.tile {
  background: var(--surface);
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 8px;
  min-height: 178px;
  padding: 24px;
}

.tile strong {
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}

.tile p,
.tile li {
  color: var(--muted);
  font-size: 15px;
}

.tile ul,
.plain-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.plain-list li {
  border-left: 4px solid var(--line-strong);
  color: #424245;
  padding-left: 12px;
}

.flow-rail {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.flow-step {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 46px 1fr auto;
  padding: 18px;
}

.step-mark {
  align-items: center;
  background: var(--yellow);
  border: 2px solid var(--line-strong);
  display: inline-flex;
  font-weight: 760;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.flow-step:nth-child(2) .step-mark {
  background: var(--blue);
  color: #ffffff;
}

.flow-step:nth-child(3) .step-mark {
  background: var(--red);
  color: #ffffff;
}

.flow-step:nth-child(4) .step-mark {
  background: var(--green);
}

.status-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.page-hero {
  margin: 0 auto;
  padding: 82px 0 52px;
  width: var(--container);
}

.page-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
}

.notice {
  background: #fffdf6;
  border: 1px solid #dfc869;
  border-radius: 8px;
  color: #4a3b00;
  margin-top: 24px;
  padding: 16px 18px;
}

.route-panel {
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 8px;
  margin-top: 30px;
  padding: 26px;
}

.field-row {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.field-row label {
  font-size: 14px;
  font-weight: 700;
}

.field-row input {
  border: 1px solid #bab5ac;
  border-radius: 8px;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.segmented button {
  background: #ffffff;
  border: 1px solid #c9c3b8;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 12px;
}

.segmented button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.result {
  background: var(--surface-warm);
  border: 1px solid #d9cdb8;
  border-radius: 8px;
  margin-top: 18px;
  min-height: 54px;
  padding: 16px;
}

.download-evidence {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.evidence-item {
  border-left: 5px solid var(--blue);
  background: #ffffff;
  padding: 14px 16px;
}

.evidence-item:nth-child(2) {
  border-left-color: var(--green);
}

.evidence-item:nth-child(3) {
  border-left-color: var(--red);
}

.site-footer {
  border-top: 1px solid rgba(29, 29, 31, 0.1);
  margin-top: 80px;
  padding: 30px 0;
}

.footer-inner {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px 20px;
  justify-content: space-between;
  margin: 0 auto;
  width: var(--container);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-media {
    min-height: 470px;
  }

  .mondrian-field {
    height: 420px;
    left: 0;
    width: 92%;
  }

  .app-frame {
    top: 72px;
    width: 94%;
  }

  .grid.three,
  .grid.two,
  .download-evidence {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 42px 1fr;
  }

  .flow-step .status-label {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav,
  .section,
  .page-hero,
  .section.band > .section-inner,
  .footer-inner {
    width: min(100vw - 28px, 1120px);
  }

  .nav-links a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 54px;
  }

  .lede {
    font-size: 20px;
  }

  .hero-media {
    min-height: 360px;
  }

  .mondrian-field {
    height: 310px;
  }

  .app-frame {
    top: 54px;
  }

  .section {
    padding: 62px 0;
  }
}

