/* Aeonys offline v5.4 CSP-safe external stylesheet.
   Externalized because _headers uses style-src 'self' and blocks inline <style>. */

:root{
  color-scheme:dark;
  --bg0:#020508;
  --bg1:#071116;
  --bg2:#101720;
  --panel:rgba(20,24,31,.86);
  --panel2:rgba(255,255,255,.045);
  --panel3:rgba(255,255,255,.025);
  --line:rgba(214,183,106,.24);
  --line-strong:rgba(214,183,106,.38);
  --line2:rgba(255,255,255,.10);
  --gold:#d6b76a;
  --gold2:#f3e4b5;
  --gold3:#9f7f3d;
  --ivory:#eadfbd;
  --text:#d8d0bd;
  --title:#f3e4b5;
  --muted:#adb2bd;
  --muted2:#7f8794;
  --cyan:#8fd8dc;
  --green:#63d69b;
  --orange:#e6b15d;
  --red:#e06d6d;
  --shadow:rgba(0,0,0,.54);
  --button-bg:rgba(214,183,106,.095);
  --soft-card:rgba(255,255,255,.042);
}
html[data-theme="light"]{
  color-scheme:light;
  --bg0:#f7f2e7;
  --bg1:#eee7d8;
  --bg2:#fffaf0;
  --panel:rgba(255,251,241,.78);
  --panel2:rgba(255,255,255,.64);
  --panel3:rgba(255,255,255,.42);
  --line:rgba(150,113,48,.28);
  --line-strong:rgba(150,113,48,.42);
  --line2:rgba(35,33,30,.12);
  --gold:#9d7731;
  --gold2:#5f4720;
  --gold3:#c49b52;
  --ivory:#2c2b27;
  --text:#30312e;
  --title:#171a1d;
  --muted:#626a72;
  --muted2:#8a8175;
  --cyan:#237f86;
  --green:#2d9362;
  --orange:#a26924;
  --red:#b64f4f;
  --shadow:rgba(92,71,34,.16);
  --button-bg:rgba(157,119,49,.09);
  --soft-card:rgba(255,255,255,.48);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{min-height:100%;margin:0}
body{
  min-height:100svh;
  padding:28px;
  overflow:auto;
  color:var(--text);
  font:15px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 28%),
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--cyan) 9%, transparent), transparent 30%),
    radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--gold3) 6%, transparent), transparent 28%),
    linear-gradient(140deg,var(--bg0) 0%,var(--bg1) 48%,var(--bg0) 100%);
}
html[data-theme="dark"] body::before,
html:not([data-theme]) body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.38;
  background-image:
    radial-gradient(circle at 12% 18%,rgba(234,223,189,.56) 0 1px,transparent 1.6px),
    radial-gradient(circle at 74% 23%,rgba(214,183,106,.38) 0 1px,transparent 1.8px),
    radial-gradient(circle at 35% 78%,rgba(143,216,220,.30) 0 1px,transparent 1.7px),
    radial-gradient(circle at 88% 70%,rgba(234,223,189,.24) 0 1px,transparent 1.7px);
  background-size:340px 300px,420px 360px,380px 330px,520px 420px;
}
html[data-theme="light"] body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.62;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(157,119,49,.055) 18.3%, transparent 19% 68%, rgba(35,127,134,.042) 68.4%, transparent 69% 100%),
    radial-gradient(circle at 18% 24%, rgba(157,119,49,.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 66%, rgba(35,127,134,.07) 0 1px, transparent 1.5px);
  background-size:auto, 120px 120px, 160px 160px;
}
.page{
  width:min(1180px,calc(100vw - 34px));
  margin:0 auto;
  position:relative;
  z-index:1;
}
.nav{
  position:sticky;
  top:14px;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:26px;
  background:
    linear-gradient(180deg,var(--panel2),var(--panel3)),
    color-mix(in srgb,var(--panel) 92%, transparent);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 60px var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.04em;color:var(--title);text-decoration:none}
