/* NOX: warm metallic surfaces, quiet outlines and consistent line icons. */
:root {
  --button-edge: rgba(218, 179, 142, .35);
  --button-radius: 999px;
  --button-ease: cubic-bezier(.2, .65, .25, 1);
}
button, .button, .nav-cta, .project-link, .text-link {
  -webkit-appearance: none;
  touch-action: manipulation;
}
.action-icon, .preview-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.action-icon svg, .preview-play-icon svg, .demo-button svg,
.close-dialog svg, .demo-controls > button svg {
  display: block;
  width: 16px;
  height: 16px;
}
.button, .nav-cta {
  border-radius: var(--button-radius);
  font-weight: 550;
  letter-spacing: .15px;
  transition: background .25s var(--button-ease), border-color .25s,
    box-shadow .25s, transform .25s var(--button-ease), color .25s;
}
.button {
  min-height: 54px;
  padding: 7px 7px 7px 23px;
  gap: 25px;
  font-size: 13px;
  border: 1px solid var(--button-edge);
  line-height: 1.4;
}
.button-copper {
  color: #222b2e;
  background: linear-gradient(125deg, #e4bb94 0%, #cea17b 56%, #bd8b66 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 18px rgba(0,0,0,.15);
}
.button > .action-icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: #39413e;
  border: 1px solid rgba(62,47,34,.12);
  background: rgba(255,248,234,.22);
  transition: background .25s, transform .25s var(--button-ease);
}
.button-copper:hover {
  background: linear-gradient(125deg, #ebc8a5, #d9b28c 56%, #ca9c75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 7px 23px rgba(0,0,0,.18);
  transform: translateY(-1px);
}
.button:hover > .action-icon { background: rgba(255,248,234,.37); }
.button:active { transform: translateY(0); box-shadow: inset 0 1px 2px rgba(67,42,27,.12); }
.nav-cta {
  min-height: 45px;
  padding: 5px 5px 5px 19px;
  gap: 20px;
  color: #e7d6c6;
  border: 1px solid rgba(207,166,126,.28);
  background: linear-gradient(120deg,rgba(216,161,100,.07),rgba(216,161,100,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  font-size: 12px;
}
.nav-cta > .action-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(216,161,100,.16);
  color: #d1ac83;
  background: rgba(216,161,100,.07);
  transition: background .25s;
}
.nav-cta:hover {
  background: rgba(216,161,100,.11);
  border-color: rgba(216,161,100,.5);
  color: #f2e7dc;
}
.nav-cta:hover > .action-icon { color: #eed1af; background: rgba(216,161,100,.12); }
.hero-actions { gap: 23px; }
.text-link {
  font-size: 12px;
  font-weight: 450;
  gap: 12px;
  color: #c9ced0;
  padding: 6px 0;
  transition: color .25s;
}
.text-link > .action-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(210,221,225,.12);
  background: rgba(255,255,255,.02);
  color: #b8aa97;
  transition: border-color .25s, background .25s;
}
.text-link:hover > .action-icon { border-color: rgba(216,161,100,.4); background: rgba(216,161,100,.07); }
.project-link {
  width: fit-content;
  min-height: 43px;
  padding: 7px 9px 7px 16px;
  border: 1px solid rgba(210,179,142,.26);
  border-radius: var(--button-radius);
  background: linear-gradient(125deg,rgba(216,161,100,.065),rgba(216,161,100,.025));
  font-size: 11px;
  font-weight: 500;
  gap: 21px;
  color: #decdbb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  transition: background .25s, border-color .25s, color .25s;
}
.project-link > .action-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #d6b38e;
  background: rgba(216,161,100,.075);
  transition: background .25s;
}
.project-link:hover { border-color: rgba(216,161,100,.5); background: rgba(216,161,100,.11); color: #f0dec9; }
.project-link:hover > .action-icon { background: rgba(216,161,100,.14); }
.project-preview { border-radius: 11px; }
.project-status {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 10px 18px;
  border: 1px solid rgba(210,179,142,.26);
  border-radius: var(--button-radius);
  background: linear-gradient(125deg,rgba(216,161,100,.065),rgba(216,161,100,.025));
  color: #decdbb;
  font-size: 11px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.preview-play {
  padding: 7px 12px 7px 7px;
  gap: 8px;
  border-color: rgba(215,192,165,.23);
  background: rgba(16,24,28,.83);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 5px 15px rgba(0,0,0,.13);
  transition: background .25s, border-color .25s;
}
.preview-play > .preview-play-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid rgba(218,179,142,.24);
  background: rgba(218,179,142,.07);
  color: #dec09e;
}
.preview-play-icon svg { width: 13px; height: 13px; }
.project-preview:hover .preview-play { background: rgba(16,24,28,.96); border-color: rgba(215,192,165,.45); }
.submit-button { margin-top: 9px; }
.close-dialog, .demo-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(199,183,160,.2);
  border-radius: 50%;
  background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.01));
  color: #b7b7b1;
  transition: color .25s, border-color .25s, background .25s;
}
.close-dialog:hover, .demo-controls > button:hover {
  color: #e9c59f;
  background: rgba(216,161,100,.07);
  border-color: rgba(216,161,100,.4);
}
.demo-chapters { gap: 9px; }
.demo-chapters > button {
  border: 1px solid rgba(175,190,197,.13);
  border-radius: 9px;
  background: rgba(255,255,255,.015);
  padding: 11px 12px;
  color: #9badb4;
  font-size: 10px;
  font-weight: 450;
  transition: background .25s, border-color .25s, color .25s;
}
.demo-chapters > button:hover { background: rgba(255,255,255,.04); border-color: rgba(216,161,100,.25); }
.demo-chapters > button.active {
  background: rgba(216,161,100,.07);
  border-color: rgba(216,161,100,.3);
  color: #e1bc94;
}
.demo-chapters > button.active > span { color: #aa8b6d; }
.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.fly-navigation .demo-button {
  width: 36px;
  height: 36px;
  border: 1px solid #cda89b;
  background: linear-gradient(135deg,#e9c9bc,#deafa2);
  box-shadow: inset 0 1px 0 #ffffff70;
  color: #71564d;
}
.fly-navigation .demo-button:hover { background: #edcfc1; border-color: #bb9182; }
.demo-fusion-stage .demo-button {
  background: linear-gradient(125deg,#aa3831,#902b27);
  border: 1px solid #8e302b;
  box-shadow: inset 0 1px 0 #ffffff1f, 0 3px 8px #682a2510;
  color: #fff2e2;
  padding: 8px 12px;
}
.demo-fusion-stage .demo-button svg { width: 12px; height: 12px; }
.demo-fusion-stage .demo-button:hover { background: linear-gradient(125deg,#b7473f,#9e342c); }
.planner-tabs { gap: 7px; }
.planner-tabs > button {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(174,147,204,.13);
  background: rgba(174,147,204,.03);
  color: #a99ab9;
  transition: color .25s, background .25s, border-color .25s;
}
.planner-tabs > button.active {
  background: rgba(183,120,223,.13);
  border-color: rgba(190,147,227,.32);
  color: #e4c5f0;
}
.planner-tabs > button:hover { background: rgba(183,120,223,.09); }
.cart-clear {
  border: 1px solid #d3c5b3;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,.2);
  transition: background .25s;
}
.cart-clear:hover { background: #fffaf2; }
button:focus-visible, .button:focus-visible, .nav-cta:focus-visible,
.project-link:focus-visible, .text-link:focus-visible {
  outline: 2px solid #d8b38a;
  outline-offset: 4px;
}
button:disabled { opacity: .5; }
@media(max-width:600px) {
  .nav-cta { min-height: 39px; padding: 4px 4px 4px 14px; gap: 10px; font-size: 11px; margin-right: 12px; }
  .nav-cta > .action-icon { width: 28px; height: 28px; }
  .nav-cta svg { width: 14px; height: 14px; }
  .menu-toggle { width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 0; border-radius: 50%; }
  .hero-actions { gap: 15px; flex-wrap: wrap; }
  .hero-actions .button { min-height: 49px; padding: 6px 6px 6px 18px; font-size: 12px; gap: 18px; }
  .hero-actions .button > .action-icon { width: 33px; height: 33px; }
  .hero-actions .text-link { font-size: 11px; gap: 9px; }
  .text-link > .action-icon { width: 25px; height: 25px; }
  .text-link svg { width: 14px; height: 14px; }
  .submit-button { padding: 6px 6px 6px 20px; min-height: 50px; font-size: 12px; }
  .submit-button > .action-icon { width: 35px; height: 35px; }
  .project-link { padding: 7px 9px 7px 16px; min-height: 42px; }
  .demo-chapters > button { font-size: 8px; padding: 10px 8px; border-radius: 7px; }
  .demo-controls { gap: 10px; }
  .demo-controls > button { width: 39px; height: 39px; }
  .planner-tabs { gap: 5px; }
  .planner-tabs > button { padding: 8px 10px; font-size: 9px; }
  .demo-fusion-stage .demo-button { padding: 7px 10px; gap: 6px; font-size: 9px; }
}
@media(max-width:360px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-art { top: 365px; }
  .hero-layout { min-height: 755px; }
  .planner-tabs > button { padding: 8px 9px; }
}
@media(prefers-reduced-motion:reduce) {
  .button:hover { transform: none; }
}
