:root {
  --bg-linen: #fbf8f5;
  --bg-card: #ffffff;
  --plum-primary: #520636;
  --plum-hover: #3d0428;
  --berry-accent: #7a1655;
  --plum-soft: #f5ebf1;
  --plum-border: #d8b4c8;
  --text-dark: #262224;
  --text-muted: #5c5357;
  --font-serif: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-linen);
  color: var(--text-dark);
  background-image: radial-gradient(#e6d5df 0.85px, transparent 0.85px),
                    radial-gradient(#e6d5df 0.85px, var(--bg-linen) 0.85px);
  background-size: 34px 34px;
  background-position: 0 0, 17px 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--plum-primary);
  color: #ffffff;
}

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

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.top-bar {
  width: 100%;
  height: 0.5rem;
  background-color: var(--plum-primary);
}

.main-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3.5rem;
}

@media (min-width: 640px) {
  .main-container {
    padding: 3rem 1.5rem 4.5rem;
  }
}

.main-container--centered {
  align-items: center;
  padding: 2.5rem 1rem;
}

@media (min-width: 640px) {
  .main-container--centered {
    padding: 4rem 1rem;
  }
}

.card-wrapper,
.page-wrapper {
  width: 100%;
  max-width: 52rem;
}

.label-card {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(82, 6, 54, 0.08);
  border: 1px solid #ead9e3;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .label-card {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .label-card {
    padding: 3rem;
  }
}

.stitched-box {
  border: 1.5px dashed var(--plum-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .stitched-box {
    padding: 2.5rem;
  }
}

.site-footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-btn,
.footer-link {
  background: none;
  border: none;
  padding: 0.25rem;
  font-family: inherit;
  font-size: inherit;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--plum-border);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-btn:hover,
.footer-link:hover {
  color: var(--plum-primary);
}

.status-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background-color: var(--plum-soft);
  color: var(--plum-primary);
  border: 1px solid #dfc2d3;
}

@media (min-width: 640px) {
  .status-badge {
    font-size: 0.875rem;
  }
}

.pulse-dot-wrap {
  position: relative;
  display: flex;
  width: 0.625rem;
  height: 0.625rem;
}

