/* ============================================================
   NANS ITF Portal — Matches main site design system
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0d2818;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #15803d;
  --green-500: #16a34a;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --yellow:       #f5b800;
  --yellow-light: #ffd23f;
  --yellow-dark:  #c79500;
  --yellow-pale:  #fffbeb;

  --bg:          #fafaf7;
  --surface:     #ffffff;
  --surface-2:   #f5f5f2;
  --border:      #e7e5e0;
  --border-light:#f0efe9;

  --text:        #1a1a1a;
  --text-muted:  #5c5c5c;
  --text-light:  #8a8a8a;

  --red:         #dc2626;
  --red-bg:      #fef2f2;

  --font-hero:   'Space Grotesk', sans-serif;
  --font-heading:'Montserrat', sans-serif;
  --font-body:   'Poppins', sans-serif;

  --radius:      10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-md:   0 8px 24px rgba(0,0,0,.12);

  --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--green-900);
  color: white;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}

.brand:hover { color: white; }

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  padding: 3px;
  flex-shrink: 0;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green-500);
  animation: pulse-dot 2s infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  color: white;
  letter-spacing: .01em;
}

.brand-text em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .68rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.85); }
}

.topbar-link {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-link:hover { color: var(--yellow); }

@media (max-width: 480px) {
  .brand-logo { width: 30px; height: 30px; }
  .brand-text strong { font-size: .82rem; }
  .brand-text em { font-size: .62rem; }
  .topbar-link { display: none; }
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  background: var(--green-800);
  color: white;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(21,128,61,.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(245,184,0,.08) 0%, transparent 60%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,184,0,.15);
  border: 1px solid rgba(245,184,0,.3);
  color: var(--yellow-light);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

.hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: white;
  max-width: 780px;
}

.hero h1 .italic {
  font-style: italic;
  color: var(--yellow);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 560px;
}

.stat {
  background: rgba(255,255,255,.04);
  padding: 20px 16px;
  text-align: center;
  transition: background .2s;
}

.stat:hover { background: rgba(255,255,255,.08); }

.stat strong {
  display: block;
  font-family: var(--font-hero);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-family: var(--font-body);
  font-size: .68rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   FORM SECTION
   ══════════════════════════════════════════════════════════ */
.form-section {
  padding: 64px 0 80px;
  background: var(--bg);
}

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: .875rem;
  border-left: 4px solid;
  animation: slide-in .35s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alert-error {
  background: var(--red-bg);
  color: #991b1b;
  border-color: var(--red);
}

.alert svg { flex-shrink: 0; margin-top: 1px; }

/* Form wrap */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--green-50) 0%, transparent 100%);
  position: relative;
}

.form-header::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--yellow));
  border-radius: 0 0 3px 3px;
}

.form-header-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  border: 1px solid var(--green-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.form-header h2 em {
  font-style: italic;
  color: var(--yellow-dark);
}

.form-header p {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

form {
  padding: 32px;
}

@media (max-width: 640px) {
  .form-header { padding: 24px 20px 20px; }
  .form-header::before { left: 20px; right: 20px; }
  form { padding: 24px 20px; }
}

/* Section titles inside form */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.form-section-title:first-of-type { padding-top: 0; }

.section-icon {
  width: 36px; height: 36px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}

.form-section-title span {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 .form-group { margin-bottom: 0; }
}

label {
  display: block;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.req { color: var(--red); margin-left: 3px; }

.opt {
  color: var(--text-light);
  font-weight: 400;
  font-size: .75rem;
  margin-left: 4px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(21,128,61,.12);
  background: var(--surface);
}

input::placeholder, textarea::placeholder {
  color: var(--text-light);
}

textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--font-body);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.hint {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   UPLOAD ZONE — polished
   ══════════════════════════════════════════════════════════ */
.upload-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--green-50);
}

.upload-zone:hover, .upload-zone.drag {
  border-color: var(--green-600);
  background: #ecfdf5;
  transform: translateY(-1px);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
}

.upload-content svg {
  color: var(--green-600);
  margin-bottom: 4px;
}

.upload-content p {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}

.upload-content p strong {
  color: var(--green-700);
  font-weight: 700;
}

.upload-content span {
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--text-light);
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px;
  position: relative;
  z-index: 3;
}

.upload-preview img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid white;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.preview-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.preview-info p {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
  word-break: break-all;
}

.preview-info button {
  background: none;
  border: none;
  color: var(--red);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-info button:hover { color: #991b1b; }

/* ══════════════════════════════════════════════════════════
   CONSENT BOX
   ══════════════════════════════════════════════════════════ */
.consent-box {
  display: flex;
  gap: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 24px 0;
}

.consent-box svg {
  flex-shrink: 0;
  color: var(--green-600);
  margin-top: 2px;
}

.consent-box p {
  font-family: var(--font-body);
  font-size: .84rem;
  color: #166534;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   SUBMIT BUTTON
   ══════════════════════════════════════════════════════════ */
.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--green-600);
  color: white;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,128,61,.25);
}

.btn-submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════
   INFO BOX (below form)
   ══════════════════════════════════════════════════════════ */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}

.info-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  color: var(--yellow-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--yellow-pale);
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.info-box ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.info-box li {
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.75;
  padding-left: 4px;
}

.info-box li::marker {
  color: var(--green-600);
  font-weight: 700;
}

.info-note {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--text-light);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  line-height: 1.7;
}

.info-note a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: none;
}

.info-note a:hover { color: var(--green-700); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   SUCCESS PAGE
   ══════════════════════════════════════════════════════════ */
.success-section {
  padding: 60px 0 80px;
  min-height: 70vh;
  background: var(--bg);
}

.success-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-600), var(--yellow));
}

.success-icon {
  width: 96px;
  height: 96px;
  background: var(--green-50);
  border: 3px solid var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  margin: 0 auto 24px;
  animation: bounce-in .6s cubic-bezier(.34,1.56,.64,1);
}

@keyframes bounce-in {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.success-card h1 {
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.success-card h1 em {
  font-style: italic;
  color: var(--yellow-dark);
}

.success-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.ref-box {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  margin: 24px auto;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.ref-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.ref-box > * { position: relative; z-index: 1; }

.ref-label {
  font-family: var(--font-body);
  font-size: .7rem;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 8px;
}

.ref-code {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: white;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.ref-note {
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.ref-note strong {
  color: var(--text);
  font-weight: 600;
}

.next-steps {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 36px;
  padding: 24px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
}

.next-steps-title {
  font-family: var(--font-heading);
  font-size: .82rem;
  color: var(--green-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--green-100);
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.step:last-child { margin-bottom: 0; }

.step-num {
  width: 30px;
  height: 30px;
  background: var(--green-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(21,128,61,.3);
}

.step-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.step-body p {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-600);
  color: white;
  border-color: var(--green-600);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,128,61,.25);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-600);
}

.btn-outline:hover {
  background: var(--green-600);
  color: white;
  transform: translateY(-2px);
}

.share-hint {
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 460px;
  margin: 0 auto;
}

.share-input {
  display: block;
  width: 100%;
  margin: 12px auto 0;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  text-align: center;
  color: var(--green-700);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,.5);
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-family: var(--font-body);
  font-size: .82rem;
  margin-bottom: 6px;
}

.motto {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  font-weight: 600;
  margin-top: 4px;
}

.dev-credit {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-body);
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.dev-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(245,184,0,.08);
  border: 1px solid rgba(245,184,0,.15);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.dev-credit a:hover {
  background: rgba(245,184,0,.18);
  border-color: rgba(245,184,0,.35);
  transform: translateY(-1px);
}