/* tools.minethan.dev — feuille de style autonome (même design system que minethan.dev,
   dupliqué ici plutôt que partagé car ce sous-domaine a son propre document root). */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-variable.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-variable.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a0e27;
  --navy-soft: #10163a;
  --navy-card: #141b45;
  --navy-line: rgba(184, 193, 219, 0.12);
  --navy-line-bold: rgba(184, 193, 219, 0.2);

  --text-white: #ffffff;
  --text-gray: #b8c1db;
  --text-faint: #8a93b8;

  --yellow: #ffc21c;
  --yellow-dark: #d99e00;

  --font-ui: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-ui);
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% -5%, var(--navy-soft) 0%, transparent 70%),
    linear-gradient(rgba(184, 193, 219, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 193, 219, 0.045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: page-fade-in 0.35s var(--ease) both;
}

@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }

::selection { background: var(--yellow); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ============ Icônes (masque CSS, suivent currentColor) ============ */

.icon {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-copy { width: 16px; height: 16px; -webkit-mask-image: url(../img/icons/copy.svg); mask-image: url(../img/icons/copy.svg); }
.icon-check { width: 16px; height: 16px; -webkit-mask-image: url(../img/icons/check.svg); mask-image: url(../img/icons/check.svg); }
.icon-arrows { width: 20px; height: 20px; -webkit-mask-image: url(../img/icons/arrows-vertical.svg); mask-image: url(../img/icons/arrows-vertical.svg); }
.icon-upload { width: 28px; height: 28px; -webkit-mask-image: url(../img/icons/upload.svg); mask-image: url(../img/icons/upload.svg); }

.tool-icon { width: 22px; height: 22px; flex-shrink: 0; }
.tool-icon-convertisseur { -webkit-mask-image: url(../img/tools/convertisseur.svg); mask-image: url(../img/tools/convertisseur.svg); }
.tool-icon-duree { -webkit-mask-image: url(../img/tools/duree.svg); mask-image: url(../img/tools/duree.svg); }
.tool-icon-password { -webkit-mask-image: url(../img/tools/password.svg); mask-image: url(../img/tools/password.svg); }
.tool-icon-qrcode { -webkit-mask-image: url(../img/tools/qrcode.svg); mask-image: url(../img/tools/qrcode.svg); }
.tool-icon-fisheye { -webkit-mask-image: url(../img/tools/fisheye.svg); mask-image: url(../img/tools/fisheye.svg); }

.icon-github { width: 18px; height: 18px; -webkit-mask-image: url(../img/icons/github.svg); mask-image: url(../img/icons/github.svg); }
.icon-mail { width: 18px; height: 18px; -webkit-mask-image: url(../img/icons/mail.svg); mask-image: url(../img/icons/mail.svg); }
.icon-globe { width: 13px; height: 13px; -webkit-mask-image: url(../img/icons/globe.svg); mask-image: url(../img/icons/globe.svg); }

/* ============ Navbar ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: padding 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

@media (min-width: 901px) {
  .navbar.scrolled { padding: 14px 16px 0; }
}

.nav-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 0 0 0 transparent;
  transition: max-width 0.5s cubic-bezier(0.65, 0, 0.35, 1), padding 0.4s ease,
    border-radius 0.4s ease, border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

@media (min-width: 901px) {
  .navbar.scrolled .nav-container {
    max-width: 920px;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border-color: var(--navy-line-bold);
    background: rgba(20, 27, 69, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  }
}

@media (max-width: 900px) {
  .navbar { padding: 14px 16px 0; }
  .nav-container {
    max-width: 100%;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border-color: var(--navy-line-bold);
    background: rgba(20, 27, 69, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  }
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .dot { color: var(--yellow); }

.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 3px 8px;
  border-radius: 999px;
}

.nav-right { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--navy-line-bold);
  background: rgba(255, 255, 255, 0.03);
}

.nav-lang-icon { margin: 0 2px 0 5px; color: var(--text-faint); }

.nav-lang-option {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-lang-option:hover { color: var(--text-white); }

.nav-lang-option.is-active { background: var(--yellow); color: var(--navy); font-weight: 600; }

/* ============ Structure générale ============ */

main { position: relative; z-index: 1; }

.stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(110px, 16vh, 150px) clamp(20px, 5vw, 44px) 90px;
}

.tool-stage { max-width: 640px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.section-label::after { content: ''; flex: 1; height: 1px; background: var(--navy-line-bold); }

.section-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-title .accent { color: var(--yellow); }

.page-intro { color: var(--text-gray); font-size: 14.5px; line-height: 1.6; margin-bottom: 36px; }

/* ============ Boutons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.16s var(--ease-snap), box-shadow 0.16s var(--ease-snap), background 0.16s ease, opacity 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 0 var(--yellow-dark), 0 14px 24px -10px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.btn-secondary {
  background: var(--navy-card);
  color: var(--text-white);
  border: 1px solid var(--navy-line-bold);
  box-shadow: 0 6px 0 rgba(138, 147, 184, 0.4), 0 14px 24px -10px rgba(0, 0, 0, 0.5);
}

@media (hover: hover) {
  .btn-primary:not(:disabled):hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--yellow-dark), 0 8px 16px -8px rgba(0, 0, 0, 0.45); }
  .btn-secondary:not(:disabled):hover {
    transform: translateY(3px);
    border-color: var(--yellow);
    color: var(--yellow);
    box-shadow: 0 3px 0 rgba(138, 147, 184, 0.4), 0 8px 16px -8px rgba(0, 0, 0, 0.45);
  }
}

.btn-primary:not(:disabled):active { transform: translateY(6px); box-shadow: 0 0 0 var(--yellow-dark); transition-duration: 0.08s; }
.btn-secondary:not(:disabled):active { transform: translateY(6px); box-shadow: 0 0 0 rgba(138, 147, 184, 0.4); transition-duration: 0.08s; }

/* ============ Grille d'accueil (liste des outils) ============ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line-bold);
  color: var(--text-white);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s var(--ease);
}

.tool-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 194, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}

.tool-card-content { display: flex; flex-direction: column; gap: 3px; }
.tool-card-title { font-family: var(--font-ui); font-weight: 600; font-size: 15px; }
.tool-card-desc { font-size: 12.5px; color: var(--text-faint); line-height: 1.4; }

@media (hover: hover) {
  .tool-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
}

/* ============ Panneau d'outil ============ */

.tool-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--navy-line-bold);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field label .field-live { color: var(--yellow); text-transform: none; letter-spacing: normal; }

.field input[type="text"],
.field input[type="number"],
.field input[type="datetime-local"],
.field select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--navy-line-bold);
  color: var(--text-white);
  transition: border-color 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