.brand-mark{
  display:grid;place-items:center;width:34px;height:34px;border-radius:13px;
  color:var(--gold2);border:1px solid color-mix(in srgb,var(--gold) 45%,transparent);
  background:var(--button-bg);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)
}
.nav-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.nav a:not(.brand),.theme-toggle,.pill,.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px;border:1px solid var(--line2);
  background:rgba(255,255,255,.045);
  color:var(--muted);
  text-decoration:none;
  padding:9px 13px;
}
.nav a:not(.brand){font-size:14px}
.theme-toggle{
  cursor:pointer;
  color:var(--gold2);
  background:var(--button-bg);
  border-color:color-mix(in srgb,var(--gold) 32%,transparent);
  font-weight:850;
}
.panel{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:34px;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--gold) 7%, transparent), transparent 42%),
    linear-gradient(180deg,var(--panel2),var(--panel3)),
    var(--panel);
  box-shadow:0 30px 110px var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
}
.panel::before{
  content:"";
  position:absolute;
  inset:-42%;
  opacity:.62;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 48%,rgba(214,183,106,.12),transparent 24%),
    conic-gradient(from 20deg,transparent,rgba(143,216,220,.052),transparent,rgba(214,183,106,.058),transparent);
  animation:ambient 42s linear infinite;
}
html[data-theme="light"] .panel::before{opacity:.20}
.panel > *{position:relative;z-index:1}
.hero{
  padding:42px;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  align-items:center;
  gap:34px;
}
.hero.center{
  grid-template-columns:1fr;
  text-align:center;
  place-items:center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.kicker::before{
  content:"";
  width:9px;height:9px;border-radius:999px;
  background:var(--gold);
  box-shadow:0 0 22px color-mix(in srgb,var(--gold) 70%,transparent);
}
h1,h2,h3,p{margin-top:0}
h1{
  max-width:820px;
  margin-bottom:18px;
  color:var(--title);
  font-size:clamp(42px,6vw,82px);
  line-height:.92;
  letter-spacing:-.08em;
}
h1 .accent,h2 .accent{color:var(--gold)}
.lead{
  max-width:78ch;
  margin:0;
  color:var(--text);
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.78;
}
.actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}
.btn{
  min-height:46px;
  padding:0 18px;
  color:var(--gold2);
  background:var(--button-bg);
  border-color:color-mix(in srgb,var(--gold) 34%,transparent);
  font-weight:900;
}
.btn.secondary{
  color:var(--muted);
  background:rgba(255,255,255,.04);
  border-color:var(--line2);
}
.emblem-shell{
  width:min(330px,72vw);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  position:relative;
  margin:auto;
  border-radius:999px;
}
.emblem-shell.small{width:min(250px,58vw)}
.emblem-shell::before{
  content:"";
  position:absolute;
  inset:-10%;
  border-radius:999px;
  opacity:.82;
  background:
    radial-gradient(circle,color-mix(in srgb,var(--gold) 14%,transparent),transparent 50%),
    radial-gradient(circle,color-mix(in srgb,var(--cyan) 8%,transparent),transparent 68%);
  filter:blur(16px);
  animation:shell-breathe 7.2s ease-in-out infinite;
}
.emblem{
  width:100%;
  height:100%;
  overflow:visible;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 0 18px rgba(214,183,106,.16)) drop-shadow(0 0 44px rgba(143,216,220,.05));
}
.grid{
  display:grid;
  gap:16px;
}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.section{margin-top:22px;padding:32px}
.section-head{max-width:760px;margin-bottom:22px}
.section-head.center{text-align:center;margin-inline:auto}
.section h2{
  color:var(--title);
  font-size:clamp(30px,3.4vw,50px);
  line-height:1;
  letter-spacing:-.06em;
  margin-bottom:12px;
}
.card,.metric,.flow article,.road-item{
  border:1px solid var(--line2);
  border-radius:22px;
  background:var(--soft-card);
  padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.card strong,.metric strong{
  display:block;
  color:var(--title);
  font-size:16px;
  margin-bottom:6px;
}
.card span,.metric span,.card p,.card li{color:var(--muted)}
.card p{margin-bottom:0}
.card ul{margin:10px 0 0;padding-left:18px}
.mini strong{font-size:13px;color:var(--gold);letter-spacing:.12em;text-transform:uppercase}
.flow{
  display:grid;
  gap:10px;
}
.flow article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.flow span{
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.flow b{
  color:var(--muted);
  text-align:right;
  font-weight:650;
}
.roadmap{display:grid;gap:12px}
.road-item{
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:center;
  gap:14px;
}
.road-item b{
  display:grid;
  place-items:center;
  width:42px;height:42px;
  border-radius:15px;
  color:var(--gold2);
  background:var(--button-bg);
  border:1px solid var(--line);
}
.road-item strong{
  display:inline-block;
  color:var(--title);
  min-width:54px;
  margin-right:8px;
}
.road-item em{
  color:var(--muted);
  font-style:normal;
}
.bar{
  display:block;
  height:8px;
  margin-top:9px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line2);
}
.bar i{
  display:block;
  width:var(--p);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--gold),var(--cyan));
}
.status-line{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line2);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:800;
}
.status-dot{
  display:inline-block;
  width:9px;height:9px;border-radius:999px;
  background:var(--gold);
  box-shadow:0 0 22px color-mix(in srgb,var(--gold) 70%,transparent);
  animation:status-pulse 2.8s ease-in-out infinite;
}
.status-dot.ok{background:var(--green);box-shadow:0 0 22px color-mix(in srgb,var(--green) 70%,transparent)}
.status-dot.warn{background:var(--orange);box-shadow:0 0 22px color-mix(in srgb,var(--orange) 70%,transparent)}
.status-dot.err{background:var(--red);box-shadow:0 0 22px color-mix(in srgb,var(--red) 70%,transparent)}
.small{color:var(--muted2);font-size:13px}
.footer{
  margin:20px 0 0;
  padding:20px 4px 8px;
  color:var(--muted2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.gold-text{color:var(--gold)}
@keyframes ambient{to{transform:rotate(360deg)}}
@keyframes shell-breathe{0%,100%{transform:scale(.96);opacity:.55}50%{transform:scale(1.04);opacity:.95}}
@keyframes status-pulse{0%,100%{opacity:.5;transform:scale(.88)}50%{opacity:1;transform:scale(1.16)}}
@keyframes cw{to{transform:rotate(360deg)}}
@keyframes ccw{to{transform:rotate(-360deg)}}
@keyframes breath{0%,100%{transform:scale(.965);opacity:.58}50%{transform:scale(1.035);opacity:1}}
@keyframes flare{0%,82%,100%{transform:scale(.94);opacity:.82;filter:drop-shadow(0 0 9px rgba(214,183,106,.42))}88%{transform:scale(1.34);opacity:1;filter:drop-shadow(0 0 30px rgba(244,229,180,.95))}92%{transform:scale(1.05);opacity:.92}}
@keyframes dash{0%,14%{stroke-dashoffset:130;opacity:0}36%,62%{stroke-dashoffset:0;opacity:.75}90%,100%{stroke-dashoffset:-130;opacity:0}}
@keyframes blink{0%,70%,100%{opacity:.10;transform:scale(.72)}75%{opacity:1;transform:scale(1.25)}82%{opacity:.42;transform:scale(.9)}88%{opacity:.76;transform:scale(1.05)}}
@keyframes ripple{0%{opacity:.42;transform:scale(.32)}72%,100%{opacity:0;transform:scale(1.1)}}
.nova .orbital-a{transform-origin:128px 128px;animation:cw 34s linear infinite}
.nova .orbital-b{transform-origin:128px 128px;animation:ccw 52s linear infinite}
.nova .petals{transform-origin:128px 128px;animation:precess 17s ease-in-out infinite}
.nova .petals2{transform-origin:128px 128px;animation:ccw 28s linear infinite}
.nova .scan{transform-origin:128px 128px;animation:cw 5.4s linear infinite}
.nova .scan2{transform-origin:128px 128px;animation:ccw 8.8s linear infinite}
.nova .inner{transform-origin:128px 128px;animation:cw 14s linear infinite}
.nova .breath{transform-origin:128px 128px;animation:breath 5.7s ease-in-out infinite}
.nova .core{transform-origin:128px 128px;animation:flare 6.7s cubic-bezier(.45,0,.2,1) infinite}
.nova .path{stroke-dasharray:130;stroke-dashoffset:130;animation:dash 7.2s ease-in-out infinite}
.nova .path:nth-child(2){animation-delay:1.1s}.nova .path:nth-child(3){animation-delay:2.3s}.nova .path:nth-child(4){animation-delay:3.4s}
.nova .node-a{transform-origin:128px 128px;animation:cw 12s linear infinite}.nova .node-b{transform-origin:128px 128px;animation:ccw 19s linear infinite}.nova .node-c{transform-origin:128px 128px;animation:cw 29s linear infinite}
.nova .sparkles circle{animation:blink 5.6s ease-in-out infinite}.nova .sparkles circle:nth-child(2){animation-delay:.7s}.nova .sparkles circle:nth-child(3){animation-delay:1.4s}.nova .sparkles circle:nth-child(4){animation-delay:2.2s}.nova .sparkles circle:nth-child(5){animation-delay:3.1s}.nova .sparkles circle:nth-child(6){animation-delay:4s}
.nova .ripple{transform-origin:128px 128px;animation:ripple 4.9s ease-out infinite}.nova .ripple.two{animation-delay:1.6s}.nova .ripple.three{animation-delay:3.2s}
@keyframes precess{0%,100%{transform:rotate(-3deg) scale(.995);opacity:.78}50%{transform:rotate(3deg) scale(1.018);opacity:1}}
@media(max-width:900px){
  body{padding:16px}
  .page{width:100%}
  .nav{position:relative;top:auto;align-items:flex-start;flex-direction:column}
  .nav-links{justify-content:flex-start}
  .hero{grid-template-columns:1fr;padding:26px;text-align:left}
  .hero.center{text-align:center}
  .grid.two,.grid.three,.grid.four{grid-template-columns:1fr}
  .section{padding:24px}
  .flow article{align-items:flex-start;flex-direction:column}
  .flow b{text-align:left}
  h1{font-size:clamp(38px,10vw,62px)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}
}


/* === Aeonys public zoom fit v5.5
   Réduit l'effet "page zoomée" par défaut sur les pages web publiques,
   sans changer la charte, Nova Kernel, ni le switch dark/light. === */
@media (min-width: 901px){
  body{
    padding:20px;
    font-size:14px;
    line-height:1.56;
  }

  .page{
    width:min(1240px, calc(100vw - 40px));
  }

  .nav{
    top:10px;
    margin-bottom:14px;
    padding:10px 12px;
    border-radius:23px;
  }

  .brand-mark{
    width:31px;
    height:31px;
    border-radius:12px;
  }

  .nav a:not(.brand),
  .theme-toggle,
  .pill{
    padding:7px 11px;
    font-size:13px;
  }

  .hero{
    padding:30px 38px;
    gap:24px;
    grid-template-columns:minmax(0, 1.12fr) minmax(230px, .66fr);
  }

  .hero.center{
    padding:30px 38px;
  }

  .kicker{
    margin-bottom:10px;
    font-size:11px;
    letter-spacing:.15em;
  }

  h1{
    max-width:760px;
    margin-bottom:12px;
    font-size:clamp(34px, 4.2vw, 58px);
    line-height:.96;
    letter-spacing:-.07em;
  }

  .lead{
    max-width:74ch;
    font-size:clamp(15px, 1.02vw, 17px);
    line-height:1.58;
  }

  .emblem-shell{
    width:min(260px, 42vw);
  }

  .emblem-shell.small{
    width:min(176px, 30vw);
  }

  .actions{
    margin-top:18px;
    gap:10px;
  }

  .btn{
    min-height:40px;
    padding:0 15px;
    font-size:13px;
  }

  .grid{
    gap:12px;
  }

  .grid.four{
    gap:12px;
  }

  .card,
  .metric,
  .flow article,
  .road-item{
    padding:14px;
    border-radius:18px;
  }

  .metric strong,
  .card strong{
    font-size:14px;
  }

  .section{
    margin-top:18px;
    padding:26px;
  }

  .section-head{
    margin-bottom:18px;
  }

  .section h2{
    font-size:clamp(28px, 3vw, 42px);
    line-height:1.02;
  }

  .status-line{
    margin-top:18px;
    padding:8px 12px;
    font-size:13px;
  }

  .footer{
    margin-top:16px;
    padding-top:14px;
    font-size:12px;
  }
}

@media (min-width: 901px) and (max-height: 820px){
  body{
    padding:16px;
  }

  .page{
    width:min(1240px, calc(100vw - 32px));
  }

  .nav{
    margin-bottom:12px;
  }

  .hero,
  .hero.center{
    padding:24px 34px;
  }

  .emblem-shell{
    width:min(220px, 36vw);
  }

  .emblem-shell.small{
    width:min(150px, 26vw);
  }

  h1{
    font-size:clamp(31px, 3.7vw, 50px);
    margin-bottom:10px;
  }

  .lead{
    font-size:15px;
    line-height:1.48;
  }

  .actions{
    margin-top:14px;
  }

  .metric{
    padding:12px;
  }

  .section{
    padding:22px;
  }
}




/* === Aeonys offline centering fix v5.6
   Corrige le désaxage interne : le panel était centré, mais le contenu du hero
   gardait des blocs max-width alignés à gauche. === */
.panel.hero.center > section{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  display:grid;
  justify-items:center;
}

.panel.hero.center h1,
.panel.hero.center .lead{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.panel.hero.center .actions{
  justify-content:center;
  width:100%;
}

.panel.hero.center .grid{
  width:100%;
  max-width:1080px;
  margin-left:auto !important;
  margin-right:auto !important;
}

.panel.hero.center .grid.three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.panel.hero.center .card{
  text-align:center;
}

.panel.hero.center .emblem-shell{
  margin-left:auto;
  margin-right:auto;
}

@media (min-width:901px){
  .panel.hero.center{
    display:grid;
    place-items:center;
  }

  .panel.hero.center > section{
    text-align:center;
  }
}

@media (max-width:900px){
  .panel.hero.center > section{
    max-width:100%;
  }

  .panel.hero.center .grid.three{
    grid-template-columns:1fr;
  }
}




/* === Aeonys offline spacing fix v5.7
   Corrige l'écrasement visuel entre les boutons et les cartes bas de page. === */
.panel.hero.center .actions{
  margin-top:22px !important;
  margin-bottom:28px !important;
  gap:14px !important;
}

.panel.hero.center .actions + .grid,
.panel.hero.center .grid[style]{
  margin-top:0 !important;
}

.panel.hero.center .grid.three{
  gap:18px !important;
}

.panel.hero.center .card{
  min-height:106px;
  padding:18px 20px !important;
}

.panel.hero.center .card strong{
  margin-bottom:8px;
}

@media (min-width:901px) and (max-height:820px){
  .panel.hero.center .actions{
    margin-top:18px !important;
    margin-bottom:24px !important;
  }

  .panel.hero.center .grid.three{
    gap:16px !important;
  }

  .panel.hero.center .card{
    min-height:98px;
    padding:16px 18px !important;
  }
}

@media (max-width:900px){
  .panel.hero.center .actions{
    margin-bottom:22px !important;
  }

  .panel.hero.center .grid.three{
    gap:14px !important;
  }
}




/* === Aeonys unified buttons / hovers v5.9
   Harmonise tous les boutons et liens-boutons publics sur le modèle validé de status. === */
.nav a:not(.brand),
.theme-toggle,
.btn,
button.btn,
.actions a,
.actions button{
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  appearance:none;
  -webkit-appearance:none;
  text-decoration:none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background-color .16s ease,
    box-shadow .16s ease,
    color .16s ease,
    opacity .16s ease,
    filter .16s ease;
}

.nav a:not(.brand):hover,
.theme-toggle:hover,
.btn:hover,
button.btn:hover,
.actions a:hover,
.actions button:hover{
  color:var(--gold2);
  border-color:color-mix(in srgb,var(--gold) 52%,transparent);
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--gold) 18%,transparent),
      color-mix(in srgb,var(--gold) 7%,transparent)
    );
  box-shadow:
    0 10px 28px color-mix(in srgb,var(--gold) 16%,transparent),
    inset 0 1px 0 rgba(255,255,255,.09);
  transform:translateY(-1px);
}

