/* Shared filament palette. Static linework on inner pages; the home Hero
   owns the site's animated moment. Native software images stay unaltered. */
:root {
  --studio-ground: #09090b;
  --studio-panel: #11131a;
  --studio-rule: #2d303c;
  --studio-edge: #515568;
  --workspace-accent: #b0afff;
  --workspace-panel: #12151c;
  --workspace-soft: #c8c9df;
  --workspace-traces: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20900%20420%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22l%22%20x1%3D%22180%22%20y1%3D%22300%22%20x2%3D%22870%22%20y2%3D%22100%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%237770f7%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%237770f7%22%20stop-opacity%3D%22.55%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a9bbff%22%20stop-opacity%3D%22.8%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22url%28%23l%29%22%3E%3Cpath%20d%3D%22M900%2035C740%2035%20775%20205%20610%20205S435%20335%20180%20335M900%20370C755%20370%20765%20205%20610%20205M900%20130C785%20130%20750%20205%20610%20205%22%20stroke-width%3D%2210%22%20opacity%3D%22.06%22%2F%3E%3Cpath%20d%3D%22M900%2035C740%2035%20775%20205%20610%20205S435%20335%20180%20335M900%20370C755%20370%20765%20205%20610%20205M900%20130C785%20130%20750%20205%20610%20205%22%20stroke-width%3D%222.5%22%20opacity%3D%22.28%22%2F%3E%3Cpath%20d%3D%22M900%2035C740%2035%20775%20205%20610%20205S435%20335%20180%20335M900%20370C755%20370%20765%20205%20610%20205M900%20130C785%20130%20750%20205%20610%20205%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
#main { position: relative; isolation: isolate; }
#main::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 440px;
  pointer-events: none;
  background-image: linear-gradient(180deg,transparent 38%,var(--studio-ground)),linear-gradient(90deg,#09090b 30%,#09090b99 70%,#09090b33),var(--workspace-traces),radial-gradient(ellipse at 93% 12%,#5144a329,transparent 65%);
  background-size: 100% 100%,100% 100%,900px 420px,100% 100%;
  background-position: center,center,right top,center;
  background-repeat: no-repeat;
}
#app[data-route="home"] #main { overflow: clip; }
#app[data-route="home"] #main::before,#main::after { display: none; }
.header { background: #0a0a0d; border-color: #292a32; }
.preview-bar { background: #101014; border-color: #272731; }
.hero { overflow: visible; }
.stage { isolation: isolate; }
.stage::before { display: none; }
.stage .screen-frame { border: 1px solid var(--studio-edge); background: var(--studio-panel); box-shadow: none; }
.stage .frame-top { border-bottom: 1px solid var(--studio-rule); background: linear-gradient(110deg,#1b1e2a,var(--studio-panel) 68%); }
.stage .frame-bottom { border-top: 1px solid var(--studio-rule); }
.stage .product-tabs { gap: 24px; padding: 0; border: 0; border-bottom: 1px solid #30313d; border-radius: 0; background: transparent; }
.stage .tab { padding-inline: 12px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; color: #b8bdc4; background: transparent; }
.stage .tab[aria-selected="true"] { color: #efedff; border-bottom-color: var(--workspace-accent); background: transparent; }
.stage .tab:hover { color: #f1f2f4; background: #191b24; }
.hero > .button-row > .btn:not(.primary) { background: transparent; border-color: #464a50; }
.hero > .button-row > .btn:not(.primary):hover { background: #1c1f22; }
.page-head { position: relative; }
.page-head::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; pointer-events: none; background: linear-gradient(90deg,#8b87c5,var(--studio-rule) 28%,transparent); }
.section { position: relative; isolation: isolate; border-color: #292c34; }
.section::before,.section::after,.proof-row::before,.product-directory-row::before { display: none; }
#app[data-route="home"] .section:nth-of-type(even) { background: #101215; }
#products .product-overview article { border-top-color: var(--studio-edge); background: linear-gradient(180deg,#171923,transparent 90px); }
.guide-shelf { background: var(--workspace-panel); border-color: var(--studio-edge); }
.closing { position: relative; isolation: isolate; overflow: clip; }
.closing::before {
  display: block;
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg,var(--studio-ground) 28%,#09090bb3 58%,#09090b33),var(--workspace-traces),radial-gradient(ellipse at 90% 65%,#463b9e29,transparent 62%);
  background-size: 100% 100%,720px 336px,100% 100%;
  background-position: center,right center,center;
  background-repeat: no-repeat;
}
.footer { background: #0b0b10; border-top-color: #30313c; }
@media(max-width:650px) {
  #main::before { height: 390px; background-size: 100% 100%,100% 100%,650px 304px,100% 100%; background-position: center,center,calc(100% + 150px) 30px,center; }
  .closing::before { background-size: 100% 100%,650px 304px,100% 100%; background-position: center,calc(100% + 260px) bottom,center; }
}
@media(max-width:560px) {
  .stage .product-tabs { gap: 10px; }
  .stage .tab { justify-content: center; padding-inline: 7px; }
}
@media(forced-colors:active) {
  #main::before,#main::after,.page-head::after,.closing::before { display: none; }
  .guide-shelf,.stage .screen-frame { background: Canvas; color: CanvasText; border-color: CanvasText; }
}