/* Le popup natif du <select> ignore une partie du CSS parent : redéclarer
   explicitement le fond/texte de chaque <option> pour éviter du texte blanc
   sur fond blanc (comportement par défaut du navigateur). */
.field select option {
  background-color: var(--navy-card);
  color: var(--text-white);
}

.field input:focus,
.field select:focus {
  border-color: var(--yellow);
  outline: none;
}

.field input[readonly] { color: var(--text-gray); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.field-inline-group { display: flex; gap: 10px; }
.field-inline-group input { flex: 1 1 80px; min-width: 0; }
.field-inline-group select { flex: 1 1 100px; min-width: 0; padding-right: 30px; }

/* Résultat en lecture seule + bouton copier accolé */
.field-with-action { display: flex; gap: 10px; }
.field-with-action input { flex: 1; }

.icon-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line-bold);
  color: var(--text-gray);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }

@media (hover: hover) {
  .icon-btn:not(:disabled):hover { border-color: var(--yellow); color: var(--yellow); }
}

/* Boutons rapides (jour même, inverser...) */
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-quick {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line-bold);
  color: var(--text-gray);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {
  .btn-quick:hover { border-color: var(--yellow); color: var(--yellow); }
}

/* Slider (range) */
.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--navy-line-bold);
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px var(--yellow);
  cursor: pointer;
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px var(--yellow);
  cursor: pointer;
}

.range-row { display: flex; align-items: center; gap: 12px; }
.range-bound { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); white-space: nowrap; }

/* Cases à cocher personnalisées */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-gray);
  cursor: pointer;
}