.pulse-dot-ring {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: var(--plum-primary);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot-core {
  position: relative;
  display: inline-flex;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: var(--plum-primary);
}

.logo-section {
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .logo-section {
    margin: 1rem 0;
  }
}

.mama-panda-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 430 / 410;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 410'%3E%3Cdefs%3E%3Cstyle%3E.mp-plum%7Bfill:%23520636;%7D.mp-white%7Bfill:%23ffffff;%7D.mp-script%7Bfill:none;stroke:%23111111;stroke-width:2.55;stroke-linecap:round;stroke-linejoin:round;%7D.mp-script-thin%7Bfill:none;stroke:%23111111;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;opacity:0.78;%7D%3C/style%3E%3C/defs%3E%3Cg transform='translate(75, 0) scale(0.875)'%3E%3Cpath class='mp-plum' d='M 103 44 C 95 16, 60 12, 46 34 C 33 55, 42 87, 67 96 C 77 80, 90 61, 103 44 Z'/%3E%3Cpath class='mp-plum' d='M 217 44 C 225 16, 260 12, 274 34 C 287 55, 278 86, 254 94 C 243 79, 230 60, 217 44 Z'/%3E%3Cpath class='mp-plum' d='M 86 52 C 122 25, 184 25, 232 54 C 246 63, 257 76, 266 91 L 256 97 C 234 67, 202 48, 168 44 C 202 65, 234 95, 256 121 C 279 138, 290 164, 290 196 C 290 266, 234 319, 164 319 C 150 319, 137 317, 125 314 C 193 298, 255 260, 272 198 C 281 166, 270 140, 246 123 C 214 97, 180 70, 150 57 C 120 46, 93 59, 71 78 L 63 70 C 69 63, 77 57, 86 52 Z'/%3E%3Cpath class='mp-plum' d='M 66 95 C 90 70, 122 58, 151 64 C 166 67, 180 75, 189 85 C 181 88, 173 93, 168 99 C 159 86, 144 79, 127 83 C 97 88, 67 116, 52 148 C 39 176, 41 214, 61 244 C 80 274, 116 291, 157 285 C 206 276, 246 240, 254 191 C 257 170, 253 148, 244 133 C 259 144, 267 163, 265 187 C 259 244, 206 291, 138 303 C 125 305, 112 305, 102 303 C 55 280, 27 234, 29 180 C 31 142, 44 115, 66 95 Z'/%3E%3Cpath class='mp-plum' d='M 70 135 C 59 163, 66 201, 87 223 C 85 212, 86 201, 90 196 C 93 214, 106 235, 127 248 C 138 255, 149 258, 157 259 C 146 266, 132 271, 114 268 C 78 263, 55 227, 55 186 C 55 165, 60 147, 70 135 Z M 65 206 C 72 233, 94 255, 121 257 C 102 244, 87 227, 65 206 Z'/%3E%3Cpath class='mp-plum' d='M 121 103 C 140 101, 153 118, 149 141 C 144 165, 123 190, 102 190 C 83 190, 74 173, 81 152 C 86 137, 98 128, 108 125 L 93 124 C 100 111, 110 104, 121 103 Z'/%3E%3Ccircle class='mp-white' cx='123' cy='146' r='9'/%3E%3Cpath class='mp-plum' d='M 203 103 C 184 101, 171 118, 175 141 C 180 165, 201 190, 222 190 C 241 190, 250 173, 243 152 C 238 137, 226 128, 216 125 L 231 124 C 224 111, 214 104, 203 103 Z'/%3E%3Ccircle class='mp-white' cx='201' cy='146' r='9'/%3E%3Cpath class='mp-plum' d='M 146 175 L 178 175 C 185 175, 188 185, 181 191 C 176 196, 169 198, 167 199 L 167 207 C 171 210, 175 210, 178 208 C 181 206, 184 210, 181 215 C 176 220, 166 220, 162 215 C 158 220, 148 220, 143 215 C 140 210, 143 206, 146 208 C 149 210, 153 210, 157 207 L 157 199 C 155 198, 148 196, 143 191 C 136 185, 139 175, 146 175 Z'/%3E%3Cpath class='mp-plum' d='M 125 193 C 128 192, 130 195, 129 200 C 126 216, 141 230, 162 230 C 183 230, 198 216, 195 200 C 194 195, 196 192, 199 193 C 209 198, 211 214, 202 226 C 193 239, 178 245, 162 245 C 146 245, 131 239, 122 226 C 113 214, 115 198, 125 193 Z'/%3E%3Cpath class='mp-plum' d='M 227 201 C 230 201, 232 205, 231 212 C 228 226, 216 239, 201 248 C 214 235, 223 218, 225 204 C 225 202, 226 201, 227 201 Z'/%3E%3C/g%3E%3Cg transform='translate(8, 322)'%3E%3Cpath class='mp-script' d='M 10 60 C 12 37, 17 6, 21 6 C 25 6, 26 42, 34 42 C 43 42, 56 6, 61 6 C 65 6, 63 44, 59 60'/%3E%3Cpath class='mp-script' d='M 85 39 C 75 34, 66 41, 66 49 C 66 56, 74 56, 81 48 L 85 41 C 85 49, 87 55, 93 54 C 98 53, 101 48, 104 43'/%3E%3Cpath class='mp-script' d='M 105 39 L 105 55 C 110 43, 118 34, 123 34 C 127 34, 127 48, 130 54 C 134 45, 140 38, 145 38 C 149 38, 148 49, 152 54 C 155 56, 161 53, 165 47'/%3E%3Cpath class='mp-script' d='M 183 39 C 173 34, 164 41, 164 49 C 164 56, 172 56, 179 48 L 183 41 C 183 49, 185 55, 192 54 C 197 53, 200 48, 203 43'/%3E%3Cpath class='mp-script' d='M 259 15 C 255 28, 252 44, 252 54'/%3E%3Cpath class='mp-script-thin' d='M 252 52 C 252 57, 253 61, 255 64'/%3E%3Cpath class='mp-script' d='M 232 18 C 235 6, 258 0, 274 6 C 289 12, 288 29, 272 37 C 261 43, 251 43, 245 42'/%3E%3Cpath class='mp-script' d='M 299 39 C 289 34, 280 41, 280 49 C 280 56, 288 56, 295 48 L 299 41 C 299 49, 301 55, 307 54 C 312 53, 315 48, 318 43'/%3E%3Cpath class='mp-script' d='M 319 39 L 319 55 C 325 43, 333 36, 339 36 C 344 36, 343 49, 347 54 C 351 56, 357 53, 361 47'/%3E%3Cpath class='mp-script' d='M 380 38 C 370 33, 360 40, 360 48 C 360 55, 369 55, 376 46 C 381 38, 383 20, 383 5 L 383 62'/%3E%3Cpath class='mp-script' d='M 404 39 C 394 34, 386 41, 386 49 C 386 56, 394 56, 401 48 L 404 41 C 404 49, 406 55, 413 54 C 418 53, 421 48, 424 43'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 640px) {
  .mama-panda-logo {
    max-width: 320px;
  }
}

.intro-section {
  text-align: center;
  max-width: 36rem;
  margin: 1rem auto 0;
}

.handwritten-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--plum-primary);
  margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
  .handwritten-accent {
    font-size: 1.65rem;
  }
}

.main-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .main-heading {
    font-size: 2.15rem;
  }
}

.intro-text {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .intro-text {
    font-size: 1.075rem;
  }
}

.intro-text strong {
  font-weight: 600;
  color: var(--plum-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-linen);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid #efe2ea;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
  background-color: var(--plum-soft);
  color: var(--plum-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-title {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.025rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .feature-desc {
    font-size: 0.875rem;
  }
}

.contact-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.contact-link:hover {
  color: var(--plum-primary);
}

.contact-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--plum-primary);
}

.bullet-sep {
  color: var(--plum-border);
}

.social-toast {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--plum-primary);
  font-weight: 500;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed var(--plum-border);
  margin-bottom: 2rem;
}