.nav a:not(.brand):active,
.theme-toggle:active,
.btn:active,
button.btn:active,
.actions a:active,
.actions button:active{
  transform:translateY(0) scale(.985);
  opacity:.86;
}

.nav a:not(.brand):focus-visible,
.theme-toggle:focus-visible,
.btn:focus-visible,
button.btn:focus-visible,
.actions a:focus-visible,
.actions button:focus-visible{
  outline:2px solid color-mix(in srgb,var(--gold) 70%,transparent);
  outline-offset:3px;
}

.btn.secondary:hover,
button.btn.secondary:hover,
.actions .btn.secondary:hover{
  color:var(--gold2);
  border-color:color-mix(in srgb,var(--gold) 42%,transparent);
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--gold) 13%,transparent),
      color-mix(in srgb,var(--gold) 5%,transparent)
    );
}

.brand,
.brand:hover,
.brand:active{
  transform:none;
}

html[data-theme="light"] .nav a:not(.brand):hover,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .btn:hover,
html[data-theme="light"] button.btn:hover,
html[data-theme="light"] .actions a:hover,
html[data-theme="light"] .actions button:hover{
  color:var(--gold2);
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--gold) 12%,white),
      color-mix(in srgb,var(--gold) 5%,white)
    );
  box-shadow:
    0 10px 28px rgba(157,119,49,.14),
    inset 0 1px 0 rgba(255,255,255,.72);
}

@media (hover:none){
  .nav a:not(.brand):hover,
  .theme-toggle:hover,
  .btn:hover,
  button.btn:hover,
  .actions a:hover,
  .actions button:hover{
    transform:none;
  }
}

