/* ============================================
   미모(mimo) — Neo-Brutalism Design System
   ============================================ */

:root {
  --color-bg: #fff8f0;
  --color-surface: #ffffff;
  --color-ink: #0a0a0a;
  --color-muted: #4a4a4a;

  --color-purple: #c4b5fd;
  --color-purple-deep: #8b5cf6;
  --color-yellow: #fde047;
  --color-yellow-deep: #eab308;
  --color-mint: #6ee7b7;
  --color-mint-deep: #10b981;
  --color-coral: #fda4af;
  --color-coral-deep: #f43f5e;
  --color-sky: #7dd3fc;
  --color-pink: #fbcfe8;
  --color-pastel-orange: #ffedd5;
  --color-pastel-lavender: #e9d5ff;
  --color-pastel-notice: #fffbeb;

  --border-width: 3px;
  --border: var(--border-width) solid var(--color-ink);
  --shadow-offset: 5px;
  --shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-ink);
  --shadow-sm: 3px 3px 0 var(--color-ink);
  --shadow-hover: 7px 7px 0 var(--color-ink);

  --radius: 0;
  --font-display: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "D2Coding", monospace;

  --nav-height: 72px;
  --container-max: 1200px;
  --transition: 0.15s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    linear-gradient(var(--color-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-ink) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Neo-Brutal Components */
.nb-box {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nb-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.nb-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.nb-btn--primary {
  background: var(--color-yellow);
}

.nb-btn--secondary {
  background: var(--color-surface);
}

.nb-btn--accent {
  background: var(--color-purple);
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
}

.nb-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--color-ink);
  background: var(--color-surface);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
  min-height: var(--nav-height);
  background: var(--color-surface);
}

.nav__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  min-height: var(--nav-height);
  padding-top: 0;
  padding-bottom: 0;
}

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--nav-height);
  border-bottom: var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__home {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__home:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.nav__home-icon {
  width: 22px;
  height: 22px;
  color: var(--color-ink);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav__logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 6px;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-ink);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.nav__auth-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.nav__auth-btn {
  flex: 1 1 0;
  min-width: 104px;
  max-width: 104px;
  justify-content: center;
  text-align: center;
}

.nav__welcome {
  align-self: flex-end;
  margin: 0;
  padding: 6px 0 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  background: transparent;
  border: none;
  box-shadow: none;
  white-space: nowrap;
}

.nav__welcome[hidden] {
  display: none;
}

.nav__pill-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--color-ink);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__pill:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.nav__pill--orange {
  background: var(--color-pastel-orange);
}

.nav__pill--mint {
  background: var(--color-mint);
}

.nav__pill--lavender {
  background: var(--color-pastel-lavender);
}

.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nb-btn--suggestions {
  background: var(--color-surface);
  border: var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.nb-btn--suggestions:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-ink);
}

.nb-btn--nav {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nb-btn--nav-sky {
  background: var(--color-sky);
}

.nb-btn--nav-coral {
  background: var(--color-coral);
}

.nb-btn--nav-mint {
  background: var(--color-mint);
}

.nb-btn--nav-ghost {
  background: var(--color-surface);
}

/* Revenue verification badges */
.revenue-badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  line-height: 1.3;
  text-align: right;
}

.revenue-badge--verified {
  background: var(--color-mint);
}

.revenue-badge--growth {
  background: var(--color-yellow);
}

.revenue-badge--ready {
  background: var(--color-purple);
}

.revenue-badge--pending {
  background: var(--color-bg);
  color: var(--color-muted);
}

.card__price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-page {
  padding: 48px 0 96px;
}

