* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100%;
  color: #0f172a;
  background: #f4f8ff;
  background-image: linear-gradient(180deg, #eef5ff 0%, #f8fbff 34%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family: inherit;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

code {
  font-family: Consolas, "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
  font-size: 0.94em;
}

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

img {
  max-width: 100%;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

[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: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 50;
  padding: 10px 16px;
  color: #ffffff;
  background: #1d4ed8;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  top: 0;
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dbe6f5;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 92%;
  max-width: 1120px;
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: #0f172a;
}

.brand:hover {
  color: #0f172a;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  line-height: 38px;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: inline-block;
  line-height: 1.15;
}

.brand-text strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: 34px;
}

.site-nav a {
  margin-right: 24px;
  color: #334155;
  font-size: 15px;
}

.site-nav a:hover {
  color: #2563eb;
  text-decoration: none;
}

.group-chip {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 6px 8px 6px 13px;
  background: #eff6ff;
  border: 1px solid #d7e7ff;
  border-radius: 999px;
  white-space: nowrap;
}

.group-chip-label {
  margin-right: 7px;
  color: #64748b;
  font-size: 12px;
}

.group-chip-number {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.copy-mini {
  margin-left: 8px;
  padding: 3px 9px;
  color: #1d4ed8;
  font-size: 12px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}

.copy-mini:hover {
  background: #dbeafe;
}

.degraded-banner {
  color: #7f1d1d;
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}

.degraded-inner {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 0;
  font-size: 15px;
}

.degraded-inner strong {
  margin-right: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 78px;
  background:
    radial-gradient(circle at 12% 12%, rgba(14, 165, 233, 0.14), transparent 36%),
    radial-gradient(circle at 88% 4%, rgba(37, 99, 235, 0.13), transparent 34%),
    linear-gradient(180deg, #f2f7ff 0%, #f9fbff 74%, #ffffff 100%);
}

.hero:before,
.hero:after {
  position: absolute;
  z-index: 0;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.hero:before {
  top: 90px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: rgba(37, 99, 235, 0.06);
}

.hero:after {
  bottom: -110px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: rgba(14, 165, 233, 0.07);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-copy {
  flex: 1 1 560px;
  max-width: 650px;
  padding-right: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 13px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #eaf2ff;
  border: 1px solid #d7e7ff;
  border-radius: 999px;
}

.hero h1 {
  color: #0b1220;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 580px;
  margin-top: 20px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-actions .btn {
  margin-right: 12px;
  margin-bottom: 10px;
}

.hero-note {
  margin-top: 20px;
  color: #64748b;
  font-size: 14px;
}

.hero-note strong {
  color: #1d4ed8;
}

.hero-card {
  flex: 0 1 380px;
  min-width: 300px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.14);
}

.hero-card-head {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2fb;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
}

.dot-blue {
  background: #2563eb;
}

.dot-sky {
  background: #38bdf8;
}

.dot-green {
  background: #34d399;
}

.hero-card-title {
  margin-left: 7px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.hero-step {
  display: flex;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hero-step:last-of-type {
  border-bottom: 0;
}

.hero-step-num {
  display: inline-block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  background: #eff6ff;
  border-radius: 9px;
}

.hero-step strong {
  display: block;
  color: #1e293b;
  font-size: 15px;
}

.hero-step p {
  margin-top: 2px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.hero-card-foot {
  margin-top: 6px;
  padding-top: 15px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid #edf2fb;
}

.btn {
  display: inline-block;
  min-height: 46px;
  padding: 11px 22px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 12px;
  vertical-align: middle;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 13px 28px rgba(37, 99, 235, 0.34);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #1e3a8a;
  background: #ffffff;
  border-color: #c7d9f5;
}

.btn-ghost:hover {
  color: #1d4ed8;
  background: #eff6ff;
}

.btn-disabled {
  color: #64748b;
  background: #eef2f7;
  border-color: #e2e8f0;
  box-shadow: none;
}

.btn-disabled:hover {
  color: #64748b;
  text-decoration: none;
}

.btn-small {
  min-height: 34px;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 9px;
}

.section {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 74px 0 8px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.section h2 {
  color: #0b1220;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 12px;
  color: #526174;
  font-size: 16px;
}

.guide-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-item {
  display: flex;
  align-items: flex-start;
  padding: 22px 24px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.04);
}

.guide-number {
  display: inline-block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-right: 16px;
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
  background: #eff6ff;
  border-radius: 10px;
}

.guide-body h3 {
  margin-bottom: 4px;
  color: #1e293b;
  font-size: 17px;
}

.guide-body p {
  color: #526174;
  font-size: 15px;
}

.guide-body strong {
  color: #1e3a8a;
}

.callout {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 16px;
}

.callout-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.callout-title {
  margin-bottom: 6px;
  color: #92400e;
  font-size: 16px;
  font-weight: 800;
}

.callout p {
  color: #78350f;
  font-size: 15px;
}

.apply-layout {
  display: flex;
  align-items: flex-start;
}

.apply-card {
  flex: 1 1 640px;
  min-width: 0;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(30, 64, 175, 0.09);
}

.form-fields {
  padding: 0;
  margin: 0;
  border: 0;
}

.form-fields:disabled {
  opacity: 0.62;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 700;
}

.field input[type="text"] {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  color: #0f172a;
  font-size: 16px;
  background: #fbfdff;
  border: 1px solid #cddcf2;
  border-radius: 12px;
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field input[type="text"]:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.field input[type="text"].is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field-help {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.field-error {
  margin-top: 7px;
  padding: 8px 11px;
  color: #991b1b;
  font-size: 13px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 9px;
}

.upload-box {
  position: relative;
  display: block;
  padding: 28px 20px;
  text-align: center;
  background: #fbfdff;
  border: 2px dashed #c8d9f2;
  border-radius: 16px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.upload-box:hover {
  background: #f5f9ff;
  border-color: #93b8f7;
}

.upload-box.is-dragover {
  background: #eef5ff;
  border-color: #2563eb;
}

.file-input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-visual {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  color: #2563eb;
  font-size: 26px;
  font-weight: 300;
  line-height: 42px;
  text-align: center;
  background: #eff6ff;
  border: 1px solid #cfe2ff;
  border-radius: 50%;
}

.upload-title {
  display: block;
  color: #1e3a8a;
  font-size: 15px;
  font-weight: 700;
}

.upload-sub {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.preview-wrap {
  margin-top: 14px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #dbe6f5;
  border-radius: 14px;
}

.preview {
  display: block;
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 9px;
}

.preview-meta {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.preview-name {
  flex: 1 1 auto;
  overflow: hidden;
  color: #526174;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  color: #991b1b;
  font-size: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}

.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 4px;
}

.btn-submit {
  min-width: 148px;
  margin-right: 18px;
}

.form-hint {
  flex: 1 1 260px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.reapply-note {
  margin-top: 18px;
  padding-top: 15px;
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid #edf2fb;
}

.side-card {
  flex: 0 0 310px;
  margin-left: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
  border: 1px solid #dbe6f5;
  border-radius: 20px;
}

.side-card h3 {
  margin-bottom: 14px;
  color: #1e293b;
  font-size: 17px;
}

.mini-steps {
  padding-left: 20px;
  margin: 0;
  color: #526174;
  font-size: 14px;
}

.mini-steps li {
  margin-bottom: 10px;
  padding-left: 2px;
}

.side-note {
  margin-top: 16px;
  padding: 12px;
  color: #475569;
  font-size: 13px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
}

.side-note strong {
  color: #1d4ed8;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.submit-skeleton {
  margin-top: 18px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 16px;
}

.skeleton-line,
.skeleton-lines span {
  display: block;
  height: 13px;
  margin-bottom: 11px;
  background: linear-gradient(90deg, #eaf1fb 25%, #f6f9ff 37%, #eaf1fb 63%);
  background-size: 400% 100%;
  border-radius: 7px;
  animation: shimmer 1.4s ease infinite;
}

.skeleton-line-lg {
  width: 62%;
  height: 20px;
}

.skeleton-line-sm {
  width: 40%;
  margin-bottom: 0;
}

.skeleton-lines {
  margin: 18px 0;
}

.skeleton-lines span:nth-child(2) {
  width: 86%;
}

.skeleton-lines span:nth-child(3) {
  width: 68%;
  margin-bottom: 0;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.result-section {
  scroll-margin-top: 86px;
}

.panel {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(30, 64, 175, 0.09);
}

.panel h3 {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.3;
}

.panel-error {
  border-left: 5px solid #dc2626;
}

.panel-error h3 {
  color: #991b1b;
}

.panel-error p {
  margin-top: 8px;
  color: #526174;
}

.panel-error .btn {
  margin-top: 18px;
}

.error-details {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #991b1b;
  font-size: 14px;
}

.panel-rejected {
  border-left: 5px solid #f59e0b;
}

.panel-rejected > p {
  margin-top: 7px;
  color: #526174;
}

.reason-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  position: relative;
  padding: 11px 13px 11px 38px;
  margin-bottom: 8px;
  color: #7c2d12;
  font-size: 15px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 11px;
}

.reason-list li:before {
  position: absolute;
  top: 10px;
  left: 14px;
  content: "!";
  width: 16px;
  height: 16px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  background: #f59e0b;
  border-radius: 50%;
}

.reject-suggestion {
  padding: 13px 15px;
  color: #1e3a8a;
  font-size: 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 11px;
}

.muted {
  color: #64748b;
  font-size: 13px;
}

.panel-rejected .btn {
  margin-top: 18px;
}

.panel-processing {
  border-left: 5px solid #2563eb;
}

.processing-head {
  display: flex;
  align-items: flex-start;
}

.spinner {
  display: inline-block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-right: 14px;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.processing-head h3 {
  font-size: 23px;
}

.status-tag {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 8px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
}

.processing-head p {
  margin-top: 5px;
  color: #526174;
  font-size: 15px;
}

.apply-id-line {
  margin-top: 18px;
  padding: 11px 14px;
  color: #334155;
  font-size: 14px;
  background: #f8fbff;
  border: 1px dashed #c7d9f5;
  border-radius: 10px;
}

.apply-id-line span {
  font-family: Consolas, "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
  color: #1d4ed8;
  word-break: break-all;
}

.poll-hint {
  margin-top: 11px;
  color: #64748b;
  font-size: 13px;
}

.panel-processing .btn {
  margin-top: 2px;
}

.panel-success {
  border: 1px solid #a7f3d0;
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.1);
}

.success-hero {
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border: 1px solid #a7f3d0;
  border-radius: 16px;
}

.success-badge {
  display: inline-block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 15px;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  line-height: 48px;
  text-align: center;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.24);
}

.success-hero h3 {
  color: #065f46;
}

.success-hero p {
  margin-top: 3px;
  color: #047857;
  font-size: 14px;
}

.success-hero strong {
  font-family: Consolas, "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
  font-size: 16px;
  word-break: break-all;
}

.success-lead {
  margin-top: 20px;
  color: #526174;
  font-size: 15px;
}

.copy-grid {
  display: flex;
  align-items: stretch;
  margin-top: 15px;
}

.copy-box {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px;
  background: #f8fbff;
  border: 1px solid #dbe6f5;
  border-radius: 13px;
}

.copy-box + .copy-box {
  margin-left: 12px;
}

.copy-label {
  display: block;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
}

.copy-row {
  display: flex;
  align-items: center;
}

.copy-row code {
  flex: 1 1 auto;
  overflow: hidden;
  color: #0f172a;
  font-size: 17px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 34px;
  margin-left: 10px;
  padding: 5px 13px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
}

.copy-button:hover {
  background: #dbeafe;
}

.copy-hint {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 11px;
}

.success-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

.success-links .btn {
  min-height: 38px;
  margin-right: 9px;
  margin-bottom: 9px;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.notice-block {
  margin-top: 20px;
  padding: 20px 22px;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.notice-block p {
  margin-bottom: 6px;
}

.notice-block hr {
  height: 1px;
  margin: 14px 0;
  background: #e2e8f0;
  border: 0;
}

.notice-title {
  color: #0f172a;
  font-weight: 800;
}

.notice-address {
  padding: 9px 12px;
  color: #1e3a8a;
  background: #eff6ff;
  border-radius: 8px;
}

.redeem {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.redeem code,
.redeem-inline code {
  display: inline-block;
  padding: 2px 7px;
  margin: 2px 4px 2px 0;
  color: #1e3a8a;
  background: #eaf2ff;
  border: 1px solid #d7e7ff;
  border-radius: 6px;
}

.panel-success > .btn {
  margin-top: 10px;
}

.resources {
  padding-bottom: 18px;
}

.resource-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.resource-card {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0 14px 14px 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 16px;
}

.resource-card:last-child {
  margin-right: 0;
}

.resource-card h3 {
  margin-bottom: 7px;
  color: #1e293b;
  font-size: 17px;
}

.resource-card p {
  color: #526174;
  font-size: 14px;
}

.resource-card a {
  display: inline-block;
  margin-top: 11px;
  font-size: 13px;
  word-break: break-all;
}

.redeem-inline {
  margin-top: 10px;
}

.site-footer {
  margin-top: 48px;
  padding: 34px 0 42px;
  color: #64748b;
  font-size: 13px;
  background: #f8fbff;
  border-top: 1px solid #dbe6f5;
}

.footer-inner {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-inner p {
  margin-bottom: 6px;
}

.footer-inner strong {
  color: #334155;
}

.footer-links a {
  margin-right: 16px;
}

.footer-fine {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 12px;
}

.demo-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  padding: 11px 17px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  opacity: 0.86;
}

.demo-fab:disabled {
  cursor: not-allowed;
}

.copy-fallback {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    padding-right: 26px;
  }

  .side-card {
    flex-basis: 280px;
    margin-left: 18px;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding: 52px 0 58px;
  }

  .hero-inner {
    display: block;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-card {
    max-width: 520px;
    margin-top: 32px;
  }

  .apply-layout {
    display: block;
  }

  .apply-card {
    padding: 24px;
  }

  .side-card {
    margin: 18px 0 0;
  }

  .copy-grid {
    display: block;
  }

  .copy-box + .copy-box {
    margin: 12px 0 0;
  }
}

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

  .header-inner {
    min-height: 62px;
  }

  .group-chip-label {
    display: none;
  }

  .group-chip {
    padding-left: 10px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .btn {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .section {
    padding-top: 54px;
  }

  .section h2 {
    font-size: 28px;
  }

  .guide-item {
    padding: 18px;
  }

  .guide-number {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    line-height: 30px;
  }

  .apply-card {
    padding: 18px;
    border-radius: 17px;
  }

  .upload-box {
    padding: 22px 14px;
  }

  .form-footer {
    display: block;
  }

  .btn-submit {
    width: 100%;
    margin: 0 0 12px;
  }

  .panel {
    padding: 22px 18px;
  }

  .panel h3 {
    font-size: 21px;
  }

  .success-hero {
    padding: 16px;
  }

  .success-badge {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    margin-right: 11px;
    font-size: 21px;
    line-height: 40px;
  }

  .success-hero h3 {
    font-size: 20px;
  }

  .copy-row code {
    font-size: 15px;
  }

  .resource-card {
    flex-basis: 100%;
    margin-right: 0;
  }

  .demo-fab {
    right: 12px;
    bottom: 12px;
    padding: 9px 13px;
    font-size: 12px;
  }
}

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

  .spinner,
  .skeleton-line,
  .skeleton-lines span {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