.checkbox-input { position: absolute; opacity: 0; width: 0; height: 0; }

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--navy-line-bold);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-mask-image: url(../img/icons/check.svg);
  mask-image: url(../img/icons/check.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 70%;
  mask-size: 70%;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.1s ease;
}

.checkbox-input:checked + .checkbox-custom {
  background: var(--yellow);
  border-color: var(--yellow);
}

.checkbox-input:checked + .checkbox-custom::after { opacity: 1; }

.checkbox-input:focus-visible + .checkbox-custom { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Pastille de couleur (input color) */
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field input[type="text"] { flex: 1; min-width: 0; }

.color-swatch {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--navy-line-bold);
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.color-swatch::-webkit-color-swatch-wrapper { padding: 3px; }
.color-swatch::-webkit-color-swatch { border-radius: 5px; border: none; }
.color-swatch::-moz-color-swatch { border-radius: 5px; border: none; }

/* Zone de dépôt de fichier */
.upload-zone {
  border: 2px dashed var(--navy-line-bold);
  border-radius: 14px;
  padding: clamp(28px, 6vw, 44px) 20px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.upload-zone.drag-over { border-color: var(--yellow); background: rgba(255, 194, 28, 0.04); }

.upload-label { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer; }

.upload-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 194, 28, 0.1);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text { font-size: 14px; color: var(--text-gray); max-width: 320px; }
.upload-hint { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }

#file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.upload-preview { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.picker-hint { font-size: 13px; color: var(--text-gray); text-align: center; }

#picker-canvas {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--navy-line-bold);
  cursor: crosshair;
}

.preview-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.file-name { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

/* Résultat / spinner */
.result-block { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--navy-line-bold);
  border-top-color: var(--yellow);
  animation: spin 0.8s linear infinite;
}

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

.loading-row { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-gray); font-size: 13.5px; }

#result-canvas, #qrcode canvas, #qrcode img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--navy-line-bold);
}

.result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Résultat durée */
.duration-result { display: flex; flex-direction: column; gap: 22px; }

.result-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
}

.result-main {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--yellow);
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 194, 28, 0.06);
  border: 1px solid rgba(255, 194, 28, 0.2);
}

.result-grid, .alternatives-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.alternatives-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 640px) {
  .result-grid { grid-template-columns: repeat(3, 1fr); }
  .alternatives-grid { grid-template-columns: repeat(2, 1fr); }
}

.result-item, .alternative-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 10px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line-bold);
}

.result-value, .alternative-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
}

.result-label, .alternative-label {
  font-size: 10.5px;
  color: var(--text-faint);
  text-align: center;
}

.alternatives-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

/* Force du mot de passe */
.strength-meter { display: flex; flex-direction: column; gap: 8px; }

.strength-label { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-gray); }

.strength-bar-container {
  height: 6px;
  border-radius: 999px;
  background: var(--navy-line-bold);
  overflow: hidden;
}

.strength-bar { height: 100%; width: 0; border-radius: 999px; transition: width 0.25s var(--ease), background 0.25s ease; }

/* Boîte d'info (convertisseur) */
.info-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 194, 28, 0.06);
  border: 1px solid rgba(255, 194, 28, 0.2);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--yellow);
}

/* Flèche entre les deux colonnes du convertisseur */
.conversion-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: end;
}

@media (max-width: 560px) {
  .conversion-grid { grid-template-columns: 1fr; }
}

.conversion-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  padding-bottom: 12px;
}

/* Icône d'origine = double chevron vers le haut : pivotée pour suivre le sens
   de lecture (droite en colonnes côte à côte, bas en pile sur mobile). */
.conversion-arrow .icon-arrows { transform: rotate(90deg); }

@media (max-width: 560px) {
  .conversion-arrow { padding: 4px 0; }
  .conversion-arrow .icon-arrows { transform: rotate(180deg); }
}

.page-back-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ============ Footer ============ */

.footer {
  border-top: 1px solid var(--navy-line);
  padding: 32px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-socials { display: flex; gap: 18px; }
.footer-socials a { color: var(--text-gray); transition: color 0.15s ease; line-height: 0; }
.footer-socials a:hover { color: var(--yellow); }

.footer-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.footer-legal-link {
  display: inline-block;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-link:hover { color: var(--yellow); }