.auth-card {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.auth-card__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-card__subtitle {
  color: var(--color-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.auth-form__submit {
  width: 100%;
  margin-top: 8px;
}

.auth-card__switch {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.auth-card__switch a {
  font-weight: 800;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-form__hint {
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-muted);
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.form-input-wrap--password {
  display: flex;
  align-items: stretch;
  border: var(--border);
  background: var(--color-bg);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.form-input-wrap--password:focus-within {
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.06), 0 0 0 3px var(--color-purple);
}

.form-input--password {
  flex: 1;
  min-width: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.form-input--password:focus {
  outline: none;
  box-shadow: none;
}

.password-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  padding: 0;
  border: none;
  border-left: 2px solid var(--color-ink);
  background: var(--color-yellow);
  cursor: pointer;
  transition: background var(--transition), transform 0.1s ease;
}

.password-toggle:hover {
  background: var(--color-mint);
}

.password-toggle:active {
  transform: scale(0.96);
}

.password-toggle[aria-pressed="true"] {
  background: var(--color-coral);
}

.password-toggle__icon {
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

.auth-forgot {
  margin-top: 16px;
  text-align: center;
}

.auth-forgot__link {
  display: inline-block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-ink);
  text-decoration: none;
  padding: 8px 14px;
  background: var(--color-purple);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.auth-forgot__link:hover {
  background: var(--color-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-ink);
}

.modal__error {
  margin: 16px 0 4px;
  padding: 12px 14px;
  background: var(--color-coral);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.55;
}

.modal__error[hidden] {
  display: none;
}

/* ============================================
   Mypage
   ============================================ */
.mypage-page {
  padding: 40px 0 96px;
}

.mypage-header {
  text-align: center;
  margin-bottom: 32px;
}

.mypage-header__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.mypage-header__subtitle {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.mypage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-ink);
}

.mypage-tabs__btn {
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-surface);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mypage-tabs__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.mypage-tabs__btn--active {
  background: var(--color-yellow);
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
}

.mypage-panel {
  display: none;
}

.mypage-panel--active {
  display: block;
}

.mypage-admin-banner {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-yellow);
  font-weight: 800;
  font-size: 0.88rem;
  text-align: center;
}

.mypage-tabs--admin .mypage-tabs__btn--active {
  background: var(--color-coral);
}

.mypage-panel__hint {
  margin: -8px 0 16px;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table__email,
.admin-table__uid {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  word-break: break-all;
}

.admin-table__message {
  max-width: 220px;
  line-height: 1.5;
  word-break: break-word;
}

.admin-table__title {
  font-weight: 800;
  white-space: nowrap;
}

.admin-status-select {
  appearance: none;
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  min-width: 108px;
}

.admin-status-select:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.admin-status-select:focus {
  outline: 3px solid var(--color-purple);
  outline-offset: 2px;
}

.mypage-section {
  margin-bottom: 28px;
}

.mypage-section:last-child {
  margin-bottom: 0;
}

.privacy-notice--mint {
  background: var(--color-mint);
}

.privacy-notice--pink {
  background: var(--color-pink);
}

.privacy-notice--profile {
  margin-top: 20px;
  margin-bottom: 0;
}

.mypage-profile-form .nb-btn {
  margin-top: 8px;
}

.mypage-table-wrap {
  overflow-x: auto;
}

.mypage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.mypage-table th,
.mypage-table td {
  padding: 14px 12px;
  border: 2px solid var(--color-ink);
  text-align: left;
}

.mypage-table th {
  background: var(--color-bg);
  font-weight: 800;
  font-size: 0.8rem;
}

.mypage-table__name {
  font-weight: 800;
}

.mypage-table__price {
  font-family: var(--font-mono);
  font-weight: 700;
}

.mypage-table__status .revenue-badge {
  text-align: left;
  font-size: 0.75rem;
}

.mypage-table__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.mypage-empty {
  text-align: center;
  padding: 32px 16px;
  border: 2px dashed var(--color-ink);
  background: var(--color-bg);
}

.mypage-empty p {
  margin-bottom: 16px;
  color: var(--color-muted);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 80px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-mint);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__subheadline {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stat {
  padding: 16px 20px;
  min-width: 120px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.hero__stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.35;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}

.hero__visual-frame {
  width: 100%;
  height: 100%;
  border: var(--border);
  background: var(--color-yellow);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__visual-art {
  width: 80%;
  height: 80%;
}

.hero__float-card {
  position: absolute;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.hero__float-card--top {
  top: -16px;
  right: -16px;
  background: var(--color-purple);
  transform: rotate(3deg);
}

.hero__float-card--bottom {
  bottom: -16px;
  left: -16px;
  background: var(--color-mint);
  transform: rotate(-2deg);
  font-family: var(--font-mono);
}

/* ============================================
   Listings
   ============================================ */
.listings {
  padding: 64px 0 96px;
}

.listings__header {
  text-align: center;
  margin-bottom: 48px;
}

.listings__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.listings__subtitle {
  font-size: 1rem;
  color: var(--color-muted);
}

.listings__report-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 12px 18px;
  max-width: 640px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-muted);
  background: var(--color-pastel-notice);
  border: 2px solid rgba(10, 10, 10, 0.12);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.listings__report-banner-emoji {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.listings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* Listing Card */
.card {
  display: flex;
  flex-direction: column;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.card__medal {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 3;
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(2px 2px 0 var(--color-ink));
}

.card__badges {
  position: absolute;
  top: 16px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: calc(100% - 24px);
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.card__accent {
  height: 8px;
  border-bottom: var(--border);
}

.card__accent--purple { background: var(--color-purple); }
.card__accent--yellow { background: var(--color-yellow); }
.card__accent--mint { background: var(--color-mint); }
.card__accent--coral { background: var(--color-coral); }

.card__body {
  padding: 24px;
  padding-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__badges + .card__body,
.card:has(.card__badges) .card__body {
  padding-top: 52px;
}

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-right: 0;
  min-height: 40px;
}

.card__builder {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 4px 10px;
  background: var(--color-bg);
  border: 2px solid var(--color-ink);
}

.card__price-block {
  text-align: right;
}

.card__price {
  font-size: 1.1rem;
  font-weight: 900;
}

.card__mrr {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

.card__name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card__tagline {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.card__stack .nb-tag {
  background: var(--color-bg);
}

.card__scores {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.score-pill {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--color-ink);
  text-align: center;
}

.score-pill__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.score-pill__value {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.score-pill__value--high { color: var(--color-mint-deep); }
.score-pill__value--mid { color: var(--color-yellow-deep); }

.card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px dashed var(--color-ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__cta {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card__cta--pastel {
  background: var(--cta-pastel, var(--color-purple));
}

.card__cta--pastel:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.card__proposal-note {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 2px dashed rgba(10, 10, 10, 0.2);
}

.card__notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.card__notice--soft {
  margin-bottom: 0;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-muted);
  background: var(--color-pastel-notice);
  border: 2px solid rgba(10, 10, 10, 0.15);
  box-shadow: none;
}

.card__notice--soft p {
  margin: 0;
}

.card__notice-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--color-surface);
  border: 2px solid var(--color-ink);
}

.card__name-link {
  color: inherit;
  transition: opacity var(--transition);
}

.card__name-link:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nb-btn--purchase {
  background: var(--color-yellow);
  width: 100%;
  max-width: 480px;
  padding: 20px 32px;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.nb-btn--purchase:hover {
  background: var(--color-coral);
}

/* ============================================
   Detail Page
   ============================================ */
.detail-page {
  padding: 40px 0 96px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
  border: 2px solid var(--color-ink);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.detail-back:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.detail-header {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.detail-header__accent {
  border-bottom: var(--border);
}

.detail-header__body {
  padding: 32px;
}

.detail-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.detail-header__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.detail-header__tagline {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.detail-header__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 20px 0;
  padding: 16px;
  background: var(--color-bg);
  border: 2px dashed var(--color-ink);
}

.detail-header__scores {
  max-width: 320px;
}

.detail-section__header {
  text-align: center;
  margin-bottom: 32px;
}

.detail-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.detail-section__subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* AI Verification Cards */
.detail-ai {
  margin-bottom: 64px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ai-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.ai-card--claude { border-top: 8px solid #f4a261; }
.ai-card--gpt { border-top: 8px solid #10a37f; }
.ai-card--gemini { border-top: 8px solid var(--color-sky); }

.ai-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ai-card__icon-wrap {
  flex-shrink: 0;
}

.ai-icon {
  width: 48px;
  height: 48px;
  display: block;
}

.ai-card__meta {
  flex: 1;
  min-width: 0;
}

.ai-card__name {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 4px;
}

.ai-card__role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1.4;
}

.ai-card__score {
  text-align: right;
  flex-shrink: 0;
}

.ai-card__score-value {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

.ai-card__score-unit {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

.ai-card__summary {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 14px;
  background: var(--color-bg);
  border: 2px solid var(--color-ink);
  margin-top: auto;
  font-style: italic;
}

/* Locked Zone */
.detail-locked {
  margin-bottom: 32px;
}

.locked-zone {
  position: relative;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
}

.locked-zone__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}

.locked-panel {
  border-right: 2px solid var(--color-ink);
  min-height: 520px;
}

.locked-panel:last-child {
  border-right: none;
}

.locked-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 2px solid var(--color-ink);
  background: var(--color-bg);
}

.locked-panel__title {
  font-size: 0.85rem;
  font-weight: 800;
}

.locked-panel__badge {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 8px;
  background: var(--color-coral);
  border: 2px solid var(--color-ink);
}

.locked-panel__content {
  padding: 20px;
  height: calc(100% - 56px);
  overflow: hidden;
}

.locked-panel__content--blur {
  position: relative;
}

.locked-panel__content--blur::after {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0.4;
}

.locked-panel__pre {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--color-muted);
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(255, 248, 240, 0.72);
  backdrop-filter: blur(2px);
}

.lock-banner {
  max-width: 560px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
  border: var(--border);
  background: var(--color-purple);
  box-shadow: 8px 8px 0 var(--color-ink);
  transform: rotate(-1deg);
}

.lock-banner__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.lock-banner__text {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 28px;
}

.lock-banner__cta {
  margin: 0 auto;
}

.detail-not-found {
  text-align: center;
  padding: 80px 24px;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.detail-not-found__title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.detail-not-found__message {
  color: var(--color-muted);
  margin-bottom: 24px;
}

/* Detail — 인수제안서 */
.detail-proposal {
  margin-top: 48px;
  padding: 32px;
  text-align: center;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.detail-proposal__hint {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.nb-btn--proposal {
  background: var(--color-coral);
  padding: 20px 36px;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.nb-btn--proposal:hover {
  background: var(--color-yellow);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="true"] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(2px);
}

.modal__card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  border: var(--border);
  background: var(--color-surface);
  box-shadow: 8px 8px 0 var(--color-ink);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  border: 2px solid var(--color-ink);
  background: var(--color-yellow);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.modal__close:hover {
  background: var(--color-coral);
}

.modal__title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  padding-right: 40px;
}

.modal__listing {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--color-muted);
  margin-bottom: 24px;
}

.proposal-notice {
  padding: 14px 16px;
  margin: 20px 0;
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.proposal-notice p {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal__submit {
  width: auto;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.modal__actions .nb-btn--secondary {
  padding: 14px 24px;
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--color-surface);
  border: 2px solid var(--color-ink);
  box-shadow: 2px 2px 0 var(--color-ink);
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.form-checkbox input:checked + .form-checkbox__box {
  background: var(--color-yellow);
}

.form-checkbox input:checked + .form-checkbox__box::after {
  content: "✓";
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.form-checkbox input:focus-visible + .form-checkbox__box {
  outline: 3px solid var(--color-purple);
  outline-offset: 2px;
}

.form-checkbox__label {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-input--readonly {
  background: var(--color-bg);
  color: var(--color-muted);
  cursor: not-allowed;
}

.register-app-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.register-app-notice p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.register-email-notice {
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.register-email-notice p {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-hint--emphasis {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--color-bg);
  border: 2px dashed var(--color-ink);
  font-weight: 600;
  color: var(--color-ink);
}

/* Checkout */
.checkout-page {
  padding: 40px 0 96px;
}

.checkout-card {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.checkout-card__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.checkout-card__subtitle {
  color: var(--color-muted);
  margin-bottom: 28px;
}

.checkout-product--featured {
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--color-yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.checkout-amount--hero {
  margin-bottom: 24px;
}

.checkout-amount--hero .checkout-amount__value {
  font-size: 2.5rem;
}

.checkout-product__title {
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.checkout-mypage-link {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-product {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 20px;
  border: 2px solid var(--color-ink);
  background: var(--color-bg);
}

.checkout-product__label {
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--color-muted);
}

.checkout-product__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-product__info strong {
  font-size: 1.1rem;
}

.checkout-product__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.checkout-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.checkout-amount__label {
  font-weight: 700;
}

.checkout-amount__value {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.checkout-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  margin-bottom: 24px;
  background: var(--color-yellow);
  border: var(--border);
  box-shadow: var(--shadow);
}

.checkout-notice__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.checkout-notice__text {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.7;
}

.checkout-pay {
  width: 100%;
}

.checkout-owned {
  text-align: center;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-mint-deep);
}

/* Report (unlocked) */
.report-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--color-mint);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.unlocked-zone__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.unlocked-panel {
  border-right: 2px solid var(--color-ink);
  min-height: 320px;
}

.unlocked-panel:last-child {
  border-right: none;
}

.unlocked-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 2px solid var(--color-ink);
  background: var(--color-bg);
}

.unlocked-panel__title {
  font-size: 0.85rem;
  font-weight: 800;
}

.unlocked-panel__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
}

.unlocked-panel__content {
  padding: 16px;
  max-height: 400px;
  overflow: auto;
}

.unlocked-panel__pre {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}

.detail-unlocked {
  margin-bottom: 48px;
}

.mypage-table__action .nb-btn {
  font-size: 0.75rem;
  padding: 8px 12px;
}

.order-status--processing {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  opacity: 0.9;
  cursor: not-allowed;
  user-select: none;
}

.nb-btn--report-view {
  font-size: 0.75rem;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-mint);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.nb-btn--report-view:hover {
  background: var(--color-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-ink);
}

.modal__card--report {
  max-width: 640px;
}

.report-viewer__body {
  margin-top: 16px;
  padding: 16px;
  background: var(--color-bg);
  border: 2px solid var(--color-ink);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 50vh;
  overflow-y: auto;
}

.report-viewer__proposal-zone {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px dashed var(--color-ink);
}

.report-viewer__proposal-zone .nb-btn--proposal {
  width: 100%;
}

.detail-not-found__hint {
  margin: 12px 0 20px;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .unlocked-zone__panels {
    grid-template-columns: 1fr;
  }

  .unlocked-panel {
    border-right: none;
    border-bottom: 2px solid var(--color-ink);
    min-height: 200px;
  }

  .unlocked-panel:last-child {
    border-bottom: none;
  }
}

/* ============================================
   Register Page
   ============================================ */
.container--narrow {
  max-width: 760px;
}

.register-page {
  padding: 40px 0 96px;
}

.register-header {
  text-align: center;
  margin-bottom: 40px;
}

.register-header__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.register-header__subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-section__title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--color-ink);
}

.privacy-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-bottom: 24px;
  background: var(--color-yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.privacy-notice__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.privacy-notice p {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.form-field {
  margin-bottom: 20px;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  border: var(--border);
  background: var(--color-bg);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.06), 0 0 0 3px var(--color-purple);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row--triple {
  grid-template-columns: repeat(3, 1fr);
}

.form-input-wrap {
  display: flex;
  align-items: stretch;
}

.form-input-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--color-mint);
  border: var(--border);
  border-right: none;
}

.form-input--prefixed {
  border-left: none;
  flex: 1;
}

.form-field--price {
  margin-bottom: 24px;
}

.form-input-wrap--large {
  box-shadow: var(--shadow-sm);
}

.form-input-prefix--large {
  padding: 0 18px;
  font-size: 1.25rem;
}

.form-input--large {
  padding: 16px 18px;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Tech Stack */
.stack-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.stack-chip {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--color-ink);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background var(--transition);
}

.stack-chip:hover {
  transform: translate(-1px, -1px);
}

.stack-chip--active {
  background: var(--color-purple);
  box-shadow: none;
  transform: translate(1px, 1px);
}

.stack-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 8px;
  margin-bottom: 12px;
}

.stack-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
}

.stack-tag__remove {
  font-size: 1rem;
  line-height: 1;
  padding: 0 2px;
  font-weight: 900;
  opacity: 0.6;
}

.stack-tag__remove:hover {
  opacity: 1;
}

/* Upload Zone */
.upload-zone {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.upload-zone__item {
  padding: 20px;
  border: 2px dashed var(--color-ink);
  background: var(--color-bg);
  text-align: center;
}

.upload-zone__label {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.upload-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
}

.upload-divider span {
  padding: 6px 12px;
  background: var(--color-surface);
  border: 2px solid var(--color-ink);
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  border: var(--border);
  background: var(--color-yellow);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.upload-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.upload-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.upload-btn--github {
  background: var(--color-ink);
  color: var(--color-surface);
}

.upload-btn--github:hover {
  background: #1a1a1a;
}

.upload-btn--connected {
  background: var(--color-mint);
  color: var(--color-ink);
}

.upload-btn__icon {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.upload-file-name {
  margin-top: 10px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-muted);
}

.upload-file-name--active {
  color: var(--color-ink);
  font-weight: 700;
}

.upload-zone__item .form-input {
  margin-top: 12px;
  text-align: left;
}

.form-submit-wrap {
  text-align: center;
  padding-top: 8px;
}

.nb-btn--submit {
  background: var(--color-coral);
  width: 100%;
  max-width: 560px;
  padding: 22px 36px;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}

.nb-btn--submit:hover {
  background: var(--color-yellow);
}

/* ============================================
   About Page
   ============================================ */
.about-page {
  padding: 56px 0 96px;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.about-hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-purple);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.about-hero__headline {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  white-space: nowrap;
  word-break: keep-all;
}

.about-hero__line {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
}

.about-hero__subheadline {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.75;
  text-wrap: balance;
}

.about-process {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.about-process__title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 28px;
}

.about-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.about-step {
  padding: 20px 16px;
  border: 2px solid var(--color-ink);
  background: var(--color-bg);
}

.about-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.about-step__label {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.about-step__desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.about-process__ai {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.about-process__ai .ai-icon {
  width: 40px;
  height: 40px;
}

.about-pitches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.pitch-card {
  border: var(--border);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pitch-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.pitch-card__accent {
  height: 8px;
  border-bottom: var(--border);
}

.pitch-card--buyer .pitch-card__accent {
  background: var(--color-yellow);
}

.pitch-card--builder .pitch-card__accent {
  background: var(--color-mint);
}

.pitch-card__body {
  padding: 28px;
}

.pitch-card__title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pitch-card__body-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.about-cta {
  text-align: center;
  padding: 48px 24px;
  border: var(--border);
  background: var(--color-yellow);
  box-shadow: var(--shadow);
}

.nb-btn--about-cta {
  background: var(--color-coral);
  padding: 22px 40px;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  display: inline-flex;
}

.nb-btn--about-cta:hover {
  background: var(--color-purple);
}

.about-cta__secondary {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.8;
}

.about-cta__secondary:hover {
  opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: var(--border);
  background: var(--color-ink);
  color: var(--color-surface);
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer__brand {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  opacity: 0.6;
  font-family: var(--font-mono);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    margin: 0 auto;
    max-width: 360px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .locked-zone__panels {
    grid-template-columns: 1fr;
  }

  .locked-panel {
    border-right: none;
    border-bottom: 2px solid var(--color-ink);
    min-height: 280px;
  }

  .locked-panel:last-child {
    border-bottom: none;
  }

  .locked-zone {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav__links {
    gap: 12px;
  }

  .nav__pill-group {
    gap: 6px;
  }

  .nav__pill {
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .nav__auth {
    margin-left: 0;
    gap: 6px;
  }

  .nav__welcome {
    font-size: 0.6rem;
    font-weight: 500;
    padding: 5px 0 6px;
  }

  .nav__auth-btn {
    min-width: 76px;
    max-width: 76px;
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  .nb-btn--nav {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .card__badges {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 16px 8px;
    max-width: none;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .listings__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .lock-banner {
    padding: 28px 20px;
    transform: none;
  }

  .lock-banner__text {
    font-size: 0.95rem;
  }

  .detail-header__body {
    padding: 20px;
  }

  .form-row,
  .form-row--triple {
    grid-template-columns: 1fr;
  }

  .upload-zone {
    grid-template-columns: 1fr;
  }

  .upload-divider {
    padding-top: 0;
  }

  .form-section {
    padding: 20px;
  }

  .about-process__steps {
    grid-template-columns: 1fr;
  }

  .about-pitches {
    grid-template-columns: 1fr;
  }

  .nb-btn--about-cta {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.05rem;
  }
}

/* ── 건의 게시판 (suggestions) ── */
.suggestions-page {
  padding: 48px 0 80px;
  min-height: calc(100vh - 160px);
}

.suggestions-header {
  margin-bottom: 32px;
}

.suggestions-header__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.suggestions-header__subtitle {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.suggestions-admin-banner {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-yellow);
  font-weight: 700;
  font-size: 0.9rem;
}

.suggestions-form-section,
.suggestions-list-section {
  margin-bottom: 28px;
}

.suggestions-empty {
  padding: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--color-muted);
}

.suggestion-table-wrap {
  overflow-x: auto;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.suggestion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.suggestion-table th,
.suggestion-table td {
  padding: 14px 16px;
  border-bottom: 2px solid var(--color-ink);
  text-align: left;
  vertical-align: top;
}

.suggestion-table th {
  background: var(--color-bg);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.suggestion-table tr:last-child td {
  border-bottom: none;
}

.suggestion-table__title {
  font-weight: 800;
  min-width: 120px;
  white-space: nowrap;
}

.suggestion-table__content {
  min-width: 200px;
  max-width: 360px;
  line-height: 1.55;
  word-break: break-word;
}

.suggestion-table__email {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  white-space: nowrap;
}

.suggestion-table__date {
  white-space: nowrap;
  color: var(--color-muted);
  font-weight: 600;
}

.suggestion-table__status {
  white-space: nowrap;
  text-align: right;
}

.suggestion-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  color: var(--color-ink);
}

.suggestion-badge--pending {
  background: #86efac;
}

.suggestion-badge--reviewed {
  background: #fb923c;
}

.suggestion-badge--working {
  background: #fde047;
}

.suggestion-badge--resolved {
  background: #f87171;
}

.suggestion-badge--impossible {
  background: #d1d5db;
}

.suggestion-status-select {
  appearance: none;
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  min-width: 110px;
}

.suggestion-status-select:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.suggestion-status-select:focus {
  outline: 3px solid var(--color-purple);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .suggestion-table__content {
    max-width: 200px;
  }

  .nav__cta-group {
    gap: 6px;
  }

  .nb-btn--suggestions {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}

/* ── 쪽지함 (inbox) ── */
.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inbox-card {
  padding: 18px 20px;
  background: var(--color-surface);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.inbox-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.inbox-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.inbox-card__buyer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.inbox-anonymous-id {
  display: inline-block;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  background: var(--color-pink);
  border: 2px solid var(--color-ink);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.inbox-card__meta {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.inbox-card__meta div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  font-size: 0.85rem;
}

.inbox-card__meta dt {
  font-weight: 800;
  color: var(--color-muted);
}

.inbox-card__meta dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.inbox-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px dashed var(--color-ink);
}

.inbox-btn-approve,
.inbox-btn-reject {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  font-size: 0.88rem;
}

.inbox-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  color: var(--color-ink);
}

.inbox-badge--pending_review { background: #fde68a; }
.inbox-badge--rejected { background: #d1d5db; }
.inbox-badge--approved { background: #bfdbfe; }
.inbox-badge--builder_approved { background: #86efac; }
.inbox-badge--builder_rejected { background: #fca5a5; }

.inbox-result {
  margin-top: 14px;
  padding: 14px 16px;
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
}

.inbox-result--approved {
  background: var(--color-mint);
}

.inbox-result--rejected {
  background: #fff1f2;
}

.inbox-result p {
  margin: 0;
}

.inbox-result__reason {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 2px dashed rgba(10, 10, 10, 0.15);
}

/* 관리자 — 앱 검증 승인 */
.verify-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.verify-card {
  padding: 18px 20px;
  background: var(--color-surface);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.verify-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.verify-card__title {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 6px;
}

.verify-card__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 600;
}

.verify-card__scores {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.verify-card__avg {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.verify-card__medal {
  font-size: 0.8rem;
  font-weight: 800;
}

.verify-card__reports {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.verify-report-block {
  padding: 12px 14px;
  background: var(--color-bg);
  border: 2px dashed var(--color-ink);
}

.verify-report-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.verify-report-block__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
}

.verify-report-block__score {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
}

.verify-report-block__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  font-weight: 600;
}

.verify-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px dashed var(--color-ink);
}

.verify-btn-approve,
.verify-btn-reject {
  flex: 1;
  min-width: 160px;
}

.order-status--delivered {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--color-mint);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.report-viewer__section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px dashed rgba(10, 10, 10, 0.15);
}

.report-viewer__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.report-viewer__section-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 900;
}

.report-viewer__section-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 600;
  white-space: pre-wrap;
}
