/* ============================================================
   Auth Tools — Wristband Brand Theme
   Landing page with free developer tools
   Min supported width: 320px
   ============================================================ */

/* --- Custom Properties (Wristband brand palette) --- */
:root {
  --color-bg: #0B1A28;
  --color-surface: #0F2336;
  --color-surface-alt: #132D45;
  --color-primary: #00D09C;
  --color-primary-hover: #00B888;
  --color-text: #E2E8F0;
  --color-text-muted: #7B8CA3;
  --color-text-hint: #4A5E75;
  --color-border: #1A3A54;
  --color-password-bg: #0A1C2E;

  /* Strength colors */
  --strength-weak: #EF4444;
  --strength-fair: #F59E0B;
  --strength-good: #EAB308;
  --strength-strong: #22C55E;
  --strength-very-strong: #00D09C;

  /* Sizing */
  --radius: 12px;
  --radius-sm: 8px;
  --tap-target: 44px;
  --container-max: 480px;
  --container-padding: 16px;
  --page-max: 1120px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04';
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Screen Reader Only --- */
.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;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--page-max);
  padding: 80px 40px 72px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 208, 156, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 208, 156, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 208, 156, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  animation: fadeUp 0.5s ease both;
}

.hero-title-accent {
  color: var(--color-primary);
}

.hero-subtitle {
  max-width: 520px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  animation: fadeUp 0.5s 0.1s ease both;
}

.hero-privacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0, 208, 156, 0.08);
  border: 1px solid rgba(0, 208, 156, 0.2);
  border-radius: 100px;
  padding: 5px 16px 5px 12px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-privacy svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Tool Row (two-column on desktop)
   ============================================================ */
.tool-row {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 32px 24px;
}

.tool-promo {
  margin-bottom: 20px;
}

.tool-widget {
  width: 100%;
}

/* Desktop: side-by-side grid */
@media (min-width: 768px) {
  .tool-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px 20px;
  }

  .tool-promo {
    margin-bottom: 0;
  }
}

@media (min-width: 960px) {
  .tool-row {
    gap: 64px;
    padding: 56px 40px;
  }
}

/* --- Divider between tool sections --- */
.tool-row--divided {
  border-top: none;
  background: linear-gradient(90deg, transparent, rgba(0, 208, 156, 0.3) 15%, rgba(0, 208, 156, 0.3) 85%, transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top center;
}

/* --- Wide variant (single-column, full-width widget) --- */
.tool-row--wide {
  display: block;
}

.tool-row--wide .tool-promo {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
}

.tool-row--wide .tool-widget .container {
  max-width: none;
}

@media (min-width: 768px) {
  .tool-row--wide {
    display: block;
    padding: 40px 20px;
  }
}

@media (min-width: 960px) {
  .tool-row--wide {
    padding: 56px 40px;
  }
}

/* ============================================================
   Promo Column (marketing copy)
   ============================================================ */
.promo-headline {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.promo-text {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   Widget Container (cards)
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--container-padding);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* On desktop, let the card fill its grid column */
@media (min-width: 768px) {
  .tool-widget .container {
    max-width: none;
  }
}

/* --- Title --- */
.title {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}

/* --- Copy Button --- */
.btn-icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tap-target);
  height: var(--tap-target);
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(0, 208, 156, 0.15);
  color: var(--color-primary);
}

.btn-icon:active {
  transform: scale(0.92);
}

.btn-icon .hidden {
  display: none;
}

/* --- Action Buttons --- */

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-target);
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 208, 156, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* --- Responsive Adjustments --- */
@media (min-width: 400px) {
  .container {
    padding: 24px;
  }
}

@media (min-width: 480px) {
  .container {
    padding: 28px;
  }
}

/* ============================================================
   JWT Token Validator Widget
   ============================================================ */

.jwt-layout {
  /* display: flex;
  flex-direction: column;
  gap: 24px; */
}