.header-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  background-color: var(--plum-soft);
  color: var(--plum-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--plum-border);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.back-link:hover {
  background-color: #ebd9e4;
  transform: translateX(-2px);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 9999px;
  background-color: var(--bg-linen);
  border: 1px solid var(--plum-border);
  color: var(--plum-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
}

.panda-mini-icon {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 82% 82%;
  border: 1px solid var(--plum-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 330'%3E%3Cpath fill='%23520636' d='M 103 44 C 95 16, 60 12, 46 34 C 33 55, 42 87, 67 96 C 77 80, 90 61, 103 44 Z'/%3E%3Cpath fill='%23520636' d='M 217 44 C 225 16, 260 12, 274 34 C 287 55, 278 86, 254 94 C 243 79, 230 60, 217 44 Z'/%3E%3Cpath fill='%23520636' d='M 86 52 C 122 25, 184 25, 232 54 C 246 63, 257 76, 266 91 L 256 97 C 234 67, 202 48, 168 44 C 202 65, 234 95, 256 121 C 279 138, 290 164, 290 196 C 290 266, 234 319, 164 319 C 150 319, 137 317, 125 314 C 193 298, 255 260, 272 198 C 281 166, 270 140, 246 123 C 214 97, 180 70, 150 57 C 120 46, 93 59, 71 78 L 63 70 C 69 63, 77 57, 86 52 Z'/%3E%3Cpath fill='%23520636' d='M 66 95 C 90 70, 122 58, 151 64 C 166 67, 180 75, 189 85 C 181 88, 173 93, 168 99 C 159 86, 144 79, 127 83 C 97 88, 67 116, 52 148 C 39 176, 41 214, 61 244 C 80 274, 116 291, 157 285 C 206 276, 246 240, 254 191 C 257 170, 253 148, 244 133 C 259 144, 267 163, 265 187 C 259 244, 206 291, 138 303 C 125 305, 112 305, 102 303 C 55 280, 27 234, 29 180 C 31 142, 44 115, 66 95 Z'/%3E%3Cpath fill='%23520636' d='M 121 103 C 140 101, 153 118, 149 141 C 144 165, 123 190, 102 190 C 83 190, 74 173, 81 152 C 86 137, 98 128, 108 125 L 93 124 C 100 111, 110 104, 121 103 Z'/%3E%3Ccircle fill='%23ffffff' cx='123' cy='146' r='10'/%3E%3Cpath fill='%23520636' d='M 203 103 C 184 101, 171 118, 175 141 C 180 165, 201 190, 222 190 C 241 190, 250 173, 243 152 C 238 137, 226 128, 216 125 L 231 124 C 224 111, 214 104, 203 103 Z'/%3E%3Ccircle fill='%23ffffff' cx='201' cy='146' r='10'/%3E%3Cpath fill='%23520636' d='M 146 175 L 178 175 C 185 175, 188 185, 181 191 C 176 196, 169 198, 167 199 L 167 207 C 171 210, 175 210, 178 208 C 181 206, 184 210, 181 215 C 176 220, 166 220, 162 215 C 158 220, 148 220, 143 215 C 140 210, 143 206, 146 208 C 149 210, 153 210, 157 207 L 157 199 C 155 198, 148 196, 143 191 C 136 185, 139 175, 146 175 Z'/%3E%3Cpath fill='%23520636' d='M 125 193 C 128 192, 130 195, 129 200 C 126 216, 141 230, 162 230 C 183 230, 198 216, 195 200 C 194 195, 196 192, 199 193 C 209 198, 211 214, 202 226 C 193 239, 178 245, 162 245 C 146 245, 131 239, 122 226 C 113 214, 115 198, 125 193 Z'/%3E%3C/svg%3E");
}

.page-title {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum-primary);
  line-height: 1.25;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 2.25rem;
  }
}

.page-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.info-callout {
  background-color: var(--plum-soft);
  border-left: 4px solid var(--plum-primary);
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.94rem;
}

.info-callout p:last-child {
  margin-bottom: 0;
}

.placeholder-tag {
  display: inline-block;
  background-color: #ffffff;
  color: var(--plum-primary);
  border: 1px dashed var(--berry-accent);
  border-radius: 0.35rem;
  padding: 0.05rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
}

.bottom-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--plum-border);
  display: flex;
  justify-content: flex-start;
}


.claim-with-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.claim-with-flag::after {
  content: "";
  display: inline-block;
  width: 1.375rem;
  height: 0.94rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cdefs%3E%3CclipPath id='sh-pill'%3E%3Crect x='0.75' y='0.75' width='22.5' height='14.5' rx='3.5'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23sh-pill)'%3E%3Crect x='0' y='0' width='24' height='5.5' fill='%23003d8f'/%3E%3Crect x='0' y='5.3' width='24' height='5.4' fill='%23ffffff'/%3E%3Crect x='0' y='10.6' width='24' height='5.5' fill='%23d91e2a'/%3E%3C/g%3E%3Crect x='0.75' y='0.75' width='22.5' height='14.5' rx='3.5' fill='none' stroke='%23d8b4c8' stroke-width='1.1'/%3E%3C/svg%3E");
}