:root {
  --bg: #f4f7f5;
  --panel: #ffffff;
  --ink: #171b1f;
  --muted: #66746d;
  --line: #e2ebe6;
  --green: #10a36a;
  --green-soft: #e8f7ef;
  --green-deep: #08794c;
  --orange-soft: #fff1e8;
  --shadow: 0 22px 58px rgba(24, 40, 33, .1);
  font-family: "Pretendard Rounded", "Pretendard", "SUIT", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0;
}

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

p,
h1,
h2 {
  margin: 0;
}

.official-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 24px;
}

.official-hero {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 28px;
}

nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  display: block;
}

nav > span,
.eyebrow,
.trust-grid span,
.notice-band span,
.section-head span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.official-hero > section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #3f4d45;
  font-size: 19px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-actions a {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.hero-actions a.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.verify-card,
.trust-grid article,
.notice-band,
.check-list article {
  border: 1px solid rgba(16, 163, 106, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, .95) inset;
}

.verify-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.verify-card b {
  font-size: 28px;
}

.verify-card p,
.trust-grid p,
.notice-band p,
.check-list p {
  color: var(--muted);
  font-weight: 700;
}

.verify-card ul {
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.verify-card li {
  padding: 10px 11px;
  border-radius: 8px;
  background: #f6faf8;
  color: #34483d;
  font-weight: 800;
}

.auth-start {
  align-items: center;
}

.auth-card {
  padding: 16px;
  border: 1px solid rgba(16, 163, 106, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, .95) inset;
  display: grid;
  gap: 14px;
}

.auth-tabs {
  padding: 4px;
  border-radius: 8px;
  background: #f3f8f5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.auth-tabs button,
.auth-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button {
  background: transparent;
  color: #65766d;
}

.auth-tabs button.active {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 10px 24px rgba(24, 40, 33, .08);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.active {
  display: grid;
}

.auth-form span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.auth-form b {
  font-size: 26px;
  line-height: 1.12;
}

.auth-form p {
  color: var(--muted);
  font-weight: 750;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #34483d;
  font-size: 14px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 163, 106, .14);
}

.auth-form button {
  margin-top: 2px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(16, 163, 106, .18);
}

.auth-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.auth-quick span {
  flex-basis: 100%;
  color: #6d7b73;
  font-size: 12px;
}

.auth-quick button {
  min-height: 34px;
  padding: 0 11px;
  background: #f4f8f6;
  color: #284337;
  box-shadow: none;
  font-size: 13px;
}

.auth-status {
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #f6faf8;
  color: #53635a;
  font-size: 14px;
  font-weight: 850;
}

.auth-status[data-mode="ok"] {
  background: var(--green-soft);
  color: var(--green-deep);
}

.auth-status[data-mode="warn"] {
  background: var(--orange-soft);
  color: #a74b19;
}

.auth-status[data-mode="loading"] {
  background: #edf3ff;
  color: #2f5fbd;
}

.screen-report-button {
  position: fixed;
  right: 18px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 50;
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 121, 76, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-deep);
  box-shadow: 0 12px 34px rgba(18, 42, 34, .16);
  backdrop-filter: blur(12px);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.screen-report-button::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 163, 106, .13);
}

.screen-report-button.is-sending {
  pointer-events: none;
  color: #6b7470;
  background: rgba(244, 247, 245, .96);
}

.screen-report-button.is-sending::before {
  background: #9aa5a0;
  box-shadow: 0 0 0 4px rgba(154, 165, 160, .14);
}

.auth-toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 52;
  min-height: 44px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 0 16px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #151b1f;
  color: #fff;
  box-shadow: 0 14px 48px rgba(0, 0, 0, .24);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: .18s ease;
}

.auth-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

.trust-grid article {
  padding: 18px;
}

.trust-grid b {
  display: block;
  margin: 7px 0;
  font-size: 24px;
}

.notice-band {
  margin-top: 18px;
  padding: 22px;
  background: #fff;
}

.notice-band h2,
.section-head h2 {
  margin: 4px 0 8px;
  font-size: 30px;
}

.inline-app-link {
  width: fit-content;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(16, 163, 106, .18);
}

.checklist {
  margin: 42px 0 28px;
}

.section-head {
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list article {
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.check-list b {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
}

.check-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.compact-auth {
  min-height: calc(100vh - 48px);
}

.compact-auth .official-hero > section,
.compact-auth > section {
  align-items: center;
}

@media (max-width: 820px) {
  .official-shell {
    padding: 18px;
  }

  .screen-report-button {
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .official-hero {
    min-height: auto;
  }

  .official-hero > section,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
  }

  .verify-card b {
    font-size: 24px;
  }
}