@media (min-width: 1024px) {
  .jwt-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

/* --- JWT Container: horizontal split at 1024px+ --- */

/* Left pane: input + actions + status */
.jwt-input-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* --- JWT Input --- */
.jwt-input-section {
  margin-bottom: 16px;
}

.jwt-input-label {
  display: block;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.jwt-input {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: var(--color-password-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: clamp(0.78rem, 2.8vw, 0.88rem);
  line-height: 1.5;
  resize: vertical;
  word-break: break-all;
  transition: border-color var(--transition-fast);
}

.jwt-input::placeholder {
  color: var(--color-text-hint);
  opacity: 0.6;
}

.jwt-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 208, 156, 0.2);
}

/* --- JWT Actions --- */
.jwt-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-secondary {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-border);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- JWT Status Badge --- */
.jwt-status-section {
  margin-bottom: 16px;
}

.jwt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.jwt-status-badge.status-valid {
  background: rgba(34, 197, 94, 0.15);
  color: var(--strength-strong);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.jwt-status-badge.status-expired {
  background: rgba(239, 68, 68, 0.15);
  color: var(--strength-weak);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.jwt-status-badge.status-not-yet-valid {
  background: rgba(245, 158, 11, 0.15);
  color: var(--strength-fair);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.jwt-status-badge.status-malformed {
  background: rgba(239, 68, 68, 0.15);
  color: var(--strength-weak);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.jwt-status-icon {
  font-size: 1rem;
  line-height: 1;
}

/* --- JWT Result Section --- */
/* Right pane: decoded result */
.jwt-result-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .jwt-result-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .jwt-decoded-block--header   { grid-column: 1; grid-row: 1; }
  .jwt-decoded-block--payload  { grid-column: 1; grid-row: 2; }
  .jwt-claims-section          { grid-column: 1; grid-row: 3; }
  .jwt-decoded-block--signature { grid-column: 2; grid-row: 1; }
  .jwt-sig-verify-section      { grid-column: 2; grid-row: 2 / span 2; }
}

.jwt-decoded-block {
  background: var(--color-password-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.jwt-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.jwt-section-title {
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

.jwt-section-header .btn-icon {
  width: 32px;
  height: 32px;
}

/* --- JSON Display --- */
.jwt-json-display {
  padding: 12px;
  margin: 0;
  overflow-x: auto;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: clamp(0.75rem, 2.6vw, 0.85rem);
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* JSON syntax coloring */
.json-key {
  color: #7dd3fc; /* sky-300 */
}

.json-string {
  color: #86efac; /* green-300 */
}

.json-number {
  color: #fde68a; /* amber-200 */
}

.json-boolean {
  color: #c4b5fd; /* violet-300 */
}

.json-null {
  color: var(--color-text-muted);
  font-style: italic;
}

/* --- Signature Block --- */
.jwt-signature-display {
  color: var(--color-text-muted);
  font-size: clamp(0.7rem, 2.4vw, 0.8rem);
}

/* --- Claims Section --- */
.jwt-claims-section {
  background: var(--color-password-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.jwt-claims-section .jwt-section-title {
  padding: 10px 12px;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.jwt-claims-list {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jwt-claim-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(26, 58, 84, 0.5);
}

.jwt-claim-row:last-child {
  border-bottom: none;
}

.jwt-claim-key {
  flex-shrink: 0;
  min-width: 48px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  font-weight: 600;
  color: #7dd3fc;
}

.jwt-claim-value {
  font-size: clamp(0.78rem, 2.6vw, 0.88rem);
  color: var(--color-text);
  word-break: break-all;
}

.jwt-claim-extra {
  font-size: clamp(0.7rem, 2.3vw, 0.78rem);
  color: var(--color-text-muted);
  margin-left: 4px;
}

.jwt-claim-value.claim-expired {
  color: var(--strength-weak);
}

.jwt-claim-value.claim-valid {
  color: var(--strength-strong);
}

.jwt-claim-value.claim-warning {
  color: var(--strength-fair);
}

/* ============================================================
   JWT Signature Verification Section
   ============================================================ */

.jwt-sig-verify-section {
  background: var(--color-password-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.jwt-sig-verify-section .jwt-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.jwt-section-title-hint {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8em;
  color: var(--color-text-hint);
}

.jwt-sig-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.jwt-sig-header-actions .btn-icon {
  width: 32px;
  height: 32px;
}

/* --- Verification Body --- */
.jwt-sig-verify-body {
  padding: 12px;
}

.jwt-sig-verify-label {
  display: block;
  font-size: clamp(0.82rem, 2.6vw, 0.9rem);
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.jwt-sig-verify-textarea {
  width: 100%;
  min-height: 80px;
  margin-bottom: 8px;
}

.jwt-sig-verify-hint {
  font-size: clamp(0.72rem, 2.4vw, 0.8rem);
  color: var(--color-text-hint);
  font-style: italic;
  margin-bottom: 12px;
}

/* --- Controls Row --- */
.jwt-sig-verify-controls {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.jwt-key-format-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jwt-key-format-label {
  font-size: clamp(0.75rem, 2.4vw, 0.82rem);
  font-weight: 500;
  color: var(--color-text-muted);
}

.jwt-key-format-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 32px 8px 12px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-family: inherit;
  font-size: clamp(0.82rem, 2.6vw, 0.9rem);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B8CA3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.jwt-key-format-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 208, 156, 0.2);
}

.jwt-key-format-select:hover {
  border-color: var(--color-text-muted);
}

.jwt-key-format-select option {
  background: var(--color-surface);
  color: var(--color-text);
}

/* Small button variant */
.btn-sm {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 16px;
  font-size: clamp(0.8rem, 2.6vw, 0.88rem);
}

/* --- Verification Result Badge --- */
.jwt-sig-verify-result {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.jwt-sig-verify-result.sig-valid {
  background: rgba(34, 197, 94, 0.15);
  color: var(--strength-strong);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.jwt-sig-verify-result.sig-invalid {
  background: rgba(239, 68, 68, 0.15);
  color: var(--strength-weak);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.jwt-sig-verify-result.sig-error {
  background: rgba(245, 158, 11, 0.15);
  color: var(--strength-fair);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.jwt-sig-verify-result .sig-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ============================================================
   Content Sections
   ============================================================ */

.content-section {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-heading {
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.content-block p {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-text);
}

.content-block code {
  background: var(--color-password-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.9em;
  color: var(--color-primary);
}

.content-list {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text);
}

.content-list li {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.7;
  padding-left: 8px;
}

.content-list strong {
  color: var(--color-primary);
  font-weight: 600;
}

.content-list--compact {
  gap: 8px;
}

.content-block em {
  color: var(--color-text-muted);
  font-style: italic;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast);
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform var(--transition-fast);
}

details[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  background: var(--color-surface);
}

.faq-question code {
  font-family: 'DM Mono', monospace;
  font-size: 0.9em;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 0;
}

.faq-answer {
  padding: 8px 20px 16px;
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 208, 156, 0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.faq-answer a:hover {
  color: var(--color-primary-hover);
  border-color: var(--color-primary);
}

.references-list {
  padding-left: 0;
  list-style: none;
}

.references-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 0;
}

.reference-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  transition: color var(--transition-fast);
}

.reference-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.reference-desc {
  font-size: clamp(0.82rem, 2.3vw, 0.9rem);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  width: 100%;
  text-align: center;
  padding: 40px 24px;
  margin-top: 48px;
  border-top: none;
  max-width: var(--page-max);
  background: linear-gradient(90deg, transparent, rgba(0, 208, 156, 0.3) 15%, rgba(0, 208, 156, 0.3) 85%, transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 600;
  color: #fff;
}

.footer-heart {
  font-size: 1.1em;
  line-height: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-brand:hover {
  opacity: 0.8;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-contact {
  font-size: clamp(0.78rem, 2.2vw, 0.85rem);
  color: var(--color-text-hint);
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ============================================================
   Utility
   ============================================================ */
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
